SMLPJ00600_검체접수취소.xfdl 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPJ00600" position="absolute 0 0 1198 767" titletext="검체접수취소" oninit="SMLPJ00600_oninit" onload="SMLPJ00600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_save" taborder="1" text="접수취소" class="btn4" position="absolute 1114 2 1194 24" onclick="btn_save_onclick" anchor="top right"/>
  8. <Static id="caption6" text="검체접수취소" class="tit_1" position="absolute 0 0 106 25" anchor="left top"/>
  9. <Static id="caption4" text="검체접수리스트" class="tit_2" position="absolute 3 76 119 93" anchor="left top"/>
  10. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 94 1194 100" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  11. <Grid id="grd_ptnolist" class="datagrid2" taborder="3" binddataset="ds_grd_ptnolist" useinputpanel="false" position="absolute 0 98 1194 433" autofittype="none" anchor="left top right" autosizingtype="none" cellsizingtype="col" oncellclick="grd_ptnolist_oncellclick">
  12. <Formats>
  13. <Format id="default">
  14. <Columns>
  15. <Column size="0"/>
  16. <Column size="38"/>
  17. <Column size="0"/>
  18. <Column size="70"/>
  19. <Column size="70"/>
  20. <Column size="80"/>
  21. <Column size="0"/>
  22. <Column size="95"/>
  23. <Column size="0"/>
  24. <Column size="70"/>
  25. <Column size="60"/>
  26. <Column size="0"/>
  27. <Column size="248"/>
  28. <Column size="0"/>
  29. <Column size="120"/>
  30. <Column size="72"/>
  31. <Column size="0"/>
  32. <Column size="133"/>
  33. <Column size="0"/>
  34. <Column size="50"/>
  35. <Column size="0"/>
  36. <Column size="80"/>
  37. <Column size="56"/>
  38. <Column size="55"/>
  39. <Column size="55"/>
  40. <Column size="0"/>
  41. <Column size="60"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="87"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. <Column size="0"/>
  56. <Column size="0"/>
  57. <Column size="0"/>
  58. <Column size="0"/>
  59. <Column size="0"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="0"/>
  66. <Column size="0"/>
  67. <Column size="0"/>
  68. <Column size="0"/>
  69. </Columns>
  70. <Rows>
  71. <Row size="24" band="head"/>
  72. <Row size="24"/>
  73. </Rows>
  74. <Band id="head">
  75. <Cell/>
  76. <Cell col="1" text="선택"/>
  77. <Cell col="2" text="기관코드"/>
  78. <Cell col="3" text="처방일자"/>
  79. <Cell col="4" text="접수일자"/>
  80. <Cell col="5" text="병리번호"/>
  81. <Cell col="6" text="병리번호"/>
  82. <Cell col="7" text="관련병리번호"/>
  83. <Cell col="8" text="관련병리번호"/>
  84. <Cell col="9" text="등록번호"/>
  85. <Cell col="10" text="환자성명"/>
  86. <Cell col="11" text="검사코드"/>
  87. <Cell col="12" text="검사명"/>
  88. <Cell col="13" text="검사그룹코드"/>
  89. <Cell col="14" text="검체명"/>
  90. <Cell col="15" text="그룹검사명"/>
  91. <Cell col="16" text="진료과코드"/>
  92. <Cell col="17" text="진료과"/>
  93. <Cell col="18" text="진료의ID"/>
  94. <Cell col="19" text="진료의"/>
  95. <Cell col="20" text="추가처방의ID"/>
  96. <Cell col="21" text="추가처방의"/>
  97. <Cell col="22" text="판독의사"/>
  98. <Cell col="23" text="환자구분"/>
  99. <Cell col="24" text="수납구분"/>
  100. <Cell col="25" text="검사상태코드"/>
  101. <Cell col="26" text="검사상태"/>
  102. <Cell col="27" text="검체코드"/>
  103. <Cell col="28" text="검체접수일자"/>
  104. <Cell col="29" text="검체접수번호"/>
  105. <Cell col="30" text="검체접수&#10;일련번호"/>
  106. <Cell col="31" text="Cassette번호"/>
  107. <Cell col="32" text="비 고"/>
  108. <Cell col="33" text="접수번호"/>
  109. <Cell col="34" text="접수항목번호"/>
  110. <Cell col="35" text="실제접수일자"/>
  111. <Cell col="36" text="전송일자"/>
  112. <Cell col="37" text="전송번호"/>
  113. <Cell col="38" text="전송일련번호"/>
  114. <Cell col="39" text="실시처방고유번호"/>
  115. <Cell col="40" text="처방상태코드"/>
  116. <Cell col="41" text="readonlystate"/>
  117. <Cell col="42" text="spctrandd"/>
  118. <Cell col="43" text="spctranno"/>
  119. <Cell col="44" text="prcpgenrflag"/>
  120. <Cell col="45" text="testflagcd"/>
  121. <Cell col="46" text="reqinstcd"/>
  122. <Cell col="47" text="reqworkno"/>
  123. <Cell col="48" text="prcpno"/>
  124. <Cell col="49" text="prcphistno"/>
  125. <Cell col="50" text="execprcpno"/>
  126. <Cell col="51" text="enddd"/>
  127. <Cell col="52" text="보험청구Key"/>
  128. <Cell col="53" text="실시일자"/>
  129. </Band>
  130. <Band id="body">
  131. <Cell/>
  132. <Cell col="1" displaytype="checkbox" edittype="expr:acptstatnm == &quot;접수&quot; ? &quot;checkbox&quot; : (acptstatnm == &quot;결과&quot; ? &quot;checkbox&quot; : &quot;none&quot;) " style="controlbackground:EXPR(acptstatnm == &quot;접수&quot; ? &quot;&quot; : (acptstatnm == &quot;결과&quot; ? &quot;&quot;: &quot;silver&quot;));controlborder:EXPR(acptstatnm == &quot;접수&quot; ? &quot;&quot; : (acptstatnm == &quot;결과&quot; ? &quot;&quot; :&quot;1 solid lightblue&quot;));" text="bind:choi"/>
  133. <Cell col="2" text="bind:instcd"/>
  134. <Cell col="3" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  135. <Cell col="4" displaytype="date" edittype="date" text="bind:acptdd" mask="yyyy-MM-dd"/>
  136. <Cell col="5" edittype="text" text="bind:dispptno"/>
  137. <Cell col="6" text="bind:ptno"/>
  138. <Cell col="7" text="bind:disprelaptno"/>
  139. <Cell col="8" text="bind:relaptno"/>
  140. <Cell col="9" edittype="text" text="bind:pid"/>
  141. <Cell col="10" text="bind:patnm"/>
  142. <Cell col="11" text="bind:testcd"/>
  143. <Cell col="12" style="align:left middle;" text="bind:testnm"/>
  144. <Cell col="13" text="bind:tgrupcd"/>
  145. <Cell col="14" style="align:left middle;" text="bind:spcnm"/>
  146. <Cell col="15" style="align:left;" text="bind:tgrupnm"/>
  147. <Cell col="16" text="bind:orddeptcd"/>
  148. <Cell col="17" text="bind:orddeptnm"/>
  149. <Cell col="18" text="bind:orddrid"/>
  150. <Cell col="19" text="bind:orddrnm"/>
  151. <Cell col="20" text="bind:appeorddrid"/>
  152. <Cell col="21" text="bind:appeorddrnm"/>
  153. <Cell col="22" text="bind:readdrnm"/>
  154. <Cell col="23" text="bind:patflagcd"/>
  155. <Cell col="24" text="bind:rcptflagcd"/>
  156. <Cell col="25" text="bind:orgacptstatcd"/>
  157. <Cell col="26" text="bind:acptstatnm"/>
  158. <Cell col="27" text="bind:spccd"/>
  159. <Cell col="28" text="bind:spcacptdd" mask="yyyy-mm-dd"/>
  160. <Cell col="29" text="bind:spcacptno"/>
  161. <Cell col="30" text="bind:spcacptseqno"/>
  162. <Cell col="31" text="bind:blocno"/>
  163. <Cell col="32" text="bind:cmt"/>
  164. <Cell col="33" text="bind:acptno"/>
  165. <Cell col="34" text="bind:acptitemno"/>
  166. <Cell col="35" text="bind:orgacptdd" mask="yyyy-mm-dd"/>
  167. <Cell col="36" text="bind:trandd"/>
  168. <Cell col="37" text="bind:tranno"/>
  169. <Cell col="38" text="bind:transeqno"/>
  170. <Cell col="39" text="bind:execprcpuniqno"/>
  171. <Cell col="40" text="bind:orgprcpstatcd"/>
  172. <Cell col="41" text="bind:readonlystate"/>
  173. <Cell col="42" text="bind:spctrandd"/>
  174. <Cell col="43" text="bind:spctranno"/>
  175. <Cell col="44" text="bind:prcpgenrflag"/>
  176. <Cell col="45" text="bind:testflagcd"/>
  177. <Cell col="46" text="bind:reqinstcd"/>
  178. <Cell col="47" text="bind:reqworkno"/>
  179. <Cell col="48" text="bind:prcpno"/>
  180. <Cell col="49" text="bind:prcphistno"/>
  181. <Cell col="50" text="bind:execprcpno"/>
  182. <Cell col="51" text="bind:enddd"/>
  183. <Cell col="52" text="bind:clamkey"/>
  184. <Cell col="53" text="bind:execdd"/>
  185. </Band>
  186. </Format>
  187. </Formats>
  188. </Grid>
  189. <Div id="grp_resncancle" taborder="4" visible="false" position="absolute 389 217 809 292">
  190. <Layouts>
  191. <Layout>
  192. <Shape id="roundrect2" type="roundrectangle" class="roundrect_search" position="absolute 4 5 415 70" anchor="default"/>
  193. <Static id="caption8" text="취소사유" class="cell_2" position="absolute 15 15 95 38" anchor="default"/>
  194. <Button id="btn_cncresn" taborder="12" text="확인취소" class="btn2" position="absolute 334 19 398 38" anchor="default" onclick="grp_resncancle_btn_cncresn_onclick"/>
  195. <Combo id="combo1" taborder="13" innerdataset="ds_init_combo1" codecolumn="resncd" datacolumn="resncnts" class="combo_default" position="absolute 15 40 398 59" anchor="default"/>
  196. </Layout>
  197. </Layouts>
  198. </Div>
  199. <Static id="cap_cnclresn" text="취소사유" class="cell_2" visible="false" position="absolute 2 302 82 325"/>
  200. <Combo id="cbo_cnclresn" taborder="5" innerdataset="ds_init_cbo_cnclresn" codecolumn="resncd" datacolumn="resncnts" class="combo_default" visible="false" position="absolute 85 303 1170 322"/>
  201. <Grid id="grd_acptcncllist" class="datagrid2" taborder="6" binddataset="ds_grd_acptcncllist" useinputpanel="false" position="absolute 0 463 1194 763" autofittype="col" anchor="all" areaselecttype="overband" cellsizingtype="col">
  202. <Formats>
  203. <Format id="default">
  204. <Columns>
  205. <Column size="0"/>
  206. <Column size="0"/>
  207. <Column size="28"/>
  208. <Column size="91"/>
  209. <Column size="0"/>
  210. <Column size="80"/>
  211. <Column size="70"/>
  212. <Column size="60"/>
  213. <Column size="100"/>
  214. <Column size="70"/>
  215. <Column size="70"/>
  216. <Column size="70"/>
  217. <Column size="60"/>
  218. <Column size="0"/>
  219. <Column size="60"/>
  220. <Column size="0"/>
  221. <Column size="159"/>
  222. <Column size="0"/>
  223. <Column size="0"/>
  224. <Column size="0"/>
  225. <Column size="70"/>
  226. <Column size="0"/>
  227. <Column size="60"/>
  228. <Column size="0"/>
  229. <Column size="60"/>
  230. <Column size="0"/>
  231. <Column size="0"/>
  232. <Column size="60"/>
  233. <Column size="63"/>
  234. </Columns>
  235. <Rows>
  236. <Row size="24" band="head"/>
  237. <Row size="24"/>
  238. </Rows>
  239. <Band id="head">
  240. <Cell text="기관코드"/>
  241. <Cell col="1" text="병리번호"/>
  242. <Cell col="2"/>
  243. <Cell col="3" text="병리번호"/>
  244. <Cell col="4" text="관련병리번호"/>
  245. <Cell col="5" text="관련병리번호"/>
  246. <Cell col="6" text="등록번호"/>
  247. <Cell col="7" text="환자명"/>
  248. <Cell col="8" text="환자구분"/>
  249. <Cell col="9" text="처방일자"/>
  250. <Cell col="10" text="접수일자"/>
  251. <Cell col="11" text="취소일자"/>
  252. <Cell col="12" text="취소시간"/>
  253. <Cell col="13" text="취소자ID"/>
  254. <Cell col="14" text="취소자"/>
  255. <Cell col="15" text="검사코드"/>
  256. <Cell col="16" text="검사명"/>
  257. <Cell col="17" text="검사그룹코드"/>
  258. <Cell col="18" text="그룹검사명"/>
  259. <Cell col="19" text="진료과코드"/>
  260. <Cell col="20" text="진료과"/>
  261. <Cell col="21" text="진료의ID"/>
  262. <Cell col="22" text="진료의"/>
  263. <Cell col="23" text="추가처방의ID"/>
  264. <Cell col="24" text="추가&#10;처방의"/>
  265. <Cell col="25" text="검체코드"/>
  266. <Cell col="26" text="검체명"/>
  267. <Cell col="27" text="Cassette&#10;번호"/>
  268. <Cell col="28" text="취소사유"/>
  269. </Band>
  270. <Band id="body">
  271. <Cell text="bind:instcd"/>
  272. <Cell col="1" text="bind:ptno"/>
  273. <Cell col="2" text="expr:currow + 1"/>
  274. <Cell col="3" class="text_center" text="bind:dispptno"/>
  275. <Cell col="4" text="bind:relaptno"/>
  276. <Cell col="5" class="text_center" text="bind:disprelaptno"/>
  277. <Cell col="6" class="text_center" text="bind:pid"/>
  278. <Cell col="7" class="text_center" text="bind:patnm"/>
  279. <Cell col="8" class="text_center" text="bind:patflagnm"/>
  280. <Cell col="9" displaytype="date" edittype="date" class="text_center" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  281. <Cell col="10" displaytype="date" edittype="date" class="text_center" text="bind:acptdd" mask="yyyy-MM-dd"/>
  282. <Cell col="11" displaytype="date" edittype="date" class="text_center" text="bind:cncldd" mask="yyyy-MM-dd"/>
  283. <Cell col="12" displaytype="date" edittype="date" class="text_center" text="bind:cncltm" mask="hh:mm:ss"/>
  284. <Cell col="13" text="bind:cnclid"/>
  285. <Cell col="14" class="text_center" text="bind:cnclnm"/>
  286. <Cell col="15" text="bind:testcd"/>
  287. <Cell col="16" style="align:left middle;" text="bind:testnm"/>
  288. <Cell col="17" text="bind:tgrupcd"/>
  289. <Cell col="18" text="bind:tgrupnm"/>
  290. <Cell col="19" text="bind:orddeptcd"/>
  291. <Cell col="20" class="text_center" text="bind:orddeptnm"/>
  292. <Cell col="21" text="bind:orddrid"/>
  293. <Cell col="22" class="text_center" text="bind:orddrnm"/>
  294. <Cell col="23" text="bind:appeorddrid"/>
  295. <Cell col="24" class="text_center" text="bind:appeorddrnm"/>
  296. <Cell col="25" text="bind:spccd"/>
  297. <Cell col="26" text="bind:spcnm"/>
  298. <Cell col="27" class="text_center" text="bind:blocno"/>
  299. <Cell col="28" style="align:left middle;" text="bind:resncnts"/>
  300. </Band>
  301. </Format>
  302. </Formats>
  303. </Grid>
  304. <Shape id="line5" linetype="horizontal" class="line_1" position="absolute 0 459 1194 465" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  305. <Static id="caption9" text="검체접수취소리스트" class="tit_2" position="absolute 3 441 143 458"/>
  306. <Div id="group2" taborder="7" class="div_SA" position="absolute 0 25 1195 60" anchor="left top right">
  307. <Layouts>
  308. <Layout>
  309. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  310. <Static id="caption2" text="접수일자 :" class="search_name" position="absolute 787 9 873 26" anchor="top right"/>
  311. <Edit id="ipt_seaval" taborder="19" onkeyup="group2_ipt_seaval_onkeyup" class="input_search" position="absolute 619 8 704 27" anchor="left top"/>
  312. <Static id="caption3" text="등록번호 :" class="search_name" position="absolute 527 9 613 26" anchor="left top"/>
  313. <Static id="caption5" text="~" class="search_no_b" position="absolute 979 8 991 25" anchor="top right"/>
  314. <Calendar id="ipt_acptddfrom" taborder="20" class="input_s_essential" position="absolute 876 8 976 27" mask="yyyy-mm-dd" anchor="top right"/>
  315. <Calendar id="ipt_acptddto" taborder="21" onkeyup="group2_ipt_acptddto_onkeyup" class="input_s_essential" position="absolute 995 8 1095 27" mask="yyyy-mm-dd" anchor="top right"/>
  316. <Button id="btn_sea" taborder="22" text="조회" onclick="group2_btn_sea_onclick" class="btn1" position="absolute 1123 7 1179 29" anchor="top right"/>
  317. <Combo id="cbo_ptnocd" taborder="23" innerdataset="ds_init_cbo_ptnocd" codecolumn="ptnocd" datacolumn="ptnonm" position="absolute 107 8 263 27" anchor="left top"/>
  318. <Edit id="ipt_fromptno" taborder="24" class="text_center" position="absolute 296 8 346 27" anchor="left top"/>
  319. <Static id="caption1" text="병리번호 :" class="search_name" position="absolute 15 9 105 26" anchor="left top"/>
  320. <Static id="caption7" text="~" class="search_no_b" position="absolute 349 8 361 25" anchor="left top"/>
  321. <Edit id="input2" taborder="25" class="text_center" position="absolute 394 8 444 27" anchor="left top"/>
  322. <Edit id="ipt_toyear" taborder="26" class="text_center" position="absolute 364 8 391 27" anchor="left top"/>
  323. <Edit id="ipt_fromyear" taborder="27" class="text_center" position="absolute 266 8 293 27" anchor="left top"/>
  324. </Layout>
  325. </Layouts>
  326. </Div>
  327. </Layout>
  328. </Layouts>
  329. <Objects>
  330. <Dataset id="ds_init_cbo_ptnocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  331. <ColumnInfo>
  332. <Column id="ptnonm" type="STRING"/>
  333. <Column id="ptnocd" type="STRING"/>
  334. </ColumnInfo>
  335. </Dataset>
  336. <Dataset id="ds_grd_ptnolist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  337. <ColumnInfo>
  338. <Column id="choi" type="STRING"/>
  339. <Column id="instcd" type="STRING"/>
  340. <Column id="prcpdd" type="STRING"/>
  341. <Column id="acptdd" type="STRING"/>
  342. <Column id="dispptno" type="STRING"/>
  343. <Column id="ptno" type="STRING"/>
  344. <Column id="disprelaptno" type="STRING"/>
  345. <Column id="relaptno" type="STRING"/>
  346. <Column id="pid" type="STRING"/>
  347. <Column id="patnm" type="STRING"/>
  348. <Column id="testcd" type="STRING"/>
  349. <Column id="testnm" type="STRING"/>
  350. <Column id="tgrupcd" type="STRING"/>
  351. <Column id="spcnm" type="STRING"/>
  352. <Column id="tgrupnm" type="STRING"/>
  353. <Column id="orddeptcd" type="STRING"/>
  354. <Column id="orddeptnm" type="STRING"/>
  355. <Column id="orddrid" type="STRING"/>
  356. <Column id="orddrnm" type="STRING"/>
  357. <Column id="appeorddrid" type="STRING"/>
  358. <Column id="appeorddrnm" type="STRING"/>
  359. <Column id="readdrnm" type="STRING"/>
  360. <Column id="patflagcd" type="STRING"/>
  361. <Column id="rcptflagcd" type="STRING"/>
  362. <Column id="orgacptstatcd" type="STRING"/>
  363. <Column id="acptstatnm" type="STRING"/>
  364. <Column id="spccd" type="STRING"/>
  365. <Column id="spcacptdd" type="STRING"/>
  366. <Column id="spcacptno" type="STRING"/>
  367. <Column id="spcacptseqno" type="STRING"/>
  368. <Column id="blocno" type="STRING"/>
  369. <Column id="cmt" type="STRING"/>
  370. <Column id="acptno" type="STRING"/>
  371. <Column id="acptitemno" type="STRING"/>
  372. <Column id="orgacptdd" type="STRING"/>
  373. <Column id="trandd" type="STRING"/>
  374. <Column id="tranno" type="STRING"/>
  375. <Column id="transeqno" type="STRING"/>
  376. <Column id="execprcpuniqno" type="STRING"/>
  377. <Column id="orgprcpstatcd" type="STRING"/>
  378. <Column id="readonlystate" type="STRING"/>
  379. <Column id="spctrandd" type="STRING"/>
  380. <Column id="spctranno" type="STRING"/>
  381. <Column id="prcpgenrflag" type="STRING"/>
  382. <Column id="testflagcd" type="STRING"/>
  383. <Column id="reqinstcd" type="STRING"/>
  384. <Column id="reqworkno" type="STRING"/>
  385. <Column id="prcpno" type="STRING"/>
  386. <Column id="prcphistno" type="STRING"/>
  387. <Column id="execprcpno" type="STRING"/>
  388. <Column id="enddd" type="STRING"/>
  389. <Column id="clamkey" type="STRING"/>
  390. <Column id="execdd" type="STRING"/>
  391. </ColumnInfo>
  392. </Dataset>
  393. <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  394. <ColumnInfo>
  395. <Column id="resncnts" type="STRING"/>
  396. <Column id="resncd" type="STRING"/>
  397. </ColumnInfo>
  398. </Dataset>
  399. <Dataset id="ds_init_cbo_cnclresn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  400. <ColumnInfo>
  401. <Column id="resncnts" type="STRING"/>
  402. <Column id="resncd" type="STRING"/>
  403. </ColumnInfo>
  404. </Dataset>
  405. <Dataset id="ds_grd_acptcncllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  406. <ColumnInfo>
  407. <Column id="instcd" type="STRING"/>
  408. <Column id="ptno" type="STRING"/>
  409. <Column id="dispptno" type="STRING"/>
  410. <Column id="relaptno" type="STRING"/>
  411. <Column id="disprelaptno" type="STRING"/>
  412. <Column id="pid" type="STRING"/>
  413. <Column id="patnm" type="STRING"/>
  414. <Column id="patflagnm" type="STRING"/>
  415. <Column id="prcpdd" type="STRING"/>
  416. <Column id="acptdd" type="STRING"/>
  417. <Column id="cncldd" type="STRING"/>
  418. <Column id="cncltm" type="STRING"/>
  419. <Column id="cnclid" type="STRING"/>
  420. <Column id="cnclnm" type="STRING"/>
  421. <Column id="testcd" type="STRING"/>
  422. <Column id="testnm" type="STRING"/>
  423. <Column id="tgrupcd" type="STRING"/>
  424. <Column id="tgrupnm" type="STRING"/>
  425. <Column id="orddeptcd" type="STRING"/>
  426. <Column id="orddeptnm" type="STRING"/>
  427. <Column id="orddrid" type="STRING"/>
  428. <Column id="orddrnm" type="STRING"/>
  429. <Column id="appeorddrid" type="STRING"/>
  430. <Column id="appeorddrnm" type="STRING"/>
  431. <Column id="spccd" type="STRING"/>
  432. <Column id="spcnm" type="STRING"/>
  433. <Column id="blocno" type="STRING"/>
  434. <Column id="resncnts" type="STRING"/>
  435. </ColumnInfo>
  436. </Dataset>
  437. <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  438. <ColumnInfo>
  439. <Column id="sysdd" type="STRING" size="256"/>
  440. <Column id="systm" type="STRING" size="256"/>
  441. </ColumnInfo>
  442. </Dataset>
  443. <Dataset id="ds_resncdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  444. <ColumnInfo>
  445. <Column id="choi" type="STRING" size="256"/>
  446. <Column id="instcd" type="STRING" size="256"/>
  447. <Column id="baseflagcd" type="STRING" size="256"/>
  448. <Column id="resncd" type="STRING" size="256"/>
  449. <Column id="resncnts" type="STRING" size="256"/>
  450. </ColumnInfo>
  451. <Rows>
  452. <Row/>
  453. </Rows>
  454. </Dataset>
  455. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  456. <ColumnInfo>
  457. <Column id="acptfromdd" type="STRING" size="256"/>
  458. <Column id="acpttodd" type="STRING" size="256"/>
  459. <Column id="seameth" type="STRING" size="256"/>
  460. <Column id="seaval" type="STRING" size="256"/>
  461. <Column id="resncd" type="STRING" size="256"/>
  462. </ColumnInfo>
  463. <Rows>
  464. <Row>
  465. <Col id="seaval"/>
  466. <Col id="seameth">0</Col>
  467. </Row>
  468. </Rows>
  469. </Dataset>
  470. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  471. <ColumnInfo>
  472. <Column id="ptnocode" type="STRING" size="256"/>
  473. <Column id="fromyear" type="STRING" size="256"/>
  474. <Column id="fromptno" type="STRING" size="256"/>
  475. <Column id="toyear" type="STRING" size="256"/>
  476. <Column id="toptno" type="STRING" size="256"/>
  477. <Column id="sysdt" type="STRING" size="256"/>
  478. <Column id="resncd" type="STRING" size="256"/>
  479. <Column id="ptnocd" type="STRING" size="256"/>
  480. </ColumnInfo>
  481. <Rows>
  482. <Row/>
  483. </Rows>
  484. </Dataset>
  485. </Objects>
  486. <Bind>
  487. <BindItem id="item0" compid="group2.ipt_acptddfrom" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
  488. <BindItem id="item1" compid="group2.ipt_acptddto" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
  489. <BindItem id="item2" compid="group2.ipt_seaval" propid="value" datasetid="ds_hidden" columnid="seaval"/>
  490. <BindItem id="item3" compid="group2.cbo_ptnocd" propid="value" datasetid="ds_init" columnid="ptnocode"/>
  491. <BindItem id="item4" compid="group2.ipt_fromyear" propid="value" datasetid="ds_init" columnid="fromyear"/>
  492. <BindItem id="item5" compid="group2.ipt_fromptno" propid="value" datasetid="ds_init" columnid="fromptno"/>
  493. <BindItem id="item6" compid="group2.ipt_toyear" propid="value" datasetid="ds_init" columnid="toyear"/>
  494. <BindItem id="item7" compid="group2.input2" propid="value" datasetid="ds_init" columnid="toptno"/>
  495. <BindItem id="item8" compid="grp_resncancle.combo1" propid="value" datasetid="ds_hidden" columnid="resncd"/>
  496. </Bind>
  497. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  498. * System Name :
  499. * Job Name :
  500. * Creator :
  501. * Make Date : 2015-11-13
  502. * Description :
  503. *---------------------------------------------------------------------------------------
  504. * Modify Date Modifier Modify Description
  505. *---------------------------------------------------------------------------------------
  506. * 2015-11-13 Live Converter TF->XP
  507. *
  508. *---------------------------------------------------------------------------------------
  509. ****************************************************************************************/
  510. include "com_commonxp::comm_main.xjs";
  511. function SMLPJ00600_oninit(obj:Form, e:InitEventInfo)
  512. {
  513. frmf_initForm(obj);
  514. }
  515. function SMLPJ00600_onload(obj:Form, e:LoadEventInfo)
  516. {
  517. grdf_initGrid(grd_ptnolist);
  518. grdf_initGrid(grd_acptcncllist);
  519. grdf_setRowTypeIcon(grd_ptnolist, "0");
  520. fExeInitialize();
  521. }
  522. function fExeInitialize()
  523. {
  524. var sCurDate = "";
  525. dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}
  526. ,{col: "baseflagcd", val: '20'}]);
  527. var oParam = {};
  528. oParam.id = "TRLPZ00103";
  529. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  530. oParam.method = "reqGetReasonCodeList";
  531. oParam.inds = "refData=ds_send";
  532. oParam.outds = "ds_init_combo1=refrslt";
  533. oParam.async = false;
  534. //oParam.callback = "cf_TRLPZ00103";
  535. tranf_submit(oParam);
  536. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  537. ,{col : "refflagcd", val : "0"}]);
  538. var oParam = {};
  539. oParam.id = "TRLPZ00109";
  540. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  541. oParam.method = "reqGetPtNoCdList";
  542. oParam.inds = "refdata=ds_send";
  543. oParam.outds = "ds_init_cbo_ptnocd=rsltlist";
  544. oParam.async = false;
  545. //oParam.callback = "cf_TRLPZ00109";
  546. tranf_submit(oParam);
  547. // 시스템일자 조회
  548. var oParam = {};
  549. oParam.id = "TRLPZ00102";
  550. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  551. oParam.method = "reqGetSystemDateTimeInformation";
  552. oParam.inds = "refData=ds_send";
  553. oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
  554. oParam.async = false;
  555. //oParam.callback = "cf_TRLPZ00102";
  556. tranf_submit(oParam);
  557. var sCurDate = ds_data_sysdtinfo.getColumn(0, "sysdd");
  558. // 초기값 설정
  559. ds_hidden.setColumn(0, "seaval", "");
  560. ds_hidden.setColumn(0, "acptfromdd", sCurDate);
  561. ds_hidden.setColumn(0, "acpttodd", sCurDate);
  562. ds_hidden.setColumn(0, "seameth", "1");
  563. ds_hidden.setColumn(0, "resncd", "");
  564. ds_init.setColumn(0, "ptnocode", "");
  565. ds_init.setColumn(0, "fromyear", sCurDate.substr(2,2));
  566. ds_init.setColumn(0, "toyear", sCurDate.substr(2,2));
  567. ds_init.setColumn(0, "fromptno", "");
  568. ds_init.setColumn(0, "toptno", "");
  569. }
  570. function fGetCnclPrcpList()
  571. {
  572. var sTemp = "";
  573. var sFromDD = ds_hidden.getColumn(0, "acptfromdd");
  574. var sToDD = ds_hidden.getColumn(0, "acpttodd");
  575. if( !utlf_isNull(ds_init.getColumn(0, "ptnocode")))
  576. {
  577. if( utlf_isNull(ds_init.getColumn(0, "fromyear")))
  578. {
  579. ds_init.setColumn(0, "fromyear", sFromDD.substr(2,2));
  580. }
  581. else
  582. {
  583. sTemp = ds_init.getColumn(0, "fromyear");
  584. ds_init.setColumn(0, "fromyear", sTemp.getLeftPad(2, "0"));
  585. }
  586. if( utlf_isNull(ds_init.getColumn(0, "toyear")))
  587. {
  588. ds_init.setColumn(0, "toyear", sToDD.substr(2,2));
  589. }
  590. else
  591. {
  592. sTemp = ds_init.getColumn(0, "toyear");
  593. ds_init.setColumn(0, "toyear", sTemp.getLeftPad(2, "0"));
  594. }
  595. if( utlf_isNull(ds_init.getColumn(0, "fromptno")))
  596. {
  597. ds_init.setColumn(0, "fromptno", "000000");
  598. }
  599. else
  600. {
  601. sTemp = ds_init.getColumn(0, "fromptno");
  602. ds_init.setColumn(0, "fromptno", sTemp.getLeftPad(6, "0"));
  603. }
  604. if( utlf_isNull(ds_init.getColumn(0, "toptno")))
  605. {
  606. ds_init.setColumn(0, "toptno", "999999");
  607. }
  608. else
  609. {
  610. sTemp = ds_init.getColumn(0, "toptno");
  611. ds_init.setColumn(0, "toptno", sTemp.getLeftPad(6, "0"));
  612. }
  613. }
  614. ds_grd_ptnolist.updatecontrol = false;
  615. sTemp = ds_init.getColumn(0, "ptnocode");
  616. ds_send.clearData();
  617. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  618. ,{col : "acptfromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
  619. ,{col : "acpttodd", val : ds_hidden.getColumn(0, "acpttodd")}
  620. ,{col : "refflagcd", val : ds_hidden.getColumn(0, "seameth")}
  621. ,{col : "refval", val : ds_hidden.getColumn(0, "seaval")}
  622. ,{col : "ptnocode", val : utlf_transNullToEmpty(sTemp).replace("-", "")}
  623. ,{col : "fromyear", val : ds_init.getColumn(0, "fromyear")}
  624. ,{col : "fromptno", val : ds_init.getColumn(0, "fromptno")}
  625. ,{col : "toyear", val : ds_init.getColumn(0, "toyear")}
  626. ,{col : "toptno", val : ds_init.getColumn(0, "toptno")}]);
  627. var oParam = {};
  628. oParam.id = "TRLPJ00601";
  629. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  630. oParam.method = "reqGetCnclPrcpList";
  631. oParam.inds = "refdata=ds_send";
  632. oParam.outds = "ds_grd_ptnolist=reflist";
  633. oParam.async = false;
  634. //oParam.callback = "cf_TRLPJ00601";
  635. tranf_submit(oParam);
  636. ds_grd_ptnolist.updatecontrol = true;
  637. fGetCncledPrcpList(); //접수취소리스트 조회.
  638. }
  639. //접수취소리스트 조회.
  640. function fGetCncledPrcpList()
  641. {
  642. var sTemp = "";
  643. var sFromDD = ds_hidden.getColumn(0, "acptfromdd");
  644. var sToDD = ds_hidden.getColumn(0, "acpttodd");
  645. if( !utlf_isNull(ds_init.getColumn(0, "ptnocode")))
  646. {
  647. if( utlf_isNull(ds_init.getColumn(0, "fromyear")))
  648. {
  649. ds_init.setColumn(0, "fromyear", sFromDD.substr(2,2));
  650. }
  651. else
  652. {
  653. sTemp = ds_init.getColumn(0, "fromyear");
  654. ds_init.setColumn(0, "fromyear", sTemp.getLeftPad(2, "0"));
  655. }
  656. if( utlf_isNull(ds_init.getColumn(0, "toyear")))
  657. {
  658. ds_init.setColumn(0, "toyear", sToDD.substr(2,2))
  659. }
  660. else
  661. {
  662. sTemp = ds_init.getColumn(0, "toyear");
  663. ds_init.setColumn(0, "toyear", sTemp.getLeftPad(2, "0"));
  664. }
  665. if( utlf_isNull(ds_init.getColumn(0, "fromptno")))
  666. {
  667. ds_init.setColumn(0, "fromptno", "000000");
  668. }
  669. else
  670. {
  671. sTemp = ds_init.getColumn(0, "fromptno");
  672. ds_init.setColumn(0, "fromptno", sTemp.getLeftPad(6, "0"));
  673. }
  674. if( utlf_isNull(ds_init.getColumn(0, "toptno")))
  675. {
  676. ds_init.setColumn(0, "toptno", "999999");
  677. }
  678. else
  679. {
  680. sTemp = ds_init.getColumn(0, "toptno");
  681. ds_init.setColumn(0, "toptno", sTemp.getLeftPad(6, "0"));
  682. }
  683. }
  684. sTemp = ds_init.getColumn(0, "ptnocode");
  685. ds_send.clearData();
  686. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  687. ,{col : "cnclfromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
  688. ,{col : "cncltodd", val : ds_hidden.getColumn(0, "acpttodd")}
  689. ,{col : "refmthd", val : ds_hidden.getColumn(0, "seameth")}
  690. ,{col : "refval", val : ds_hidden.getColumn(0, "seaval")}
  691. ,{col : "ptnocode", val : utlf_transNullToEmpty(sTemp).replace("-", "")}
  692. ,{col : "fromyear", val : ds_init.getColumn(0, "fromyear")}
  693. ,{col : "fromptno", val : ds_init.getColumn(0, "fromptno")}
  694. ,{col : "toyear", val : ds_init.getColumn(0, "toyear")}
  695. ,{col : "toptno", val : ds_init.getColumn(0, "toptno")}
  696. ,{col : "acptflagcd", val : "1"}]);
  697. var oParam = {};
  698. oParam.id = "TRLPJ00701";
  699. oParam.service = "plgyrefmngtapp.AcptSpecRef";
  700. oParam.method = "reqGetAcptCnclList";
  701. oParam.inds = "refData=ds_send";
  702. oParam.outds = "ds_grd_acptcncllist=reflist";
  703. oParam.async = false;
  704. //oParam.callback = "cf_TRLPJ00701";
  705. tranf_submit(oParam);
  706. }
  707. //취소사유 처리 함수
  708. function fbfExeAcptCncl()
  709. {
  710. grp_resncancle.visible = true;
  711. }
  712. function fExeAcptCncl(param)
  713. {
  714. // 취소사유 선택여부 검사
  715. var iRowNo = ds_grd_ptnolist.findRow("choi","1");
  716. if (param == "1")
  717. {
  718. if (!frmf_isRequiredControls(new Array("grp_resncancle.combo1"))) return false;
  719. }
  720. if (iRowNo < 0)
  721. {
  722. sysf_messageBox("취소처방을 선택하여 주십시오! 접수취소를 ", "E001");
  723. return false;
  724. }
  725. var recvmsg = sysf_messageBox("블록(Cassette) 및 슬라이드(Slide)도 함께 ", "Q001");
  726. ds_grd_ptnolist.updatecontrol = false;
  727. var tmp = grdf_getGridUpdateData(grd_ptnolist, "update");
  728. ds_grd_ptnolist.updatecontrol = true;
  729. grdf_setStatusColumn(tmp, "status");
  730. dsf_createDs("ds_tmp_batchrpt");
  731. ds_tmp_batchrpt.copyData(tmp, true);
  732. dsf_createDsRow("ds_resncd", [{col : "baseflagcd", val : "20"}
  733. ,{col : "resncd", val : grp_resncancle.combo1.value} //ds_hidden.getColumn(0, "resncd")}
  734. ,{col : "blocdelyn", val : recvmsg}
  735. ,{col : "resncnts", val : grp_resncancle.combo1.value}]);
  736. var oParam = {};
  737. oParam.id = "TXLPJ00601";
  738. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  739. oParam.method = "reqExeCnclPrcp";
  740. oParam.inds = "refData=ds_grd_ptnolist:U refInfo=ds_resncd";
  741. oParam.async = false;
  742. //oParam.callback = "cf_TXLPJ00601";
  743. tranf_submit(oParam);
  744. fGetCncledPrcpList(); //접수취소리스트 조회.
  745. fGetCnclPrcpList();
  746. }
  747. //조회
  748. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  749. {
  750. fGetCnclPrcpList();
  751. }
  752. //조회
  753. function group2_ipt_acptddto_onkeyup(obj:Calendar, e:KeyEventInfo)
  754. {
  755. if(e.keycode == 13)
  756. {
  757. fGetCnclPrcpList();
  758. }
  759. }
  760. //접수취소
  761. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  762. {
  763. fbfExeAcptCncl();
  764. }
  765. //확인취소
  766. function grp_resncancle_btn_cncresn_onclick(obj:Button, e:ClickEventInfo)
  767. {
  768. fExeAcptCncl("1");
  769. grp_resncancle.visible = false;
  770. }
  771. function group2_ipt_seaval_onkeyup(obj:Edit, e:KeyEventInfo)
  772. {
  773. if(e.keycode == 13)
  774. {
  775. ds_hidden.setColumn(0, "seaval", group2.ipt_seaval.text);
  776. fGetCnclPrcpList();
  777. }
  778. }
  779. function grd_ptnolist_oncellclick(obj:Grid, e:GridClickEventInfo)
  780. {
  781. var nCol = grd_ptnolist.currentcol;
  782. if(nCol == grd_ptnolist.getBindCellIndex("Body","choi")){
  783. fExeGridClick();
  784. }
  785. }
  786. function fExeGridClick() {
  787. var iRowNo = grd_ptnolist.rowposition;
  788. var strNode = "ds_grd_ptnolist";
  789. var TestGrupCd = ds_grd_ptnolist.getColumn(iRowNo,"tgrupcd");
  790. var ChoiVal = ds_grd_ptnolist.getColumn(iRowNo,"choi");
  791. //-------------------------------
  792. if (iRowNo <= 0) return false;
  793. //-------------------------------------------------
  794. // 그룹검사의 경우 선택과 선택취소를 동시에 처리한다.
  795. // 그룹검사는 개별적으로 취소가 불가능하다.
  796. if (TestGrupCd != "-") {
  797. for (var iNodeNo=0; iNodeNo < ds_grd_ptnolist.rowcount; iNodeNo++) {
  798. // 선택한 로우는 제외
  799. if (ds_grd_ptnolist.getColumn(iNodeNo ,"pid") == ds_grd_ptnolist.getColumn(iRowNo,"pid")) {
  800. if (ds_grd_ptnolist.getColumn(iNodeNo ,"acptdd") == ds_grd_ptnolist.getColumn(iRowNo,"acptdd")) {
  801. if (ds_grd_ptnolist.getColumn(iNodeNo ,"acptno") == ds_grd_ptnolist.getColumn(iRowNo,"acptno")) {
  802. if (ds_grd_ptnolist.getColumn(iNodeNo,"tgrupcd") == ds_grd_ptnolist.getColumn(iRowNo,"tgrupcd")) {
  803. if (ds_grd_ptnolist.getColumn(iNodeNo,"trandd") == ds_grd_ptnolist.getColumn(iRowNo,"trandd")) {
  804. if (ds_grd_ptnolist.getColumn(iNodeNo,"tranno") == ds_grd_ptnolist.getColumn(iRowNo,"tranno")) {
  805. if (ds_grd_ptnolist.getColumn(iNodeNo,"transeqno") == ds_grd_ptnolist.getColumn(iRowNo,"transeqno")) {
  806. ds_grd_ptnolist.setColumn(iNodeNo,"choi", ChoiVal);
  807. //------------------
  808. // if (ChoiVal == "true") {
  809. // grd_ptnolist.addStatus(iNodeNo, "update");
  810. // } else {
  811. // grd_ptnolist.removeStatus(iNodeNo, "update");
  812. // }
  813. }
  814. }
  815. }
  816. }
  817. }
  818. }
  819. }
  820. }
  821. } else {
  822. //--------------------------------------------------------------------------
  823. // RowStatus(추가 상태 : “insert”, 수정 상태 : “update”, 삭제 상태 : “delete”)
  824. // if (ChoiVal == "true") {
  825. // grd_ptnolist.addStatus(iRowNo, "update");
  826. // } else {
  827. // grd_ptnolist.removeStatus(iRowNo, "update");
  828. // }
  829. }
  830. //-------------
  831. //model.refresh();
  832. }]]></Script>
  833. </Form>
  834. </FDL>