SMLPD00700_슬라이드대출처방등록.xfdl 103 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPD00700" position="absolute 0 0 1256 805" titletext="슬라이드 대출 처방 등록" oninit="model1_oninit" onload="SMLPD00700_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="슬라이드 대출 처방 등록" class="tit_1" position="absolute 0 1 170 25" positiontype="position"/>
  8. <Div id="grp_search" taborder="1" style="align:center top;" class="div_SA" position="absolute 0 25 1256 67" anchor="left top right" positiontype="position">
  9. <Layouts>
  10. <Layout>
  11. <Static id="caption3" text="등록번호 :" class="search_name" position="absolute 296 10 370 30" anchor="default" positiontype="position"/>
  12. <Button id="btn_sea" taborder="13" text="조회" class="btn1" position="absolute 1188 10 1244 30" anchor="top right" onclick="btn_sea_onclick" positiontype="position"/>
  13. <Edit id="ipt_refval" taborder="14" class="input_search" position="absolute 374 10 456 30" anchor="default" imemode="none" positiontype="position" onkeydown="grp_search_ipt_refval_onkeydown" maxlength="9"/>
  14. <Static id="caption4" text="대출구분 :" class="search_name" position="absolute 476 10 550 30" anchor="default" positiontype="position"/>
  15. <Radio id="rdo_seamthdcd" taborder="15" columncount="2" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 554 10 659 30" anchor="default" value="0" index="0" positiontype="position" onitemchanged="grp_search_rdo_seamthdcd_onitemchanged">
  16. <Dataset id="innerdataset">
  17. <ColumnInfo>
  18. <Column id="codecolumn" size="256"/>
  19. <Column id="datacolumn" size="256"/>
  20. </ColumnInfo>
  21. <Rows>
  22. <Row>
  23. <Col id="codecolumn">0</Col>
  24. <Col id="datacolumn">대출</Col>
  25. </Row>
  26. <Row>
  27. <Col id="codecolumn">1</Col>
  28. <Col id="datacolumn">반납</Col>
  29. </Row>
  30. </Rows>
  31. </Dataset>
  32. </Radio>
  33. <Static id="caption12" text="~" class="search_no_b" visible="false" position="absolute 554 10 566 30" anchor="default" positiontype="position"/>
  34. <Edit id="ipt_toyear" taborder="16" class="text_center" visible="false" position="absolute 456 -6 483 14" anchor="default" imemode="hangul" maxlength="2" positiontype="position"/>
  35. <Static id="caption14" text="접수일자 :" class="search_name" position="absolute 706 10 780 30" anchor="default" positiontype="position"/>
  36. <Static id="caption34" text="~" position="absolute 880 10 896 30" anchor="default" style="align:center;" class="search_no_b" positiontype="position"/>
  37. <Calendar id="ipt_acpttodd" taborder="17" position="absolute 896 10 996 30" anchor="default" positiontype="position" dateformat="yyyy-MM-dd" value="null"/>
  38. <Calendar id="ipt_acptfromdd" taborder="18" position="absolute 780 10 880 30" anchor="default" positiontype="position" dateformat="yyyy-MM-dd" value="null" onchanged="grp_search_ipt_acptfromdd_onchanged"/>
  39. <CheckBox id="acptddflag" taborder="19" truevalue="1" position="absolute 662 10 682 30" anchor="default" positiontype="position"/>
  40. <Combo id="cbo_ptnocd" taborder="20" position="absolute 82 10 193 30" anchor="default" innerdataset="@ds_ptnocdlist" codecolumn="ptnocd" datacolumn="ptnonm" positiontype="position" index="-1"/>
  41. <Edit id="ipt_fromptno" taborder="21" class="text_center" position="absolute 226 10 276 30" anchor="default" imemode="hangul" maxlength="6" positiontype="position" onkeydown="grp_search_ipt_fromptno_onkeydown"/>
  42. <Static id="caption13" text="병리번호 :" class="search_name" position="absolute 8 10 82 30" anchor="default" positiontype="position"/>
  43. <Edit id="ipt_fromyear" taborder="22" class="text_center" position="absolute 196 10 223 30" anchor="default" imemode="hangul" maxlength="2" positiontype="position"/>
  44. <Edit id="ipt_toptno" taborder="23" class="text_center" visible="false" position="absolute 486 -6 536 14" anchor="default" imemode="hangul" maxlength="6" positiontype="position"/>
  45. </Layout>
  46. </Layouts>
  47. </Div>
  48. <Tab id="switch1" taborder="2" tabindex="0" position="absolute 0 55 1256 805" anchor="all" positiontype="position" class="tab_Normal">
  49. <Tabpages>
  50. <Tabpage id="case_lendslide" text="대출">
  51. <Layouts>
  52. <Layout>
  53. <Static id="caption1" text="선택목록" class="tit_2" position="absolute 394 320 619 340" positiontype="position"/>
  54. <Grid id="grd_choilist" class="CSS::lis.css" taborder="18" useinputpanel="false" position="absolute 394 340 1256 733" onlbuttonDown="grd_choilist_onlbuttonDown" anchor="all" binddataset="ds_grid_grd_choilist" positiontype="position" onbuttondown="grd_choilist_onbuttondown">
  55. <Formats>
  56. <Format id="default">
  57. <Columns>
  58. <Column size="35"/>
  59. <Column size="95"/>
  60. <Column size="0"/>
  61. <Column size="95"/>
  62. <Column size="80"/>
  63. <Column size="95"/>
  64. <Column size="312"/>
  65. <Column size="156"/>
  66. <Column size="70"/>
  67. <Column size="70"/>
  68. <Column size="0"/>
  69. <Column size="100"/>
  70. <Column size="100"/>
  71. <Column size="100"/>
  72. <Column size="100"/>
  73. <Column size="100"/>
  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="0"/>
  83. <Column size="0"/>
  84. <Column size="0"/>
  85. <Column size="0"/>
  86. <Column size="0"/>
  87. <Column size="0"/>
  88. <Column size="0"/>
  89. <Column size="0"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="0"/>
  93. <Column size="0"/>
  94. <Column size="0"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="0"/>
  98. <Column size="0"/>
  99. <Column size="0"/>
  100. <Column size="0"/>
  101. <Column size="0"/>
  102. <Column size="0"/>
  103. <Column size="0"/>
  104. <Column size="0"/>
  105. <Column size="0"/>
  106. <Column size="0"/>
  107. <Column size="0"/>
  108. <Column size="0"/>
  109. <Column size="0"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. <Column size="0"/>
  114. <Column size="0"/>
  115. <Column size="0"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. <Column size="0"/>
  129. <Column size="0"/>
  130. <Column size="0"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. <Column size="0"/>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. </Columns>
  144. <Rows>
  145. <Row size="22" band="head"/>
  146. <Row size="20"/>
  147. </Rows>
  148. <Band id="head">
  149. <Cell text="선택"/>
  150. <Cell col="1" text="병리번호"/>
  151. <Cell col="2" text="ptno"/>
  152. <Cell col="3" text="처방일자"/>
  153. <Cell col="4" text="접수일자"/>
  154. <Cell col="5" text="처방코드"/>
  155. <Cell col="6" text="처방명"/>
  156. <Cell col="7" text="검체명"/>
  157. <Cell col="8" text="블록"/>
  158. <Cell col="9" text="슬라이드"/>
  159. <Cell col="10" text="prcpgenrflag"/>
  160. <Cell col="11" text="슬라이드 장수"/>
  161. <Cell col="12" text="rsltdd"/>
  162. <Cell col="13" text="spcacptseqno"/>
  163. <Cell col="14" text="csteno"/>
  164. <Cell col="15" text="slidno"/>
  165. <Cell col="16" text="rrgstno1"/>
  166. <Cell col="17" text="rrgstno2"/>
  167. <Cell col="18"/>
  168. <Cell col="19"/>
  169. <Cell col="20"/>
  170. <Cell col="21"/>
  171. <Cell col="22"/>
  172. <Cell col="23"/>
  173. <Cell col="24"/>
  174. <Cell col="25"/>
  175. <Cell col="26"/>
  176. <Cell col="27"/>
  177. <Cell col="28"/>
  178. <Cell col="29"/>
  179. <Cell col="30"/>
  180. <Cell col="31"/>
  181. <Cell col="32"/>
  182. <Cell col="33"/>
  183. <Cell col="34"/>
  184. <Cell col="35"/>
  185. <Cell col="36"/>
  186. <Cell col="37"/>
  187. <Cell col="38"/>
  188. <Cell col="39"/>
  189. <Cell col="40"/>
  190. <Cell col="41"/>
  191. <Cell col="42"/>
  192. <Cell col="43"/>
  193. <Cell col="44"/>
  194. <Cell col="45"/>
  195. <Cell col="46"/>
  196. <Cell col="47"/>
  197. <Cell col="48"/>
  198. <Cell col="49"/>
  199. <Cell col="50"/>
  200. <Cell col="51"/>
  201. <Cell col="52"/>
  202. <Cell col="53"/>
  203. <Cell col="54"/>
  204. <Cell col="55"/>
  205. <Cell col="56"/>
  206. <Cell col="57"/>
  207. <Cell col="58"/>
  208. <Cell col="59"/>
  209. <Cell col="60"/>
  210. <Cell col="61"/>
  211. <Cell col="62"/>
  212. <Cell col="63"/>
  213. <Cell col="64"/>
  214. <Cell col="65"/>
  215. <Cell col="66"/>
  216. <Cell col="67"/>
  217. <Cell col="68"/>
  218. <Cell col="69"/>
  219. <Cell col="70"/>
  220. <Cell col="71"/>
  221. <Cell col="72"/>
  222. <Cell col="73"/>
  223. <Cell col="74"/>
  224. <Cell col="75"/>
  225. <Cell col="76"/>
  226. <Cell col="77"/>
  227. <Cell col="78"/>
  228. <Cell col="79"/>
  229. <Cell col="80"/>
  230. <Cell col="81"/>
  231. <Cell col="82"/>
  232. <Cell col="83"/>
  233. <Cell col="84"/>
  234. </Band>
  235. <Band id="body">
  236. <Cell text="bind:choi" edittype="checkbox" displaytype="checkbox"/>
  237. <Cell col="1" text="bind:dispptno"/>
  238. <Cell col="2" text="bind:ptno"/>
  239. <Cell col="3" mask="####-##-##" text="bind:prcpdd"/>
  240. <Cell col="4" mask="####-##-##" text="bind:acptdd"/>
  241. <Cell col="5" text="bind:prcpcd"/>
  242. <Cell col="6" text="bind:prcpnm"/>
  243. <Cell col="7" text="bind:spcnm"/>
  244. <Cell col="8" text="bind:blockcnts"/>
  245. <Cell col="9" text="bind:slidecnts"/>
  246. <Cell col="10" text="bind:prcpgenrflag"/>
  247. <Cell col="11" text="bind:slidisscnt" edittype="text" displaytype="text"/>
  248. <Cell col="12" text="bind:rsltdd"/>
  249. <Cell col="13" text="bind:spcacptseqno"/>
  250. <Cell col="14" text="bind:csteno"/>
  251. <Cell col="15" text="bind:slidno"/>
  252. <Cell col="16" text="bind:testcd"/>
  253. <Cell col="17" text="bind:instcd"/>
  254. <Cell col="18" text="bind:relaptno"/>
  255. <Cell col="19" text="bind:pid"/>
  256. <Cell col="20" text="bind:patnm"/>
  257. <Cell col="21" text="bind:orddd"/>
  258. <Cell col="22" text="bind:testnm"/>
  259. <Cell col="23" text="bind:spccd"/>
  260. <Cell col="24" text="bind:orddeptcd"/>
  261. <Cell col="25" text="bind:orddeptnm"/>
  262. <Cell col="26" text="bind:orddrid"/>
  263. <Cell col="27" text="bind:orddrnm"/>
  264. <Cell col="28" text="bind:reqfrmno"/>
  265. <Cell col="29" text="bind:dschdd"/>
  266. <Cell col="30" text="bind:execprcpuniqno"/>
  267. <Cell col="31" text="bind:prcpno"/>
  268. <Cell col="32" text="bind:acptno"/>
  269. <Cell col="33" text="bind:spcacptdd"/>
  270. <Cell col="34" text="bind:spcacptno"/>
  271. <Cell col="35" text="bind:spcacptseqno"/>
  272. <Cell col="36" text="bind:bfacptdd"/>
  273. <Cell col="37" text="bind:bfacptno"/>
  274. <Cell col="38" text="bind:bfacptseqno"/>
  275. <Cell col="39" text="bind:reuseflagcd"/>
  276. <Cell col="40" text="bind:acptdept"/>
  277. <Cell col="41" text="bind:bfspcacptdd"/>
  278. <Cell col="42" text="bind:bfspcacptno"/>
  279. <Cell col="43" text="bind:status"/>
  280. <Cell col="44" text="bind:ptnocd"/>
  281. <Cell col="45" text="bind:stdyptnocd"/>
  282. <Cell col="46" text="bind:trustptnocd"/>
  283. <Cell col="47" text="bind:workflagcd"/>
  284. <Cell col="48" text="bind:slidflagcd"/>
  285. <Cell col="49" text="bind:blocflagcd"/>
  286. <Cell col="50" text="bind:initblocno"/>
  287. <Cell col="51" text="bind:autokeepflagcd"/>
  288. <Cell col="52" text="bind:stdy_workflagcd"/>
  289. <Cell col="53" text="bind:stdy_slidflagcd"/>
  290. <Cell col="54" text="bind:stdy_slidisscnt"/>
  291. <Cell col="55" text="bind:stdy_blocflagcd"/>
  292. <Cell col="56" text="bind:stdy_initblocno"/>
  293. <Cell col="57" text="bind:stdy_autokeepflagcd"/>
  294. <Cell col="58" text="bind:grupsnglflag"/>
  295. <Cell col="59" text="bind:wardcd"/>
  296. <Cell col="60" text="bind:roomcd"/>
  297. <Cell col="61" text="bind:grosdrid"/>
  298. <Cell col="62" text="bind:grosplgyid"/>
  299. <Cell col="63" text="bind:acpttm"/>
  300. <Cell col="64" text="bind:grostestdd"/>
  301. <Cell col="65" text="bind:grostesttm"/>
  302. <Cell col="66" text="bind:autosave"/>
  303. <Cell col="67" text="bind:lendflagcd"/>
  304. <Cell col="68" text="bind:trandd"/>
  305. <Cell col="69" text="bind:tranno"/>
  306. <Cell col="70" text="bind:transeqno"/>
  307. <Cell col="71" text="bind:spcbarcdno"/>
  308. <Cell col="72" text="bind:spchistno"/>
  309. <Cell col="73" text="bind:blocno"/>
  310. <Cell col="74" text="bind:cretno"/>
  311. <Cell col="75" text="bind:tootfact"/>
  312. <Cell col="76" text="bind:spctranbarcdno"/>
  313. <Cell col="77" text="bind:reuseflagcd"/>
  314. <Cell col="78" text="bind:prcphistno"/>
  315. <Cell col="79" text="bind:rrgstno1"/>
  316. <Cell col="80" text="bind:rrgstno2"/>
  317. <Cell col="81" text="bind:brthdd"/>
  318. <Cell col="82" text="bind:sex"/>
  319. <Cell col="83" text="bind:signbfcnts"/>
  320. <Cell col="84" text="bind:signafcnts"/>
  321. <Cell col="85"/>
  322. </Band>
  323. </Format>
  324. </Formats>
  325. </Grid>
  326. <Grid id="grd_acptlist" class="CSS::lis.css" taborder="19" useinputpanel="false" visible="false" position="absolute 765 505 905 590" binddataset="ds_grid_grd_acptlist" positiontype="position">
  327. <Formats>
  328. <Format id="default">
  329. <Columns>
  330. <Column size="20"/>
  331. <Column size="50"/>
  332. <Column size="70"/>
  333. <Column size="0"/>
  334. <Column size="50"/>
  335. <Column size="70"/>
  336. <Column size="60"/>
  337. <Column size="70"/>
  338. <Column size="70"/>
  339. <Column size="70"/>
  340. <Column size="230"/>
  341. <Column size="180"/>
  342. <Column size="0"/>
  343. <Column size="0"/>
  344. <Column size="0"/>
  345. <Column size="0"/>
  346. <Column size="0"/>
  347. <Column size="0"/>
  348. <Column size="0"/>
  349. <Column size="0"/>
  350. <Column size="0"/>
  351. <Column size="0"/>
  352. <Column size="0"/>
  353. <Column size="0"/>
  354. <Column size="0"/>
  355. <Column size="0"/>
  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. <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. <Column size="0"/>
  381. <Column size="0"/>
  382. <Column size="0"/>
  383. <Column size="0"/>
  384. <Column size="0"/>
  385. <Column size="0"/>
  386. <Column size="0"/>
  387. <Column size="0"/>
  388. </Columns>
  389. <Rows>
  390. <row size="24" band="head"/>
  391. <row size="24"/>
  392. </Rows>
  393. <Band id="head">
  394. <Cell text="선&#10;택"/>
  395. <Cell col="1" text="환자명"/>
  396. <Cell col="2" text="병리번호"/>
  397. <Cell col="3" text="ptno"/>
  398. <Cell col="4" text="진료과"/>
  399. <Cell col="5" text="입원일자"/>
  400. <Cell col="6" text="병동병실"/>
  401. <Cell col="7" text="처방일자"/>
  402. <Cell col="8" text="접수일자"/>
  403. <Cell col="9" text="결과일자"/>
  404. <Cell col="10" text="검사명"/>
  405. <Cell col="11" text="검체명"/>
  406. <Cell col="12" text="검사코드"/>
  407. <Cell col="13" text="검체코드"/>
  408. <Cell col="14" text="병실"/>
  409. <Cell col="15" text="병동"/>
  410. <Cell col="16" text="처방의ID"/>
  411. <Cell col="17" text="검체접수일자"/>
  412. <Cell col="18" text="검체접수번호"/>
  413. <Cell col="19" text="진료과코드"/>
  414. <Cell col="20" text="접수번호"/>
  415. <Cell col="21" text="진료의명"/>
  416. <Cell col="22" text="병리번호코드"/>
  417. <Cell col="23" text="육안검사의ID"/>
  418. <Cell col="24" text="육안병리사ID"/>
  419. <Cell col="25" text="접수시간"/>
  420. <Cell col="26" text="의뢰지번호"/>
  421. <Cell col="27" text="관련병리번호"/>
  422. <Cell col="28" text="정송일자"/>
  423. <Cell col="29" text="전송번호"/>
  424. <Cell col="30" text="전송일련번호"/>
  425. <Cell col="31" text="실시처방유일번호"/>
  426. <Cell col="32" text="검체바코드번호"/>
  427. <Cell col="33" text="블럭번호"/>
  428. <Cell col="34" text="처방번호"/>
  429. <Cell col="35" text="등록번호"/>
  430. <Cell col="36" text="진료의명"/>
  431. <Cell col="37" text="검체이력코드"/>
  432. <Cell col="38" text="판독검사일자"/>
  433. <Cell col="39" text="판독검사시간"/>
  434. <Cell col="40" text="연구병리코드"/>
  435. <Cell col="41" text="수탁병리코드"/>
  436. <Cell col="42" text="작업구분코드"/>
  437. <Cell col="43" text="슬라이드구분코드"/>
  438. <Cell col="44" text="블럭구분코드"/>
  439. <Cell col="45" text="초기블럭번호"/>
  440. <Cell col="46" text="자동보관구분코드"/>
  441. <Cell col="47" text="연구작업구분코드"/>
  442. <Cell col="48" text="연구슬라이드구분코드"/>
  443. <Cell col="49" text="연구슬라이드갯수"/>
  444. <Cell col="50" text="연구블럭구분코드"/>
  445. <Cell col="51" text="연구초기블럭번호"/>
  446. <Cell col="52" text="연구자동보관구분코드"/>
  447. <Cell col="53" text="prcpgenrflag"/>
  448. <Cell col="54" text="cretno"/>
  449. <Cell col="55" text="prcphistno"/>
  450. <Cell col="56" text="rrgstno1"/>
  451. <Cell col="57" text="rrgstno2"/>
  452. </Band>
  453. <Band id="body">
  454. <Cell text="bind:choi" edittype="checkbox" displaytype="checkbox"/>
  455. <Cell col="1" text="bind:patnm"/>
  456. <Cell col="2" text="bind:dispptno"/>
  457. <Cell col="3" text="bind:ptno"/>
  458. <Cell col="4" text="bind:orddeptnm"/>
  459. <Cell col="5" mask="####-##-##" text="bind:indd"/>
  460. <Cell col="6" text="bind:wardroom"/>
  461. <Cell col="7" mask="####-##-##" text="bind:prcpdd"/>
  462. <Cell col="8" mask="####-##-##" text="bind:acptdd"/>
  463. <Cell col="9" mask="####-##-##" text="bind:rsltdd"/>
  464. <Cell col="10" text="bind:testnm"/>
  465. <Cell col="11" text="bind:spcnm"/>
  466. <Cell col="12" text="bind:testcd"/>
  467. <Cell col="13" text="bind:spccd"/>
  468. <Cell col="14" text="bind:wardcd"/>
  469. <Cell col="15" text="bind:roomcd"/>
  470. <Cell col="16" text="bind:orddrid"/>
  471. <Cell col="17" text="bind:spcacptdd"/>
  472. <Cell col="18" text="bind:spcacptno"/>
  473. <Cell col="19" text="bind:orddeptcd"/>
  474. <Cell col="20" text="bind:acptno"/>
  475. <Cell col="21" text="bind:orddrnm"/>
  476. <Cell col="22" text="bind:ptnocd"/>
  477. <Cell col="23" text="bind:grosdrid"/>
  478. <Cell col="24" text="bind:grosplgyid"/>
  479. <Cell col="25" text="bind:acpttm"/>
  480. <Cell col="26" text="bind:reqfrmno"/>
  481. <Cell col="27" text="bind:relaptno"/>
  482. <Cell col="28" text="bind:lendflagcd"/>
  483. <Cell col="29" text="bind:trandd"/>
  484. <Cell col="30" text="bind:tranno"/>
  485. <Cell col="31" text="bind:transeqno"/>
  486. <Cell col="32" text="bind:execprcpuniqno"/>
  487. <Cell col="33" text="bind:spcbarcdno"/>
  488. <Cell col="34" text="bind:blocno"/>
  489. <Cell col="35" text="bind:prcpno"/>
  490. <Cell col="36" text="bind:orddd"/>
  491. <Cell col="37" text="bind:pid"/>
  492. <Cell col="38" text="bind:orddrnm"/>
  493. <Cell col="39" text="bind:spchistno"/>
  494. <Cell col="40" text="bind:grostestdd"/>
  495. <Cell col="41" text="bind:grostesttm"/>
  496. <Cell col="42" text="bind:stdyptnocd"/>
  497. <Cell col="43" text="bind:trustptnocd"/>
  498. <Cell col="44" text="bind:workflagcd"/>
  499. <Cell col="45" text="bind:slidflagcd"/>
  500. <Cell col="46" text="bind:blocflagcd"/>
  501. <Cell col="47" text="bind:initblocno"/>
  502. <Cell col="48" text="bind:autokeepflagcd"/>
  503. <Cell col="49" text="bind:stdy_workflagcd"/>
  504. <Cell col="50" text="bind:stdy_slidflagcd"/>
  505. <Cell col="51" text="bind:stdy_slidisscnt"/>
  506. <Cell col="52" text="bind:stdy_blocflagcd"/>
  507. <Cell col="53" text="bind:stdy_initblocno"/>
  508. <Cell col="54" text="bind:stdy_autokeepflagcd"/>
  509. <Cell col="55" text="bind:prcpgenrflag"/>
  510. <Cell col="56" text="bind:cretno"/>
  511. <Cell col="57" text="bind:prcphistno"/>
  512. <Cell col="58"/>
  513. </Band>
  514. </Format>
  515. </Formats>
  516. </Grid>
  517. <Button id="btn_del" taborder="20" text="행삭제" class="btn2" position="absolute 1203 317 1256 337" anchor="top right" visible="true" positiontype="position" onclick="btn_del_onclick"/>
  518. <Grid id="grd_plgyprcplist" class="CSS::lis.css" taborder="21" useinputpanel="false" position="absolute 0 25 1256 310" anchor="left top right" binddataset="ds_grid_grd_plgyprcplist" positiontype="position" autofittype="col" oncellclick="switch1_case_lendslide_grd_plgyprcplist_oncellclick">
  519. <Formats>
  520. <Format id="default">
  521. <Columns>
  522. <Column size="26"/>
  523. <Column size="52"/>
  524. <Column size="82"/>
  525. <Column size="82"/>
  526. <Column size="53"/>
  527. <Column size="241"/>
  528. <Column size="120"/>
  529. <Column size="46"/>
  530. <Column size="60"/>
  531. <Column size="50"/>
  532. <Column size="73"/>
  533. <Column size="73"/>
  534. <Column size="73"/>
  535. <Column size="60"/>
  536. <Column size="49"/>
  537. <Column size="56"/>
  538. </Columns>
  539. <Rows>
  540. <Row size="35" band="head"/>
  541. <Row size="20"/>
  542. </Rows>
  543. <Band id="head">
  544. <Cell displaytype="normal" edittype="none" text="선&#13;&#10;택"/>
  545. <Cell col="1" text="환자명"/>
  546. <Cell col="2" text="병리번호"/>
  547. <Cell col="3" text="관련병리번호"/>
  548. <Cell col="4" text="육안&#10;검사의"/>
  549. <Cell col="5" text="검사명"/>
  550. <Cell col="6" text="검체명"/>
  551. <Cell col="7" text="진료과"/>
  552. <Cell col="8" text="처방의"/>
  553. <Cell col="9" text="수납&#10;구분"/>
  554. <Cell col="10" text="처방일자"/>
  555. <Cell col="11" text="접수일자"/>
  556. <Cell col="12" text="판독일자"/>
  557. <Cell col="13" text="판독의"/>
  558. <Cell col="14" text="블록"/>
  559. <Cell col="15" text="슬라&#10;이드"/>
  560. </Band>
  561. <Band id="body">
  562. <Cell displaytype="checkbox" edittype="expr:expr:workflagcd == &quot;1011&quot; ? none : (acptdd == &quot;&quot; ? none : 'checkbox')" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');selectbackground:EXPR(workflagcd == &quot;1011&quot; ? '#ABABAB' : (acptdd == &quot;&quot; ? '#ABABAB' : ''));selectcolor:EXPR(workflagcd == &quot;1011&quot; ? '#ABABAB' : (acptdd == &quot;&quot; ? '#ABABAB' : ''));" text="bind:choi"/>
  563. <Cell col="1" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:patnm"/>
  564. <Cell col="2" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:dispptno"/>
  565. <Cell col="3" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:disprelaptno"/>
  566. <Cell col="4" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:grosdrnm"/>
  567. <Cell col="5" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:testnm"/>
  568. <Cell col="6" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:spcnm"/>
  569. <Cell col="7" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:deptengabbr"/>
  570. <Cell col="8" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:orddrnm"/>
  571. <Cell col="9" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:rcptflag"/>
  572. <Cell col="10" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:prcpdd" mask="####-##-##"/>
  573. <Cell col="11" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');selectbackground:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:acptdd" mask="####-##-##"/>
  574. <Cell col="12" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:readdd" mask="####-##-##"/>
  575. <Cell col="13" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:readdrnm"/>
  576. <Cell col="14" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:blockcnts"/>
  577. <Cell col="15" style="background:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');background2:EXPR(utlf_isNull(acptdd) ? '#00CC66' : '');" text="bind:slidecnts"/>
  578. <Cell col="16"/>
  579. <Cell col="17"/>
  580. <Cell col="18"/>
  581. </Band>
  582. </Format>
  583. </Formats>
  584. </Grid>
  585. <Grid id="grd_prcplist" class="CSS::lis.css" taborder="22" useinputpanel="false" position="absolute 1 339 385 732" anchor="left top bottom" binddataset="ds_grid_grd_prcplist" positiontype="position" autofittype="col">
  586. <Formats>
  587. <Format id="default">
  588. <Columns>
  589. <Column size="35"/>
  590. <Column size="72"/>
  591. <Column size="58"/>
  592. <Column size="209"/>
  593. </Columns>
  594. <Rows>
  595. <Row size="23" band="head"/>
  596. <Row size="20"/>
  597. </Rows>
  598. <Band id="head">
  599. <Cell text="선택"/>
  600. <Cell col="1" text="처방코드"/>
  601. <Cell col="2" text="처방개수"/>
  602. <Cell col="3" text="처방명"/>
  603. </Band>
  604. <Band id="body">
  605. <Cell displaytype="checkbox" edittype="checkbox" text="bind:choi"/>
  606. <Cell col="1" text="bind:prcpcd"/>
  607. <Cell col="2" displaytype="text" edittype="text" text="bind:prcpcnt"/>
  608. <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
  609. <Cell col="4"/>
  610. <Cell col="5"/>
  611. </Band>
  612. </Format>
  613. </Formats>
  614. </Grid>
  615. <Static id="caption7" text="병리처방목록" class="tit_2" position="absolute 0 4 105 20" positiontype="position"/>
  616. <Static id="caption8" text="처방목록" class="tit_2" position="absolute 0 318 74 338" positiontype="position"/>
  617. <Div id="grp_prcpcnt" taborder="23" visible="false" position="absolute 515 200 795 275" positiontype="position">
  618. <Layouts>
  619. <Layout>
  620. <Button id="btn_cncresn" taborder="2" text="확인" class="btn2_letter2" position="absolute 225 34 267 54" positiontype="position" onclick="btn_cncresn_onclick"/>
  621. <MaskEdit id="ipt_slidcnt" taborder="3" mask="999" class="text_center" position="absolute 106 33 220 53" imemode="hangul" positiontype="position"/>
  622. <Static id="cpt_title" text="발행할 처방의 개수를 입력하여 주세요." class="tit_2" position="absolute 15 15 271 28" positiontype="position"/>
  623. <Static id="cap_pid" text="처방개수" class="cell_1" position="absolute 15 31 105 54" style="align:left middle;" positiontype="position"/>
  624. </Layout>
  625. </Layouts>
  626. </Div>
  627. <Edit id="ipt_prcpcnt" taborder="24" position="absolute 80 317 110 337" imemode="hangul" positiontype="position" onkeydown="switch1_case_lendslide_ipt_prcpcnt_onkeydown"/>
  628. <Button id="btn_addprcp" taborder="25" text="정보전달" onlbuttonup="btn_addprcp_onlbuttonup" class="btn2" position="absolute 316 317 384 337" positiontype="position" onclick="btn_addprcp_onclick"/>
  629. <Div id="grp_sldelist" taborder="26" visible="false" position="absolute 381 66 946 406" positiontype="position">
  630. <Layouts>
  631. <Layout>
  632. <Grid id="grd_slidelist" class="CSS::lis.css" taborder="20" useinputpanel="false" position="absolute 12 46 553 305" anchor="default" binddataset="ds_grid_grd_slidelist" positiontype="position">
  633. <Formats>
  634. <Format id="default">
  635. <Columns>
  636. <Column size="25"/>
  637. <Column size="108"/>
  638. <Column size="67"/>
  639. <Column size="67"/>
  640. <Column size="82"/>
  641. <Column size="82"/>
  642. <Column size="109"/>
  643. </Columns>
  644. <Rows>
  645. <Row size="24" band="head"/>
  646. <Row size="24"/>
  647. </Rows>
  648. <Band id="head">
  649. <Cell text="선&#10;택"/>
  650. <Cell col="1" text="병리번호"/>
  651. <Cell col="2" text="검체번호"/>
  652. <Cell col="3" text="블록번호"/>
  653. <Cell col="4" text="슬라이드번호"/>
  654. <Cell col="5" text="블록표시내용"/>
  655. <Cell col="6" text="슬라이드표시내용"/>
  656. </Band>
  657. <Band id="body">
  658. <Cell displaytype="checkbox" edittype="checkbox" text="bind:choi"/>
  659. <Cell col="1" text="bind:ptno"/>
  660. <Cell col="2" text="bind:spcacptseqno"/>
  661. <Cell col="3" text="bind:csteno"/>
  662. <Cell col="4" text="bind:slidno"/>
  663. <Cell col="5" text="bind:blockcnts"/>
  664. <Cell col="6" text="bind:slidecnts"/>
  665. <Cell col="7"/>
  666. </Band>
  667. </Format>
  668. </Formats>
  669. </Grid>
  670. <Button id="button2" taborder="21" text="확인" class="btn4" position="absolute 438 308 494 328" anchor="default" onclick="button2_onclick" positiontype="position"/>
  671. <Button id="button3" taborder="22" text="닫기" class="btn4" position="absolute 498 308 554 328" anchor="default" onclick="button3_onclick" positiontype="position"/>
  672. <Button id="Button00" taborder="23" class="btn_POP_cls" position="absolute 539 12 553 25" anchor="default" onclick="switch1_case_lendslide_grp_sldelist_Button00_onclick"/>
  673. <Static id="caption00" text="카세트/슬라이드 목록" class="sta_POP_title" position="absolute 12 8 171 28" anchor="default"/>
  674. </Layout>
  675. </Layouts>
  676. </Div>
  677. </Layout>
  678. </Layouts>
  679. </Tabpage>
  680. <Tabpage id="case_rtnslide" text="반납">
  681. <Layouts>
  682. <Layout>
  683. <Grid id="grd_rtnslideinfolist" class="datagrid2" taborder="1" useinputpanel="false" position="absolute 0 25 1256 732" anchor="all" binddataset="ds_grid_grd_rtnslideinfolist" positiontype="position">
  684. <Formats>
  685. <Format id="default">
  686. <Columns>
  687. <Column size="30"/>
  688. <Column size="99"/>
  689. <Column size="100"/>
  690. <Column size="0"/>
  691. <Column size="60"/>
  692. <Column size="83"/>
  693. <Column size="83"/>
  694. <Column size="83"/>
  695. <Column size="365"/>
  696. <Column size="235"/>
  697. <Column size="0"/>
  698. <Column size="0"/>
  699. <Column size="0"/>
  700. <Column size="0"/>
  701. <Column size="0"/>
  702. <Column size="0"/>
  703. <Column size="0"/>
  704. <Column size="0"/>
  705. <Column size="0"/>
  706. <Column size="0"/>
  707. <Column size="0"/>
  708. <Column size="0"/>
  709. <Column size="0"/>
  710. <Column size="0"/>
  711. <Column size="0"/>
  712. <Column size="0"/>
  713. <Column size="0"/>
  714. <Column size="0"/>
  715. <Column size="0"/>
  716. <Column size="0"/>
  717. <Column size="0"/>
  718. <Column size="0"/>
  719. <Column size="0"/>
  720. <Column size="0"/>
  721. <Column size="0"/>
  722. <Column size="0"/>
  723. <Column size="0"/>
  724. <Column size="0"/>
  725. <Column size="0"/>
  726. <Column size="0"/>
  727. <Column size="0"/>
  728. <Column size="0"/>
  729. <Column size="0"/>
  730. <Column size="0"/>
  731. <Column size="0"/>
  732. <Column size="0"/>
  733. <Column size="0"/>
  734. <Column size="0"/>
  735. <Column size="0"/>
  736. <Column size="0"/>
  737. <Column size="0"/>
  738. <Column size="0"/>
  739. <Column size="0"/>
  740. <Column size="0"/>
  741. <Column size="0"/>
  742. <Column size="0"/>
  743. <Column size="0"/>
  744. <Column size="0"/>
  745. <Column size="0"/>
  746. <Column size="0"/>
  747. <Column size="0"/>
  748. <Column size="0"/>
  749. <Column size="0"/>
  750. <Column size="0"/>
  751. <Column size="0"/>
  752. <Column size="0"/>
  753. <Column size="0"/>
  754. <Column size="0"/>
  755. <Column size="0"/>
  756. <Column size="0"/>
  757. <Column size="0"/>
  758. <Column size="0"/>
  759. <Column size="0"/>
  760. <Column size="0"/>
  761. <Column size="0"/>
  762. <Column size="0"/>
  763. <Column size="0"/>
  764. <Column size="0"/>
  765. <Column size="0"/>
  766. <Column size="0"/>
  767. <Column size="0"/>
  768. <Column size="0"/>
  769. </Columns>
  770. <Rows>
  771. <Row size="24" band="head"/>
  772. <Row size="24"/>
  773. </Rows>
  774. <Band id="head">
  775. <Cell displaytype="checkbox" edittype="checkbox"/>
  776. <Cell col="1" text="환자명"/>
  777. <Cell col="2" text="병리번호"/>
  778. <Cell col="3" text="ptno"/>
  779. <Cell col="4" text="진료과"/>
  780. <Cell col="5" text="처방일자"/>
  781. <Cell col="6" text="접수일자"/>
  782. <Cell col="7" text="결과일자"/>
  783. <Cell col="8" text="검사명"/>
  784. <Cell col="9" text="검체명"/>
  785. <Cell col="10" text="검사코드"/>
  786. <Cell col="11" text="검체코드"/>
  787. <Cell col="12" text="진료의ID"/>
  788. <Cell col="13" text="검체접수일자"/>
  789. <Cell col="14" text="검체접수번호"/>
  790. <Cell col="15" text="진료과코드"/>
  791. <Cell col="16" text="접수번호"/>
  792. <Cell col="17" text="진료과명"/>
  793. <Cell col="18" text="병리번호코드"/>
  794. <Cell col="19" text="병리의ID"/>
  795. <Cell col="20" text="병리사ID"/>
  796. <Cell col="21" text="접수시간"/>
  797. <Cell col="22" text="의뢰지번호"/>
  798. <Cell col="23" text="관련병리번호"/>
  799. <Cell col="24" text="대여구분코드"/>
  800. <Cell col="25" text="이송일자"/>
  801. <Cell col="26" text="이송번호"/>
  802. <Cell col="27" text="이송일련번호"/>
  803. <Cell col="28" text="실시처방유일번호"/>
  804. <Cell col="29" text="검체바코드번호"/>
  805. <Cell col="30" text="블럭번호"/>
  806. <Cell col="31" text="처방번호"/>
  807. <Cell col="32" text="진료일자"/>
  808. <Cell col="33" text="등록번호"/>
  809. <Cell col="34" text="처방구분코드"/>
  810. <Cell col="35" text="기관코드"/>
  811. <Cell col="36" text="환자명"/>
  812. <Cell col="37" text="처방병"/>
  813. <Cell col="38" text="퇴원일자"/>
  814. <Cell col="39" text="검체접수일련번호"/>
  815. <Cell col="40" text="이전접수일자"/>
  816. <Cell col="41" text="이전접수번호"/>
  817. <Cell col="42" text="이전접수일련번호"/>
  818. <Cell col="43" text="재사용성"/>
  819. <Cell col="44" text="접수과코드"/>
  820. <Cell col="45" text="연구용병리번호"/>
  821. <Cell col="46" text="수탁용병리번호"/>
  822. <Cell col="47" text="슬라이드구분코드"/>
  823. <Cell col="48" text="블럭구분코드"/>
  824. <Cell col="49" text="초기블럭번호"/>
  825. <Cell col="50" text="자동보관구분여부"/>
  826. <Cell col="51" text="stdy_workflagcd"/>
  827. <Cell col="52" text="stdy_slidflagcd"/>
  828. <Cell col="53" text="stdy_slidisscnt"/>
  829. <Cell col="54" text="stdy_blocflagcd"/>
  830. <Cell col="55" text="stdy_initblocno"/>
  831. <Cell col="56" text="stdy_autokeepflagcd"/>
  832. <Cell col="57" text="grupsnglflag"/>
  833. <Cell col="58" text="grostestdd"/>
  834. <Cell col="59" text="grostesttm"/>
  835. <Cell col="60" text="autosave"/>
  836. <Cell col="61" text="검체이송일자"/>
  837. <Cell col="62" text="검체이송번호"/>
  838. <Cell col="63" text="검체이력번호"/>
  839. <Cell col="64" text="생성번호"/>
  840. <Cell col="65" text="치식"/>
  841. <Cell col="66" text="검체이송바코드번호"/>
  842. <Cell col="67" text="처방이력번호"/>
  843. <Cell col="68" text="진료일자"/>
  844. <Cell col="69" text="실제접수상태"/>
  845. <Cell col="70" text="acptitemno"/>
  846. <Cell col="71" text="orgacptstatcd"/>
  847. <Cell col="72" text="orgprcpstatcd"/>
  848. <Cell col="73" text="orgacptdd"/>
  849. <Cell col="74" text="prcpcd"/>
  850. <Cell col="75" text="acptstatcd"/>
  851. <Cell col="76" text="prcpstatcd"/>
  852. <Cell col="77" text="irpayflag"/>
  853. <Cell col="78" text="ordtype"/>
  854. <Cell col="79"/>
  855. <Cell col="80"/>
  856. <Cell col="81"/>
  857. </Band>
  858. <Band id="body">
  859. <Cell displaytype="checkbox" edittype="checkbox" text="bind:choi"/>
  860. <Cell col="1" text="bind:patnm"/>
  861. <Cell col="2" text="bind:dispptno"/>
  862. <Cell col="3" text="bind:ptno"/>
  863. <Cell col="4" text="bind:orddeptnm"/>
  864. <Cell col="5" text="bind:prcpdd" mask="####-##-##"/>
  865. <Cell col="6" text="bind:acptdd" mask="####-##-##"/>
  866. <Cell col="7" text="bind:rsltdd" mask="####-##-##"/>
  867. <Cell col="8" text="bind:testnm"/>
  868. <Cell col="9" text="bind:spcnm"/>
  869. <Cell col="10" text="bind:testcd"/>
  870. <Cell col="11" text="bind:spccd"/>
  871. <Cell col="12" text="bind:orddrid"/>
  872. <Cell col="13" text="bind:spcacptdd"/>
  873. <Cell col="14" text="bind:spcacptno"/>
  874. <Cell col="15" text="bind:orddeptcd"/>
  875. <Cell col="16" text="bind:acptno"/>
  876. <Cell col="17" text="bind:orddrnm"/>
  877. <Cell col="18" text="bind:ptnocd"/>
  878. <Cell col="19" text="bind:grosdrid"/>
  879. <Cell col="20" text="bind:grosplgyid"/>
  880. <Cell col="21" text="bind:acpttm"/>
  881. <Cell col="22" text="bind:reqfrmno"/>
  882. <Cell col="23" text="bind:relaptno"/>
  883. <Cell col="24" text="bind:lendflagcd"/>
  884. <Cell col="25" text="bind:trandd"/>
  885. <Cell col="26" text="bind:tranno"/>
  886. <Cell col="27" text="bind:transeqno"/>
  887. <Cell col="28" text="bind:execprcpuniqno"/>
  888. <Cell col="29" text="bind:spcbarcdno"/>
  889. <Cell col="30" text="bind:blocno"/>
  890. <Cell col="31" text="bind:prcpno"/>
  891. <Cell col="32" text="bind:orddd"/>
  892. <Cell col="33" text="bind:pid"/>
  893. <Cell col="34" text="bind:prcpgenrflag"/>
  894. <Cell col="35" text="bind:instcd"/>
  895. <Cell col="36" text="bind:patnm"/>
  896. <Cell col="37" text="bind:prcpnm"/>
  897. <Cell col="38" text="bind:dschdd"/>
  898. <Cell col="39" text="bind:spcacptseqno"/>
  899. <Cell col="40" text="bind:bfacptdd"/>
  900. <Cell col="41" text="bind:bfacptno"/>
  901. <Cell col="42" text="bind:bfacptseqno"/>
  902. <Cell col="43" text="bind:reuseflagcd"/>
  903. <Cell col="44" text="bind:acptdept"/>
  904. <Cell col="45" text="bind:bfspcacptdd"/>
  905. <Cell col="46" text="bind:bfspcacptno"/>
  906. <Cell col="47" text="bind:status"/>
  907. <Cell col="48" text="bind:stdyptnocd"/>
  908. <Cell col="49" text="bind:trustptnocd"/>
  909. <Cell col="50" text="bind:workflagcd"/>
  910. <Cell col="51" text="bind:slidflagcd"/>
  911. <Cell col="52" text="bind:blocflagcd"/>
  912. <Cell col="53" text="bind:initblocno"/>
  913. <Cell col="54" text="bind:autokeepflagcd"/>
  914. <Cell col="55" text="bind:stdy_workflagcd"/>
  915. <Cell col="56" text="bind:stdy_slidflagcd"/>
  916. <Cell col="57" text="bind:stdy_slidisscnt"/>
  917. <Cell col="58" text="bind:stdy_blocflagcd"/>
  918. <Cell col="59" text="bind:stdy_initblocno"/>
  919. <Cell col="60" text="bind:stdy_autokeepflagcd"/>
  920. <Cell col="61" text="bind:grupsnglflag"/>
  921. <Cell col="62" text="bind:grostestdd"/>
  922. <Cell col="63" text="bind:grostesttm"/>
  923. <Cell col="64" text="bind:autosave"/>
  924. <Cell col="65" text="bind:spctrandd"/>
  925. <Cell col="66" text="bind:spctranno"/>
  926. <Cell col="67" text="bind:spchistno"/>
  927. <Cell col="68" text="bind:cretno"/>
  928. <Cell col="69" text="bind:tootfact"/>
  929. <Cell col="70" text="bind:spctranbarcdno"/>
  930. <Cell col="71" text="bind:prcphistno"/>
  931. <Cell col="72" text="bind:orddd"/>
  932. <Cell col="73" text="bind:acptitemno"/>
  933. <Cell col="74" text="bind:orgacptstatcd"/>
  934. <Cell col="75" text="bind:orgprcpstatcd"/>
  935. <Cell col="76" text="bind:orgacptdd"/>
  936. <Cell col="77" text="bind:prcpcd"/>
  937. <Cell col="78" text="bind:acptstatcd"/>
  938. <Cell col="79" text="bind:prcpstatcd"/>
  939. <Cell col="80" text="bind:irpayflag"/>
  940. <Cell col="81" text="bind:ordtype"/>
  941. </Band>
  942. </Format>
  943. </Formats>
  944. </Grid>
  945. <Static id="caption5" text="반납목록" class="tit_2" position="absolute 0 5 85 25" positiontype="position"/>
  946. </Layout>
  947. </Layouts>
  948. </Tabpage>
  949. </Tabpages>
  950. </Tab>
  951. <Grid id="grd_saveprcp" class="CSS::lis.css" taborder="3" useinputpanel="false" visible="false" position="absolute 915 565 1010 665" binddataset="ds_grid_grd_saveprcp" positiontype="position">
  952. <Formats>
  953. <Format id="default">
  954. <Columns>
  955. <Column size="0"/>
  956. <Column size="0"/>
  957. <Column size="0"/>
  958. <Column size="80"/>
  959. <Column size="150"/>
  960. <Column size="0"/>
  961. <Column size="0"/>
  962. <Column size="150"/>
  963. <Column size="0"/>
  964. <Column size="30"/>
  965. </Columns>
  966. <Rows>
  967. <row size="24" band="head"/>
  968. <row size="24"/>
  969. </Rows>
  970. <Band id="head">
  971. <Cell text="기관코드"/>
  972. <Cell col="1" text="등록번호"/>
  973. <Cell col="2" text="ptno"/>
  974. <Cell col="3" text="병리번호"/>
  975. <Cell col="4" text="처방명"/>
  976. <Cell col="5" text=" 처방코드"/>
  977. <Cell col="6" text="S ptno"/>
  978. <Cell col="7" text="검사명"/>
  979. <Cell col="8" text="검사코드"/>
  980. <Cell col="9" text="장&#10;수"/>
  981. </Band>
  982. <Band id="body">
  983. <Cell text="bind:instcd"/>
  984. <Cell col="1" text="bind:pid"/>
  985. <Cell col="2" text="bind:prcp_ptno"/>
  986. <Cell col="3" text="bind:dispptno"/>
  987. <Cell col="4" text="bind:prcpnm"/>
  988. <Cell col="5" text="bind:prcpcd"/>
  989. <Cell col="6" text="bind:test_ptno"/>
  990. <Cell col="7" text="bind:testnm"/>
  991. <Cell col="8" text="bind:testcd"/>
  992. <Cell col="9" text="bind:slidcnt"/>
  993. </Band>
  994. </Format>
  995. </Formats>
  996. </Grid>
  997. <Button id="btn_upd" taborder="4" text="저장" class="btn4" position="absolute 1199 74 1255 94" anchor="top right" positiontype="position" onclick="btn_upd_onclick"/>
  998. <Button id="button1" taborder="5" text="전처방반환" class="btn4" position="absolute 1101 74 1196 94" anchor="top right" positiontype="position" onclick="button1_onclick"/>
  999. </Layout>
  1000. </Layouts>
  1001. <Objects>
  1002. <Dataset id="ds_grid_grd_choilist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1003. <ColumnInfo>
  1004. <Column id="choi" type="STRING"/>
  1005. <Column id="dispptno" type="STRING"/>
  1006. <Column id="ptno" type="STRING"/>
  1007. <Column id="prcpdd" type="STRING"/>
  1008. <Column id="acptdd" type="STRING"/>
  1009. <Column id="prcpcd" type="STRING"/>
  1010. <Column id="prcpnm" type="STRING"/>
  1011. <Column id="spcnm" type="STRING"/>
  1012. <Column id="blockcnts" type="STRING"/>
  1013. <Column id="slidecnts" type="STRING"/>
  1014. <Column id="prcpgenrflag" type="STRING"/>
  1015. <Column id="slidisscnt" type="STRING"/>
  1016. <Column id="rsltdd" type="STRING"/>
  1017. <Column id="spcacptseqno" type="STRING"/>
  1018. <Column id="csteno" type="STRING"/>
  1019. <Column id="slidno" type="STRING"/>
  1020. <Column id="testcd" type="STRING"/>
  1021. <Column id="instcd" type="STRING"/>
  1022. <Column id="relaptno" type="STRING"/>
  1023. <Column id="pid" type="STRING"/>
  1024. <Column id="patnm" type="STRING"/>
  1025. <Column id="orddd" type="STRING"/>
  1026. <Column id="testnm" type="STRING"/>
  1027. <Column id="spccd" type="STRING"/>
  1028. <Column id="orddeptcd" type="STRING"/>
  1029. <Column id="orddeptnm" type="STRING"/>
  1030. <Column id="orddrid" type="STRING"/>
  1031. <Column id="orddrnm" type="STRING"/>
  1032. <Column id="reqfrmno" type="STRING"/>
  1033. <Column id="dschdd" type="STRING"/>
  1034. <Column id="execprcpuniqno" type="STRING"/>
  1035. <Column id="prcpno" type="STRING"/>
  1036. <Column id="acptno" type="STRING"/>
  1037. <Column id="spcacptdd" type="STRING"/>
  1038. <Column id="spcacptno" type="STRING"/>
  1039. <Column id="spcacptseqno" type="STRING"/>
  1040. <Column id="bfacptdd" type="STRING"/>
  1041. <Column id="bfacptno" type="STRING"/>
  1042. <Column id="bfacptseqno" type="STRING"/>
  1043. <Column id="reuseflagcd" type="STRING"/>
  1044. <Column id="acptdept" type="STRING"/>
  1045. <Column id="bfspcacptdd" type="STRING"/>
  1046. <Column id="bfspcacptno" type="STRING"/>
  1047. <Column id="status" type="STRING"/>
  1048. <Column id="ptnocd" type="STRING"/>
  1049. <Column id="stdyptnocd" type="STRING"/>
  1050. <Column id="trustptnocd" type="STRING"/>
  1051. <Column id="workflagcd" type="STRING"/>
  1052. <Column id="slidflagcd" type="STRING"/>
  1053. <Column id="blocflagcd" type="STRING"/>
  1054. <Column id="initblocno" type="STRING"/>
  1055. <Column id="autokeepflagcd" type="STRING"/>
  1056. <Column id="stdy_workflagcd" type="STRING"/>
  1057. <Column id="stdy_slidflagcd" type="STRING"/>
  1058. <Column id="stdy_slidisscnt" type="STRING"/>
  1059. <Column id="stdy_blocflagcd" type="STRING"/>
  1060. <Column id="stdy_initblocno" type="STRING"/>
  1061. <Column id="stdy_autokeepflagcd" type="STRING"/>
  1062. <Column id="grupsnglflag" type="STRING"/>
  1063. <Column id="wardcd" type="STRING"/>
  1064. <Column id="roomcd" type="STRING"/>
  1065. <Column id="grosdrid" type="STRING"/>
  1066. <Column id="grosplgyid" type="STRING"/>
  1067. <Column id="acpttm" type="STRING"/>
  1068. <Column id="grostestdd" type="STRING"/>
  1069. <Column id="grostesttm" type="STRING"/>
  1070. <Column id="autosave" type="STRING"/>
  1071. <Column id="lendflagcd" type="STRING"/>
  1072. <Column id="trandd" type="STRING"/>
  1073. <Column id="tranno" type="STRING"/>
  1074. <Column id="transeqno" type="STRING"/>
  1075. <Column id="spcbarcdno" type="STRING"/>
  1076. <Column id="spchistno" type="STRING"/>
  1077. <Column id="blocno" type="STRING"/>
  1078. <Column id="cretno" type="STRING"/>
  1079. <Column id="tootfact" type="STRING"/>
  1080. <Column id="spctranbarcdno" type="STRING"/>
  1081. <Column id="reuseflagcd" type="STRING"/>
  1082. <Column id="prcphistno" type="STRING"/>
  1083. <Column id="rrgstno1" type="STRING"/>
  1084. <Column id="rrgstno2" type="STRING"/>
  1085. <Column id="brthdd" type="STRING"/>
  1086. <Column id="sex" type="STRING"/>
  1087. <Column id="signbfcnts" type="STRING"/>
  1088. <Column id="signafcnts" type="STRING"/>
  1089. </ColumnInfo>
  1090. </Dataset>
  1091. <Dataset id="ds_grid_grd_acptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1092. <ColumnInfo>
  1093. <Column id="choi" type="STRING"/>
  1094. <Column id="patnm" type="STRING"/>
  1095. <Column id="dispptno" type="STRING"/>
  1096. <Column id="ptno" type="STRING"/>
  1097. <Column id="orddeptnm" type="STRING"/>
  1098. <Column id="indd" type="STRING"/>
  1099. <Column id="wardroom" type="STRING"/>
  1100. <Column id="prcpdd" type="STRING"/>
  1101. <Column id="acptdd" type="STRING"/>
  1102. <Column id="rsltdd" type="STRING"/>
  1103. <Column id="testnm" type="STRING"/>
  1104. <Column id="spcnm" type="STRING"/>
  1105. <Column id="testcd" type="STRING"/>
  1106. <Column id="spccd" type="STRING"/>
  1107. <Column id="wardcd" type="STRING"/>
  1108. <Column id="roomcd" type="STRING"/>
  1109. <Column id="orddrid" type="STRING"/>
  1110. <Column id="spcacptdd" type="STRING"/>
  1111. <Column id="spcacptno" type="STRING"/>
  1112. <Column id="orddeptcd" type="STRING"/>
  1113. <Column id="acptno" type="STRING"/>
  1114. <Column id="orddrnm" type="STRING"/>
  1115. <Column id="ptnocd" type="STRING"/>
  1116. <Column id="grosdrid" type="STRING"/>
  1117. <Column id="grosplgyid" type="STRING"/>
  1118. <Column id="acpttm" type="STRING"/>
  1119. <Column id="reqfrmno" type="STRING"/>
  1120. <Column id="relaptno" type="STRING"/>
  1121. <Column id="lendflagcd" type="STRING"/>
  1122. <Column id="trandd" type="STRING"/>
  1123. <Column id="tranno" type="STRING"/>
  1124. <Column id="transeqno" type="STRING"/>
  1125. <Column id="execprcpuniqno" type="STRING"/>
  1126. <Column id="spcbarcdno" type="STRING"/>
  1127. <Column id="blocno" type="STRING"/>
  1128. <Column id="prcpno" type="STRING"/>
  1129. <Column id="orddd" type="STRING"/>
  1130. <Column id="pid" type="STRING"/>
  1131. <Column id="orddrnm" type="STRING"/>
  1132. <Column id="spchistno" type="STRING"/>
  1133. <Column id="grostestdd" type="STRING"/>
  1134. <Column id="grostesttm" type="STRING"/>
  1135. <Column id="stdyptnocd" type="STRING"/>
  1136. <Column id="trustptnocd" type="STRING"/>
  1137. <Column id="workflagcd" type="STRING"/>
  1138. <Column id="slidflagcd" type="STRING"/>
  1139. <Column id="blocflagcd" type="STRING"/>
  1140. <Column id="initblocno" type="STRING"/>
  1141. <Column id="autokeepflagcd" type="STRING"/>
  1142. <Column id="stdy_workflagcd" type="STRING"/>
  1143. <Column id="stdy_slidflagcd" type="STRING"/>
  1144. <Column id="stdy_slidisscnt" type="STRING"/>
  1145. <Column id="stdy_blocflagcd" type="STRING"/>
  1146. <Column id="stdy_initblocno" type="STRING"/>
  1147. <Column id="stdy_autokeepflagcd" type="STRING"/>
  1148. <Column id="prcpgenrflag" type="STRING"/>
  1149. <Column id="cretno" type="STRING"/>
  1150. <Column id="prcphistno" type="STRING"/>
  1151. </ColumnInfo>
  1152. </Dataset>
  1153. <Dataset id="ds_grid_grd_plgyprcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1154. <ColumnInfo>
  1155. <Column id="choi" type="STRING"/>
  1156. <Column id="patnm" type="STRING"/>
  1157. <Column id="dispptno" type="STRING"/>
  1158. <Column id="disprelaptno" type="STRING"/>
  1159. <Column id="grosdrnm" type="STRING"/>
  1160. <Column id="testnm" type="STRING"/>
  1161. <Column id="spcnm" type="STRING"/>
  1162. <Column id="deptengabbr" type="STRING"/>
  1163. <Column id="orddrnm" type="STRING"/>
  1164. <Column id="rcptflag" type="STRING"/>
  1165. <Column id="prcpdd" type="STRING"/>
  1166. <Column id="acptdd" type="STRING"/>
  1167. <Column id="readdd" type="STRING"/>
  1168. <Column id="readdrnm" type="STRING"/>
  1169. <Column id="blockcnts" type="STRING"/>
  1170. <Column id="slidecnts" type="STRING"/>
  1171. <Column id="rrgstno1" type="STRING"/>
  1172. <Column id="rrgstno2" type="STRING"/>
  1173. <Column id="sex" type="STRING"/>
  1174. <Column id="brthdd" type="STRING"/>
  1175. <Column id="orddd" type="STRING"/>
  1176. <Column id="workflagcd" type="STRING"/>
  1177. <Column id="orddrid" type="STRING"/>
  1178. <Column id="ptno" type="STRING"/>
  1179. <Column id="acptdd" type="STRING"/>
  1180. <Column id="rsltdd" type="STRING"/>
  1181. <Column id="prcpgenrflag" type="STRING"/>
  1182. <Column id="orddeptcd" type="STRING"/>
  1183. <Column id="orddeptnm" type="STRING"/>
  1184. <Column id="orddrid" type="STRING"/>
  1185. <Column id="reqfrmno" type="STRING"/>
  1186. <Column id="execprcpuniqno" type="STRING"/>
  1187. <Column id="prcpno" type="STRING"/>
  1188. <Column id="acptno" type="STRING"/>
  1189. <Column id="spcacptdd" type="STRING"/>
  1190. <Column id="spcacptno" type="STRING"/>
  1191. <Column id="ptnocd" type="STRING"/>
  1192. <Column id="wardcd" type="STRING"/>
  1193. <Column id="roomcd" type="STRING"/>
  1194. <Column id="grosdrid" type="STRING"/>
  1195. <Column id="grosplgyid" type="STRING"/>
  1196. <Column id="acpttm" type="STRING"/>
  1197. <Column id="grostestdd" type="STRING"/>
  1198. <Column id="grostesttm" type="STRING"/>
  1199. <Column id="trandd" type="STRING"/>
  1200. <Column id="tranno" type="STRING"/>
  1201. <Column id="transeqno" type="STRING"/>
  1202. <Column id="spcbarcdno" type="STRING"/>
  1203. <Column id="testcd" type="STRING"/>
  1204. <Column id="relaptno" type="STRING"/>
  1205. <Column id="pid" type="STRING"/>
  1206. <Column id="blocno" type="STRING"/>
  1207. <Column id="spcnm" type="STRING"/>
  1208. <Column id="spccd" type="STRING"/>
  1209. <Column id="spchistno" type="STRING"/>
  1210. <Column id="stdyptnocd" type="STRING"/>
  1211. <Column id="trustptnocd" type="STRING"/>
  1212. <Column id="workflagcd" type="STRING"/>
  1213. <Column id="slidflagcd" type="STRING"/>
  1214. <Column id="blocflagcd" type="STRING"/>
  1215. <Column id="initblocno" type="STRING"/>
  1216. <Column id="autokeepflagcd" type="STRING"/>
  1217. <Column id="stdy_workflagcd" type="STRING"/>
  1218. <Column id="stdy_slidflagcd" type="STRING"/>
  1219. <Column id="stdy_slidisscnt" type="STRING"/>
  1220. <Column id="stdy_blocflagcd" type="STRING"/>
  1221. <Column id="stdy_initblocno" type="STRING"/>
  1222. <Column id="stdy_autokeepflagcd" type="STRING"/>
  1223. <Column id="cretno" type="STRING"/>
  1224. <Column id="spcbarcdno" type="STRING"/>
  1225. <Column id="prcphistno" type="STRING"/>
  1226. <Column id="dispptno" type="STRING"/>
  1227. </ColumnInfo>
  1228. </Dataset>
  1229. <Dataset id="ds_grid_grd_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1230. <ColumnInfo>
  1231. <Column id="choi" type="STRING"/>
  1232. <Column id="instcd" type="STRING"/>
  1233. <Column id="prcpcd" type="STRING"/>
  1234. <Column id="prcpcnt" type="STRING"/>
  1235. <Column id="prcpnm" type="STRING"/>
  1236. </ColumnInfo>
  1237. </Dataset>
  1238. <Dataset id="ds_grid_grd_slidelist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1239. <ColumnInfo>
  1240. <Column id="choi" type="STRING"/>
  1241. <Column id="ptno" type="STRING"/>
  1242. <Column id="spcacptseqno" type="STRING"/>
  1243. <Column id="csteno" type="STRING"/>
  1244. <Column id="slidno" type="STRING"/>
  1245. <Column id="blockcnts" type="STRING"/>
  1246. <Column id="slidecnts" type="STRING"/>
  1247. </ColumnInfo>
  1248. </Dataset>
  1249. <Dataset id="ds_grid_grd_rtnslideinfolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1250. <ColumnInfo>
  1251. <Column id="choi" type="STRING"/>
  1252. <Column id="patnm" type="STRING"/>
  1253. <Column id="dispptno" type="STRING"/>
  1254. <Column id="ptno" type="STRING"/>
  1255. <Column id="orddeptnm" type="STRING"/>
  1256. <Column id="prcpdd" type="STRING"/>
  1257. <Column id="acptdd" type="STRING"/>
  1258. <Column id="rsltdd" type="STRING"/>
  1259. <Column id="testnm" type="STRING"/>
  1260. <Column id="spcnm" type="STRING"/>
  1261. <Column id="testcd" type="STRING"/>
  1262. <Column id="spccd" type="STRING"/>
  1263. <Column id="orddrid" type="STRING"/>
  1264. <Column id="spcacptdd" type="STRING"/>
  1265. <Column id="spcacptno" type="STRING"/>
  1266. <Column id="orddeptcd" type="STRING"/>
  1267. <Column id="acptno" type="STRING"/>
  1268. <Column id="orddrnm" type="STRING"/>
  1269. <Column id="ptnocd" type="STRING"/>
  1270. <Column id="grosdrid" type="STRING"/>
  1271. <Column id="grosplgyid" type="STRING"/>
  1272. <Column id="acpttm" type="STRING"/>
  1273. <Column id="reqfrmno" type="STRING"/>
  1274. <Column id="relaptno" type="STRING"/>
  1275. <Column id="lendflagcd" type="STRING"/>
  1276. <Column id="trandd" type="STRING"/>
  1277. <Column id="tranno" type="STRING"/>
  1278. <Column id="transeqno" type="STRING"/>
  1279. <Column id="execprcpuniqno" type="STRING"/>
  1280. <Column id="spcbarcdno" type="STRING"/>
  1281. <Column id="blocno" type="STRING"/>
  1282. <Column id="prcpno" type="STRING"/>
  1283. <Column id="orddd" type="STRING"/>
  1284. <Column id="pid" type="STRING"/>
  1285. <Column id="prcpgenrflag" type="STRING"/>
  1286. <Column id="instcd" type="STRING"/>
  1287. <Column id="patnm" type="STRING"/>
  1288. <Column id="prcpnm" type="STRING"/>
  1289. <Column id="dschdd" type="STRING"/>
  1290. <Column id="spcacptseqno" type="STRING"/>
  1291. <Column id="bfacptdd" type="STRING"/>
  1292. <Column id="bfacptno" type="STRING"/>
  1293. <Column id="bfacptseqno" type="STRING"/>
  1294. <Column id="reuseflagcd" type="STRING"/>
  1295. <Column id="acptdept" type="STRING"/>
  1296. <Column id="bfspcacptdd" type="STRING"/>
  1297. <Column id="bfspcacptno" type="STRING"/>
  1298. <Column id="status" type="STRING"/>
  1299. <Column id="stdyptnocd" type="STRING"/>
  1300. <Column id="trustptnocd" type="STRING"/>
  1301. <Column id="workflagcd" type="STRING"/>
  1302. <Column id="slidflagcd" type="STRING"/>
  1303. <Column id="blocflagcd" type="STRING"/>
  1304. <Column id="initblocno" type="STRING"/>
  1305. <Column id="autokeepflagcd" type="STRING"/>
  1306. <Column id="stdy_workflagcd" type="STRING"/>
  1307. <Column id="stdy_slidflagcd" type="STRING"/>
  1308. <Column id="stdy_slidisscnt" type="STRING"/>
  1309. <Column id="stdy_blocflagcd" type="STRING"/>
  1310. <Column id="stdy_initblocno" type="STRING"/>
  1311. <Column id="stdy_autokeepflagcd" type="STRING"/>
  1312. <Column id="grupsnglflag" type="STRING"/>
  1313. <Column id="grostestdd" type="STRING"/>
  1314. <Column id="grostesttm" type="STRING"/>
  1315. <Column id="autosave" type="STRING"/>
  1316. <Column id="spctrandd" type="STRING"/>
  1317. <Column id="spctranno" type="STRING"/>
  1318. <Column id="spchistno" type="STRING"/>
  1319. <Column id="cretno" type="STRING"/>
  1320. <Column id="tootfact" type="STRING"/>
  1321. <Column id="spctranbarcdno" type="STRING"/>
  1322. <Column id="prcphistno" type="STRING"/>
  1323. <Column id="orddd" type="STRING"/>
  1324. <Column id="acptitemno" type="STRING"/>
  1325. <Column id="orgacptstatcd" type="STRING"/>
  1326. <Column id="orgprcpstatcd" type="STRING"/>
  1327. <Column id="orgacptdd" type="STRING"/>
  1328. <Column id="prcpcd" type="STRING"/>
  1329. <Column id="acptstatcd" type="STRING"/>
  1330. <Column id="prcpstatcd" type="STRING"/>
  1331. <Column id="irpayflag" type="STRING"/>
  1332. <Column id="ordtype" type="STRING"/>
  1333. <Column id="rtnslideinfolist" type="STRING" size="256"/>
  1334. </ColumnInfo>
  1335. </Dataset>
  1336. <Dataset id="ds_grid_grd_saveprcp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1337. <ColumnInfo>
  1338. <Column id="instcd" type="STRING"/>
  1339. <Column id="pid" type="STRING"/>
  1340. <Column id="prcp_ptno" type="STRING"/>
  1341. <Column id="dispptno" type="STRING"/>
  1342. <Column id="prcpnm" type="STRING"/>
  1343. <Column id="prcpcd" type="STRING"/>
  1344. <Column id="test_ptno" type="STRING"/>
  1345. <Column id="testnm" type="STRING"/>
  1346. <Column id="testcd" type="STRING"/>
  1347. <Column id="slidcnt" type="STRING"/>
  1348. </ColumnInfo>
  1349. </Dataset>
  1350. <Dataset id="ds_sysdate" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1351. <ColumnInfo>
  1352. <Column id="sysdd" type="STRING"/>
  1353. <Column id="systm" type="STRING"/>
  1354. </ColumnInfo>
  1355. </Dataset>
  1356. <Dataset id="ds_ptnocdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1357. <ColumnInfo>
  1358. <Column id="instcd" type="STRING"/>
  1359. <Column id="ptnocd" type="STRING"/>
  1360. <Column id="ptnonm" type="STRING"/>
  1361. </ColumnInfo>
  1362. </Dataset>
  1363. <Dataset id="ds_hospenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1364. <ColumnInfo>
  1365. <Column id="instcd" type="STRING"/>
  1366. <Column id="choi" type="STRING"/>
  1367. <Column id="sel" type="STRING"/>
  1368. <Column id="lendrtnterm" type="STRING"/>
  1369. <Column id="recvqualmthdcd" type="STRING"/>
  1370. <Column id="plgydeptcd" type="STRING"/>
  1371. <Column id="plgyteamcd" type="STRING"/>
  1372. <Column id="doctjobgradcd" type="STRING"/>
  1373. <Column id="teamjobgradcd" type="STRING"/>
  1374. <Column id="csteeqmtip" type="STRING"/>
  1375. <Column id="csteeqmtport" type="STRING"/>
  1376. <Column id="slideqmtip" type="STRING"/>
  1377. <Column id="norcptacptyn" type="STRING"/>
  1378. <Column id="slidbceqmtip" type="STRING"/>
  1379. <Column id="acptreaddr" type="STRING"/>
  1380. <Column id="slidbceqmtip2" type="STRING"/>
  1381. <Column id="slidbceqmtport2" type="STRING"/>
  1382. <Column id="repttitl" type="STRING"/>
  1383. <Column id="repttitl2" type="STRING"/>
  1384. <Column id="plgyrecroom1" type="STRING"/>
  1385. <Column id="plgyrecroom2" type="STRING"/>
  1386. <Column id="ptnoacptflag" type="STRING"/>
  1387. <Column id="autoacptflagcd" type="STRING"/>
  1388. </ColumnInfo>
  1389. </Dataset>
  1390. <Dataset id="ds_errlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1391. <ColumnInfo>
  1392. <Column id="prcpcd" type="STRING"/>
  1393. <Column id="prcpnm" type="STRING"/>
  1394. <Column id="prcperr" type="STRING"/>
  1395. </ColumnInfo>
  1396. </Dataset>
  1397. </Objects>
  1398. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1399. * System Name :
  1400. * Job Name :
  1401. * Creator :
  1402. * Make Date : 2015-11-13
  1403. * Description :
  1404. *---------------------------------------------------------------------------------------
  1405. * Modify Date Modifier Modify Description
  1406. *---------------------------------------------------------------------------------------
  1407. * 2015-11-13 Live Converter TF->XP
  1408. *
  1409. *---------------------------------------------------------------------------------------
  1410. ****************************************************************************************/
  1411. include "com_commonxp::comm_main.xjs";
  1412. include "lis_commonxp::LPZ001.xjs";
  1413. //include "com_signxp::ZES001.xjs";
  1414. include "emr_carecomxp::ENRSignEngine.xjs";
  1415. var sInptPsw = true; //화면 오픈 후 처방변경시 최초 한번만 암호를 입력받음.
  1416. function lf_exeInitialize()
  1417. {
  1418. var sCurDate="";
  1419. var sInDsName = dsf_createDsRow("ds_temp_search", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}
  1420. ,{col: "refflagcd" , val: "0"}]);
  1421. lf_exeFlag();
  1422. var oParam = {};
  1423. oParam.id = "TRLPZ00102";
  1424. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  1425. oParam.method = "reqGetSystemDateTimeInformation";
  1426. oParam.inds = "refData="+sInDsName;
  1427. oParam.outds = "ds_sysdate=sysdtinfo";
  1428. oParam.async = false;
  1429. //oParam.callback = "cf_TRLPZ00102";
  1430. tranf_submit(oParam);
  1431. var oParam = {};
  1432. oParam.id = "TRLPD00702";
  1433. oParam.service = "plgylendmngtapp.SlidLendRtn";
  1434. oParam.method = "reqGetPrcpList";
  1435. oParam.inds = "refData="+sInDsName;
  1436. oParam.outds = "ds_grid_grd_prcplist=prcpinfolist";
  1437. oParam.async = false;
  1438. //oParam.callback = "cf_TRLPD00702";
  1439. tranf_submit(oParam);
  1440. var oParam = {};
  1441. oParam.id = "TRLPZ00109";
  1442. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  1443. oParam.method = "reqGetPtNoCdList";
  1444. oParam.inds = "refdata="+sInDsName;
  1445. oParam.outds = "ds_ptnocdlist=rsltlist";
  1446. oParam.async = false;
  1447. //oParam.callback = "cf_TRLPZ00109";
  1448. tranf_submit(oParam);
  1449. //-------------------------------------------------
  1450. sCurDate = ds_sysdate.getColumn(0,"sysdd");
  1451. //------------
  1452. // 초기값 설정
  1453. grp_search.ipt_acptfromdd.value = sCurDate;
  1454. grp_search.ipt_acpttodd.value = sCurDate;
  1455. grp_search.cbo_ptnocd.value = "";
  1456. grp_search.ipt_fromyear.value = sCurDate.substr(2,2);
  1457. grp_search.ipt_toyear.value = sCurDate.substr(2,2);
  1458. grp_search.ipt_fromptno.value = "";
  1459. grp_search.ipt_toptno.value="";
  1460. //병원환경설정 조회
  1461. var oParam = {};
  1462. oParam.id = "TRLPZ00101";
  1463. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  1464. oParam.method = "reqGetHospitalEnvironmentSetInfo";
  1465. oParam.inds = "refData="+sInDsName;
  1466. oParam.outds = "ds_hospenvinfo=hospenvinfo";
  1467. oParam.async = false;
  1468. //oParam.callback = "cf_TRLPZ00101";
  1469. tranf_submit(oParam);
  1470. //처방목록 체크박스 비활성화
  1471. switch1.case_lendslide.grd_prcplist.setCellProperty("body", 0, "enable", "false"); //choi 비활성화
  1472. switch1.case_lendslide.grd_prcplist.setCellProperty("body" ,2, "enable", "false"); //prcpcnt 비활성화
  1473. }
  1474. //대출구분이 대출(0), 반납(1) 구별 함수
  1475. function lf_exeFlag() //fExeFlag
  1476. {
  1477. if(grp_search.rdo_seamthdcd.value=="0")
  1478. {
  1479. button1.enable = false;
  1480. btn_upd.enable = true;
  1481. switch1.case_lendslide.grd_choilist.setCellProperty("body", 0, "enable", "true");
  1482. switch1.tabindex = 0;
  1483. grp_search.rdo_seamthdcd.value="0";
  1484. }
  1485. else if(grp_search.rdo_seamthdcd.value=="1")
  1486. {
  1487. button1.enable = true;
  1488. btn_upd.enable = false;
  1489. switch1.case_lendslide.grd_choilist.setCellProperty("body", 0, "enable", "false");
  1490. switch1.tabindex = 1;
  1491. }
  1492. }
  1493. //전처방반환 함수
  1494. function fExeLendRtn(pStatCd)
  1495. {
  1496. var iCnt = 0;
  1497. iCnt = ds_grid_grd_rtnslideinfolist.findRow("choi", "1", -1);
  1498. if(Number(iCnt) < 0)
  1499. {
  1500. sysf_messageBox("반납할 슬라이드를 선택하여 주십시오!","I");
  1501. return false;
  1502. }
  1503. var sRefVal = grp_search.ipt_refval.value;
  1504. if(sRefVal.length < 3)
  1505. {
  1506. sysf_messageBox("등록번호는 3자리 이상","C001","");
  1507. return false;
  1508. }
  1509. for(var jNo = 0; jNo < ds_grid_grd_rtnslideinfolist.rowcount; jNo++)
  1510. {
  1511. if(ds_grid_grd_rtnslideinfolist.getColumn(jNo, "choi") == "1")
  1512. {
  1513. ds_grid_grd_rtnslideinfolist.setColumn(jNo, "status", "C");
  1514. }
  1515. }
  1516. ds_grid_grd_rtnslideinfolist.getColumn(n, ds_grid_grd_rtnslideinfolist.getRowType(pStatCd));
  1517. var sInDsName = dsf_createDsRow("ds_refInfo", [{col: "resncd", val : "9999" } //기관코드
  1518. , {col: "resncnts", val : "전처방이 반환되었습니다"} //구분코드
  1519. , {col: "tgrupcd", val: "-"}]);//구분명칭
  1520. var oParam = {};
  1521. oParam.id = "TXLPD00702";
  1522. oParam.service = "plgylendmngtapp.SlidLendRtn";
  1523. oParam.method = "reqExeRtnSlidePatInfoList";
  1524. oParam.inds = "refData=ds_grid_grd_rtnslideinfolist:U refInfo="+sInDsName;
  1525. oParam.outds = "ds_errlist=errlist";
  1526. oParam.async = false;
  1527. oParam.callback = "cf_TXLPD00702";
  1528. tranf_submit(oParam);
  1529. //---------------------------------------------------------
  1530. if(ds_errlist.rowcount <= 0)
  1531. {
  1532. for(var iRow=0; iRow < ds_errlist.rowcount; iRow++)
  1533. {
  1534. ds_errlist.setColumn(iRow, "choi", "0");
  1535. }
  1536. }
  1537. else
  1538. {
  1539. var sErrMsg = "";
  1540. sErrMsg += "처방명 : [" + ds_errlist.getColumn(0, "prcpcd") + "] ";
  1541. sErrMsg += ds_errlist.getColumn(0,"prcpnm") + "\n\n";
  1542. sErrMsg += "오류내용 : " + ds_errlist.getColumn(0, "prcperr")
  1543. sysf_messageBox(sErrMsg, "E009");
  1544. }
  1545. lf_getPatInfoList();
  1546. }
  1547. //콜백함수
  1548. function cf_TXLPD00702(strSvcID, nErrorCode, strErrorMag)
  1549. {
  1550. if(strSvcID == "TXLPD00702" && nErrorCode == 0)
  1551. {
  1552. sysf_messageBox("반환이","I002","");
  1553. }
  1554. }
  1555. //대출할 목록 선택 함수
  1556. function fGetSelectPatInfoList()
  1557. {
  1558. }
  1559. //대출할 목록 선택 함수
  1560. function fGetSelectPatInfoList2(pRowNo)
  1561. {
  1562. var sNode = ds_grid_grd_plgyprcplist;
  1563. var Node = ds_grid_grd_prcplist;
  1564. var sDestNode = ds_grid_grd_choilist;
  1565. trace("pRowNo="+pRowNo);
  1566. var No = pRowNo;
  1567. if(No < 0)
  1568. {
  1569. sysf_messageBox("처방코드를 선택하지 않았습니다!", "I007","");
  1570. ds_grid_grd_plgyprcplist.setColumn(ds_grid_grd_plgyprcplist.rowposition, "choi", "0");
  1571. }
  1572. var i=0;
  1573. //if(ds_grid_grd_plgyprcplist.getColumn(ds_grid_grd_plgyprcplist.rowposition, "choi") == "1")
  1574. if(sNode.getColumn(ds_grid_grd_plgyprcplist.rowposition, "choi") == "1")
  1575. {
  1576. //var iNo = ds_grid_grd_choilist.findRow("ptno", ds_grid_grd_plgyprcplist.getColumn(ds_grid_grd_plgyprcplist.rowposition, "ptno"));
  1577. var iNo = ds_grid_grd_choilist.findRow("ptno", sNode.getColumn(ds_grid_grd_plgyprcplist.rowposition, "ptno"), 1, 1)
  1578. trace("iNo="+iNo);
  1579. if(iNo < 0)
  1580. {
  1581. var jNo = ds_grid_grd_choilist.findRow("spcnm", ds_grid_grd_plgyprcplist.getColumn(ds_grid_grd_plgyprcplist.rowposition, "spcnm"), -1);
  1582. trace("jNo="+jNo);
  1583. if(jNo < 0)
  1584. {
  1585. var kNo = ds_grid_grd_choilist.findRow("testnm",ds_grid_grd_plgyprcplist.getColumn(ds_grid_grd_plgyprcplist.rowposition, "testnm"), -1);
  1586. trace("kNo="+kNo);
  1587. if(kNo < 0)
  1588. {
  1589. ds_grid_grd_choilist.addRow();
  1590. ds_grid_grd_choilist.copyRow(ds_grid_grd_choilist.rowposition, ds_grid_grd_plgyprcplist, ds_grid_grd_plgyprcplist.rowposition); //tf에서 getValue가 sNode 인것 전체 복사
  1591. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "choi", "1");
  1592. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "instcd", sysf_getUserInfo("dutplceinstcd"));
  1593. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "prcpdd", utlf_getCurrentDate());
  1594. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "prcpcd", ds_grid_grd_prcplist.getColumn(No, "prcpcd")); //처방코드
  1595. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "prcpnm", ds_grid_grd_prcplist.getColumn(No, "prcpnm")); //처방명
  1596. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "bfacptdd", "-");
  1597. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "bfacptno", "-");
  1598. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "bfacptseqno", "-");
  1599. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "reuseflagcd", "1");
  1600. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "bfspcacptdd", "-");
  1601. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "bfspcacptno", "-");
  1602. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "acptdept", "-");
  1603. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "status", "I");
  1604. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "grupsnglflag", "-");
  1605. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "autosave", "1");
  1606. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "lendflagcd", "0");
  1607. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "slidisscnt", "1");
  1608. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "tootfact", "-");
  1609. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "blockcnts", "-");
  1610. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "slidecnts", "-");
  1611. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "spcacptseqno", "-");
  1612. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "csteno", "-");
  1613. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "slidno", "-");
  1614. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "blockcnts", ds_grid_grd_slidelist.getColumn(ds_grid_grd_slidelist.rowposition, "blockcnts"));
  1615. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "slidecnts", ds_grid_grd_slidelist.getColumn(ds_grid_grd_slidelist.rowposition, "slidecnts"));
  1616. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "spcacptseqno", ds_grid_grd_slidelist.getColumn(ds_grid_grd_slidelist.rowposition, "spcacptseqno"));
  1617. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "csteno", ds_grid_grd_slidelist.getColumn(ds_grid_grd_slidelist.rowposition, "csteno"));
  1618. ds_grid_grd_choilist.setColumn(ds_grid_grd_choilist.rowposition, "slidno", ds_grid_grd_slidelist.getColumn(ds_grid_grd_slidelist.rowposition, "slidno"));
  1619. }
  1620. }
  1621. }
  1622. }
  1623. }
  1624. //환자정보 조회 함수
  1625. function lf_getPatInfoList() //fGetPatInfoList
  1626. {
  1627. var sTemp = "";
  1628. var sFromDD = grp_search.ipt_acptfromdd.value;
  1629. var sToDD = grp_search.ipt_acpttodd.value;
  1630. var sRefVal = utlf_transNullToEmpty(grp_search.ipt_refval.value);
  1631. //등록번호 입력은 반납 조회일때만 필수로 한다.
  1632. if(grp_search.rdo_seamthdcd.value != "0")
  1633. {
  1634. if (sRefVal.length <3)
  1635. {
  1636. sysf_messageBox("등록번호는 3자리 이상", "C001","");
  1637. return false;
  1638. }
  1639. }
  1640. //등록번호, 병리번호 모두 입력이 되지 않았을 경우에는 접수일자로 조회를 한다.
  1641. if (sRefVal.length <= 0)
  1642. {
  1643. if( utlf_isNull(utlf_transNullToEmpty(grp_search.cbo_ptnocd.value)) || utlf_transNullToEmpty(grp_search.cbo_ptnocd.value) == "-")
  1644. {
  1645. sysf_messageBox("등록번호 또는 병리번호를", "C001","");
  1646. return false;
  1647. }
  1648. }
  1649. //----------------------------------------------------------------------
  1650. if( !utlf_isNull(grp_search.cbo_ptnocd.value))
  1651. {
  1652. //----------------------------------
  1653. if(utlf_isNull(grp_search.ipt_fromyear.value))
  1654. {
  1655. grp_search.ipt_fromyear.value = sFromDD.substr(2,2);
  1656. }
  1657. else
  1658. {
  1659. grp_search.ipt_fromyear.value = sFromDD.toString().substr(13,2);
  1660. }
  1661. //-----------------------------------
  1662. if( utlf_isNull(grp_search.ipt_toyear.value))
  1663. {
  1664. grp_search.ipt_toyear.value = sToDD.substr(2,2);
  1665. }
  1666. else
  1667. {
  1668. grp_search.ipt_toyear.value = sToDD.toString().substr(13,2);
  1669. }
  1670. //-------------------------------------
  1671. if( utlf_isNull(grp_search.ipt_fromptno.value))
  1672. {
  1673. grp_search.ipt_fromptno.value = "000000";
  1674. }
  1675. else
  1676. {
  1677. sTemp=grp_search.ipt_fromptno.value;
  1678. grp_search.ipt_fromptno.value = utlf_lPad(sTemp,6,"0");
  1679. }
  1680. //-------------------------------------
  1681. if( utlf_isNull(grp_search.ipt_toptno.value))
  1682. {
  1683. grp_search.ipt_toptno.value = "999999";
  1684. }
  1685. else
  1686. {
  1687. sTemp=grp_search.ipt_toptno.value;
  1688. grp_search.ipt_toptno.value = utlf_lPad(sTemp, 6, "0");
  1689. }
  1690. }
  1691. //----------------------------------------------------
  1692. sTemp = utlf_transNullToEmpty(grp_search.cbo_ptnocd.value);
  1693. //----------------------------------------------------
  1694. var sInDsName = dsf_createDsRow("ds_temp_search", [{col: "instcd", val:sysf_getUserInfo("dutplceinstcd")}
  1695. , {col: "acptfromdd", val: grp_search.ipt_acptfromdd.value}
  1696. , {col: "acpttodd", val: grp_search.ipt_acpttodd.value}
  1697. , {col: "ptnocode", val: sTemp.replace("-","")}
  1698. , {col: "fromyear", val: grp_search.ipt_fromyear.value}
  1699. , {col: "fromptno", val: grp_search.ipt_fromptno.value}
  1700. , {col: "toyear", val: grp_search.ipt_toyear.value}
  1701. , {col: "toptno", val: grp_search.ipt_toptno.value}
  1702. , {col: "acptddflag", val: grp_search.acptddflag.value}
  1703. , {col: "scrno", val: "SMLPD00700"}
  1704. , {col: "pid", val: grp_search.ipt_refval.value}
  1705. , {col: "patflag", val: grp_search.rdo_seamthdcd.value}]);
  1706. if(grp_search.rdo_seamthdcd.value=="0")
  1707. {
  1708. var oParam = {};
  1709. oParam.id = "TRLPD00705";
  1710. oParam.service = "plgylendmngtapp.SlidLendRtn";
  1711. oParam.method = "reqGetPlgyPrcpList";
  1712. oParam.inds = "refData="+sInDsName;
  1713. oParam.outds = "ds_grid_grd_plgyprcplist=plgyprcplist";
  1714. oParam.async = false;
  1715. //oParam.callback = "cf_TRLPD00705";
  1716. tranf_submit(oParam);
  1717. //처방목록 초기화
  1718. for(var iRowNo = 0; iRowNo < ds_grid_grd_plgyprcplist.rowcount; iRowNo++)
  1719. {
  1720. ds_grid_grd_plgyprcplist.setColumn(iRowNo,"choi","0");
  1721. }
  1722. //처방목록 체크박스 활성화
  1723. switch1.case_lendslide.grd_plgyprcplist.setCellProperty("body", 1, "enable", "false");
  1724. for(var iRowNo = 0; iRowNo < ds_grid_grd_prcplist.rowcount; iRowNo++)
  1725. {
  1726. ds_grid_grd_prcplist.setColumn(iRowNo, "prcpcnt", "0");
  1727. }
  1728. //처방개수 입력창 숨기기.
  1729. switch1.case_lendslide.grp_prcpcnt.visible = false;
  1730. }
  1731. else
  1732. {
  1733. var oParam = {};
  1734. oParam.id = "TRLPD00703";
  1735. oParam.service = "plgylendmngtapp.SlidLendRtn";
  1736. oParam.method = "reqGetRtnSlidePatInfoList";
  1737. oParam.inds = "refData="+sInDsName;
  1738. oParam.outds = "ds_grid_grd_rtnslideinfolist=rtnslideinfolist";
  1739. oParam.async = false;
  1740. //oParam.callback = "cf_TRLPD00703";
  1741. tranf_submit(oParam);
  1742. }
  1743. }
  1744. /* @group : 대출 목록 조회/저장 화면
  1745. * @ver : 2008.06.19 (CMCDEV-0001)
  1746. * @by : 한음미(평화IS)
  1747. * @-----------------------------------
  1748. * @type : function
  1749. * @access : public
  1750. * @desc : 슬라이드 대출처방 저장함수
  1751. */
  1752. function lf_exeLendSave(pStatCd) //fExeLendSave
  1753. {
  1754. var iCnt = 0;
  1755. var sChek = "";
  1756. //---------------------------------------------------------------------
  1757. if( ds_hospenvinfo.getColumn(0, "doctjobgradcd") != sysf_getUserInfo("jobkindcd"))
  1758. {
  1759. sysf_messageBox("의사직급만 최종진단이.","I006","");
  1760. return false;
  1761. }
  1762. iCnt = ds_grid_grd_choilist.findRow("choi", "1", -1);
  1763. if(Number(iCnt) < 0)
  1764. {
  1765. sysf_messageBox("대출할 슬라이드를 선택하여 주십시오!", "I");
  1766. return false;
  1767. }
  1768. //--------------------------------
  1769. for(var i=0; i < ds_grid_grd_choilist.rowcount; i++)
  1770. {
  1771. if(ds_grid_grd_choilist.getColumn(i, "choi") == "1")
  1772. {
  1773. //if(ds_grid_grd_choilist.getColumn(i,"slidisscnt")=="")
  1774. if( utlf_isNull(ds_grid_grd_choilist.getColumn(i, "slidisscnt")))
  1775. {
  1776. sysf_messageBox(i + "행에 슬라이드 장수가 입력되지 않았습니다.","I");
  1777. return false;
  1778. }
  1779. }
  1780. }
  1781. for(var iNo = 0; iNo < ds_grid_grd_choilist.rowcount; iNo++)
  1782. {
  1783. //------------------------------------
  1784. // 인증자료를 생성
  1785. if(ds_grid_grd_choilist.getColumn(iNo, "choi") == "1")
  1786. {
  1787. ds_grid_grd_choilist.setColumn(iNo, "prcpflag", "1");
  1788. ds_grid_grd_choilist.setColumn(iNo, "drugmthdspccdnm", "Other");
  1789. ds_grid_grd_choilist.setColumn(iNo, "drugmthdspccd", "T99999");
  1790. //----------------
  1791. //암호화 이전 처방인증 데이터 생성 : 2014-06-04 lpzfPlgyPrcpSignMake
  1792. ds_grid_grd_choilist.setColumn(iNo, "signbfcnts", lpzfPlgyPrcpSignMake(ds_grid_grd_choilist, "Y"));
  1793. sInptPsw = false;
  1794. //if(sChek == "" || sChek == "N")
  1795. if(utlf_isNull(sChek) || sChek == "N")
  1796. {
  1797. sysf_messageBox("처방인증을 하여 주십시오.","E999");
  1798. return;
  1799. }
  1800. }
  1801. }
  1802. for(var n=0; n < ds_grid_grd_choilist.rowcount; n++)
  1803. {
  1804. ds_grid_grd_choilist.getColumn(n, ds_grid_grd_choilist.getRowType(pStatCd));
  1805. }
  1806. var oParam = {};
  1807. oParam.id = "TXLPD00703";
  1808. oParam.service = "plgylendmngtapp.SlidLendRtn";
  1809. oParam.method = "reqExeLendPrcpSaveList";
  1810. oParam.inds = "refData=ds_grid_grd_choilist:U";
  1811. oParam.outds = "ds_errlist=errlist";
  1812. oParam.async = false;
  1813. oParam.callback = "cf_TXLPD00703";
  1814. tranf_submit(oParam);
  1815. //----------------------------------------------------------------------
  1816. if(ds_errlist.rowcount <= 0)
  1817. {
  1818. for(var iRow=0; iRow < ds_grid_grd_prcplist.rowcount; iRow++)
  1819. {
  1820. ds_grid_grd_prcplist.setColumn(iRow, "choi", "0");
  1821. }
  1822. }
  1823. else
  1824. {
  1825. var sErrMsg = "";
  1826. sErrMsg += "처방명 : [" + ds_errlist.getColumn(0,"prcpcd") + "]";
  1827. sErrMsg += ds_errlist.getColumn(0,"prcpnm") + "\n\n";
  1828. sErrMsg += "오류내용 : " + ds_errlist.getColumn(0,"prcperr");
  1829. sysf_messageBox(sErrMsg,"E009");
  1830. }
  1831. lf_getPatInfoList();
  1832. }
  1833. //콜백함수
  1834. function cf_TXLPD00703(strSvcID, nErrorCode, strErrorMag)
  1835. {
  1836. if(strSvcID == "TXLPD00703" && nErrorCode==0)
  1837. {
  1838. sysf_messageBox("저장이","I002","");
  1839. }
  1840. }
  1841. /* @group : 대출 목록 조회/저장 화면
  1842. * @ver : 2008.06.19 (CMCDEV-0001)
  1843. * @by : 한음미(평화IS)
  1844. * @-----------------------------------
  1845. * @type : function
  1846. * @access : public
  1847. * @desc : ENRSignEngine.js에서 함수를 호출
  1848. */
  1849. function fMake_SignData()
  1850. {
  1851. Sign.addnode("/root/main/cert/certdata");
  1852. }
  1853. // 선택목록으로 처방 set
  1854. function lf_exeAddprcp() //fExeAddprcp
  1855. {
  1856. var iprcpcnt = switch1.case_lendslide.grp_prcpcnt.ipt_slidcnt.text;
  1857. var iCnt = 0;
  1858. //앞에서 블록/슬라이드를 선택하였는지 확인
  1859. iCnt = ds_grid_grd_prcplist.findRow("choi", "1", 0);
  1860. if(Number(iCnt) < 0)
  1861. {
  1862. sysf_messageBox("블록/슬라이드를 선택하지 않으셨습니다.", "I007","");
  1863. return;
  1864. }
  1865. for(var iRowNo = 0; iRowNo < ds_grid_grd_prcplist.rowcount; iRowNo++)
  1866. {
  1867. if(ds_grid_grd_prcplist.getColumn(iRowNo, "choi") == 1)
  1868. {
  1869. iprcpcnt = Number(ds_grid_grd_prcplist.getColumn(iRowNo, "prcpcnt"));
  1870. }
  1871. if(iprcpcnt > 0)
  1872. {
  1873. for(var iNo = 0; iNo < iprcpcnt; iNo++)
  1874. {
  1875. fGetSelectPatInfoList2(iNo);
  1876. }
  1877. }
  1878. iCnt++;
  1879. }
  1880. }
  1881. /* @group : 대출 목록 조회/저장 화면
  1882. * @ver : 2009.02.25 (CMCDEV-0001)
  1883. * @by : 박중규
  1884. * @-----------------------------------
  1885. * @type : function
  1886. * @access : public
  1887. * @desc : 선택목록 삭제
  1888. */
  1889. function fDelPrcpList()
  1890. {
  1891. var iFirstRow = grd_choilist.selectedRow(0);
  1892. var iLasrRow = grd_choilist.selectedRow(grd_choilist.selectedRows-1)
  1893. for(var iRowNo = iLasrRow ; iRowNo >= iFirstRow ; iRowNo--)
  1894. {
  1895. grd_choilist.deleteRow(iRowNo, false);
  1896. }
  1897. grd_choilist.rebuild();
  1898. grd_choilist.refresh();
  1899. }
  1900. function SMLPD00700_onload(obj:Form, e:LoadEventInfo)
  1901. {
  1902. frmf_initForm(obj); // 화면공통
  1903. lf_exeInitialize();
  1904. grdf_setAllCheck(switch1.case_rtnslide.grd_rtnslideinfolist);
  1905. zesf_InitSign(); // 전자서명관련 모듈 생성 및 초기화 [comm_inf.xjs]
  1906. }
  1907. function btn_sea_onclick(obj:Button, e:ClickEventInfo)
  1908. {
  1909. lf_getPatInfoList();
  1910. }
  1911. function grp_search_ipt_refval_onkeydown(obj:Edit, e:KeyEventInfo)
  1912. {
  1913. if (e.keycode == 13)
  1914. {
  1915. frmf_setInputNodeCurPid_Change(grp_search.ipt_refval.value);
  1916. grp_search.ipt_refval.value = frmf_setInputNodeCurPid_Change(grp_search.ipt_refval.value);
  1917. lf_getPatInfoList();
  1918. }
  1919. }
  1920. function grp_search_ipt_acptfromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  1921. {
  1922. //날짜값 바뀔 때 fromyear셋팅
  1923. var sDate = grp_search.ipt_acptfromdd.value;
  1924. grp_search.ipt_fromyear.value = sDate.toString().substr(13,2);
  1925. }
  1926. function grp_search_ipt_fromptno_onkeydown(obj:Edit, e:KeyEventInfo)
  1927. {
  1928. if (e.keycode == 13)
  1929. {
  1930. lf_getPatInfoList();
  1931. }
  1932. }
  1933. function grp_search_rdo_seamthdcd_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1934. {
  1935. lf_exeFlag();
  1936. lf_getPatInfoList();
  1937. }
  1938. function switch1_case_lendslide_grd_plgyprcplist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1939. {
  1940. var pRow = ds_grid_grd_plgyprcplist.rowposition;
  1941. if(e.col == 0)
  1942. {
  1943. if(ds_grid_grd_plgyprcplist.getColumn(pRow, "choi") == "1")
  1944. {
  1945. for(var iRowNo = 0; iRowNo < ds_grid_grd_plgyprcplist.rowcount; iRowNo++)
  1946. {
  1947. ds_grid_grd_prcplist.setColumn(iRowNo, "choi", "0");
  1948. }
  1949. //switch1.case_lendslide.grp_sldelist.visible = true;
  1950. switch1.case_lendslide.grp_sldelist.visible = true;
  1951. //슬라이드 목록 조회
  1952. var sInDsName = dsf_createDsRow("ds_temp_search", [{col: "instcd", val:sysf_getUserInfo("dutplceinstcd")}
  1953. , {col: "ptno", val: ds_grid_grd_plgyprcplist.getColumn(pRow,"ptno")}]);
  1954. var oParam = {};
  1955. oParam.id = "TRLPD00706";
  1956. oParam.service = "plgylendmngtapp.SlidLendRtn";
  1957. oParam.method = "reqGetSlideList";
  1958. oParam.inds = "refData="+sInDsName;
  1959. oParam.outds = "ds_grid_grd_slidelist=slidelist";
  1960. oParam.async = false;
  1961. //oParam.callback = "cf_TRLPD00706";
  1962. tranf_submit(oParam);
  1963. }
  1964. else
  1965. {
  1966. //처방목록 체크박스 비활성화
  1967. switch1.case_lendslide.grd_prcplist.setCellProperty("body", 0, "enable", "false"); //choi 비활성화
  1968. switch1.case_lendslide.grd_prcplist.setCellProperty("body", 2, "enable", "false"); //prcpcnt 비활성화
  1969. }
  1970. }
  1971. }
  1972. function button3_onclick(obj:Button, e:ClickEventInfo)
  1973. {
  1974. switch1.case_lendslide.grp_sldelist.visible = false;
  1975. }
  1976. function switch1_case_lendslide_grp_sldelist_Button00_onclick(obj:Button, e:ClickEventInfo)
  1977. {
  1978. switch1.case_lendslide.grp_sldelist.visible = false;
  1979. }
  1980. function button2_onclick(obj:Button, e:ClickEventInfo)
  1981. {
  1982. var ichk = ds_grid_grd_slidelist.findRow("choi", "1", 0);
  1983. if(ichk < 0)
  1984. {
  1985. sysf_messageBox("블록/슬라이드를 선택하지 않으셨습니다.", "I007","");
  1986. return;
  1987. }
  1988. switch1.case_lendslide.grp_sldelist.visible = false;
  1989. //처방목록 체크박스 활성화
  1990. switch1.case_lendslide.grd_prcplist.setCellProperty("body", 0, "enable", "true"); //choi 활성화
  1991. switch1.case_lendslide.grd_prcplist.setCellProperty("body", 2, "enable", "true"); //prcpcnt 활성화
  1992. }
  1993. function btn_upd_onclick(obj:Button, e:ClickEventInfo)
  1994. {
  1995. lf_exeLendSave("insert");
  1996. }
  1997. function button1_onclick(obj:Button, e:ClickEventInfo)
  1998. {
  1999. fExeLendRtn("update");
  2000. }
  2001. function btn_cncresn_onclick(obj:Button, e:ClickEventInfo)
  2002. {
  2003. lf_exeAddprcp();
  2004. }
  2005. function btn_del_onclick(obj:Button, e:ClickEventInfo) //행삭제
  2006. {
  2007. ds_grid_grd_choilist.deleteRow(ds_grid_grd_choilist.rowposition);
  2008. }
  2009. function switch1_case_lendslide_ipt_prcpcnt_onkeydown(obj:Edit, e:KeyEventInfo)
  2010. {
  2011. if (e.keycode == 13)
  2012. {
  2013. var iprcpcnt = 0;
  2014. switch1.case_lendslide.ipt_prcpcnt.value=switch1.case_lendslide.ipt_prcpcnt.text;
  2015. for(var iRowNo = 0; iRowNo < ds_grid_grd_prcplist.rowcount; iRowNo++)
  2016. {
  2017. if(ds_grid_grd_prcplist.getColumn(iRowNo, "choi") == "1")
  2018. {
  2019. ds_grid_grd_prcplist.setColumn(iRowNo, "prcpcnt", switch1.case_lendslide.ipt_prcpcnt.value);
  2020. iprcpcnt++;
  2021. }
  2022. }
  2023. if(iprcpcnt == 0)
  2024. {
  2025. sysf_messageBox("선택된 대출 처방이 존재하지 않습니다.","I007","");
  2026. }
  2027. }
  2028. }
  2029. function btn_addprcp_onclick(obj:Button, e:ClickEventInfo)
  2030. {
  2031. lf_exeAddprcp();
  2032. }
  2033. ]]></Script>
  2034. </Form>
  2035. </FDL>