SMLPR01900_검사항목별결과관리.xfdl 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPR01900" position="absolute 0 0 1198 763" titletext="검사항목별 결과관리" oninit="SMLPR01900_oninit" onload="SMLPR01900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="btn_excel" taborder="1" text="EXCEL저장" class="btn7" position="absolute 1020 1 1112 23" onclick="btn_excel_onclick" anchor="top right"/>
  8. <Button id="btn_save" taborder="2" text="저장" class="btn4" position="absolute 1137 1 1193 23" onclick="btn_save_onclick" anchor="top right"/>
  9. <Static id="caption1" text="검사항목별 결과등록" class="tit_1" position="absolute 0 0 154 25" anchor="left top"/>
  10. <Static id="caption6" text="접수목록" class="tit_2" position="absolute 3 95 76 112" anchor="left top"/>
  11. <Shape id="line1" linetype="horizontal" class="line_1" position="absolute 0 113 1194 119" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  12. <Div id="grp_sea" taborder="3" position="absolute 0 25 1195 85" class="div_SA" anchor="left top right">
  13. <Layouts>
  14. <Layout>
  15. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29" anchor="top right"/>
  16. <Static id="caption4" text="~" class="search_no_b" position="absolute 778 11 799 28" anchor="top right"/>
  17. <Static id="caption5" text="결과상태 :" class="search_name" position="absolute 909 9 982 26" anchor="top right"/>
  18. <Calendar id="ipt_ddfrom" taborder="0" class="input_search" position="absolute 667 8 773 27" mask="yyyy-mm-dd" anchor="top right"/>
  19. <Combo id="cmbseaflagcd" taborder="2" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 993 8 1093 27" anchor="top right">
  20. <Dataset id="innerdataset">
  21. <ColumnInfo>
  22. <Column id="codecolumn"/>
  23. <Column id="datacolumn"/>
  24. </ColumnInfo>
  25. <Rows>
  26. <Row>
  27. <Col id="codecolumn">0</Col>
  28. <Col id="datacolumn">결과미입력</Col>
  29. </Row>
  30. <Row>
  31. <Col id="codecolumn">1</Col>
  32. <Col id="datacolumn">결과입력</Col>
  33. </Row>
  34. <Row>
  35. <Col id="codecolumn">2</Col>
  36. <Col id="datacolumn">전체</Col>
  37. </Row>
  38. </Rows>
  39. </Dataset>
  40. </Combo>
  41. <Button id="btn_sea" taborder="3" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="grp_sea_btn_sea_onclick"/>
  42. <Combo id="cbo_ptnocd" taborder="4" innerdataset="ds_init_cbo_ptnocd" codecolumn="ptnocd" datacolumn="ptnonm" enable="true" position="absolute 109 8 220 27" anchor="left top"/>
  43. <Edit id="ipt_fromptno" taborder="5" class="text_center" position="absolute 253 8 303 27" anchor="left top"/>
  44. <Static id="caption3" text="병리번호 :" class="search_name" position="absolute 15 9 89 26" anchor="left top"/>
  45. <Static id="caption2" text="~" class="search_no_b" position="absolute 306 8 318 25" anchor="left top"/>
  46. <Edit id="input1" taborder="6" class="text_center" position="absolute 351 8 401 27" anchor="left top"/>
  47. <Edit id="ipt_toyear" taborder="7" class="text_center" position="absolute 321 8 348 27" anchor="left top"/>
  48. <Edit id="ipt_fromyear" taborder="8" class="text_center" position="absolute 223 8 250 27" anchor="left top"/>
  49. <Static id="caption7" text="접수기간 :" class="search_name" position="absolute 592 9 666 26" anchor="top right"/>
  50. <Static id="caption8" text="검 사 명 :" class="search_name" position="absolute 15 34 86 51" anchor="left top"/>
  51. <Edit id="opt_testnmlist" taborder="9" readonly="true" position="absolute 109 34 1160 53" anchor="left top"/>
  52. <Calendar id="ipt_acpttodd" taborder="1" class="input_search" position="absolute 793 8 899 27" mask="yyyy-mm-dd" anchor="top right" onkeyup="grp_sea_ipt_acpttodd_onkeyup"/>
  53. <Static id="caption9" text="등록번호 :" class="search_name" position="absolute 410 9 484 26" anchor="left top"/>
  54. <Edit id="ipt_pid" taborder="10" position="absolute 487 8 566 27" anchor="left top"/>
  55. <Button id="btn_bloc" taborder="11" onlbuttonup="button6_onlbuttonup" class="icon_search" position="absolute 1161 34 1181 54" onclick="grp_sea_btn_bloc_onclick" anchor="left top"/>
  56. </Layout>
  57. </Layouts>
  58. </Div>
  59. <Grid id="grd_prcplist" class="datagrid2" taborder="4" binddataset="ds_grd_prcplist" useinputpanel="false" position="absolute 0 117 1194 759" anchor="all" autofittype="none" cellsizingtype="col">
  60. <Formats>
  61. <Format id="default">
  62. <Columns>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="80"/>
  66. <Column size="69"/>
  67. <Column size="85"/>
  68. <Column size="180"/>
  69. <Column size="0"/>
  70. <Column size="70"/>
  71. <Column size="70"/>
  72. <Column size="92"/>
  73. <Column size="96"/>
  74. <Column size="60"/>
  75. <Column size="0"/>
  76. <Column size="60"/>
  77. <Column size="0"/>
  78. <Column size="60"/>
  79. <Column size="65"/>
  80. <Column size="80"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. <Column size="70"/>
  84. <Column size="60"/>
  85. <Column size="70"/>
  86. <Column size="65"/>
  87. <Column size="0"/>
  88. <Column size="0"/>
  89. <Column size="0"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="0"/>
  93. <Column size="0"/>
  94. <Column size="60"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="0"/>
  98. <Column size="0"/>
  99. <Column size="0"/>
  100. <Column size="0"/>
  101. <Column size="0"/>
  102. <Column size="0"/>
  103. <Column size="0"/>
  104. <Column size="0"/>
  105. <Column size="0"/>
  106. <Column size="0"/>
  107. <Column size="0"/>
  108. <Column size="0"/>
  109. <Column size="0"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. <Column size="0"/>
  114. <Column size="0"/>
  115. <Column size="0"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. <Column size="0"/>
  124. </Columns>
  125. <Rows>
  126. <Row size="24" band="head"/>
  127. <Row size="24"/>
  128. </Rows>
  129. <Band id="head">
  130. <Cell text="instcd"/>
  131. <Cell col="1" text="ptno"/>
  132. <Cell col="2" text="병리번호"/>
  133. <Cell col="3" text="동의서"/>
  134. <Cell col="4" text="인종/민족"/>
  135. <Cell col="5" text="검사명"/>
  136. <Cell col="6" text="검체명"/>
  137. <Cell col="7" text="등록번호"/>
  138. <Cell col="8" text="성명"/>
  139. <Cell col="9" text="이전결과"/>
  140. <Cell col="10" text="결과"/>
  141. <Cell col="11" text="성별&#10;나이"/>
  142. <Cell col="12" text="orddeptcd"/>
  143. <Cell col="13" text="진료과"/>
  144. <Cell col="14" text="orddrid"/>
  145. <Cell col="15" text="진료의"/>
  146. <Cell col="16" text="선택&#10;진료의"/>
  147. <Cell col="17" text="병동/병실"/>
  148. <Cell col="18" text="처방일자"/>
  149. <Cell col="19" text="처방시간"/>
  150. <Cell col="20" text="접수일자"/>
  151. <Cell col="21" text="접수시간"/>
  152. <Cell col="22" text="결과일자"/>
  153. <Cell col="23" text="결과시간"/>
  154. <Cell col="24" text="접수번호"/>
  155. <Cell col="25" text="orgprcpstatcd"/>
  156. <Cell col="26" text="testcd"/>
  157. <Cell col="27" text="spccd"/>
  158. <Cell col="28" text="prcpno"/>
  159. <Cell col="29" text="execprcpuniqno"/>
  160. <Cell col="30" text="rsltrgstno"/>
  161. <Cell col="31" text="등록자"/>
  162. <Cell col="32" text="cncrjudgflagcd"/>
  163. <Cell col="33" text="orgtestrslt"/>
  164. <Cell col="34" text="inptdd"/>
  165. <Cell col="35" text="inpttm"/>
  166. <Cell col="36" text="caption1"/>
  167. <Cell col="37" text="caption2"/>
  168. <Cell col="38" text="caption3"/>
  169. <Cell col="39" text="caption4"/>
  170. <Cell col="40" text="caption5"/>
  171. <Cell col="41" text="caption6"/>
  172. <Cell col="42" text="caption7"/>
  173. <Cell col="43" text="caption8"/>
  174. <Cell col="44" text="caption9"/>
  175. <Cell col="45" text="caption10"/>
  176. <Cell col="46" text="caption11"/>
  177. <Cell col="47" text="choi"/>
  178. <Cell col="48" text="rsltrgstid"/>
  179. <Cell col="49" text="acptitemno"/>
  180. <Cell col="50" text="orgacptstatcd"/>
  181. <Cell col="51" text="prcpgenrflag"/>
  182. <Cell col="52" text="scanyn"/>
  183. <Cell col="53" text="formcd"/>
  184. <Cell col="54" text="cretno"/>
  185. <Cell col="55" text="orddd"/>
  186. <Cell col="56" text="readdrid"/>
  187. <Cell col="57" text="scrnid"/>
  188. <Cell col="58" text="rsltcnts3"/>
  189. <Cell col="59" text="rsltcnts4"/>
  190. <Cell col="60" text="rsltcnts5"/>
  191. </Band>
  192. <Band id="body">
  193. <Cell text="bind:instcd"/>
  194. <Cell col="1" text="bind:ptno"/>
  195. <Cell col="2" style="align:center middle;" class="text_center" text="bind:dispptno"/>
  196. <Cell col="3" displaytype="normal" edittype="none" style="align:center middle;" text="bind:scrn"/>
  197. <Cell col="4" style="align:center middle;" text="bind:humspec"/>
  198. <Cell col="5" style="align:left middle;" text="bind:testnm" wordwrap="word"/>
  199. <Cell col="6" style="align:center middle;" text="bind:spcnm"/>
  200. <Cell col="7" style="align:center middle;" class="text_center" text="bind:pid"/>
  201. <Cell col="8" style="align:center middle;" text="bind:patnm"/>
  202. <Cell col="9" style="align:right middle;background:#ffff99ff;background2:#ffff99ff;" class="text_right" text="bind:bftestrslt" wordwrap="word"/>
  203. <Cell col="10" displaytype="text" edittype="text" style="align:right top;" class="text_right" text="bind:testrslt" wordwrap="word"/>
  204. <Cell col="11" style="align:center middle;" class="text_center" text="bind:sexage"/>
  205. <Cell col="12" style="align:center middle;" text="bind:orddeptcd"/>
  206. <Cell col="13" style="align:center middle;" class="text_center" text="bind:orddeptnm"/>
  207. <Cell col="14" style="align:center middle;" text="bind:orddrid"/>
  208. <Cell col="15" style="align:center middle;" class="text_center" text="bind:orddrnm"/>
  209. <Cell col="16" style="align:center middle;" class="text_center" text="bind:specdrnm" wordwrap="word"/>
  210. <Cell col="17" style="align:center middle;" class="text_center" text="bind:wardroom"/>
  211. <Cell col="18" style="align:center middle;" text="bind:prcpdd"/>
  212. <Cell col="19" style="align:center middle;" text="bind:prcptm"/>
  213. <Cell col="20" displaytype="date" edittype="date" style="align:center middle;" class="text_center" text="bind:acptdd" mask="yyyy-MM-dd"/>
  214. <Cell col="21" displaytype="date" edittype="date" style="align:center middle;" class="text_center" text="bind:acpttm" mask="hh:mm:ss"/>
  215. <Cell col="22" displaytype="date" edittype="date" style="align:center middle;" class="text_center" text="bind:rsltrgstdd" mask="yyyy-MM-dd"/>
  216. <Cell col="23" displaytype="date" edittype="date" style="align:center middle;" class="text_center" text="bind:rsltrgsttm" mask="hh:mm:ss"/>
  217. <Cell col="24" style="align:center middle;" text="bind:acptno"/>
  218. <Cell col="25" style="align:center middle;" text="bind:orgprcpstatcd"/>
  219. <Cell col="26" style="align:center middle;" text="bind:testcd"/>
  220. <Cell col="27" style="align:center middle;" text="bind:spccd"/>
  221. <Cell col="28" style="align:center middle;" text="bind:prcpno"/>
  222. <Cell col="29" style="align:center middle;" text="bind:execprcpuniqno"/>
  223. <Cell col="30" style="align:center middle;" text="bind:rsltrgstno"/>
  224. <Cell col="31" style="align:center middle;" class="text_center" text="bind:rgstnm"/>
  225. <Cell col="32" text="bind:cncrjudgflagcd"/>
  226. <Cell col="33" text="bind:orgtestrslt"/>
  227. <Cell col="34" text="bind:inptdd"/>
  228. <Cell col="35" text="bind:inpttm"/>
  229. <Cell col="36" text="bind:extrpartcd"/>
  230. <Cell col="37" text="bind:extrmthdcd"/>
  231. <Cell col="38" text="bind:diagcd"/>
  232. <Cell col="39" text="bind:cmtcnts"/>
  233. <Cell col="40" text="bind:spckeepflagcd"/>
  234. <Cell col="41" text="bind:conccaseflagcd"/>
  235. <Cell col="42" text="bind:rslthideflagcd"/>
  236. <Cell col="43" text="bind:preprsltflagcd"/>
  237. <Cell col="44" text="bind:workflagcd"/>
  238. <Cell col="45" text="bind:trandd"/>
  239. <Cell col="46" text="bind:tranno"/>
  240. <Cell col="47" text="bind:choi"/>
  241. <Cell col="48" text="bind:rsltrgstid"/>
  242. <Cell col="49" text="bind:acptitemno"/>
  243. <Cell col="50" text="bind:orgacptstatcd"/>
  244. <Cell col="51" text="bind:prcpgenrflag"/>
  245. <Cell col="52" text="bind:scanyn"/>
  246. <Cell col="53" text="bind:formcd"/>
  247. <Cell col="54" text="bind:cretno"/>
  248. <Cell col="55" text="bind:orddd"/>
  249. <Cell col="56" text="bind:readdrid"/>
  250. <Cell col="57" text="bind:scrnid"/>
  251. <Cell col="58" text="bind:rsltcnts3"/>
  252. <Cell col="59" text="bind:rsltcnts4"/>
  253. <Cell col="60" text="bind:rsltcnts5"/>
  254. </Band>
  255. </Format>
  256. </Formats>
  257. </Grid>
  258. <Combo id="cmb_readdr" taborder="6" innerdataset="ds_init_cmb_readdr" codecolumn="userid" datacolumn="usernm" class="input_s_essential" position="absolute 182 91 292 110" anchor="left top"/>
  259. <Static id="caption48" text="판독의 지정" class="cell_1" position="absolute 99 91 179 110" anchor="left top"/>
  260. <Div id="grp_testlist" taborder="7" visible="false" position="absolute 108 81 663 550">
  261. <Layouts>
  262. <Layout>
  263. <Button id="btn_cfm" taborder="0" text="확인" class="btn4" position="absolute 440 440 496 462" anchor="default" onclick="grp_testlist_btn_cfm_onclick"/>
  264. <Button id="btn_cls" taborder="1" text="닫기" class="btn4" position="absolute 499 440 555 462" anchor="default" onclick="grp_testlist_btn_cls_onclick"/>
  265. <Grid id="grd_testlist" taborder="2" binddataset="ds_grd_testlist" useinputpanel="false" position="absolute 0 0 555 437" anchor="default">
  266. <Formats>
  267. <Format id="default">
  268. <Columns>
  269. <Column size="56"/>
  270. <Column size="0"/>
  271. <Column size="80"/>
  272. <Column size="200"/>
  273. <Column size="200"/>
  274. </Columns>
  275. <Rows>
  276. <Row size="24" band="head"/>
  277. <Row size="24"/>
  278. </Rows>
  279. <Band id="head">
  280. <Cell text="선택"/>
  281. <Cell col="1" text="기관코드"/>
  282. <Cell col="2" text="코드"/>
  283. <Cell col="3" text="명칭"/>
  284. <Cell col="4" text="약어"/>
  285. </Band>
  286. <Band id="body">
  287. <Cell text="bind:choi" edittype="checkbox" displaytype="checkbox"/>
  288. <Cell col="1" text="bind:instcd"/>
  289. <Cell col="2" text="bind:testcd"/>
  290. <Cell col="3" text="bind:testengnm"/>
  291. <Cell col="4" text="bind:testengabbr"/>
  292. </Band>
  293. </Format>
  294. </Formats>
  295. </Grid>
  296. </Layout>
  297. </Layouts>
  298. </Div>
  299. </Layout>
  300. </Layouts>
  301. <Objects>
  302. <Dataset id="ds_init_cbo_ptnocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  303. <ColumnInfo>
  304. <Column id="ptnonm" type="STRING"/>
  305. <Column id="ptnocd" type="STRING"/>
  306. </ColumnInfo>
  307. </Dataset>
  308. <Dataset id="ds_grd_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  309. <ColumnInfo>
  310. <Column id="instcd" type="STRING"/>
  311. <Column id="ptno" type="STRING"/>
  312. <Column id="dispptno" type="STRING"/>
  313. <Column id="scrn" type="STRING"/>
  314. <Column id="humspec" type="STRING"/>
  315. <Column id="testnm" type="STRING"/>
  316. <Column id="spcnm" type="STRING"/>
  317. <Column id="pid" type="STRING"/>
  318. <Column id="patnm" type="STRING"/>
  319. <Column id="bftestrslt" type="STRING"/>
  320. <Column id="testrslt" type="STRING"/>
  321. <Column id="sexage" type="STRING"/>
  322. <Column id="orddeptcd" type="STRING"/>
  323. <Column id="orddeptnm" type="STRING"/>
  324. <Column id="orddrid" type="STRING"/>
  325. <Column id="orddrnm" type="STRING"/>
  326. <Column id="specdrnm" type="STRING"/>
  327. <Column id="wardroom" type="STRING"/>
  328. <Column id="prcpdd" type="STRING"/>
  329. <Column id="prcptm" type="STRING"/>
  330. <Column id="acptdd" type="STRING"/>
  331. <Column id="acpttm" type="STRING"/>
  332. <Column id="rsltrgstdd" type="STRING"/>
  333. <Column id="rsltrgsttm" type="STRING"/>
  334. <Column id="acptno" type="STRING"/>
  335. <Column id="orgprcpstatcd" type="STRING"/>
  336. <Column id="testcd" type="STRING"/>
  337. <Column id="spccd" type="STRING"/>
  338. <Column id="prcpno" type="STRING"/>
  339. <Column id="execprcpuniqno" type="STRING"/>
  340. <Column id="rsltrgstno" type="STRING"/>
  341. <Column id="rgstnm" type="STRING"/>
  342. <Column id="cncrjudgflagcd" type="STRING"/>
  343. <Column id="orgtestrslt" type="STRING"/>
  344. <Column id="inptdd" type="STRING"/>
  345. <Column id="inpttm" type="STRING"/>
  346. <Column id="extrpartcd" type="STRING"/>
  347. <Column id="extrmthdcd" type="STRING"/>
  348. <Column id="diagcd" type="STRING"/>
  349. <Column id="cmtcnts" type="STRING"/>
  350. <Column id="spckeepflagcd" type="STRING"/>
  351. <Column id="conccaseflagcd" type="STRING"/>
  352. <Column id="rslthideflagcd" type="STRING"/>
  353. <Column id="preprsltflagcd" type="STRING"/>
  354. <Column id="workflagcd" type="STRING"/>
  355. <Column id="trandd" type="STRING"/>
  356. <Column id="tranno" type="STRING"/>
  357. <Column id="choi" type="STRING"/>
  358. <Column id="rsltrgstid" type="STRING"/>
  359. <Column id="acptitemno" type="STRING"/>
  360. <Column id="orgacptstatcd" type="STRING"/>
  361. <Column id="prcpgenrflag" type="STRING"/>
  362. <Column id="scanyn" type="STRING"/>
  363. <Column id="formcd" type="STRING"/>
  364. <Column id="cretno" type="STRING"/>
  365. <Column id="orddd" type="STRING"/>
  366. <Column id="readdrid" type="STRING"/>
  367. <Column id="scrnid" type="STRING"/>
  368. <Column id="rsltcnts3" type="STRING"/>
  369. <Column id="rsltcnts4" type="STRING"/>
  370. <Column id="rsltcnts5" type="STRING"/>
  371. </ColumnInfo>
  372. </Dataset>
  373. <Dataset id="ds_grd_testlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  374. <ColumnInfo>
  375. <Column id="choi" type="STRING"/>
  376. <Column id="instcd" type="STRING"/>
  377. <Column id="testcd" type="STRING"/>
  378. <Column id="testengnm" type="STRING"/>
  379. <Column id="testengabbr" type="STRING"/>
  380. </ColumnInfo>
  381. </Dataset>
  382. <Dataset id="ds_init_cmb_readdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  383. <ColumnInfo>
  384. <Column id="usernm" type="STRING"/>
  385. <Column id="userid" type="STRING"/>
  386. </ColumnInfo>
  387. <Rows>
  388. <Row/>
  389. </Rows>
  390. </Dataset>
  391. <Dataset id="ds_data_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  392. <ColumnInfo>
  393. <Column id="sysdd" type="STRING" size="256"/>
  394. <Column id="systm" type="STRING" size="256"/>
  395. </ColumnInfo>
  396. </Dataset>
  397. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  398. <ColumnInfo>
  399. <Column id="ptnocode" type="STRING" size="256"/>
  400. <Column id="fromyear" type="STRING" size="256"/>
  401. <Column id="fromptno" type="STRING" size="256"/>
  402. <Column id="toyear" type="STRING" size="256"/>
  403. <Column id="toptno" type="STRING" size="256"/>
  404. <Column id="acptfromdd" type="STRING" size="256"/>
  405. <Column id="acpttodd" type="STRING" size="256"/>
  406. <Column id="refmthdcd" type="STRING" size="256"/>
  407. <Column id="testcdlist" type="STRING" size="256"/>
  408. <Column id="testnmlist" type="STRING" size="256"/>
  409. <Column id="sysdt" type="STRING" size="256"/>
  410. <Column id="ptnocd" type="STRING" size="256"/>
  411. <Column id="testinfo" type="STRING" size="256"/>
  412. <Column id="pid" type="STRING" size="256"/>
  413. <Column id="userinfo" type="STRING" size="256"/>
  414. </ColumnInfo>
  415. <Rows>
  416. <Row/>
  417. </Rows>
  418. </Dataset>
  419. <Dataset id="ds_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  420. <ColumnInfo>
  421. <Column id="choi" type="STRING" size="256" sumtext="선택"/>
  422. <Column id="dutplceinstcd" type="STRING" size="256" sumtext="기관코드"/>
  423. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  424. <Column id="usernm" type="STRING" size="256" sumtext="사용자명"/>
  425. <Column id="jobkindcd" type="STRING" size="256" sumtext="직종구분코드"/>
  426. <Column id="userabbr" type="STRING" size="256" sumtext="직종구분코드"/>
  427. <Column id="mpphonno" type="STRING" size="256" sumtext="직종구분코드"/>
  428. </ColumnInfo>
  429. <Rows>
  430. <Row/>
  431. </Rows>
  432. </Dataset>
  433. <Dataset id="ds_hosoenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  434. <ColumnInfo>
  435. <Column id="instcd" type="STRING" size="256"/>
  436. <Column id="lendrtnterm" type="STRING" size="256"/>
  437. <Column id="recvqualmthdcd" type="STRING" size="256"/>
  438. <Column id="plgydeptcd" type="STRING" size="256"/>
  439. <Column id="plgyteamcd" type="STRING" size="256"/>
  440. <Column id="doctjobgradcd" type="STRING" size="256"/>
  441. <Column id="teamjobgradcd" type="STRING" size="256"/>
  442. </ColumnInfo>
  443. <Rows>
  444. <Row/>
  445. </Rows>
  446. </Dataset>
  447. <Dataset id="ds_bfptnolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  448. <ColumnInfo>
  449. <Column id="instcd" type="STRING" size="256"/>
  450. <Column id="ptno" type="STRING" size="256"/>
  451. <Column id="dispptno" type="STRING" size="256"/>
  452. <Column id="rsltrgstdd" type="STRING" size="256"/>
  453. <Column id="testrslt" type="STRING" size="256"/>
  454. </ColumnInfo>
  455. <Rows>
  456. <Row/>
  457. </Rows>
  458. </Dataset>
  459. </Objects>
  460. <Bind>
  461. <BindItem id="item1" compid="grp_sea.ipt_fromyear" propid="value" datasetid="ds_init" columnid="fromyear"/>
  462. <BindItem id="item0" compid="grp_sea.cbo_ptnocd" propid="value" datasetid="ds_init" columnid="ptnocode"/>
  463. <BindItem id="item2" compid="grp_sea.ipt_fromptno" propid="value" datasetid="ds_init" columnid="fromptno"/>
  464. <BindItem id="item3" compid="grp_sea.ipt_toyear" propid="value" datasetid="ds_init" columnid="toyear"/>
  465. <BindItem id="item4" compid="grp_sea.input1" propid="value" datasetid="ds_init" columnid="toptno"/>
  466. <BindItem id="item5" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_init" columnid="pid"/>
  467. <BindItem id="item6" compid="grp_sea.ipt_ddfrom" propid="value" datasetid="ds_init" columnid="acptfromdd"/>
  468. <BindItem id="item7" compid="grp_sea.ipt_acpttodd" propid="value" datasetid="ds_init" columnid="acpttodd"/>
  469. <BindItem id="item8" compid="grp_sea.cmbseaflagcd" propid="value" datasetid="ds_init" columnid="refmthdcd"/>
  470. <BindItem id="item9" compid="grp_sea.opt_testnmlist" propid="value" datasetid="ds_init" columnid="testnmlist"/>
  471. </Bind>
  472. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  473. * System Name :
  474. * Job Name :
  475. * Creator :
  476. * Make Date : 2015-11-13
  477. * Description :
  478. *---------------------------------------------------------------------------------------
  479. * Modify Date Modifier Modify Description
  480. *---------------------------------------------------------------------------------------
  481. * 2015-11-13 Live Converter TF->XP
  482. *
  483. *---------------------------------------------------------------------------------------
  484. ****************************************************************************************/
  485. include "com_commonxp::comm_main.xjs";
  486. include "lis_commonxp::LPZ001.xjs";
  487. function SMLPR01900_oninit(obj:Form, e:InitEventInfo)
  488. {
  489. frmf_initForm(obj);
  490. }
  491. function SMLPR01900_onload(obj:Form, e:LoadEventInfo)
  492. {
  493. grdf_initGrid(grd_prcplist);
  494. grdf_initGrid(grp_testlist.grd_testlist);
  495. fExeInitialize();
  496. }
  497. //초기화
  498. function fExeInitialize()
  499. {
  500. var sCurDate = "";
  501. dsf_createDsRow("ds_send", [{col: "instcd", val: sysf_getUserInfo("dutplceinstcd")}]);
  502. var oParam = {};
  503. oParam.id = "TRLPZ00102";
  504. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  505. oParam.method = "reqGetSystemDateTimeInformation";
  506. oParam.inds = "refData=ds_send";
  507. oParam.outds = "ds_data_sysdtinfo=sysdtinfo";
  508. oParam.async = false;
  509. //oParam.callback = "cf_TRLPZ00102";
  510. tranf_submit(oParam);
  511. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  512. ,{col : "refflagcd", val : "0"}]);
  513. var oParam = {};
  514. oParam.id = "TRLPZ00109";
  515. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  516. oParam.method = "reqGetPtNoCdList";
  517. oParam.inds = "refdata=ds_send";
  518. oParam.outds = "ds_init_cbo_ptnocd=rsltlist";
  519. oParam.async = false;
  520. //oParam.callback = "cf_TRLPZ00109";
  521. tranf_submit(oParam);
  522. var sCurDate = ds_data_sysdtinfo.getColumn(0, "sysdd");
  523. ds_init.setColumn(0, "acptfromdd", ds_data_sysdtinfo.getColumn(0, "sysdd"));
  524. ds_init.setColumn(0, "acpttodd", ds_data_sysdtinfo.getColumn(0, "sysdd"));
  525. ds_init.setColumn(0, "ptnocode", "");
  526. ds_init.setColumn(0, "fromyear", sCurDate.substr(2,2));
  527. ds_init.setColumn(0, "toyear", sCurDate.substr(2,2));
  528. ds_init.setColumn(0, "fromptno", "");
  529. ds_init.setColumn(0, "toptno", "");
  530. ds_init.setColumn(0, "refmthdcd", "2");
  531. ds_init.setColumn(0, "ptnocode", "M");
  532. //검사코드 목록 조회 처리
  533. fGetTestCdList();
  534. var oParam = {};
  535. oParam.id = "TRLPZ00101";
  536. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  537. oParam.method = "reqGetHospitalEnvironmentSetInfo";
  538. oParam.inds = "refData=ds_send";
  539. oParam.outds = "ds_hosoenvinfo=hospenvinfo";
  540. oParam.async = false;
  541. //oParam.callback = "cf_TRLPZ00101";
  542. tranf_submit(oParam);
  543. var userdeptcd = sysf_getUserInfo("dutplcecd");
  544. var doctjobgradcd = ds_hosoenvinfo.getColumn(0, "doctjobgradcd");
  545. var teamjobgradcd = ds_hosoenvinfo.getColumn(0, "teamjobgradcd");
  546. dsf_createDsRow("ds_send" ,[{col: "instcd", val:sysf_getUserInfo("dutplceinstcd")}
  547. ,{col: "userdeptcd", val:userdeptcd }
  548. ,{col: "doctjobgradcd", val:doctjobgradcd }
  549. ,{col: "teamjobgradcd", val:teamjobgradcd }]);
  550. var oParam = {};
  551. oParam.id = "TRLPZ00105";
  552. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  553. oParam.method = "reqGetUserInfoList";
  554. oParam.inds = "refdata=ds_send";
  555. oParam.outds = "ds_userinfolist=reflist";
  556. oParam.async = false;
  557. //oParam.callback = "cf_TRLPZ00105";
  558. tranf_submit(oParam);
  559. fdsf_createDsFilter("ds_cmb_readdr", "ds_userinfolist", "jobkindcd=='1'");
  560. //육안검사의
  561. cmb_readdr.innerdataset = ds_cmb_readdr;
  562. cmb_readdr.codecolumn = "userid";
  563. cmb_readdr.datacolumn = "usernm";
  564. }
  565. //검사코드 목록 조회 처리
  566. function fGetTestCdList()
  567. {
  568. dsf_createDsRow("ds_send", [{col : "delflagcd", val : "0"}
  569. ,{col : "refflag", val : "1"}
  570. ,{col : "refval", val : "PM"}
  571. ,{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
  572. var oParam = {};
  573. oParam.id = "TRLPC00401";
  574. oParam.service = "plgybaseinfomngtapp.TestCode";
  575. oParam.method = "reqGetTestCodeList";
  576. oParam.inds = "refData=ds_send";
  577. oParam.outds = "ds_grd_testlist=rsltlist";
  578. oParam.async = false;
  579. //oParam.callback = "cf_TRLPC00401";
  580. tranf_submit(oParam);
  581. }
  582. function fGetMoleList()
  583. {
  584. var sTemp = "";
  585. var sFromDD = ds_init.getColumn(0, "acptfromdd");
  586. var sToDD = ds_init.getColumn(0, "acpttodd");
  587. if( !utlf_isNull(ds_init.getColumn(0, "ptnocode")))
  588. {
  589. if( utlf_isNull(ds_init.getColumn(0, "fromyear")))
  590. {
  591. ds_init.setColumn(0, "fromyear", sFromDD.substr(2,2));
  592. }
  593. else
  594. {
  595. sTemp = ds_init.getColumn(0, "fromyear");
  596. ds_init.setColumn(0, "fromyear", sTemp.getLeftPad(2, "0"));
  597. }
  598. if( utlf_isNull(ds_init.getColumn(0, "toyear")))
  599. {
  600. ds_init.setColumn(0, "toyear", sToDD.substr(2,2));
  601. }
  602. else
  603. {
  604. sTemp = ds_init.getColumn(0, "toyear");
  605. ds_init.setColumn(0, "toyear", sTemp.getLeftPad(2, "0"));
  606. }
  607. if( utlf_isNull(ds_init.getColumn(0, "fromptno")))
  608. {
  609. ds_init.setColumn(0, "fromptno", "000000");
  610. }
  611. else
  612. {
  613. sTemp = ds_init.getColumn(0, "fromptno");
  614. ds_init.setColumn(0, "fromptno", sTemp.getLeftPad(6, "0"));
  615. }
  616. if( utlf_isNull(ds_init.getColumn(0, "toptno")))
  617. {
  618. ds_init.setColumn(0, "toptno", "999999");
  619. }
  620. else
  621. {
  622. sTemp = ds_init.getColumn(0, "toptno");
  623. ds_init.setColumn(0, "toptno", sTemp.getLeftPad(6, "0"));
  624. }
  625. }
  626. sTemp = ds_init.getColumn(0, "ptnocode");
  627. dsf_createDsRow("ds_send" ,[{col: "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  628. ,{col: "ptnocode", val : sTemp.replace("-", "") }
  629. ,{col: "fromyear", val : ds_init.getColumn(0, "fromyear") }
  630. ,{col: "fromptno", val : ds_init.getColumn(0, "fromptno") }
  631. ,{col: "toyear", val : ds_init.getColumn(0, "toyear") }
  632. ,{col: "toptno", val : ds_init.getColumn(0, "toptno") }
  633. ,{col: "acptfromdd", val : ds_init.getColumn(0, "acptfromdd") }
  634. ,{col: "acpttodd", val : ds_init.getColumn(0, "acpttodd") }
  635. ,{col: "refmthdcd", val : ds_init.getColumn(0, "refmthdcd") }
  636. ,{col: "pid", val : ds_init.getColumn(0, "pid") }
  637. ,{col: "testcdlist", val : ds_init.getColumn(0, "testcdlist")}
  638. ,{col: "ptno", val : ""}
  639. ,{col: "workflagcd", val : "1007"}]);
  640. var oParam = {};
  641. oParam.id = "TRLPR01901";
  642. oParam.service = "plgyrsltmngtapp.TestRsltRgst";
  643. oParam.method = "reqGetMoleAcptList";
  644. oParam.inds = "reqData=ds_send";
  645. oParam.outds = "ds_grd_prcplist=refrslt ds_bfptnolist=bfptnolist";
  646. oParam.async = false;
  647. //oParam.callback = "cf_TRLPR01901";
  648. tranf_submit(oParam);
  649. }
  650. //검사코드 선택 처리 Function
  651. function fExeTestItemChoi()
  652. {
  653. var iFindNo = 0;
  654. var sTestCd = "";
  655. var sTestNm = "";
  656. var bState = false;
  657. var sNode = ds_grd_testlist;
  658. iFindNo = ds_grd_testlist.findRow("choi", "1");
  659. if (Number(iFindNo) < 0)
  660. {
  661. ds_init.setColumn(0, "testcdlist", "");
  662. ds_init.setColumn(0, "testnmlist", "");
  663. grp_testlist.visible = false;
  664. return false;
  665. }
  666. //-----------------------------------------------------
  667. for (var iNo = 0; iNo <= ds_grd_testlist.rowcount; iNo++)
  668. {
  669. if(ds_grd_testlist.getColumn(iNo, "choi") == "1")
  670. {
  671. if (bState)
  672. {
  673. sTestCd += ", '" + ds_grd_testlist.getColumn(iNo, "testcd") + "'";
  674. sTestNm += ", " + ds_grd_testlist.getColumn(iNo, "testengnm");
  675. }
  676. else
  677. {
  678. sTestCd += "'" + ds_grd_testlist.getColumn(iNo, "testcd") + "'";
  679. sTestNm += ds_grd_testlist.getColumn(iNo, "testengnm");
  680. bState = true;
  681. }
  682. }
  683. }
  684. ds_init.setColumn(0, "testcdlist", sTestCd);
  685. ds_init.setColumn(0, "testnmlist", sTestNm);
  686. grp_testlist.visible = false;
  687. }
  688. //검사결과 등록 시 처리 Function
  689. function fExeRsltSave()
  690. {
  691. var sNode = ds_grd_prcplist
  692. var bState = false;
  693. var iMaxRowCnt = 0;
  694. iMaxRowCnt = ds_grd_prcplist.rowcount;
  695. for(var iNo = 0; iNo <= iMaxRowCnt; iNo++)
  696. {
  697. if(ds_grd_prcplist.getColumn(iNo, "testrslt") != ds_grd_prcplist.getColumn(iNo, "orgtestrslt"))
  698. {
  699. ds_grd_prcplist.setRowType(iNo, "insert");
  700. ds_grd_prcplist.setColumn(iNo, "choi", "true");
  701. ds_grd_prcplist.setColumn(iNo, "rsltrgstid", sysf_getUserInfo("userid"));
  702. ds_grd_prcplist.setColumn(iNo, "scrnid", "SMLPR01900");
  703. if( !utlf_isNull(cmb_readdr.value) && cmb_readdr.value != "-" && cmb_readdr.value != "AO")
  704. {
  705. ds_grd_prcplist.setColumn(iNo, "readdrid", cmb_readdr.value);
  706. }
  707. else
  708. {
  709. ds_grd_prcplist.setColumn(iNo, "readdrid", "-");
  710. }
  711. bState = true;
  712. }
  713. }
  714. if (!bState)
  715. {
  716. sysf_messageBox("변경된 결과가 없습니다! 저장", "E001");
  717. return false;
  718. }
  719. var tmp = grdf_getGridUpdateData(grd_prcplist, "all");
  720. grdf_setStatusColumn(tmp, "status");
  721. ds_send.copyData(tmp, true);
  722. var oParam = {};
  723. oParam.id = "TXLPR00103";
  724. oParam.service = "plgyrsltmngtapp.TestRsltRgst";
  725. oParam.method = "reqExeMoleIFRslt";
  726. oParam.inds = "moletestlist=ds_send";
  727. oParam.async = false;
  728. //oParam.callback = "cf_TXLPR00103";
  729. tranf_submit(oParam);
  730. }
  731. //검사명조회
  732. function grp_sea_btn_bloc_onclick(obj:Button, e:ClickEventInfo)
  733. {
  734. grp_testlist.visible = true;
  735. }
  736. //확인
  737. function grp_testlist_btn_cfm_onclick(obj:Button, e:ClickEventInfo)
  738. {
  739. fExeTestItemChoi();
  740. }
  741. //취소
  742. function grp_testlist_btn_cls_onclick(obj:Button, e:ClickEventInfo)
  743. {
  744. grp_testlist.visible = false;
  745. }
  746. //조회
  747. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  748. {
  749. fGetMoleList();
  750. }
  751. //저장
  752. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  753. {
  754. fExeRsltSave();
  755. }
  756. //엑셀저장
  757. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  758. {
  759. grdf_exportExcel(grd_prcplist, "검사항목별 결과등록", "sheet1", false);
  760. }
  761. function grp_sea_ipt_acpttodd_onkeyup(obj:Calendar, e:KeyEventInfo)
  762. {
  763. if(e.keycode == 13)
  764. {
  765. fGetMoleList();
  766. }
  767. }
  768. ]]></Script>
  769. </Form>
  770. </FDL>