SMABC00400_조혈모세포보관위치관리.xfdl 56 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMABC00400" position="absolute 0 0 1200 762" titletext="조혈모세포 보관위치관리" oninit="SMABC00400_oninit" onload="SMABC00400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="switch1" anchor="all" taborder="3" tabindex="0" position="absolute 0 96 1198 759">
  8. <Tabpages>
  9. <Tabpage id="case1" text="탱크별보관내역">
  10. <Layouts>
  11. <Layout>
  12. <Grid id="grd_tankkeep" class="datagrid" taborder="5" binddataset="ds_main_keepposinfo_keepposlist" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 29 1195 631" anchor="all">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="90"/>
  17. <Column size="77"/>
  18. <Column size="130"/>
  19. <Column size="216"/>
  20. <Column size="215"/>
  21. <Column size="217"/>
  22. <Column size="214"/>
  23. <Column size="0"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. </Columns>
  32. <Rows>
  33. <Row size="24" band="head"/>
  34. <Row size="24" band="head"/>
  35. <Row size="24"/>
  36. </Rows>
  37. <Band id="head">
  38. <Cell rowspan="2" text="탱크구분" taborder="undefined"/>
  39. <Cell col="1" rowspan="2" text="Session" taborder="undefined"/>
  40. <Cell col="2" text=" 보관위치"/>
  41. <Cell col="3" rowspan="2" text="1" taborder="undefined"/>
  42. <Cell col="4" rowspan="2" text="2" taborder="undefined"/>
  43. <Cell col="5" rowspan="2" text="3" taborder="undefined"/>
  44. <Cell col="6" rowspan="2" text="4" taborder="undefined"/>
  45. <Cell col="7" text="5"/>
  46. <Cell col="8" text="6"/>
  47. <Cell col="9" text="바코드번호1"/>
  48. <Cell col="10" text="바코드번호2"/>
  49. <Cell col="11" text="바코드번호3"/>
  50. <Cell col="12" text="바코드번호4"/>
  51. <Cell col="13" text="바코드번호5"/>
  52. <Cell col="14" text="바코드번호6"/>
  53. <Cell row="1" col="2" text="Frame "/>
  54. <Cell row="1" col="7" text="5"/>
  55. <Cell row="1" col="8" text="6"/>
  56. <Cell row="1" col="9" text="바코드번호1"/>
  57. <Cell row="1" col="10" text="바코드번호2"/>
  58. <Cell row="1" col="11" text="바코드번호3"/>
  59. <Cell row="1" col="12" text="바코드번호4"/>
  60. <Cell row="1" col="13" text="바코드번호5"/>
  61. <Cell row="1" col="14" text="바코드번호6"/>
  62. </Band>
  63. <Band id="body">
  64. <Cell displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:tankflag" combodataset="ds_init_baseinfo_tankflag_A0394" combocodecol="cdid" combodatacol="cdnm"/>
  65. <Cell col="1" displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:sesnflag" combodataset="ds_init_baseinfo_sesnflag_A0395" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  66. <Cell col="2" displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:frameflag" combodataset="ds_init_baseinfo_frameflag_A0396" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  67. <Cell col="3" displaytype="text" edittype="text" style="padding:2 2 2 2;" text="bind:cellbcno1"/>
  68. <Cell col="4" displaytype="text" edittype="text" style="padding:2 2 2 2;" text="bind:cellbcno2"/>
  69. <Cell col="5" displaytype="text" edittype="text" style="padding:2 2 2 2;" text="bind:cellbcno3"/>
  70. <Cell col="6" displaytype="text" edittype="text" style="padding:2 2 2 2;" text="bind:cellbcno4"/>
  71. <Cell col="7" displaytype="text" edittype="text" text="bind:cellbcno5"/>
  72. <Cell col="8" displaytype="text" edittype="text" text="bind:cellbcno6"/>
  73. <Cell col="9" text="bind:cellbcno11"/>
  74. <Cell col="10" text="bind:cellbcno12"/>
  75. <Cell col="11" text="bind:cellbcno13"/>
  76. <Cell col="12" text="bind:cellbcno14"/>
  77. <Cell col="13" text="bind:cellbcno15"/>
  78. <Cell col="14" text="bind:cellbcno16"/>
  79. </Band>
  80. </Format>
  81. </Formats>
  82. </Grid>
  83. <Static id="caption7" text="탱크별 보관내역" class="tit_2" position="absolute 0 8 120 29"/>
  84. <Shape id="line12" class="line_10" position="absolute 0 24 1195 30" anchor="left top right"/>
  85. <Button id="button3" taborder="6" text="세포처리결과입력" class="btn2" position="absolute 998 5 1114 24" onclick="switch1_case1_button3_onclick"/>
  86. <Button id="button5" taborder="7" text="보관및해동결과" class="btn2" position="absolute 892 5 997 24" onclick="switch1_case1_button5_onclick"/>
  87. <Button id="btn_excsave1" taborder="8" text="엑셀저장" class="btn7" position="absolute 1115 5 1195 24" onclick="switch1_case1_btn_excsave1_onclick"/>
  88. </Layout>
  89. </Layouts>
  90. </Tabpage>
  91. <Tabpage id="case2" text="전체/환자별 보관내역">
  92. <Layouts>
  93. <Layout>
  94. <Grid id="datagrid1" taborder="5" binddataset="ds_main_keepposinfo2_keepposlist2" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 29 1195 631" anchor="all">
  95. <Formats>
  96. <Format id="default">
  97. <Columns>
  98. <Column size="90"/>
  99. <Column size="77"/>
  100. <Column size="130"/>
  101. <Column size="216"/>
  102. <Column size="216"/>
  103. <Column size="215"/>
  104. <Column size="215"/>
  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. </Columns>
  114. <Rows>
  115. <Row size="24" band="head"/>
  116. <Row size="24" band="head"/>
  117. <Row size="24"/>
  118. </Rows>
  119. <Band id="head">
  120. <Cell rowspan="2" text="탱크구분" taborder="undefined"/>
  121. <Cell col="1" rowspan="2" text="Session" taborder="undefined"/>
  122. <Cell col="2" text=" 보관위치"/>
  123. <Cell col="3" rowspan="2" text="1" taborder="undefined"/>
  124. <Cell col="4" rowspan="2" text="2" taborder="undefined"/>
  125. <Cell col="5" rowspan="2" text="3" taborder="undefined"/>
  126. <Cell col="6" rowspan="2" text="4" taborder="undefined"/>
  127. <Cell col="7" text="5"/>
  128. <Cell col="8" text="6"/>
  129. <Cell col="9" text="바코드번호1"/>
  130. <Cell col="10" text="바코드번호2"/>
  131. <Cell col="11" text="바코드번호3"/>
  132. <Cell col="12" text="바코드번호4"/>
  133. <Cell col="13" text="바코드번호5"/>
  134. <Cell col="14" text="바코드번호6"/>
  135. <Cell row="1" col="2" text="Frame "/>
  136. <Cell row="1" col="7" text="5"/>
  137. <Cell row="1" col="8" text="6"/>
  138. <Cell row="1" col="9" text="바코드번호1"/>
  139. <Cell row="1" col="10" text="바코드번호2"/>
  140. <Cell row="1" col="11" text="바코드번호3"/>
  141. <Cell row="1" col="12" text="바코드번호4"/>
  142. <Cell row="1" col="13" text="바코드번호5"/>
  143. <Cell row="1" col="14" text="바코드번호6"/>
  144. </Band>
  145. <Band id="body">
  146. <Cell displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:tankflag" combodataset="ds_init_baseinfo_tankflag_A0394" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  147. <Cell col="1" displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:sesnflag" combodataset="ds_init_baseinfo_sesnflag_A0395" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  148. <Cell col="2" displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:frameflag" combodataset="ds_init_baseinfo_frameflag_A0396" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  149. <Cell col="3" text="bind:cellbcno1"/>
  150. <Cell col="4" text="bind:cellbcno2"/>
  151. <Cell col="5" text="bind:cellbcno3"/>
  152. <Cell col="6" text="bind:cellbcno4"/>
  153. <Cell col="7" text="bind:cellbcno5"/>
  154. <Cell col="8" text="bind:cellbcno6"/>
  155. <Cell col="9" text="bind:cellbcno11"/>
  156. <Cell col="10" text="bind:cellbcno12"/>
  157. <Cell col="11" text="bind:cellbcno13"/>
  158. <Cell col="12" text="bind:cellbcno14"/>
  159. <Cell col="13" text="bind:cellbcno15"/>
  160. <Cell col="14" text="bind:cellbcno16"/>
  161. </Band>
  162. </Format>
  163. </Formats>
  164. </Grid>
  165. <Shape id="line1" class="line_10" position="absolute 0 24 1195 30" anchor="left top right"/>
  166. <Static id="caption1" text="전체보관내역" class="tit_2" position="absolute 0 8 120 29"/>
  167. <Button id="button1" taborder="6" text="세포처리결과입력" class="btn2" position="absolute 998 5 1114 24" onclick="switch1_case2_button1_onclick"/>
  168. <Button id="button2" taborder="7" text="보관및해동결과" class="btn2" position="absolute 891 5 996 24" onclick="switch1_case2_button2_onclick"/>
  169. <Button id="btn_exsave2" taborder="8" text="엑셀저장" class="btn7" position="absolute 1115 5 1195 24" onclick="switch1_case2_btn_exsave2_onclick"/>
  170. </Layout>
  171. </Layouts>
  172. </Tabpage>
  173. </Tabpages>
  174. </Tab>
  175. <Div position="absolute 675 232 996 592" id="group1" visible="false" style="background:#ffffffff;border:1 solid #808080ff ;">
  176. <Layouts>
  177. <Layout>
  178. <Grid position="absolute 10 50 312 320" id="grd_cellbcnolist" binddataset="ds_main_cellbarcdinfo_cellbarcdlist" anchor="default" autofittype="col" cellsizingtype="col" oncelldblclick="group1_grd_cellbcnolist_oncelldblclick">
  179. <Formats>
  180. <Format id="default">
  181. <Columns>
  182. <Column size="92"/>
  183. <Column size="84"/>
  184. <Column size="100"/>
  185. </Columns>
  186. <Rows>
  187. <Row size="24" band="head"/>
  188. <Row size="24"/>
  189. </Rows>
  190. <Band id="head">
  191. <Cell text="적용일자"/>
  192. <Cell col="1" text="환자이름"/>
  193. <Cell col="2" text="바코드번호"/>
  194. </Band>
  195. <Band id="body">
  196. <Cell text="bind:prcphopedd"/>
  197. <Cell col="1" text="bind:hngnm"/>
  198. <Cell col="2" text="bind:cellbcno"/>
  199. </Band>
  200. </Format>
  201. </Formats>
  202. </Grid>
  203. <Button position="absolute 257 330 313 352" id="btn_clo" class="btn4" text="종료" anchor="default" onclick="group1_btn_clo_onclick"/>
  204. <Div position="absolute 10 10 315 45" align="align:center top;" id="group2" anchor="default">
  205. <Layouts>
  206. <Layout>
  207. <Shape position="absolute 0 0 302 35" id="roundrect1" type="roundrectangle" anchor="default"/>
  208. <Shape position="absolute 223 7 229 29" linetype="vertical" id="line2" class="line_4" anchor="default"/>
  209. <Button position="absolute 237 7 293 29" id="btn_sea2" class="btn1" text="조회" anchor="default" onclick="group1_group2_btn_sea2_onclick"/>
  210. <Static text="등록번호 :" position="absolute 9 9 95 26" id="caption5" class="search_name" anchor="default"/>
  211. <Edit position="absolute 98 8 198 27" id="ipt_pid2" class="input_s_button" anchor="default"/>
  212. <Button id="btn_pid" taborder="1" visible="false" position="absolute 183 11 196 25" onclick="group1_group2_btn_pid_onclick"/>
  213. </Layout>
  214. </Layouts>
  215. </Div>
  216. </Layout>
  217. </Layouts>
  218. </Div>
  219. <Static id="caption6" text="조혈모세포보관위치관리" class="tit_1" position="absolute 0 0 189 23"/>
  220. <Shape id="line32" linetype="horizontal" class="line_6" position="absolute 0 23 1194 29" anchor="left top right"/>
  221. <Button id="btn_del" taborder="1" text="삭제" class="btn4" position="absolute 1081 27 1137 49" anchor="top right" onclick="btn_del_onclick"/>
  222. <Button id="btn_save" taborder="2" text="저장" class="btn4" position="absolute 1138 27 1194 49" anchor="top right" onclick="btn_save_onclick"/>
  223. <Static id="caption4" text="위치이동 :" class="search_name" position="absolute 572 97 658 114" anchor="top right"/>
  224. <Combo id="combo2" taborder="4" innerdataset="@ds_init_baseinfo_sesnflag_A0395" codecolumn="cdid" datacolumn="cdnm" position="absolute 664 95 784 115" anchor="top right"/>
  225. <Combo id="combo3" taborder="5" innerdataset="@ds_init_baseinfo_frameflag_A0396" codecolumn="cdid" datacolumn="cdnm" position="absolute 789 95 909 115" anchor="top right"/>
  226. <Combo id="combo4" taborder="6" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 914 96 989 116" anchor="top right">
  227. <Dataset id="innerdataset">
  228. <ColumnInfo>
  229. <Column id="codecolumn"/>
  230. <Column id="datacolumn"/>
  231. </ColumnInfo>
  232. <Rows>
  233. <Row>
  234. <Col id="codecolumn">1</Col>
  235. <Col id="datacolumn">1</Col>
  236. </Row>
  237. <Row>
  238. <Col id="codecolumn">2</Col>
  239. <Col id="datacolumn">2</Col>
  240. </Row>
  241. <Row>
  242. <Col id="codecolumn">3</Col>
  243. <Col id="datacolumn">3</Col>
  244. </Row>
  245. <Row>
  246. <Col id="codecolumn">4</Col>
  247. <Col id="datacolumn">4</Col>
  248. </Row>
  249. <Row>
  250. <Col id="codecolumn">5</Col>
  251. <Col id="datacolumn">5</Col>
  252. </Row>
  253. <Row>
  254. <Col id="codecolumn">6</Col>
  255. <Col id="datacolumn">6</Col>
  256. </Row>
  257. </Rows>
  258. </Dataset>
  259. </Combo>
  260. <Button id="button4" taborder="7" text="이동" class="btn2" position="absolute 994 96 1039 115" anchor="top right" onclick="button4_onclick"/>
  261. <Button id="button7" taborder="8" text="바코드넘버조회" class="btn4" position="absolute 1079 93 1195 115" anchor="top right" onclick="button7_onclick"/>
  262. <Div id="grp_sea" anchor="left top right" taborder="9" class="div_SA" position="absolute 0 51 1195 86">
  263. <Layouts>
  264. <Layout>
  265. <Static id="caption42" text="등록번호 :" class="search_name" visible="false" position="absolute 226 10 312 27" anchor="default"/>
  266. <Shape id="line10" linetype="vertical" class="line_4" position="absolute 1104 7 1110 29" anchor="top right"/>
  267. <MaskEdit id="output4" taborder="9" readonly="true" mask="999999-9999999" class="output_search" visible="false" position="absolute 615 8 715 27" anchor="default"/>
  268. <Edit id="output6" taborder="10" readonly="true" class="output_search" visible="false" position="absolute 761 8 801 27" anchor="default"/>
  269. <Edit id="output7" taborder="11" readonly="true" class="output_search" visible="false" position="absolute 718 8 758 27" anchor="default"/>
  270. <Static id="caption2" text="환자정보 :" class="search_name" visible="false" position="absolute 449 9 535 26" anchor="default"/>
  271. <Edit id="output3" taborder="12" readonly="true" class="output_search" visible="false" position="absolute 532 8 612 27" anchor="default"/>
  272. <Button id="btn_sea" taborder="13" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  273. <Static id="caption3" text="탱크구분 :" class="search_name" position="absolute 15 10 101 27" anchor="default"/>
  274. <Combo id="cmb_tankflag" taborder="14" innerdataset="@ds_init_baseinfo_tankflag_A0394" codecolumn="cdid" datacolumn="cdnm" class="combo_search" position="absolute 104 8 204 27" anchor="default" onitemchanged="grp_sea_cmb_tankflag_onitemchanged"/>
  275. <Edit id="ipt_pid" taborder="15" class="input_s_button" visible="false" position="absolute 308 8 408 27" anchor="default"/>
  276. <Button id="button33" taborder="16" class="icon_search" visible="false" position="absolute 411 9 427 25" anchor="default" onclick="grp_sea_button33_onclick"/>
  277. <Button id="btn_pid" taborder="17" onclick="btn_pid_onclick" position="absolute 392 11 405 25" visible="false"/>
  278. </Layout>
  279. </Layouts>
  280. </Div>
  281. </Layout>
  282. </Layouts>
  283. <Objects>
  284. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  285. <ColumnInfo>
  286. <Column id="pid" type="STRING" size="256"/>
  287. <Column id="hngnm" type="STRING" size="256"/>
  288. <Column id="rrgstno" type="STRING" size="256"/>
  289. <Column id="sex" type="STRING" size="256"/>
  290. <Column id="age" type="STRING" size="256"/>
  291. <Column id="tankflag" type="STRING" size="256"/>
  292. <Column id="selflag" type="STRING" size="256"/>
  293. <Column id="srchpid" type="STRING" size="256"/>
  294. </ColumnInfo>
  295. <Rows>
  296. <Row>
  297. <Col id="pid"/>
  298. <Col id="hngnm"/>
  299. <Col id="rrgstno"/>
  300. <Col id="sex"/>
  301. <Col id="age"/>
  302. <Col id="tankflag"/>
  303. <Col id="selflag">T</Col>
  304. <Col id="srchpid"/>
  305. </Row>
  306. </Rows>
  307. </Dataset>
  308. <Dataset id="ds_init_baseinfo_tankflag_A0394" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  309. <ColumnInfo>
  310. <Column id="cdid" type="STRING" size="256"/>
  311. <Column id="cdnm" type="STRING" size="256"/>
  312. </ColumnInfo>
  313. </Dataset>
  314. <Dataset id="ds_init_baseinfo_sesnflag_A0395" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  315. <ColumnInfo>
  316. <Column id="cdnm" type="STRING" size="256"/>
  317. <Column id="cdid" type="STRING" size="256"/>
  318. </ColumnInfo>
  319. </Dataset>
  320. <Dataset id="ds_init_baseinfo_frameflag_A0396" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  321. <ColumnInfo>
  322. <Column id="cdid" type="STRING" size="256"/>
  323. <Column id="cdnm" type="STRING" size="256"/>
  324. </ColumnInfo>
  325. </Dataset>
  326. <Dataset id="ds_send_movedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  327. <ColumnInfo>
  328. <Column id="sesnflag" type="STRING" size="256"/>
  329. <Column id="frameflag" type="STRING" size="256"/>
  330. <Column id="keeppos" type="STRING" size="256"/>
  331. </ColumnInfo>
  332. <Rows>
  333. <Row>
  334. <Col id="sesnflag"/>
  335. <Col id="frameflag"/>
  336. <Col id="keeppos"/>
  337. </Row>
  338. </Rows>
  339. </Dataset>
  340. <Dataset id="ds_main_keepposinfo_keepposlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_keepposinfo_keepposlist_oncolumnchanged">
  341. <ColumnInfo>
  342. <Column id="tankflag" type="STRING" size="256" sumtext="탱크구분"/>
  343. <Column id="sesnflag" type="STRING" size="256" sumtext="보관프레임번호"/>
  344. <Column id="frameflag" type="STRING" size="256" sumtext="보관stage번호"/>
  345. <Column id="cellbcno1" type="STRING" size="256" sumtext="바코드정보1"/>
  346. <Column id="cellbcno2" type="STRING" size="256" sumtext="바코드정보2"/>
  347. <Column id="cellbcno3" type="STRING" size="256" sumtext="바코드정보3"/>
  348. <Column id="cellbcno4" type="STRING" size="256" sumtext="바코드정보4"/>
  349. <Column id="cellbcno5" type="STRING" size="256" sumtext="바코드정보5"/>
  350. <Column id="cellbcno6" type="STRING" size="256" sumtext="바코드정보6"/>
  351. <Column id="cellbcno11" type="STRING" size="256" sumtext="바코드no1"/>
  352. <Column id="cellbcno12" type="STRING" size="256" sumtext="바코드no2"/>
  353. <Column id="cellbcno13" type="STRING" size="256" sumtext="바코드no3"/>
  354. <Column id="cellbcno14" type="STRING" size="256" sumtext="바코드no4"/>
  355. <Column id="cellbcno15" type="STRING" size="256" sumtext="바코드no5"/>
  356. <Column id="cellbcno16" type="STRING" size="256" sumtext="바코드no6"/>
  357. </ColumnInfo>
  358. </Dataset>
  359. <Dataset id="ds_main_cellbarcdinfo_cellbarcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  360. <ColumnInfo>
  361. <Column id="prcphopedd" type="STRING" size="256" sumtext="처방희망일자"/>
  362. <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
  363. <Column id="cellbcno" type="STRING" size="256" sumtext="바코드넘버"/>
  364. </ColumnInfo>
  365. </Dataset>
  366. <Dataset id="ds_main_keepposinfo2_keepposlist2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  367. <ColumnInfo>
  368. <Column id="tankflag" type="STRING" size="256" sumtext="탱크구분"/>
  369. <Column id="sesnflag" type="STRING" size="256" sumtext="보관프레임번호"/>
  370. <Column id="frameflag" type="STRING" size="256" sumtext="보관stage번호"/>
  371. <Column id="cellbcno1" type="STRING" size="256" sumtext="바코드정보1"/>
  372. <Column id="cellbcno2" type="STRING" size="256" sumtext="바코드정보2"/>
  373. <Column id="cellbcno3" type="STRING" size="256" sumtext="바코드정보3"/>
  374. <Column id="cellbcno4" type="STRING" size="256" sumtext="바코드정보4"/>
  375. <Column id="cellbcno5" type="STRING" size="256" sumtext="바코드정보5"/>
  376. <Column id="cellbcno6" type="STRING" size="256" sumtext="바코드정보6"/>
  377. <Column id="cellbcno11" type="STRING" size="256" sumtext="바코드no1"/>
  378. <Column id="cellbcno12" type="STRING" size="256" sumtext="바코드no2"/>
  379. <Column id="cellbcno13" type="STRING" size="256" sumtext="바코드no3"/>
  380. <Column id="cellbcno14" type="STRING" size="256" sumtext="바코드no4"/>
  381. <Column id="cellbcno15" type="STRING" size="256" sumtext="바코드no5"/>
  382. <Column id="cellbcno16" type="STRING" size="256" sumtext="바코드no6"/>
  383. </ColumnInfo>
  384. </Dataset>
  385. <Dataset id="ds_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  386. <Dataset id="ds_temp_bmtpatientinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  387. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  388. <ColumnInfo>
  389. <Column id="popupendflag" type="STRING" size="256"/>
  390. </ColumnInfo>
  391. <Rows>
  392. <Row/>
  393. </Rows>
  394. </Dataset>
  395. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  396. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  397. <ColumnInfo>
  398. <Column id="srchcond" type="INT" size="256" sumtext="검색조건"/>
  399. <Column id="checkfnexam" type="INT" size="256" sumtext="구환신환구분"/>
  400. <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
  401. <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
  402. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호 앞 6자리"/>
  403. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호 앞 7자리"/>
  404. <Column id="acptdd" type="STRING" size="256" sumtext="예약일자"/>
  405. <Column id="instcd" type="STRING" size="256" sumtext="예약일자"/>
  406. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  407. <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
  408. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  409. <Column id="hiddenflag" type="STRING" size="256" sumtext="주민번호마스킹 제어용"/>
  410. </ColumnInfo>
  411. <Rows>
  412. <Row/>
  413. </Rows>
  414. </Dataset>
  415. <Dataset id="ds_main_result_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  416. <ColumnInfo>
  417. <Column id="instcd" type="STRING" size="256" sumtext="기관기호"/>
  418. <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
  419. <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
  420. <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
  421. <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
  422. <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
  423. <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
  424. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
  425. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
  426. <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
  427. <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
  428. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  429. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  430. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  431. <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
  432. <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
  433. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
  434. <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
  435. <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
  436. <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
  437. <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
  438. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
  439. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
  440. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
  441. <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
  442. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  443. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  444. <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
  445. <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
  446. <Column id="nati" type="STRING" size="256" sumtext="국적"/>
  447. <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
  448. <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
  449. <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
  450. <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
  451. <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
  452. <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
  453. <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
  454. <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
  455. <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
  456. <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
  457. <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
  458. <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
  459. <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
  460. <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
  461. <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
  462. <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
  463. <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
  464. <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
  465. <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
  466. <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
  467. <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
  468. <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
  469. <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
  470. <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
  471. <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
  472. <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
  473. <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
  474. <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
  475. <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
  476. <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
  477. <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
  478. <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
  479. <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
  480. <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
  481. <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
  482. <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
  483. <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
  484. <Column id="gugang_ptbs_scanyn" type="STRING" size="256" sumtext="장애인구강센터동의서여부"/>
  485. <Column id="hieocrtag" type="STRING" size="256" sumtext="HIE관련"/>
  486. </ColumnInfo>
  487. </Dataset>
  488. <Dataset id="ds_send_reqdata1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  489. <ColumnInfo>
  490. <Column id="cellinfo" type="STRING" size="256"/>
  491. <Column id="cellbcno" type="STRING" size="256"/>
  492. <Column id="keepyn" type="STRING" size="256"/>
  493. </ColumnInfo>
  494. <Rows>
  495. <Row>
  496. <Col id="cellinfo"/>
  497. <Col id="cellbcno"/>
  498. <Col id="keepyn"/>
  499. </Row>
  500. </Rows>
  501. </Dataset>
  502. <Dataset id="ds_main_cellbcnoinfo_cellbcnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  503. <ColumnInfo>
  504. <Column id="cellinfo" type="STRING" size="256" sumtext="환자명+처리일자"/>
  505. <Column id="cellbcno" type="STRING" size="256" sumtext="바코드"/>
  506. <Column id="keepyn" type="STRING" size="256" sumtext="현재보관여부"/>
  507. </ColumnInfo>
  508. </Dataset>
  509. </Objects>
  510. <Bind>
  511. <BindItem id="item0" compid="grp_sea.cmb_tankflag" propid="value" datasetid="ds_send_reqdata" columnid="tankflag"/>
  512. <BindItem id="item1" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_send_reqdata" columnid="pid"/>
  513. <BindItem id="item2" compid="grp_sea.output3" propid="value" datasetid="ds_send_reqdata" columnid="hngnm"/>
  514. <BindItem id="item3" compid="grp_sea.output4" propid="value" datasetid="ds_send_reqdata" columnid="rrgstno"/>
  515. <BindItem id="item4" compid="grp_sea.output7" propid="value" datasetid="ds_send_reqdata" columnid="sex"/>
  516. <BindItem id="item5" compid="grp_sea.output6" propid="value" datasetid="ds_send_reqdata" columnid="age"/>
  517. <BindItem id="item6" compid="combo2" propid="value" datasetid="ds_send_movedata" columnid="sesnflag"/>
  518. <BindItem id="item7" compid="combo3" propid="value" datasetid="ds_send_movedata" columnid=""/>
  519. <BindItem id="item8" compid="combo4" propid="value" datasetid="ds_send_movedata" columnid="keeppos"/>
  520. <BindItem id="item9" compid="group1.group2.ipt_pid2" propid="value" datasetid="ds_send_reqdata" columnid="pid"/>
  521. </Bind>
  522. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  523. * System Name :
  524. * Job Name :
  525. * Creator :
  526. * Make Date : 2015-11-13
  527. * Description :
  528. *---------------------------------------------------------------------------------------
  529. * Modify Date Modifier Modify Description
  530. *---------------------------------------------------------------------------------------
  531. * 2015-11-13 Live Converter TF->XP
  532. *
  533. *---------------------------------------------------------------------------------------
  534. ****************************************************************************************/
  535. include "com_commonxp::comm_main.xjs";
  536. function SMABC00400_oninit(obj:Form, e:InitEventInfo)
  537. {
  538. frmf_initForm(obj);
  539. }
  540. function SMABC00400_onload(obj:Form, e:LoadEventInfo)
  541. {
  542. grdf_initGrid(switch1.case1.grd_tankkeep);
  543. grdf_initGrid(switch1.case2.datagrid1);
  544. grdf_initGrid(group1.grd_cellbcnolist);
  545. var arrParam = [{dsNm: "ds_init_baseinfo_tankflag_A0394", cdGrpId: "A0394"}
  546. , {dsNm: "ds_init_baseinfo_sesnflag_A0395", cdGrpId: "A0395"}
  547. , {dsNm: "ds_init_baseinfo_frameflag_A0396", cdGrpId: "A0396"}]
  548. appf_getCodeList(arrParam);
  549. switch1.tabindex = 0;
  550. btn_save.enable = false;
  551. btn_del.enable = false;
  552. grp_sea.cmb_tankflag.index = 0;
  553. if ( frmf_checkOpener())
  554. {
  555. var param = opener.frmf_getParameter("opener_parameter_id");
  556. if(!utlf_isNull(param))
  557. {
  558. condarray = param.split("▦");
  559. ds_send_reqdata.setColumn(0, "pid", condarray[0]);
  560. }
  561. }
  562. else
  563. {
  564. var paminfo = sysf_getGlobalVariable("paminfo");
  565. if (!utlf_isNull(paminfo))
  566. {
  567. dsf_setCSVToDs("ds_paminfo_list", paminfo);
  568. ds_send_reqdata.setColumn(0, "pid", ds_paminfo_list.getColumn(0, "pid"))
  569. model.setValue("/root/send/reqdata/pid", model.getValue("/root/paminfo/list/pid"));
  570. }
  571. }
  572. }
  573. function grp_sea_cmb_tankflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  574. {
  575. if (switch1.tabindex == 0)
  576. {
  577. fReadFunc();
  578. }
  579. else
  580. {
  581. fReadFunc1();
  582. }
  583. }
  584. function fReadFunc()
  585. {
  586. if(utlf_isNull(ds_send_reqdata.getColumn(0, "tankflag")))
  587. {
  588. sysf_messageBox("탱크구분은 필수 선택 항목", "E008");
  589. grp_sea.cmb_tankflag.setFocus();
  590. return;
  591. }
  592. ds_main_keepposinfo_keepposlist.clearData();
  593. var oParam = {};
  594. oParam.id = "TRABC00401";
  595. oParam.service = "hsctstemcellapp.StemCellTreat";
  596. oParam.method = "reqGetStemCellKeepPos";
  597. oParam.inds = "reqdata=ds_send_reqdata";
  598. oParam.outds = "ds_main_keepposinfo_keepposlist=keepposlist";
  599. oParam.async = false;
  600. //oParam.callback = "cf_TRABC00401";
  601. tranf_submit(oParam);
  602. btn_save.enable = true;
  603. btn_del.enable = true;
  604. }
  605. function fReadFunc1()
  606. {
  607. ds_main_keepposinfo2_keepposlist2.clearData();
  608. var oParam = {};
  609. oParam.id = "TRABC00403";
  610. oParam.service = "hsctstemcellapp.StemCellTreat";
  611. oParam.method = "reqGetStemCellKeepPos";
  612. oParam.inds = "reqdata=ds_send_reqdata";
  613. oParam.outds = "ds_main_keepposinfo2_keepposlist2=keepposlist2";
  614. oParam.async = false;
  615. //oParam.callback = "cf_TRABC00403";
  616. tranf_submit(oParam);
  617. }
  618. function btn_pid_onclick(obj:Button, e:ClickEventInfo)
  619. {
  620. ds_temp_bmtpatientinfo.clearData();
  621. ds_temp_bmtpatientinfo.addRow();
  622. frmf_modal("SPABO61300", "SPABO61300", "", "", "", "", "", "", "", "", "", "", "M");
  623. if(!utlf_isNull(ds_temp_bmtpatientinfo.getColumn(0, "pid")))
  624. {
  625. ds_send_reqdata.setColumn(0, "pid", ds_temp_bmtpatientinfo.getColumn(0, "pid"));
  626. grp_sea_btn_sea_onclick();
  627. }
  628. }
  629. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  630. {
  631. if(!utlf_isNull(ds_send_reqdata.getColumn(0, "pid")))
  632. {
  633. fSearchPatInfo();
  634. }
  635. if (switch1.tabindex == 0)
  636. {
  637. fReadFunc();
  638. }
  639. else
  640. {
  641. fReadFunc1();
  642. }
  643. }
  644. function fSearchPatInfo()
  645. {
  646. ds_source.setColumn(0, "srchcond", "1");
  647. ds_source.setColumn(0, "pid", grp_sea.ipt_pid.value);
  648. if(String(grp_sea.ipt_pid.value).length >= 1 )
  649. {
  650. ds_main_result_patinfo_patinfolist.clearData();
  651. var oParam = {};
  652. oParam.id = "TRPMC02500";
  653. oParam.service = "patinfomngtapp.PatBaseInfo";
  654. oParam.method = "reqGetPatInfo";
  655. oParam.inds = "req=ds_source";
  656. oParam.outds = "ds_main_result_patinfo_patinfolist=patinfolist";
  657. oParam.async = false;
  658. oParam.callback = "cf_TRPMC02500";
  659. tranf_submit(oParam);
  660. }
  661. else
  662. {
  663. sysf_messageBox("환자등록번호를 정확히", "C001");
  664. }
  665. }
  666. function cf_TRPMC02500(sSvcId, nErrorCode, sErrorMsg)
  667. {
  668. if(nErrorCode < 0)
  669. {
  670. ds_main_result_patinfo_patinfolist.clearData();
  671. sysf_messageBox("없는 환자 번호 입니다.", "E999", "");
  672. return;
  673. }
  674. else
  675. {
  676. if(ds_main_result_patinfo_patinfolist.rowcount > 0)
  677. {
  678. ds_send_reqdata.setColumn(0, "hngnm", ds_main_result_patinfo_patinfolist.getColumn(0, "hngnm"));
  679. ds_send_reqdata.setColumn(0, "rrgstno", ds_main_result_patinfo_patinfolist.getColumn(0, "rrgstno1")+ds_main_result_patinfo_patinfolist.getColumn(0, "rrgstno2"))
  680. ds_send_reqdata.setColumn(0, "sex", ds_main_result_patinfo_patinfolist.getColumn(0, "sex"));
  681. ds_send_reqdata.setColumn(0, "age", ds_main_result_patinfo_patinfolist.getColumn(0, "age"));
  682. ds_main.setColumn(0, "popupendflag", "ok");
  683. }
  684. }
  685. }
  686. function grp_sea_button33_onclick(obj:Button, e:ClickEventInfo)
  687. {
  688. frmf_modal("SPPMC02500", "SPPMC02500", "", "", "", "", "", "", "", "", "", "", "M");
  689. if(ds_main.getColumn(0, "popupendflag") != "cancel")
  690. {
  691. ds_send_reqdata.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
  692. ds_send_reqdata.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm"));
  693. ds_send_reqdata.setColumn(0, "rrgstno", ds_patinfolist.getColumn(0, "rrgstno1")+ds_patinfolist.getColumn(0, "rrgstno2"));
  694. ds_send_reqdata.setColumn(0, "sex", ds_patinfolist.getColumn(0, "sex"));
  695. ds_send_reqdata.setColumn(0, "age", ds_patinfolist.getColumn(0, "age"));
  696. fReadFunc();
  697. }
  698. }
  699. function button4_onclick(obj:Button, e:ClickEventInfo)
  700. {
  701. var scellbcno = ""//grd_tankkeep.textMatrix(grd_tankkeep.row, (grd_tankkeep.col + 6));
  702. var scellinfo = ""//grd_tankkeep.textMatrix(grd_tankkeep.row, grd_tankkeep.col);
  703. if (utlf_isNull(scellbcno))
  704. {
  705. sysf_messageBox("위치를 변경할 바코드를 선택한 후 처리하시기 바랍니다.", "E999", "");
  706. return;
  707. }
  708. if (utlf_isNull(ds_send_reqdata.getColumn(0, "tankflag")))
  709. {
  710. sysf_messageBox("탱크구분은 필수 선택항목입니다.", "E999", "");
  711. return;
  712. }
  713. if (utlf_isNull(ds_send_movedata.getColumn(0, "sesnflag")))
  714. {
  715. sysf_messageBox("Session구분은 필수 선택항목입니다.", "E999", "");
  716. return;
  717. }
  718. if (utlf_isNull(ds_send_movedata.getColumn(0, "frameflag")))
  719. {
  720. sysf_messageBox("Frame구분은 필수 선택항목입니다.", "E999", "");
  721. return;
  722. }
  723. if (utlf_isNull(ds_send_movedata.getColumn(0, "keeppos")))
  724. {
  725. sysf_messageBox("본관위치는 필수 선택항목입니다.", "E999", "");
  726. return;
  727. }
  728. var ssesnflag = ds_send_movedata.getColumn(0, "sesnflag")
  729. var sframeflag = ds_send_movedata.getColumn(0, "frameflag")
  730. var skeeppos = ds_send_movedata.getColumn(0, "keeppos")
  731. var irow = "0";
  732. for (var i = 0; i < ds_main_keepposinfo_keepposlist.rowcount; i++)
  733. {
  734. var ssesnflag1 = ds_main_keepposinfo_keepposlist.getColumn(i, "sesnflag");
  735. var sframeflag1 = ds_main_keepposinfo_keepposlist.getColumn(i, "frameflag");
  736. if (ssesnflag == ssesnflag1 && sframeflag == sframeflag1)
  737. {
  738. var scellbcno1 = ds_main_keepposinfo_keepposlist.getColumn(i, "cellbcno") + skeeppos;
  739. if (!utlf_isNull(scellbcno1))
  740. {
  741. sysf_messageBox("이미 다른 바코드가 등록되어 있습니다.", "E999", "");
  742. break;
  743. }
  744. else
  745. {
  746. var irow = i + 1;
  747. break;
  748. }
  749. }
  750. }
  751. if (irow > 0)
  752. {
  753. ds_main_keepposinfo_keepposlist.setColumn(ds_main_keepposinfo_keepposlist.rowposition, "", "D" + scellbcno);//grd_tankkeep.textMatrix(grd_tankkeep.row, (grd_tankkeep.col + 6)) = "D" + scellbcno;
  754. ds_main_keepposinfo_keepposlist.updatecontrol = false;
  755. ds_main_keepposinfo_keepposlist.setRowType(ds_main_keepposinfo_keepposlist.rowposition, "u");
  756. ds_main_keepposinfo_keepposlist.updatecontrol = true;
  757. ds_main_keepposinfo_keepposlist.setColumn(irow, parseInt(skeeppos) + 8, "I" + scellbcno);
  758. ds_main_keepposinfo_keepposlist.setColumn(irow, parseInt(skeeppos) + 2, scellinfo);
  759. ds_main_keepposinfo_keepposlist.updatecontrol = false;
  760. ds_main_keepposinfo_keepposlist.setRowType(ds_main_keepposinfo_keepposlist.rowposition, "u");
  761. ds_main_keepposinfo_keepposlist.updatecontrol = true;
  762. }
  763. }
  764. function button7_onclick(obj:Button, e:ClickEventInfo)
  765. {
  766. if(!utlf_isNull(ds_send_reqdata.getColumn(0, "pid")))
  767. {
  768. ds_send_reqdata.setColumn(0, "srchpid", ds_send_reqdata.getColumn(0, "pid"));
  769. }
  770. group1.visible = true;
  771. var oParam = {};
  772. oParam.id = "TRABC00401";
  773. oParam.service = "hsctstemcellapp.StemCellTreat";
  774. oParam.method = "reqGetCellBCNoList";
  775. oParam.inds = "reqdata=ds_send_reqdata";
  776. oParam.outds = "ds_main_cellbarcdinfo_cellbarcdlist=cellbarcdlist";
  777. oParam.async = false;
  778. //oParam.callback = "cf_TRABC00401";
  779. tranf_submit(oParam);
  780. }
  781. function ds_main_keepposinfo_keepposlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  782. {
  783. if ( e.columnid == "tankflag" || e.columnid == "sesnflag" || e.columnid == "frameflag")
  784. {
  785. return false;
  786. }
  787. else
  788. {
  789. var scellbcno = obj.getColumn(e.row, e.col);
  790. if(!utlf_isNull(scellbcno))
  791. {
  792. ds_send_reqdata1.setColumn(0, "cellbcno", scellbcno);
  793. var oParam = {};
  794. oParam.id = "TRABC00402";
  795. oParam.service = "hsctstemcellapp.StemCellTreat";
  796. oParam.method = "reqGetCellBcNoInfo";
  797. oParam.inds = "reqdata1=ds_send_reqdata1";
  798. oParam.outds = "ds_main_cellbcnoinfo_cellbcnolist=cellbcnolist";
  799. oParam.async = false;
  800. //oParam.callback = "cf_TRABC00402";
  801. tranf_submit(oParam);
  802. if(utlf_isNull(ds_main_cellbcnoinfo_cellbcnolist.getColumn(0, "cellbcno")))
  803. {
  804. sysf_messageBox(scellbcno + "의 바코드는 존재하지 않습니다.", "E999", "");
  805. obj.setColumn(e.row, e.col, "");
  806. return false;
  807. }
  808. if(ds_main_cellbcnoinfo_cellbcnolist.getColumn(0, "keepyn") == "Y")
  809. {
  810. sysf_messageBox(scellbcno + "의 바코드는 이미 보관중입니다.", "E999", "");
  811. obj.setColumn(e.row, e.col, "");
  812. return false;
  813. }
  814. ds_main_cellbcnoinfo_cellbcnolist.setColumn(e.row, e.col+6, "I" + obj.getColumn(e.row, e.col));
  815. ds_main_cellbcnoinfo_cellbcnolist.setColumn(e.row, e.col, ds_main_cellbcnoinfo_cellbcnolist.getColumn(0, "cellinfo"));
  816. }
  817. }
  818. }
  819. function switch1_case1_button5_onclick(obj:Button, e:ClickEventInfo)
  820. {
  821. fOpenCellKeepThawRsltInpt();
  822. }
  823. function fOpenCellKeepThawRsltInpt()
  824. {
  825. var pid = ds_send_reqdata.getColumn(0, "pid");
  826. var sflag = pid;
  827. frmf_setParameter("opener_parameter_id", sflag);
  828. frmf_modal("SMABC00300", "SMABC00300", "", "", "", "", "", "", "", "", "", "", "M");
  829. }
  830. function switch1_case1_button3_onclick(obj:Button, e:ClickEventInfo)
  831. {
  832. fOpenCellTretRsltInpt();
  833. }
  834. function fOpenCellTretRsltInpt()
  835. {
  836. var keeppos;
  837. var cellinfo = "";
  838. var phopedd;
  839. if (switch1.tabindex == 0)
  840. {
  841. keeppos = (switch1.case1.grd_tankkeep.currentcol - 2);
  842. if(keeppos == 1)
  843. {
  844. cellinfo = ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, "cellbcno1");
  845. }
  846. else if(keeppos == 2)
  847. {
  848. cellinfo = ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, "cellbcno2");
  849. }
  850. else if(keeppos == 3)
  851. {
  852. cellinfo = ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, "cellbcno3");
  853. }
  854. else if(keeppos == 4)
  855. {
  856. cellinfo = ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, "cellbcno4");
  857. }
  858. else if(keeppos == 5)
  859. {
  860. cellinfo = ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, "cellbcno5");
  861. }
  862. else if(keeppos == 6)
  863. {
  864. cellinfo = ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, "cellbcno6");
  865. }
  866. }
  867. else
  868. {
  869. keeppos = (switch1.case2.datagrid1.currentcol - 2);
  870. if(keeppos == 1)
  871. {
  872. cellinfo = ds_main_keepposinfo2_keepposlist2.getColumn(ds_main_keepposinfo2_keepposlist2.rowposition, "cellbcno1");
  873. }
  874. else if(keeppos == 2)
  875. {
  876. cellinfo = ds_main_keepposinfo2_keepposlist2.getColumn(ds_main_keepposinfo2_keepposlist2.rowposition, "cellbcno2");
  877. }
  878. else if(keeppos == 3)
  879. {
  880. cellinfo = ds_main_keepposinfo2_keepposlist2.getColumn(ds_main_keepposinfo2_keepposlist2.rowposition, "cellbcno3");
  881. }
  882. else if(keeppos == 4)
  883. {
  884. cellinfo = ds_main_keepposinfo2_keepposlist2.getColumn(ds_main_keepposinfo2_keepposlist2.rowposition, "cellbcno4");
  885. }
  886. else if(keeppos == 5)
  887. {
  888. cellinfo = ds_main_keepposinfo2_keepposlist2.getColumn(ds_main_keepposinfo2_keepposlist2.rowposition, "cellbcno5");
  889. }
  890. else if(keeppos == 6)
  891. {
  892. cellinfo = ds_main_keepposinfo2_keepposlist2.getColumn(ds_main_keepposinfo2_keepposlist2.rowposition, "cellbcno6");
  893. }
  894. }
  895. var pid = ds_send_reqdata.getColumn(0, "pid");
  896. var sflag = pid
  897. if(!utlf_isNull(cellinfo))
  898. {
  899. cellinfo = cellinfo.substr((utlf_getSearchStringRight(cellinfo, '(')+1), (utlf_getSearchStringRight(cellinfo, '(')+11));
  900. phopedd = cellinfo.substr(0, 4) + cellinfo.substr(5, 7) + cellinfo.substr(8, 10);
  901. sflag += "▦" + phopedd;
  902. }
  903. frmf_setParameter("opener_parameter_id", sflag);
  904. frmf_modal("SMABC00200", "SMABC00200", "", "", "", "", "", "", "", "", "", "", "M");
  905. }
  906. function switch1_case1_btn_excsave1_onclick(obj:Button, e:ClickEventInfo)
  907. {
  908. grdf_exportExcel(switch1.case1.grd_tankkeep, "세포보관내역", "see");
  909. }
  910. function switch1_case2_button2_onclick(obj:Button, e:ClickEventInfo)
  911. {
  912. fOpenCellKeepThawRsltInpt();
  913. }
  914. function switch1_case2_button1_onclick(obj:Button, e:ClickEventInfo)
  915. {
  916. fOpenCellTretRsltInpt();
  917. }
  918. function switch1_case2_btn_exsave2_onclick(obj:Button, e:ClickEventInfo)
  919. {
  920. grdf_exportExcel(switch1.case2.datagrid1, "세포보관내역", "see");
  921. }
  922. function group1_group2_btn_pid_onclick(obj:Button, e:ClickEventInfo)
  923. {
  924. ds_temp_bmtpatientinfo.clearData();
  925. ds_temp_bmtpatientinfo.addRow();
  926. frmf_modal("SPABO61300", "SPABO61300", "", "", "", "", "", "", "", "", "", "", "M");
  927. if(!utlf_isNull(ds_temp_bmtpatientinfo.getColumn(0, "pid")))
  928. {
  929. ds_send_reqdata.setColumn(0, "srchpid", ds_temp_bmtpatientinfo.getColumn(0, "pid"));
  930. group1_group2_btn_sea2_onclick();
  931. }
  932. }
  933. function group1_group2_btn_sea2_onclick(obj:Button, e:ClickEventInfo)
  934. {
  935. var oParam = {};
  936. oParam.id = "TRABC00401";
  937. oParam.service = "hsctstemcellapp.StemCellTreat";
  938. oParam.method = "reqGetCellBCNoList";
  939. oParam.inds = "reqdata=ds_send_reqdata";
  940. oParam.outds = "ds_main_cellbarcdinfo_cellbarcdlist=cellbarcdlist";
  941. oParam.async = false;
  942. //oParam.callback = "cf_TRABC00401";
  943. tranf_submit(oParam);
  944. }
  945. function group1_grd_cellbcnolist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  946. {
  947. if(e.row > -1)
  948. {
  949. if(e.row >= 1 && e.col >= 1 && utlf_IsNull((ds_main_keepposinfo_keepposlist.getColumn(e.row, "cellbcno")+e.col-2)))
  950. {
  951. var vCellBcNo = ds_main_cellbarcdinfo_cellbarcdlist.getColumn(ds_main_cellbarcdinfo_cellbarcdlist.rowposition, "cellbcno");
  952. ds_main_keepposinfo_keepposlist.setColumn(e.row, "cellbcno"+e.col-2, vCellBcNo);
  953. }
  954. else
  955. {
  956. sysf_messageBox("보관위치를 다시 선택하여 주세요.", "E999", "");
  957. }
  958. var scellbcno = ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, switch1.case1.grd_tankkeep.currentcol);
  959. if (!utlf_isNull(scellbcno))
  960. {
  961. ds_send_reqdata.setColumn(0, "cellbcno", scellbcno);
  962. var oParam = {};
  963. oParam.id = "TRABC00402";
  964. oParam.service = "hsctstemcellapp.StemCellTreat";
  965. oParam.method = "reqGetCellBcNoInfo";
  966. oParam.inds = "reqdata1=ds_send_reqdata";
  967. oParam.outds = "ds_main_cellbarcdinfo_cellbarcdlist=cellbcnolist";
  968. oParam.async = false;
  969. //oParam.callback = "cf_TRABC00402";
  970. tranf_submit(oParam);
  971. if(utlf_isNull(ds_main_cellbarcdinfo_cellbarcdlist.getColumn(0, "cellbcno")))
  972. {
  973. sysf_messageBox(scellbcno + "의 바코드는 존재하지 않습니다.", "E999", "");
  974. ds_main_keepposinfo_keepposlist.setColumn(ds_main_keepposinfo_keepposlist.rowposition, switch1.case1.grd_tankkeep.currentcol, "");
  975. return false;
  976. }
  977. if(ds_main_cellbarcdinfo_cellbarcdlist.getColumn(0, "keepyn") == "Y")
  978. {
  979. sysf_messageBox(scellbcno + "의 바코드는 이미 보관중입니다.", "E999", "");
  980. ds_main_keepposinfo_keepposlist.setColumn(ds_main_keepposinfo_keepposlist.rowposition, switch1.case1.grd_tankkeep.currentcol, "");
  981. return false;
  982. }
  983. ds_main_keepposinfo_keepposlist.setColumn(ds_main_keepposinfo_keepposlist.rowposition, switch1.case1.grd_tankkeep.currentcol+6, "I"+ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, switch1.case1.grd_tankkeep.currentcol));
  984. ds_main_keepposinfo_keepposlist.setColumn(ds_main_keepposinfo_keepposlist.rowposition, switch1.case1.grd_tankkeep.currentcol, ds_main_cellbcnoinfo_cellbcnolist.getColumn(0, "cellinfo"));
  985. }
  986. ds_main_keepposinfo_keepposlist.updatecontrol = false;
  987. ds_main_keepposinfo_keepposlist.setRowType(ds_main_keepposinfo_keepposlist.rowposition, "u");
  988. ds_main_keepposinfo_keepposlist.updatecontrol = true;s
  989. group1.visible = false;
  990. }
  991. }
  992. function group1_btn_clo_onclick(obj:Button, e:ClickEventInfo)
  993. {
  994. group1.visible = false;
  995. }
  996. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  997. {
  998. fExecDel();
  999. }
  1000. function fExecDel()
  1001. {
  1002. dsf_createDsRow("ds_send_reqdatadel", [{col:"tankflag", type:"STRING", size:256 , val : ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, "tankflag")}
  1003. , {col:"sesnflag", type:"STRING", size:256 , val : ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, "sesnflag")}
  1004. , {col:"frameflag", type:"STRING", size:256 , val : ds_main_keepposinfo_keepposlist.getColumn(ds_main_keepposinfo_keepposlist.rowposition, "frameflag")}
  1005. , {col:"keeppos", type:"STRING", size:256 , val : switch1.case1.grd_tankkeep.currentcol-2}
  1006. , {col:"pid", type:"STRING", size:256 , val : ds_send_reqdata.getColumn(0, "pid")}]);
  1007. if( sysf_messageBox("탱크:" + utlf_transNullToEmpty(ds_send_reqdatadel.getColumn(0, "tankflag")) + ", Session:"+ utlf_transNullToEmpty(ds_send_reqdatadel.getColumn(0, "sesnflag")) +", Frame:"+ utlf_transNullToEmpty(ds_send_reqdatadel.getColumn(0, "frameflag"))+", 위치:"+utlf_transNullToEmpty(ds_send_reqdatadel.getColumn(0, "keeppos")) + " 보관내역을 " , "Q001" ) == 6 )
  1008. {
  1009. var oParam = {};
  1010. oParam.id = "TXABC00402";
  1011. oParam.service = "hsctstemcellapp.StemCellTreat";
  1012. oParam.method = "reqDelStemCellKeepPos";
  1013. oParam.inds = "reqdatadel=ds_send_reqdatadel";
  1014. oParam.outds = "ds_=item";
  1015. oParam.async = false;
  1016. oParam.callback = "cf_TXABC00402";
  1017. tranf_submit(oParam);
  1018. }
  1019. }
  1020. function cf_TXABC00402(sSvcId, nErrorCode, sErrorMsg)
  1021. {
  1022. if(nErrorCode < 0)
  1023. {
  1024. sysf_messageBox(sErrorMsg, "E999", "");
  1025. fReadFunc();
  1026. }
  1027. else
  1028. {
  1029. }
  1030. }
  1031. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  1032. {
  1033. fExecSave();
  1034. }
  1035. function fExecSave()
  1036. {
  1037. var updateData = grd_tankkeep.getUpdateData();
  1038. model.setValue("/root/send/execdata/keepposlist",updateData);
  1039. var oParam = {};
  1040. oParam.id = "TXABC00401";
  1041. oParam.service = "hsctstemcellapp.StemCellTreat";
  1042. oParam.method = "reqExeStemCellKeepPos";
  1043. oParam.inds = "keepposlist=ds_main_keepposinfo_keepposlist";
  1044. oParam.outds = "ds_=item";
  1045. oParam.async = false;
  1046. oParam.callback = "cf_TXABC00401";
  1047. tranf_submit(oParam);
  1048. }
  1049. function cf_TXABC00401(sSvcId, nErrorCode, sErrorMsg)
  1050. {
  1051. if(nErrorCode < 0)
  1052. {
  1053. fReadFunc();
  1054. }
  1055. }
  1056. ]]></Script>
  1057. </Form>
  1058. </FDL>