SMLMP00500_결핵균검사의뢰조회.xfdl 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLMP00500" position="absolute 0 0 1199 799" titletext="결핵 양성율 통계" oninit="SMLMP00500_oninit" onload="SMLMP00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Button id="button5" taborder="1" text="초기화" class="btn4" position="absolute 1127 32 1195 54" onclick="button5_onclick" anchor="top right"/>
  8. <Button id="btn_prntset" taborder="2" text="프린터설정" class="btn6" position="absolute 0 32 89 54" onclick="btn_prntset_onclick"/>
  9. <Static id="cap_title" text="결핵양성율 통계" class="tit_1" position="absolute 0 0 149 30"/>
  10. <Div id="group2" taborder="3" position="absolute 0 56 1195 109" class="div_SA2" anchor="left top right">
  11. <Layouts>
  12. <Layout>
  13. <Edit id="input3" taborder="16" class="input_search" visible="false" position="absolute 1152 17 1172 36" anchor="top right"/>
  14. <Button id="btn_search" taborder="11" text="조회" class="btn1" position="absolute 1135 15 1191 37" onclick="group2_btn_search_onclick" anchor="default"/>
  15. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1129 16 1135 38" anchor="default"/>
  16. <Static id="caption3" text="~" class="search_no_b" position="absolute 205 20 220 37" anchor="default"/>
  17. <Radio id="radio1" taborder="14" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 754 25 963 42" onitemchanged="group2_radio1_onitemchanged" anchor="default" visible="false">
  18. <Dataset id="innerdataset">
  19. <ColumnInfo>
  20. <Column id="codecolumn"/>
  21. <Column id="datacolumn"/>
  22. </ColumnInfo>
  23. <Rows>
  24. <Row>
  25. <Col id="codecolumn">1</Col>
  26. <Col id="datacolumn">미검</Col>
  27. </Row>
  28. <Row>
  29. <Col id="codecolumn">2</Col>
  30. <Col id="datacolumn">접수</Col>
  31. </Row>
  32. <Row>
  33. <Col id="codecolumn">3</Col>
  34. <Col id="datacolumn">최종보고</Col>
  35. </Row>
  36. </Rows>
  37. </Dataset>
  38. </Radio>
  39. <Static id="caption4" text="조회구분 :" class="search_name" position="absolute 700 25 789 42" anchor="top right" visible="false"/>
  40. <Edit id="input2" taborder="15" class="input_search" position="absolute 971 20 1066 39" onkeyup="group2_input2_onkeyup" anchor="top right" visible="false"/>
  41. <Static id="caption5" text="장" visible="false" position="absolute 1168 20 1193 40" anchor="top right"/>
  42. <CheckBox id="checkbox1" taborder="17" position="absolute 686 20 741 40" text="6개월" onclick="group2_checkbox1_onclick" value="false" anchor="default" visible="false"/>
  43. <Combo id="combo1" taborder="18" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 918 25 1018 44" anchor="top right" visible="false">
  44. <Dataset id="innerdataset">
  45. <ColumnInfo>
  46. <Column id="codecolumn"/>
  47. <Column id="datacolumn"/>
  48. </ColumnInfo>
  49. <Rows>
  50. <Row>
  51. <Col id="codecolumn">1</Col>
  52. <Col id="datacolumn">등록번호</Col>
  53. </Row>
  54. <Row>
  55. <Col id="codecolumn">2</Col>
  56. <Col id="datacolumn">바코드번호</Col>
  57. </Row>
  58. <Row>
  59. <Col id="codecolumn">3</Col>
  60. <Col id="datacolumn">환자성명</Col>
  61. </Row>
  62. <Row>
  63. <Col id="codecolumn">4</Col>
  64. <Col id="datacolumn">작업번호</Col>
  65. </Row>
  66. </Rows>
  67. </Dataset>
  68. </Combo>
  69. <Combo id="combo2" taborder="19" innerdataset="ds_init_combo2" codecolumn="cd" datacolumn="nm" position="absolute 826 22 961 41" anchor="top" visible="false"/>
  70. <Radio id="radio2" taborder="20" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" class="radio_search" position="absolute 756 15 941 32" anchor="default" visible="false">
  71. <Dataset id="innerdataset">
  72. <ColumnInfo>
  73. <Column id="codecolumn"/>
  74. <Column id="datacolumn"/>
  75. </ColumnInfo>
  76. <Rows>
  77. <Row>
  78. <Col id="codecolumn">1</Col>
  79. <Col id="datacolumn">전체</Col>
  80. </Row>
  81. <Row>
  82. <Col id="codecolumn">2</Col>
  83. <Col id="datacolumn">입원</Col>
  84. </Row>
  85. <Row>
  86. <Col id="codecolumn">3</Col>
  87. <Col id="datacolumn">외래</Col>
  88. </Row>
  89. </Rows>
  90. </Dataset>
  91. </Radio>
  92. <Button id="btn_help" taborder="23" onclick="div_search_btn_help_onclick" class="icon_search" position="absolute 1110 21 1131 41" anchor="default"/>
  93. <Combo id="combo00" taborder="21" innerdataset="ds_init_lb0103" codecolumn="cd" datacolumn="nm" onitemchanged="div_search_cmb_testGrp_onitemchanged" class="combo_search" position="absolute 431 18 561 38" anchor="default"/>
  94. <Edit id="ipt_tclscdlist" taborder="22" class="input_search" position="absolute 564 18 1108 38" anchor="default"/>
  95. <Static id="caption2" text="접수일 :" class="search_name" position="absolute 14 20 88 37" anchor="default"/>
  96. <Calendar id="ipt_fromdd" taborder="12" class="input_s_essential" position="absolute 94 19 200 38" anchor="default"/>
  97. <Calendar id="ipt_todd" taborder="13" class="input_s_essential" position="absolute 220 19 326 38" onkeyup="group2_ipt_todd_onkeyup" anchor="default"/>
  98. <Static id="caption00" text="검사항목선택" class="search_name" position="absolute 332 18 426 38" anchor="default"/>
  99. </Layout>
  100. </Layouts>
  101. </Div>
  102. <Static id="caption1" text="미생물검사리스트" class="tit_2" position="absolute 1 131 178 148"/>
  103. <Grid id="grd_testlist" taborder="4" binddataset="ds_grd_testlist" useinputpanel="false" position="absolute 0 149 1194 536" oncelldblclick="grd_testlist_oncelldblclick" anchor="left top" cellsizingtype="col">
  104. <Formats>
  105. <Format id="default">
  106. <Columns>
  107. <Column size="68"/>
  108. <Column size="78"/>
  109. <Column size="120"/>
  110. <Column size="70"/>
  111. <Column size="70"/>
  112. <Column size="120"/>
  113. <Column size="50"/>
  114. <Column size="100"/>
  115. <Column size="65"/>
  116. <Column size="219"/>
  117. <Column size="71"/>
  118. <Column size="125"/>
  119. <Column size="200"/>
  120. <Column size="100"/>
  121. <Column size="100"/>
  122. <Column size="120"/>
  123. <Column size="100"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. </Columns>
  129. <Rows>
  130. <Row size="24" band="head"/>
  131. <Row size="24"/>
  132. </Rows>
  133. <Band id="head">
  134. <Cell/>
  135. <Cell col="1" text="처방일자"/>
  136. <Cell col="2" text="접수일"/>
  137. <Cell col="3" text="등록번호"/>
  138. <Cell col="4" text="환자명"/>
  139. <Cell col="5" text="작업번호"/>
  140. <Cell col="6" text="의뢰과"/>
  141. <Cell col="7" text="병실"/>
  142. <Cell col="8" text="상태"/>
  143. <Cell col="9" text="검사명"/>
  144. <Cell col="10" text="검체명"/>
  145. <Cell col="11" text="결과일시"/>
  146. <Cell col="12" text="결과"/>
  147. <Cell col="13" text="외부의뢰일"/>
  148. <Cell col="14" text="의뢰항목"/>
  149. <Cell col="15" text="외부의뢰 결과일"/>
  150. <Cell col="16" text="Comment"/>
  151. <Cell col="17" text="bcno"/>
  152. <Cell col="18" text="sex"/>
  153. <Cell col="19" text="patage"/>
  154. <Cell col="20" text="orddrnm"/>
  155. </Band>
  156. <Band id="body">
  157. <Cell text="expr:currow + 1"/>
  158. <Cell col="1" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  159. <Cell col="2" displaytype="date" edittype="date" text="bind:spcacptdt" mask="yyyy-MM-dd hh:mm:ss"/>
  160. <Cell col="3" text="bind:pid"/>
  161. <Cell col="4" text="bind:hngnm"/>
  162. <Cell col="5" text="bind:workno"/>
  163. <Cell col="6" text="bind:orddeptnm"/>
  164. <Cell col="7" text="bind:roomcd"/>
  165. <Cell col="8" text="bind:spcstat"/>
  166. <Cell col="9" text="bind:tclsnm"/>
  167. <Cell col="10" text="bind:spcnm"/>
  168. <Cell col="11" displaytype="text" edittype="text" style="align:center;" text="bind:rsltrgstdt" mask="expr:utlf_isNull(rsltrgstdt) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  169. <Cell col="12" text="bind:reptrslt"/>
  170. <Cell col="13" displaytype="text" edittype="text" text="bind:reqdt" mask="expr:utlf_isNull(rsltrgstdt) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  171. <Cell col="14" text="bind:reqkind"/>
  172. <Cell col="15" displaytype="text" edittype="text" text="bind:reqlastreptdt" mask="expr:utlf_isNull(rsltrgstdt) ? &quot;&quot; : &quot;####-##-##&quot;"/>
  173. <Cell col="16" text="bind:prcpremfact"/>
  174. <Cell col="17" text="bind:bcno"/>
  175. <Cell col="18" text="bind:sex"/>
  176. <Cell col="19" text="bind:patage"/>
  177. <Cell col="20" text="bind:orddrnm"/>
  178. </Band>
  179. </Format>
  180. </Formats>
  181. </Grid>
  182. <Button id="btn_excel" taborder="5" text="엑셀" class="btn7" position="absolute 1144 126 1195 146" onclick="btn_excel_onclick" anchor="top right"/>
  183. <Static id="caption8" text="선택된 바코드 :" class="tit_2" position="absolute 270 131 384 149"/>
  184. <Edit id="input1" taborder="6" position="absolute 384 127 489 146"/>
  185. <Button id="button3" taborder="7" text="출력" class="btn6" position="absolute 491 126 544 145" onclick="button3_onclick" visible="false"/>
  186. <Edit id="input4" taborder="8" position="absolute 688 126 768 145"/>
  187. <Static id="caption10" text="선택된 등록번호 :" class="tit_2" position="absolute 555 131 682 147"/>
  188. <Grid id="grd_testlist00" taborder="9" binddataset="ds_grd_sum" useinputpanel="false" oncelldblclick="grd_testlist_oncelldblclick" position="absolute -2 573 1192 760" anchor="left top" cellsizebandtype="body" cellsizingtype="col">
  189. <Formats>
  190. <Format id="default">
  191. <Columns>
  192. <Column size="59"/>
  193. <Column size="70"/>
  194. <Column size="473"/>
  195. <Column size="120"/>
  196. <Column size="0"/>
  197. <Column size="0"/>
  198. <Column size="0"/>
  199. <Column size="0"/>
  200. <Column size="96"/>
  201. <Column size="101"/>
  202. </Columns>
  203. <Rows>
  204. <Row size="24" band="head"/>
  205. <Row size="24"/>
  206. </Rows>
  207. <Band id="head">
  208. <Cell text="순번"/>
  209. <Cell col="1" text="검사코드"/>
  210. <Cell col="2" text="검사명"/>
  211. <Cell col="3" text="검사건수"/>
  212. <Cell col="4" text="bcno"/>
  213. <Cell col="5" text="sex"/>
  214. <Cell col="6" text="patage"/>
  215. <Cell col="7" text="orddrnm"/>
  216. <Cell col="8" text="양성건수"/>
  217. <Cell col="9" text="양성율"/>
  218. </Band>
  219. <Band id="body">
  220. <Cell text="expr:currow + 1"/>
  221. <Cell col="1" text="bind:testcd"/>
  222. <Cell col="2" style="align:left;" text="bind:tclsnm"/>
  223. <Cell col="3" text="bind:cnt"/>
  224. <Cell col="4" text="bind:bcno"/>
  225. <Cell col="5" text="bind:sex"/>
  226. <Cell col="6" text="bind:patage"/>
  227. <Cell col="7" text="bind:orddrnm"/>
  228. <Cell col="8" text="bind:posicnt"/>
  229. <Cell col="9" text="bind:youl"/>
  230. </Band>
  231. </Format>
  232. </Formats>
  233. </Grid>
  234. <Static id="caption00" text="양성율" class="tit_2" position="absolute -3 551 128 568"/>
  235. </Layout>
  236. </Layouts>
  237. <Objects>
  238. <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  239. <ColumnInfo>
  240. <Column id="nm" type="STRING"/>
  241. <Column id="cd" type="STRING"/>
  242. </ColumnInfo>
  243. </Dataset>
  244. <Dataset id="ds_grd_testlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  245. <ColumnInfo>
  246. <Column id="prcpdd" type="STRING"/>
  247. <Column id="spcacptdt" type="STRING"/>
  248. <Column id="pid" type="STRING"/>
  249. <Column id="hngnm" type="STRING"/>
  250. <Column id="workno" type="STRING"/>
  251. <Column id="orddeptnm" type="STRING"/>
  252. <Column id="roomcd" type="STRING"/>
  253. <Column id="spcstat" type="STRING"/>
  254. <Column id="tclsnm" type="STRING"/>
  255. <Column id="spcnm" type="STRING"/>
  256. <Column id="rsltrgstdt" type="STRING"/>
  257. <Column id="reptrslt" type="STRING"/>
  258. <Column id="reqdt" type="STRING"/>
  259. <Column id="reqkind" type="STRING"/>
  260. <Column id="reqlastreptdt" type="STRING"/>
  261. <Column id="prcpremfact" type="STRING"/>
  262. <Column id="bcno" type="STRING"/>
  263. <Column id="sex" type="STRING"/>
  264. <Column id="patage" type="STRING"/>
  265. <Column id="orddrnm" type="STRING"/>
  266. <Column id="spccd" type="STRING" size="256"/>
  267. <Column id="tclscd" type="STRING" size="256"/>
  268. </ColumnInfo>
  269. </Dataset>
  270. <Dataset id="ds_init_LB0104" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  271. <ColumnInfo>
  272. <Column id="nm" type="STRING" size="256"/>
  273. <Column id="cd" type="STRING" size="256"/>
  274. </ColumnInfo>
  275. </Dataset>
  276. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  277. <ColumnInfo>
  278. <Column id="srchflag" type="STRING" size="256"/>
  279. <Column id="fromdd" type="STRING" size="256"/>
  280. <Column id="todd" type="STRING" size="256"/>
  281. <Column id="searchtext" type="STRING" size="256"/>
  282. <Column id="getgbn" type="STRING" size="256"/>
  283. <Column id="getgroup" type="STRING" size="256"/>
  284. <Column id="ioflag" type="STRING" size="256"/>
  285. <Column id="codeflag" type="STRING" size="256"/>
  286. <Column id="tclscdlist" type="STRING" size="256"/>
  287. </ColumnInfo>
  288. <Rows>
  289. <Row>
  290. <Col id="srchflag">2</Col>
  291. <Col id="getgbn">1</Col>
  292. <Col id="getgroup">00</Col>
  293. <Col id="ioflag">1</Col>
  294. </Row>
  295. </Rows>
  296. </Dataset>
  297. <Dataset id="ds_barcodeinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  298. <ColumnInfo>
  299. <Column id="tsectlblnm" type="STRING" size="256"/>
  300. <Column id="tsectlblnm2" type="STRING" size="256"/>
  301. <Column id="bcno" type="STRING" size="256"/>
  302. <Column id="barcdprndt" type="STRING" size="256"/>
  303. <Column id="patnm" type="STRING" size="256"/>
  304. <Column id="patnm2" type="STRING" size="256"/>
  305. <Column id="pid" type="STRING" size="256"/>
  306. <Column id="sexage" type="STRING" size="256"/>
  307. <Column id="deptroom" type="STRING" size="256"/>
  308. <Column id="spclblnm" type="STRING" size="256"/>
  309. <Column id="tubelblnm" type="STRING" size="256"/>
  310. <Column id="secttsect" type="STRING" size="256"/>
  311. <Column id="tclslblnmlist" type="STRING" size="256"/>
  312. <Column id="tclslblnmlist2" type="STRING" size="256"/>
  313. <Column id="infcinfolist" type="STRING" size="256"/>
  314. <Column id="erprcpflag" type="STRING" size="256"/>
  315. <Column id="bcollbarcdprntcnt" type="STRING" size="256"/>
  316. <Column id="spcacptbarcdprntcnt" type="STRING" size="256"/>
  317. <Column id="microbarcdprntcnt" type="STRING" size="256"/>
  318. <Column id="mdiabarcdprntcnt" type="STRING" size="256"/>
  319. <Column id="workno" type="STRING" size="256"/>
  320. <Column id="orddrnm" type="STRING" size="256"/>
  321. <Column id="roomcd" type="STRING" size="256"/>
  322. <Column id="dept" type="STRING" size="256"/>
  323. <Column id="spcacptdd" type="STRING" size="256"/>
  324. <Column id="dnornm" type="STRING" size="256"/>
  325. <Column id="divgrupcd" type="STRING" size="256"/>
  326. <Column id="divgrupnm" type="STRING" size="256"/>
  327. <Column id="prcphopedd" type="STRING" size="256"/>
  328. <Column id="bedposcnts" type="STRING" size="256"/>
  329. <Column id="prntkind" type="STRING" size="256"/>
  330. <Column id="prntsetupinfo" type="STRING" size="256"/>
  331. </ColumnInfo>
  332. <Rows>
  333. <Row/>
  334. </Rows>
  335. </Dataset>
  336. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  337. <ColumnInfo>
  338. <Column id="chkm" type="STRING" size="256"/>
  339. <Column id="bcnoinfo" type="STRING" size="256"/>
  340. <Column id="tclscd" type="STRING" size="256"/>
  341. <Column id="pid" type="STRING" size="256"/>
  342. </ColumnInfo>
  343. <Rows>
  344. <Row/>
  345. </Rows>
  346. </Dataset>
  347. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  348. <ColumnInfo>
  349. <Column id="bcno" type="STRING" size="256"/>
  350. <Column id="hngnm" type="STRING" size="256"/>
  351. <Column id="sex" type="STRING" size="256"/>
  352. <Column id="patage" type="STRING" size="256"/>
  353. <Column id="roomcd" type="STRING" size="256"/>
  354. <Column id="orddeptnm" type="STRING" size="256"/>
  355. <Column id="orddrnm" type="STRING" size="256"/>
  356. <Column id="spccd" type="STRING" size="256"/>
  357. <Column id="pid" type="STRING" size="256"/>
  358. <Column id="tclscd" type="STRING" size="256"/>
  359. <Column id="spcacptdt" type="STRING" size="256"/>
  360. </ColumnInfo>
  361. <Rows>
  362. <Row/>
  363. </Rows>
  364. </Dataset>
  365. <Dataset id="ds_grd_sum" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  366. <ColumnInfo>
  367. <Column id="testcd" type="STRING"/>
  368. <Column id="tclsnm" type="STRING"/>
  369. <Column id="cnt" type="STRING"/>
  370. <Column id="posicnt" type="STRING" size="256"/>
  371. <Column id="youl" type="STRING" size="256"/>
  372. </ColumnInfo>
  373. </Dataset>
  374. <Dataset id="ds_main_testgrupdetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  375. <Dataset id="ds_hidden_ref_tclscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_hidden_ref_tclscdlist_oncolumnchanged">
  376. <ColumnInfo>
  377. <Column id="tclscdlist" type="STRING" size="256"/>
  378. <Column id="tclsnmlist" type="STRING" size="256"/>
  379. <Column id="tclscdlist2" type="STRING" size="256"/>
  380. <Column id="testgrup" type="STRING" size="256"/>
  381. </ColumnInfo>
  382. <Rows>
  383. <Row>
  384. <Col id="tclscdlist"/>
  385. <Col id="tclsnmlist"/>
  386. <Col id="tclscdlist2"/>
  387. <Col id="testgrup"/>
  388. </Row>
  389. </Rows>
  390. </Dataset>
  391. <Dataset id="ds_init_lb0103" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  392. <ColumnInfo>
  393. <Column id="cd" type="STRING"/>
  394. <Column id="nm" type="STRING"/>
  395. </ColumnInfo>
  396. </Dataset>
  397. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  398. <ColumnInfo>
  399. <Column id="codeflag" type="STRING" size="256"/>
  400. <Column id="testmdlcd" type="STRING" size="256"/>
  401. <Column id="testgrupnm" type="STRING" size="256"/>
  402. <Column id="grddata" type="STRING" size="256"/>
  403. <Column id="gruprow" type="STRING" size="256"/>
  404. <Column id="detlrow" type="STRING" size="256"/>
  405. <Column id="searchflag" type="STRING" size="256"/>
  406. <Column id="searchtext" type="STRING" size="256"/>
  407. <Column id="userdeptflagcd" type="STRING" size="256"/>
  408. <Column id="nuflag" type="STRING" size="256"/>
  409. </ColumnInfo>
  410. <Rows>
  411. <Row>
  412. <Col id="codeflag"/>
  413. <Col id="testmdlcd"/>
  414. <Col id="testgrupnm"/>
  415. <Col id="grddata"/>
  416. <Col id="gruprow"/>
  417. <Col id="detlrow"/>
  418. <Col id="searchflag"/>
  419. <Col id="searchtext"/>
  420. <Col id="userdeptflagcd"/>
  421. <Col id="nuflag"/>
  422. </Row>
  423. </Rows>
  424. </Dataset>
  425. </Objects>
  426. <Bind>
  427. <BindItem id="item0" compid="input4" propid="value" datasetid="ds_grd_testlist" columnid="pid"/>
  428. <BindItem id="item1" compid="input1" propid="value" datasetid="ds_grd_testlist" columnid="bcno"/>
  429. <BindItem id="item2" compid="group2.checkbox1" propid="value" datasetid="ds_temp_chkm" columnid="label"/>
  430. <BindItem id="item7" compid="group2.combo00" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="testgrup"/>
  431. <BindItem id="item8" compid="group2.ipt_tclscdlist" propid="value" datasetid="ds_hidden_ref_tclscdlist" columnid="tclsnmlist"/>
  432. </Bind>
  433. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  434. * System Name :
  435. * Job Name :
  436. * Creator :
  437. * Make Date : 2015-05-01
  438. * Description :
  439. *---------------------------------------------------------------------------------------
  440. * Modify Date Modifier Modify Description
  441. *---------------------------------------------------------------------------------------
  442. * 2015-05-01 Live Converter TF->XP
  443. *
  444. *---------------------------------------------------------------------------------------
  445. ****************************************************************************************/
  446. include "com_commonxp::comm_main.xjs";
  447. include "lis_commonxp::LPZ001.xjs";
  448. include "lis_commonxp::LZZ002.xjs";
  449. include "lis_commonxp::LZZ001.xjs";
  450. include "lis_commonxp::LLZ001.xjs";
  451. function SMLMP00500_oninit(obj:Form, e:InitEventInfo)
  452. {
  453. //폼 초기화 함수
  454. frmf_initForm(obj);
  455. }
  456. function SMLMP00500_onload(obj:Form, e:LoadEventInfo)
  457. {
  458. grdf_initGrid(grd_testlist);
  459. fsetinit(); //초기화
  460. }
  461. //초기화
  462. function fsetinit()
  463. {
  464. group2.ipt_fromdd.value = utlf_addDate(utlf_getCurrentDate(), -7);
  465. group2.ipt_todd.value = utlf_getCurrentDate();
  466. group2.radio1.value = '3';
  467. group2.radio2.value = '1';
  468. group2.combo1.value = '1';
  469. var sInDsName = dsf_createDsRow("ds_temp_scrnid"
  470. , [{col: "scrnid", val: frmf_getScreenID()}]);
  471. var sOutDsName = dsf_createDsRow("ds_barcdprntsetup"
  472. , [{col: "prntsetupinfo"}
  473. , {col: "macaddr"}]);
  474. var oParam = {};
  475. oParam.id = "TRLLC90101";
  476. oParam.service = "diagtestapplib.LisCommon";
  477. oParam.method = "reqGetSetUpInfo";
  478. oParam.inds = "scrnid="+sInDsName;
  479. oParam.outds = sOutDsName+"=getSetUpInfo";
  480. oParam.async = false;
  481. oParam.callback = "cbf_TRLLC90101";
  482. tranf_submit(oParam);
  483. lzzfMakeBrcdPrntObjHanDo("CommAX");
  484. var sInDsName = dsf_createDsRow("ds_temp_search", [{col: "codeflag", val : "0140|0103|"}]);
  485. var oParam = {};
  486. oParam.id = "TRLZZ00101";
  487. oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
  488. oParam.method = "reqGetInitCodeInfo";
  489. oParam.inds = "cond=" + sInDsName;
  490. oParam.outds = "ds_init_combo2=0140 ds_init_lb0103=0103"
  491. oParam.async = false;
  492. oParam.callback = "cf_TRLZZ00101";
  493. tranf_submit(oParam);
  494. group2.combo2.value = '00';
  495. tranf_submit(oParam);
  496. }
  497. //조회
  498. function fgetList()
  499. {
  500. ds_send_req.setColumn(0, "srchflag", group2.radio1.value);
  501. ds_send_req.setColumn(0, "todd", group2.ipt_todd.value);
  502. ds_send_req.setColumn(0, "fromdd", group2.ipt_fromdd.value);
  503. ds_send_req.setColumn(0, "searchtext", group2.input2.value);
  504. ds_send_req.setColumn(0, "getgroup", group2.combo2.value);
  505. ds_send_req.setColumn(0, "tclscdlist", ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist"));
  506. var oParam = {};
  507. oParam.id = "TRLMP00501";
  508. oParam.service = "refprintmngtapp.MicroRefPrintMngt";
  509. oParam.method = "reqGetTbTestRsltList";
  510. oParam.inds = "refparam=ds_send_req";
  511. oParam.outds = "ds_grd_testlist=tbtestrsltinfo ds_grd_sum=tbtestrsltinfosum";
  512. oParam.async = false;
  513. tranf_submit(oParam);
  514. }
  515. //프린트설정
  516. function fSetPrint()
  517. {
  518. var count = ds_barcodeinfo.rowcount;
  519. if(count == 0)
  520. {
  521. ds_barcodeinfo.addRow();
  522. }
  523. var objArg = new Object();
  524. objArg.arg_ds_barcdprntsetup_info = ds_temp_barcdprntsetup;
  525. frmf_open("SPLLC90100", "SPLLC90100", objArg, "", "", "", "", "", "", "", "", "", "M");
  526. }
  527. function fExeBarcdReprnt()
  528. {
  529. var bcno = "'" + input1.value + "'" ;
  530. var sInDsName = dsf_createDsRow("ds_temp_search"
  531. , [{col: "bcnolist", val: bcnolist.substr(0, bcnolist.length - 1)}
  532. , {col: "bcollgbn", val: "Y"}
  533. , {col: "bio", val: ""}
  534. , {col: "worklist", val: ""}]);
  535. var oParam = {};
  536. oParam.id = "TRLZZ00102";
  537. oParam.service = "diagtestapplib.LisCommon";
  538. oParam.method = "reqGetBarCodeInfo";
  539. oParam.inds = "bcollbcnolist=" +sInDsName;
  540. oParam.outds = "ds_=barcodeinfo";
  541. oParam.async = false;
  542. tranf_submit(oParam);
  543. }
  544. //콜백함수
  545. function cbf_TRLLC90101(strSvcID, nErrorCode, strErrorMag)
  546. {
  547. if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
  548. }
  549. //콜백함수
  550. function cf_TRLZZ00101(strSvcID, nErrorCode, strErrorMag)
  551. {
  552. if(nErrorCode != 0) sysf_messageBox("ID: " + strSvcID + " Error: " + strErrorMag, "E009", "");
  553. }
  554. //조회
  555. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  556. {
  557. fgetList();
  558. }
  559. function group2_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
  560. {
  561. if(e.keycode == 13)
  562. {
  563. fgetList();
  564. }
  565. }
  566. function button5_onclick(obj:Button, e:ClickEventInfo)
  567. {
  568. this.reload();
  569. }
  570. function group2_input2_onkeyup(obj:Edit, e:KeyEventInfo)
  571. {
  572. if(e.keycode == 13)
  573. {
  574. fgetList();
  575. }
  576. }
  577. //6개월체크
  578. function group2_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  579. {
  580. if(group2.checkbox1.value == 1)
  581. {
  582. var vdate = utlf_getCurrentDate();
  583. group2.ipt_fromdd.value = ((vdate.toDate("YYYYMMDD")).getAddDate(-6, "M")).getDateFormat("YYYYMMDD") ;
  584. group2.ipt_todd.value = utlf_getCurrentDate();
  585. }
  586. else
  587. {
  588. group2.ipt_fromdd.value = utlf_addDate(utlf_getCurrentDate(), -7);
  589. group2.ipt_todd.value = utlf_getCurrentDate();
  590. }
  591. }
  592. //구분값변경
  593. function group2_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  594. {
  595. ds_grd_testlist.clearData();
  596. }
  597. //엑셀
  598. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  599. {
  600. grdf_exportExcel(grd_testlist00, lf_lisGetTitle(this), "see");
  601. }
  602. //프리트설정
  603. function btn_prntset_onclick(obj:Button, e:ClickEventInfo)
  604. {
  605. fSetPrint();
  606. }
  607. //바코드출력
  608. function button3_onclick(obj:Button, e:ClickEventInfo)
  609. {
  610. fExeBarcdReprnt();
  611. }
  612. //의뢰항목입력
  613. function grd_testlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  614. {
  615. if(group2.radio1.value == 1)
  616. {
  617. return;
  618. }
  619. var row = grd_testlist.currentrow;
  620. ds_hidden.setColumn(0, "bcno", ds_grd_testlist.getColumn(row, "bcno"));
  621. ds_hidden.setColumn(0, "hngnm", ds_grd_testlist.getColumn(row, "hngnm"));
  622. ds_hidden.setColumn(0, "sex", ds_grd_testlist.getColumn(row, "sex"));
  623. ds_hidden.setColumn(0, "patage", ds_grd_testlist.getColumn(row, "patage"));
  624. ds_hidden.setColumn(0, "roomcd", ds_grd_testlist.getColumn(row, "roomcd"));
  625. ds_hidden.setColumn(0, "orddeptnm", ds_grd_testlist.getColumn(row, "orddeptnm"));
  626. ds_hidden.setColumn(0, "orddrnm", ds_grd_testlist.getColumn(row, "orddrnm"));
  627. ds_hidden.setColumn(0, "spccd", ds_grd_testlist.getColumn(row, "spccd"));
  628. ds_hidden.setColumn(0, "pid", ds_grd_testlist.getColumn(row, "pid"));
  629. ds_hidden.setColumn(0, "tclscd", ds_grd_testlist.getColumn(row, "tclscd"));
  630. ds_hidden.setColumn(0, "spcacptdt", ds_grd_testlist.getColumn(row, "spcacptdt"));
  631. var objArg = new Object();
  632. objArg.arg_ds_temp_tbtestrsltinfo = ds_hidden;
  633. frmf_modal("SPLMP90100", "SPLMP90100", objArg, "","0", "600", "600", "", "", "", "", "", "M");
  634. }
  635. function div_search_cmb_testGrp_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  636. {
  637. fSelectTestGrup();
  638. }
  639. function fSelectTestGrup()
  640. {
  641. dsf_makeValue(ds_send, "testgrupnm", "string", group2.combo00.text, 0);
  642. var oParam = {};
  643. oParam.id = "TRLLF90401";
  644. oParam.service = "diagtestapplib.LisCommon";
  645. oParam.method = "reqGetTestGrupDetl";
  646. oParam.inds = "cond=ds_send";
  647. oParam.outds = "ds_main_testgrupdetl=getTestGrupDetl";
  648. oParam.async = false;
  649. //oParam.callback = "cf_TRLLF90401";
  650. tranf_submit(oParam);
  651. fSetPopUpTclscdList();
  652. }
  653. function fSetPopUpTclscdList()
  654. {
  655. var count = ds_main_testgrupdetl.rowcount;
  656. if(count > 0)
  657. {
  658. var sendtclsnm = ds_main_testgrupdetl.getColumn(0, "tclsnm");
  659. var sendtclscd = ds_main_testgrupdetl.getColumn(0, "tclscd");
  660. var sendtclscd2 = ds_main_testgrupdetl.getColumn(0, "tclscd");
  661. if(utlf_isNull(sendtclsnm))
  662. {
  663. ds_hidden_tclscdlist.setColumn(0, "tclscdlist", "");
  664. ds_hidden_tclscdlist.setColumn(0, "tclsnmlist", "");
  665. }
  666. else
  667. {
  668. for(var i = 0; i < count; i++)
  669. {
  670. sendtclsnm = sendtclsnm + ", " + ds_main_testgrupdetl.getColumn(i, "tclsnm");
  671. sendtclscd = sendtclscd + "','" + ds_main_testgrupdetl.getColumn(i, "tclscd");
  672. sendtclscd2 = sendtclscd2 + "▦" + ds_main_testgrupdetl.getColumn(i, "tclscd");
  673. }
  674. ds_hidden_ref_tclscdlist.setColumn(0, "tclsnmlist", sendtclsnm);
  675. ds_hidden_ref_tclscdlist.setColumn(0, "tclscdlist", "'" + sendtclscd + "'");
  676. ds_hidden_ref_tclscdlist.setColumn(0, "tclscdlist2", sendtclscd2);
  677. }
  678. }
  679. }
  680. function div_search_btn_help_onclick(obj:Button, e:ClickEventInfo)
  681. {
  682. var objArg = new Object();
  683. objArg.testGrup = ds_hidden_ref_tclscdlist.getColumn(0, "testgrup");
  684. frmf_modal("SMLLF90400","SMLLF90400",objArg, "", "", "", "", "", "", "", "", "", "M");
  685. }
  686. function lf_setInit(ref)
  687. {
  688. if(ref == 2)
  689. {
  690. }
  691. // ds_send.setColumn(0, "codeflag", "0103|");
  692. //
  693. // var oParam = {};
  694. // oParam.id = "TRLZZ00101";
  695. // oParam.service = "diagtestapplib.DiagTestBaseInfoMngt";
  696. // oParam.method = "reqGetInitCodeInfo";
  697. // oParam.inds = "cond=ds_send";
  698. // oParam.outds = "ds_init_lb0103=0103"
  699. // oParam.async = false;
  700. // //oParam.callback = "cf_TRLZZ00101";
  701. //
  702. // tranf_submit(oParam);
  703. }]]></Script>
  704. </Form>
  705. </FDL>