SMLMS00500_미생물 동정 검사통계.xfdl 123 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLMS00500" position="absolute 0 0 1256 805" titletext="미생물 동정 검사통계" oninit="model1_oninit" onload="SMLMS00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="switch1" anchor="all" taborder="0" onchanged="switch1_onchanged" tabindex="0" position="absolute 0 75 1256 805">
  8. <Tabpages>
  9. <Tabpage id="case0" text="일별">
  10. <Layouts>
  11. <Layout>
  12. <Static id="caption32" text="일별" class="tit_2" position="absolute 0 0 131 20"/>
  13. <Shape id="line19" class="line_1" position="absolute 5 20 1188 20"/>
  14. <Grid id="grd_days" taborder="1" binddataset="ds_grid_grd_days" useinputpanel="false" selecttype="cell" extendsizetype="row" cellsizingtype="col" cellclickbound="cell" oncellclick="switch1_case0_grd_days_oncellclick" position="absolute 0 20 1256 703" anchor="all">
  15. <Formats>
  16. <Format id="default">
  17. <Columns>
  18. <Column size="30" band="left"/>
  19. <Column size="300" band="left"/>
  20. <Column size="0"/>
  21. <Column size="100"/>
  22. <Column size="50"/>
  23. <Column size="50"/>
  24. <Column size="50"/>
  25. <Column size="50"/>
  26. <Column size="50"/>
  27. <Column size="50"/>
  28. <Column size="50"/>
  29. <Column size="50"/>
  30. <Column size="50"/>
  31. <Column size="50"/>
  32. <Column size="50"/>
  33. <Column size="50"/>
  34. <Column size="50"/>
  35. <Column size="50"/>
  36. <Column size="50"/>
  37. <Column size="50"/>
  38. <Column size="50"/>
  39. <Column size="50"/>
  40. <Column size="50"/>
  41. <Column size="50"/>
  42. <Column size="50"/>
  43. <Column size="50"/>
  44. <Column size="50"/>
  45. <Column size="50"/>
  46. <Column size="50"/>
  47. <Column size="50"/>
  48. <Column size="50"/>
  49. <Column size="50"/>
  50. <Column size="50"/>
  51. <Column size="50"/>
  52. <Column size="50"/>
  53. <Column size="50"/>
  54. <Column size="50"/>
  55. <Column size="50"/>
  56. <Column size="50"/>
  57. <Column size="50"/>
  58. <Column size="50"/>
  59. <Column size="50"/>
  60. <Column size="50"/>
  61. <Column size="50"/>
  62. <Column size="50"/>
  63. <Column size="50"/>
  64. <Column size="50"/>
  65. <Column size="50"/>
  66. <Column size="50"/>
  67. <Column size="50"/>
  68. <Column size="50"/>
  69. <Column size="50"/>
  70. <Column size="50"/>
  71. <Column size="50"/>
  72. <Column size="50"/>
  73. <Column size="50"/>
  74. <Column size="50"/>
  75. <Column size="50"/>
  76. <Column size="50"/>
  77. <Column size="50"/>
  78. <Column size="50"/>
  79. <Column size="50"/>
  80. <Column size="50"/>
  81. <Column size="50"/>
  82. <Column size="50"/>
  83. <Column size="50"/>
  84. <Column size="70"/>
  85. <Column size="70"/>
  86. </Columns>
  87. <Rows>
  88. <Row size="24" band="head"/>
  89. <Row size="24" band="head"/>
  90. <Row size="24"/>
  91. </Rows>
  92. <Band id="head">
  93. <Cell rowspan="2" text="No."/>
  94. <Cell col="1" rowspan="2" text="검사명"/>
  95. <Cell col="2" text="검사코드"/>
  96. <Cell col="3" rowspan="2" text="구분"/>
  97. <Cell col="4" colspan="2" text="1일"/>
  98. <Cell col="6" colspan="2" text="2일"/>
  99. <Cell col="8" colspan="2" text="3일"/>
  100. <Cell col="10" colspan="2" text="4일"/>
  101. <Cell col="12" colspan="2" text="5일"/>
  102. <Cell col="14" colspan="2" text="6일"/>
  103. <Cell col="16" colspan="2" text="7일"/>
  104. <Cell col="18" colspan="2" text="8일"/>
  105. <Cell col="20" colspan="2" text="9일"/>
  106. <Cell col="22" colspan="2" text="10일"/>
  107. <Cell col="24" colspan="2" text="11일"/>
  108. <Cell col="26" colspan="2" text="12일"/>
  109. <Cell col="28" colspan="2" text="13일"/>
  110. <Cell col="30" colspan="2" text="14일"/>
  111. <Cell col="32" colspan="2" text="15일"/>
  112. <Cell col="34" colspan="2" text="16일"/>
  113. <Cell col="36" colspan="2" text="17일"/>
  114. <Cell col="38" colspan="2" text="18일"/>
  115. <Cell col="40" colspan="2" text="19일"/>
  116. <Cell col="42" colspan="2" text="20일"/>
  117. <Cell col="44" colspan="2" text="21일"/>
  118. <Cell col="46" colspan="2" text="22일"/>
  119. <Cell col="48" colspan="2" text="23일"/>
  120. <Cell col="50" colspan="2" text="24일"/>
  121. <Cell col="52" colspan="2" text="25일"/>
  122. <Cell col="54" colspan="2" text="26일"/>
  123. <Cell col="56" colspan="2" text="27일"/>
  124. <Cell col="58" colspan="2" text="28일"/>
  125. <Cell col="60" colspan="2" text="29일"/>
  126. <Cell col="62" colspan="2" text="30일"/>
  127. <Cell col="64" colspan="2" text="31일"/>
  128. <Cell col="66" colspan="2" text="Total"/>
  129. <Cell row="1" col="2" text="검사코드"/>
  130. <Cell row="1" col="4" text="건수"/>
  131. <Cell row="1" col="5" text="%"/>
  132. <Cell row="1" col="6" text="건수"/>
  133. <Cell row="1" col="7" text="%"/>
  134. <Cell row="1" col="8" text="건수"/>
  135. <Cell row="1" col="9" text="%"/>
  136. <Cell row="1" col="10" text="건수"/>
  137. <Cell row="1" col="11" text="%"/>
  138. <Cell row="1" col="12" text="건수"/>
  139. <Cell row="1" col="13" text="%"/>
  140. <Cell row="1" col="14" text="건수"/>
  141. <Cell row="1" col="15" text="%"/>
  142. <Cell row="1" col="16" text="건수"/>
  143. <Cell row="1" col="17" text="%"/>
  144. <Cell row="1" col="18" text="건수"/>
  145. <Cell row="1" col="19" text="%"/>
  146. <Cell row="1" col="20" text="건수"/>
  147. <Cell row="1" col="21" text="%"/>
  148. <Cell row="1" col="22" text="건수"/>
  149. <Cell row="1" col="23" text="%"/>
  150. <Cell row="1" col="24" text="건수"/>
  151. <Cell row="1" col="25" text="%"/>
  152. <Cell row="1" col="26" text="건수"/>
  153. <Cell row="1" col="27" text="%"/>
  154. <Cell row="1" col="28" text="건수"/>
  155. <Cell row="1" col="29" text="%"/>
  156. <Cell row="1" col="30" text="건수"/>
  157. <Cell row="1" col="31" text="%"/>
  158. <Cell row="1" col="32" text="건수"/>
  159. <Cell row="1" col="33" text="%"/>
  160. <Cell row="1" col="34" text="건수"/>
  161. <Cell row="1" col="35" text="%"/>
  162. <Cell row="1" col="36" text="건수"/>
  163. <Cell row="1" col="37" text="%"/>
  164. <Cell row="1" col="38" text="건수"/>
  165. <Cell row="1" col="39" text="%"/>
  166. <Cell row="1" col="40" text="건수"/>
  167. <Cell row="1" col="41" text="%"/>
  168. <Cell row="1" col="42" text="건수"/>
  169. <Cell row="1" col="43" text="%"/>
  170. <Cell row="1" col="44" text="건수"/>
  171. <Cell row="1" col="45" text="%"/>
  172. <Cell row="1" col="46" text="건수"/>
  173. <Cell row="1" col="47" text="%"/>
  174. <Cell row="1" col="48" text="건수"/>
  175. <Cell row="1" col="49" text="%"/>
  176. <Cell row="1" col="50" text="건수"/>
  177. <Cell row="1" col="51" text="%"/>
  178. <Cell row="1" col="52" text="건수"/>
  179. <Cell row="1" col="53" text="%"/>
  180. <Cell row="1" col="54" text="건수"/>
  181. <Cell row="1" col="55" text="%"/>
  182. <Cell row="1" col="56" text="건수"/>
  183. <Cell row="1" col="57" text="%"/>
  184. <Cell row="1" col="58" text="건수"/>
  185. <Cell row="1" col="59" text="%"/>
  186. <Cell row="1" col="60" text="건수"/>
  187. <Cell row="1" col="61" text="%"/>
  188. <Cell row="1" col="62" text="건수"/>
  189. <Cell row="1" col="63" text="%"/>
  190. <Cell row="1" col="64" text="건수"/>
  191. <Cell row="1" col="65" text="%"/>
  192. <Cell row="1" col="66" text="건수"/>
  193. <Cell row="1" col="67" text="%"/>
  194. </Band>
  195. <Band id="body">
  196. <Cell celltype="head" text="bind:seq" suppress="1" suppressalign="middle"/>
  197. <Cell col="1" celltype="head" text="bind:tnm" suppress="1" suppressalign="middle"/>
  198. <Cell col="2" text="bind:testcd"/>
  199. <Cell col="3" text="bind:flagnm"/>
  200. <Cell col="4" displaytype="number" style="align:right;" text="bind:a01"/>
  201. <Cell col="5" style="align:right;" text="bind:a01p"/>
  202. <Cell col="6" displaytype="number" style="align:right;" text="bind:a02"/>
  203. <Cell col="7" style="align:right;" text="bind:a02p"/>
  204. <Cell col="8" displaytype="number" style="align:right;" text="bind:a03"/>
  205. <Cell col="9" style="align:right;" text="bind:a03p"/>
  206. <Cell col="10" displaytype="number" style="align:right;" text="bind:a04"/>
  207. <Cell col="11" style="align:right;" text="bind:a04p"/>
  208. <Cell col="12" displaytype="number" style="align:right;" text="bind:a05"/>
  209. <Cell col="13" style="align:right;" text="bind:a05p"/>
  210. <Cell col="14" displaytype="number" style="align:right;" text="bind:a06"/>
  211. <Cell col="15" style="align:right;" text="bind:a06p"/>
  212. <Cell col="16" displaytype="number" style="align:right;" text="bind:a07"/>
  213. <Cell col="17" style="align:right;" text="bind:a07p"/>
  214. <Cell col="18" displaytype="number" style="align:right;" text="bind:a08"/>
  215. <Cell col="19" style="align:right;" text="bind:a08p"/>
  216. <Cell col="20" displaytype="number" style="align:right;" text="bind:a09"/>
  217. <Cell col="21" style="align:right;" text="bind:a09p"/>
  218. <Cell col="22" displaytype="number" style="align:right;" text="bind:a10"/>
  219. <Cell col="23" style="align:right;" text="bind:a10p"/>
  220. <Cell col="24" displaytype="number" style="align:right;" text="bind:a11"/>
  221. <Cell col="25" style="align:right;" text="bind:a11p"/>
  222. <Cell col="26" displaytype="number" style="align:right;" text="bind:a12"/>
  223. <Cell col="27" style="align:right;" text="bind:a12p"/>
  224. <Cell col="28" displaytype="number" style="align:right;" text="bind:a13"/>
  225. <Cell col="29" style="align:right;" text="bind:a13p"/>
  226. <Cell col="30" displaytype="number" style="align:right;" text="bind:a14"/>
  227. <Cell col="31" style="align:right;" text="bind:a14p"/>
  228. <Cell col="32" displaytype="number" style="align:right;" text="bind:a15"/>
  229. <Cell col="33" style="align:right;" text="bind:a15p"/>
  230. <Cell col="34" displaytype="number" style="align:right;" text="bind:a16"/>
  231. <Cell col="35" style="align:right;" text="bind:a16p"/>
  232. <Cell col="36" displaytype="number" style="align:right;" text="bind:a17"/>
  233. <Cell col="37" style="align:right;" text="bind:a17p"/>
  234. <Cell col="38" displaytype="number" style="align:right;" text="bind:a18"/>
  235. <Cell col="39" style="align:right;" text="bind:a18p"/>
  236. <Cell col="40" displaytype="number" style="align:right;" text="bind:a19"/>
  237. <Cell col="41" style="align:right;" text="bind:a19p"/>
  238. <Cell col="42" displaytype="number" style="align:right;" text="bind:a20"/>
  239. <Cell col="43" style="align:right;" text="bind:a20p"/>
  240. <Cell col="44" displaytype="number" style="align:right;" text="bind:a21"/>
  241. <Cell col="45" style="align:right;" text="bind:a21p"/>
  242. <Cell col="46" displaytype="number" style="align:right;" text="bind:a22"/>
  243. <Cell col="47" style="align:right;" text="bind:a22p"/>
  244. <Cell col="48" displaytype="number" style="align:right;" text="bind:a23"/>
  245. <Cell col="49" style="align:right;" text="bind:a23p"/>
  246. <Cell col="50" displaytype="number" style="align:right;" text="bind:a24"/>
  247. <Cell col="51" style="align:right;" text="bind:a24p"/>
  248. <Cell col="52" displaytype="number" style="align:right;" text="bind:a25"/>
  249. <Cell col="53" style="align:right;" text="bind:a25p"/>
  250. <Cell col="54" displaytype="number" style="align:right;" text="bind:a26"/>
  251. <Cell col="55" style="align:right;" text="bind:a26p"/>
  252. <Cell col="56" displaytype="number" style="align:right;" text="bind:a27"/>
  253. <Cell col="57" style="align:right;" text="bind:a27p"/>
  254. <Cell col="58" displaytype="number" style="align:right;" text="bind:a28"/>
  255. <Cell col="59" style="align:right;" text="bind:a28p"/>
  256. <Cell col="60" displaytype="number" style="align:right;" text="bind:a29"/>
  257. <Cell col="61" style="align:right;" text="bind:a29p"/>
  258. <Cell col="62" displaytype="number" style="align:right;" text="bind:a30"/>
  259. <Cell col="63" style="align:right;" text="bind:a30p"/>
  260. <Cell col="64" displaytype="number" style="align:right;" text="bind:a31"/>
  261. <Cell col="65" style="align:right;" text="bind:a31p"/>
  262. <Cell col="66" displaytype="number" style="align:right;" text="bind:ahap"/>
  263. <Cell col="67" style="align:right;" text="bind:ahapp"/>
  264. </Band>
  265. </Format>
  266. </Formats>
  267. </Grid>
  268. </Layout>
  269. </Layouts>
  270. </Tabpage>
  271. <Tabpage id="case1" text="월별">
  272. <Layouts>
  273. <Layout>
  274. <Static id="caption1" text="월별" class="tit_2" position="absolute 0 0 131 20"/>
  275. <Shape id="line1" class="line_1" position="absolute 5 20 1188 20"/>
  276. <Grid id="grd_month" taborder="1" binddataset="ds_grid_grd_month" useinputpanel="false" extendsizetype="row" position="absolute 0 20 1256 703" anchor="all">
  277. <Formats>
  278. <Format id="default">
  279. <Columns>
  280. <Column size="30" band="left"/>
  281. <Column size="300" band="left"/>
  282. <Column size="0"/>
  283. <Column size="100"/>
  284. <Column size="65"/>
  285. <Column size="50"/>
  286. <Column size="65"/>
  287. <Column size="50"/>
  288. <Column size="65"/>
  289. <Column size="65"/>
  290. <Column size="50"/>
  291. <Column size="65"/>
  292. <Column size="65"/>
  293. <Column size="50"/>
  294. <Column size="65"/>
  295. <Column size="65"/>
  296. <Column size="50"/>
  297. <Column size="65"/>
  298. <Column size="65"/>
  299. <Column size="50"/>
  300. <Column size="65"/>
  301. <Column size="65"/>
  302. <Column size="50"/>
  303. <Column size="65"/>
  304. <Column size="65"/>
  305. <Column size="50"/>
  306. <Column size="65"/>
  307. <Column size="65"/>
  308. <Column size="50"/>
  309. <Column size="65"/>
  310. <Column size="65"/>
  311. <Column size="50"/>
  312. <Column size="65"/>
  313. <Column size="65"/>
  314. <Column size="50"/>
  315. <Column size="65"/>
  316. <Column size="65"/>
  317. <Column size="50"/>
  318. <Column size="65"/>
  319. <Column size="65"/>
  320. <Column size="50"/>
  321. <Column size="65"/>
  322. <Column size="80"/>
  323. <Column size="50"/>
  324. </Columns>
  325. <Rows>
  326. <Row size="24" band="head"/>
  327. <Row size="24" band="head"/>
  328. <Row size="24"/>
  329. </Rows>
  330. <Band id="head">
  331. <Cell rowspan="2" text="No."/>
  332. <Cell col="1" rowspan="2" text="검사명"/>
  333. <Cell col="2" text="검사코드"/>
  334. <Cell col="3" rowspan="2" text="구분"/>
  335. <Cell col="4" colspan="2" text="이전12월"/>
  336. <Cell col="6" colspan="3" text="1월"/>
  337. <Cell col="9" colspan="3" text="2월"/>
  338. <Cell col="12" colspan="3" text="3월"/>
  339. <Cell col="15" colspan="3" text="4월"/>
  340. <Cell col="18" colspan="3" text="5월"/>
  341. <Cell col="21" colspan="3" text="6월"/>
  342. <Cell col="24" colspan="3" text="7월"/>
  343. <Cell col="27" colspan="3" text="8월"/>
  344. <Cell col="30" colspan="3" text="9월"/>
  345. <Cell col="33" colspan="3" text="10월"/>
  346. <Cell col="36" colspan="3" text="11월"/>
  347. <Cell col="39" colspan="3" text="12월"/>
  348. <Cell col="42" colspan="2" text="Total"/>
  349. <Cell row="1" col="2" text="검사코드"/>
  350. <Cell row="1" col="4" text="건수"/>
  351. <Cell row="1" col="5" text="%"/>
  352. <Cell row="1" col="6" text="건수"/>
  353. <Cell row="1" col="7" text="%"/>
  354. <Cell row="1" col="8" text="증감율"/>
  355. <Cell row="1" col="9" text="건수"/>
  356. <Cell row="1" col="10" text="%"/>
  357. <Cell row="1" col="11" text="증감율"/>
  358. <Cell row="1" col="12" text="건수"/>
  359. <Cell row="1" col="13" text="%"/>
  360. <Cell row="1" col="14" text="증감율"/>
  361. <Cell row="1" col="15" text="건수"/>
  362. <Cell row="1" col="16" text="%"/>
  363. <Cell row="1" col="17" text="증감율"/>
  364. <Cell row="1" col="18" text="건수"/>
  365. <Cell row="1" col="19" text="%"/>
  366. <Cell row="1" col="20" text="증감율"/>
  367. <Cell row="1" col="21" text="건수"/>
  368. <Cell row="1" col="22" text="%"/>
  369. <Cell row="1" col="23" text="증감율"/>
  370. <Cell row="1" col="24" text="건수"/>
  371. <Cell row="1" col="25" text="%"/>
  372. <Cell row="1" col="26" text="증감율"/>
  373. <Cell row="1" col="27" text="건수"/>
  374. <Cell row="1" col="28" text="%"/>
  375. <Cell row="1" col="29" text="증감율"/>
  376. <Cell row="1" col="30" text="건수"/>
  377. <Cell row="1" col="31" text="%"/>
  378. <Cell row="1" col="32" text="증감율"/>
  379. <Cell row="1" col="33" text="건수"/>
  380. <Cell row="1" col="34" text="%"/>
  381. <Cell row="1" col="35" text="증감율"/>
  382. <Cell row="1" col="36" text="건수"/>
  383. <Cell row="1" col="37" text="%"/>
  384. <Cell row="1" col="38" text="증감율"/>
  385. <Cell row="1" col="39" text="건수"/>
  386. <Cell row="1" col="40" text="%"/>
  387. <Cell row="1" col="41" text="증감율"/>
  388. <Cell row="1" col="42" text="건수"/>
  389. <Cell row="1" col="43" text="%"/>
  390. </Band>
  391. <Band id="body">
  392. <Cell celltype="head" text="bind:seq" suppress="1" suppressalign="middle"/>
  393. <Cell col="1" celltype="head" text="bind:tnm" suppress="1" suppressalign="middle"/>
  394. <Cell col="2" text="bind:testcd"/>
  395. <Cell col="3" text="bind:flagnm"/>
  396. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:a01bf"/>
  397. <Cell col="5" style="align:right middle;" text="bind:a01bfp"/>
  398. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:a01"/>
  399. <Cell col="7" style="align:right middle;" text="bind:a01p"/>
  400. <Cell col="8" style="align:right middle;" text="bind:a01i"/>
  401. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:a02"/>
  402. <Cell col="10" style="align:right middle;" text="bind:a02p"/>
  403. <Cell col="11" style="align:right middle;" text="bind:a02i"/>
  404. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:a03"/>
  405. <Cell col="13" style="align:right middle;" text="bind:a03p"/>
  406. <Cell col="14" style="align:right middle;" text="bind:a03i"/>
  407. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:a04"/>
  408. <Cell col="16" style="align:right middle;" text="bind:a04p"/>
  409. <Cell col="17" style="align:right middle;" text="bind:a04i"/>
  410. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:a05"/>
  411. <Cell col="19" style="align:right middle;" text="bind:a05p"/>
  412. <Cell col="20" style="align:right middle;" text="bind:a05i"/>
  413. <Cell col="21" displaytype="number" style="align:right middle;" text="bind:a06"/>
  414. <Cell col="22" style="align:right middle;" text="bind:a06p"/>
  415. <Cell col="23" style="align:right middle;" text="bind:a06i"/>
  416. <Cell col="24" displaytype="number" style="align:right middle;" text="bind:a07"/>
  417. <Cell col="25" style="align:right middle;" text="bind:a07p"/>
  418. <Cell col="26" style="align:right middle;" text="bind:a07i"/>
  419. <Cell col="27" displaytype="number" style="align:right middle;" text="bind:a08"/>
  420. <Cell col="28" style="align:right middle;" text="bind:a08p"/>
  421. <Cell col="29" style="align:right middle;" text="bind:a08i"/>
  422. <Cell col="30" displaytype="number" style="align:right middle;" text="bind:a09"/>
  423. <Cell col="31" style="align:right middle;" text="bind:a09p"/>
  424. <Cell col="32" style="align:right middle;" text="bind:a09i"/>
  425. <Cell col="33" displaytype="number" style="align:right middle;" text="bind:a10"/>
  426. <Cell col="34" style="align:right middle;" text="bind:a10p"/>
  427. <Cell col="35" style="align:right middle;" text="bind:a10i"/>
  428. <Cell col="36" displaytype="number" style="align:right middle;" text="bind:a11"/>
  429. <Cell col="37" style="align:right middle;" text="bind:a11p"/>
  430. <Cell col="38" style="align:right middle;" text="bind:a11i"/>
  431. <Cell col="39" displaytype="number" style="align:right middle;" text="bind:a12"/>
  432. <Cell col="40" style="align:right middle;" text="bind:a12p"/>
  433. <Cell col="41" style="align:right middle;" text="bind:a12i"/>
  434. <Cell col="42" displaytype="number" style="align:right middle;" text="bind:ahap"/>
  435. <Cell col="43" style="align:right middle;" text="bind:ahapp"/>
  436. </Band>
  437. </Format>
  438. </Formats>
  439. </Grid>
  440. </Layout>
  441. </Layouts>
  442. </Tabpage>
  443. <Tabpage id="case2" text="분기별">
  444. <Layouts>
  445. <Layout>
  446. <Static id="caption2" text="분기별" class="tit_2" position="absolute 0 0 131 20"/>
  447. <Shape id="line2" class="line_1" position="absolute 5 20 1188 20"/>
  448. <Grid id="grd_quarter" taborder="1" binddataset="ds_grid_grd_quarter" useinputpanel="false" extendsizetype="row" position="absolute 0 20 1256 703" anchor="all">
  449. <Formats>
  450. <Format id="default">
  451. <Columns>
  452. <Column size="30" band="left"/>
  453. <Column size="300" band="left"/>
  454. <Column size="0"/>
  455. <Column size="100"/>
  456. <Column size="80"/>
  457. <Column size="50"/>
  458. <Column size="80"/>
  459. <Column size="50"/>
  460. <Column size="80"/>
  461. <Column size="80"/>
  462. <Column size="50"/>
  463. <Column size="80"/>
  464. <Column size="80"/>
  465. <Column size="50"/>
  466. <Column size="80"/>
  467. <Column size="80"/>
  468. <Column size="50"/>
  469. <Column size="80"/>
  470. <Column size="100"/>
  471. <Column size="50"/>
  472. </Columns>
  473. <Rows>
  474. <Row size="24" band="head"/>
  475. <Row size="24" band="head"/>
  476. <Row size="24"/>
  477. </Rows>
  478. <Band id="head">
  479. <Cell rowspan="2" text="No."/>
  480. <Cell col="1" rowspan="2" text="검사명"/>
  481. <Cell col="2" text="검사코드"/>
  482. <Cell col="3" rowspan="2" text="구분"/>
  483. <Cell col="4" colspan="2" text="이전4분기"/>
  484. <Cell col="6" colspan="3" text="1분기"/>
  485. <Cell col="9" colspan="3" text="2분기"/>
  486. <Cell col="12" colspan="3" text="3분기"/>
  487. <Cell col="15" colspan="3" text="4분기"/>
  488. <Cell col="18" colspan="2" text="Total"/>
  489. <Cell row="1" col="2" text="검사코드"/>
  490. <Cell row="1" col="4" text="건수"/>
  491. <Cell row="1" col="5" text="%"/>
  492. <Cell row="1" col="6" text="건수"/>
  493. <Cell row="1" col="7" text="%"/>
  494. <Cell row="1" col="8" text="증감율"/>
  495. <Cell row="1" col="9" text="건수"/>
  496. <Cell row="1" col="10" text="%"/>
  497. <Cell row="1" col="11" text="증감율"/>
  498. <Cell row="1" col="12" text="건수"/>
  499. <Cell row="1" col="13" text="%"/>
  500. <Cell row="1" col="14" text="증감율"/>
  501. <Cell row="1" col="15" text="건수"/>
  502. <Cell row="1" col="16" text="%"/>
  503. <Cell row="1" col="17" text="증감율"/>
  504. <Cell row="1" col="18" text="건수"/>
  505. <Cell row="1" col="19" text="%"/>
  506. </Band>
  507. <Band id="body">
  508. <Cell celltype="head" text="bind:seq" suppress="1" suppressalign="middle"/>
  509. <Cell col="1" celltype="head" text="bind:tnm" suppress="1" suppressalign="middle"/>
  510. <Cell col="2" text="bind:testcd"/>
  511. <Cell col="3" text="bind:flagnm"/>
  512. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:a01bf"/>
  513. <Cell col="5" style="align:right middle;" text="bind:a01bfp"/>
  514. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:a01"/>
  515. <Cell col="7" style="align:right middle;" text="bind:a01p"/>
  516. <Cell col="8" style="align:right middle;" text="bind:a01i"/>
  517. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:a02"/>
  518. <Cell col="10" style="align:right middle;" text="bind:a02p"/>
  519. <Cell col="11" style="align:right middle;" text="bind:a02i"/>
  520. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:a03"/>
  521. <Cell col="13" style="align:right middle;" text="bind:a03p"/>
  522. <Cell col="14" style="align:right middle;" text="bind:a03i"/>
  523. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:a04"/>
  524. <Cell col="16" style="align:right middle;" text="bind:a04p"/>
  525. <Cell col="17" style="align:right middle;" text="bind:a04i"/>
  526. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:ahap"/>
  527. <Cell col="19" style="align:right middle;" text="bind:ahapp"/>
  528. </Band>
  529. </Format>
  530. </Formats>
  531. </Grid>
  532. </Layout>
  533. </Layouts>
  534. </Tabpage>
  535. <Tabpage id="case3" text="연별">
  536. <Layouts>
  537. <Layout>
  538. <Static id="caption3" text="연별" class="tit_2" position="absolute 0 0 131 20"/>
  539. <Shape id="line4" class="line_1" position="absolute 5 20 1188 20"/>
  540. <Grid id="grd_year" taborder="1" binddataset="ds_grid_grd_year" useinputpanel="false" extendsizetype="row" position="absolute 0 20 1256 703" anchor="all">
  541. <Formats>
  542. <Format id="default">
  543. <Columns>
  544. <Column size="30" band="left"/>
  545. <Column size="300" band="left"/>
  546. <Column size="0"/>
  547. <Column size="100"/>
  548. <Column size="85"/>
  549. <Column size="50"/>
  550. <Column size="85"/>
  551. <Column size="50"/>
  552. <Column size="85"/>
  553. <Column size="85"/>
  554. <Column size="50"/>
  555. <Column size="85"/>
  556. <Column size="85"/>
  557. <Column size="50"/>
  558. <Column size="85"/>
  559. <Column size="85"/>
  560. <Column size="50"/>
  561. <Column size="85"/>
  562. <Column size="85"/>
  563. <Column size="50"/>
  564. <Column size="85"/>
  565. <Column size="85"/>
  566. <Column size="50"/>
  567. <Column size="85"/>
  568. <Column size="85"/>
  569. <Column size="50"/>
  570. <Column size="85"/>
  571. <Column size="85"/>
  572. <Column size="50"/>
  573. <Column size="85"/>
  574. <Column size="85"/>
  575. <Column size="50"/>
  576. <Column size="85"/>
  577. <Column size="100"/>
  578. </Columns>
  579. <Rows>
  580. <Row size="24" band="head"/>
  581. <Row size="24" band="head"/>
  582. <Row size="24"/>
  583. </Rows>
  584. <Band id="head">
  585. <Cell rowspan="2" text="No."/>
  586. <Cell col="1" rowspan="2" text="검사명"/>
  587. <Cell col="2" text="검사코드"/>
  588. <Cell col="3" rowspan="2" text="구분"/>
  589. <Cell col="4" colspan="2" text="expr:lf_yearCaption()"/>
  590. <Cell col="6" colspan="3" text="expr:lf_yearCaption()+1"/>
  591. <Cell col="9" colspan="3" text="expr:lf_yearCaption()+2"/>
  592. <Cell col="12" colspan="3" text="expr:lf_yearCaption()+3"/>
  593. <Cell col="15" colspan="3" text="expr:lf_yearCaption()+4"/>
  594. <Cell col="18" colspan="3" text="expr:lf_yearCaption()+5"/>
  595. <Cell col="21" colspan="3" text="expr:lf_yearCaption()+6"/>
  596. <Cell col="24" colspan="3" text="expr:lf_yearCaption()+7"/>
  597. <Cell col="27" colspan="3" text="expr:lf_yearCaption()+8"/>
  598. <Cell col="30" colspan="3" text="expr:lf_yearCaption()+9"/>
  599. <Cell col="33" text="Total"/>
  600. <Cell row="1" col="2" text="검사코드"/>
  601. <Cell row="1" col="4" text="건수"/>
  602. <Cell row="1" col="5" text="%"/>
  603. <Cell row="1" col="6" text="건수"/>
  604. <Cell row="1" col="7" text="%"/>
  605. <Cell row="1" col="8" text="증감율"/>
  606. <Cell row="1" col="9" text="건수"/>
  607. <Cell row="1" col="10" text="%"/>
  608. <Cell row="1" col="11" text="증감율"/>
  609. <Cell row="1" col="12" text="건수"/>
  610. <Cell row="1" col="13" text="%"/>
  611. <Cell row="1" col="14" text="증감율"/>
  612. <Cell row="1" col="15" text="건수"/>
  613. <Cell row="1" col="16" text="%"/>
  614. <Cell row="1" col="17" text="증감율"/>
  615. <Cell row="1" col="18" text="건수"/>
  616. <Cell row="1" col="19" text="%"/>
  617. <Cell row="1" col="20" text="증감율"/>
  618. <Cell row="1" col="21" text="건수"/>
  619. <Cell row="1" col="22" text="%"/>
  620. <Cell row="1" col="23" text="증감율"/>
  621. <Cell row="1" col="24" text="건수"/>
  622. <Cell row="1" col="25" text="%"/>
  623. <Cell row="1" col="26" text="증감율"/>
  624. <Cell row="1" col="27" text="건수"/>
  625. <Cell row="1" col="28" text="%"/>
  626. <Cell row="1" col="29" text="증감율"/>
  627. <Cell row="1" col="30" text="건수"/>
  628. <Cell row="1" col="31" text="%"/>
  629. <Cell row="1" col="32" text="증감율"/>
  630. <Cell row="1" col="33" text="건수"/>
  631. </Band>
  632. <Band id="body">
  633. <Cell celltype="head" text="bind:seq" suppress="1" suppressalign="middle"/>
  634. <Cell col="1" celltype="head" text="bind:tnm" suppress="1" suppressalign="middle"/>
  635. <Cell col="2" text="bind:testcd"/>
  636. <Cell col="3" text="bind:flagnm"/>
  637. <Cell col="4" displaytype="number" style="align:right middle;" text="bind:a01"/>
  638. <Cell col="5" style="align:right middle;" text="bind:a01p"/>
  639. <Cell col="6" displaytype="number" style="align:right middle;" text="bind:a02"/>
  640. <Cell col="7" style="align:right middle;" text="bind:a02p"/>
  641. <Cell col="8" style="align:right middle;" text="bind:a02i"/>
  642. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:a03"/>
  643. <Cell col="10" style="align:right middle;" text="bind:a03p"/>
  644. <Cell col="11" style="align:right middle;" text="bind:a03i"/>
  645. <Cell col="12" displaytype="number" style="align:right middle;" text="bind:a04"/>
  646. <Cell col="13" style="align:right middle;" text="bind:a04p"/>
  647. <Cell col="14" style="align:right middle;" text="bind:a04i"/>
  648. <Cell col="15" displaytype="number" style="align:right middle;" text="bind:a05"/>
  649. <Cell col="16" style="align:right middle;" text="bind:a05p"/>
  650. <Cell col="17" style="align:right middle;" text="bind:a05i"/>
  651. <Cell col="18" displaytype="number" style="align:right middle;" text="bind:a06"/>
  652. <Cell col="19" style="align:right middle;" text="bind:a06p"/>
  653. <Cell col="20" style="align:right middle;" text="bind:a06i"/>
  654. <Cell col="21" displaytype="number" style="align:right middle;" text="bind:a07"/>
  655. <Cell col="22" style="align:right middle;" text="bind:a07p"/>
  656. <Cell col="23" style="align:right middle;" text="bind:a07i"/>
  657. <Cell col="24" displaytype="number" style="align:right middle;" text="bind:a08"/>
  658. <Cell col="25" style="align:right middle;" text="bind:a08p"/>
  659. <Cell col="26" style="align:right middle;" text="bind:a08i"/>
  660. <Cell col="27" displaytype="number" style="align:right middle;" text="bind:a09"/>
  661. <Cell col="28" style="align:right middle;" text="bind:a09p"/>
  662. <Cell col="29" style="align:right middle;" text="bind:a09i"/>
  663. <Cell col="30" displaytype="number" style="align:right middle;" text="bind:a10"/>
  664. <Cell col="31" style="align:right middle;" text="bind:a10p"/>
  665. <Cell col="32" style="align:right middle;" text="bind:a10i"/>
  666. <Cell col="33" displaytype="number" style="align:right middle;" text="bind:ahap"/>
  667. </Band>
  668. </Format>
  669. </Formats>
  670. </Grid>
  671. </Layout>
  672. </Layouts>
  673. </Tabpage>
  674. <Tabpage id="tabpage5" text=" 설정 "/>
  675. </Tabpages>
  676. </Tab>
  677. <Div id="grp_tle" taborder="1" position="absolute 0 0 1195 13"/>
  678. <Button id="btn_print" taborder="2" text="엑셀" onclick="btn_print_onclick" class="btn6" position="absolute 1200 74 1256 94" anchor="top right"/>
  679. <Div id="Div00" anchor="left top right" taborder="3" text="Div00" class="div_SA2" position="absolute 0 25 1256 67">
  680. <Layouts>
  681. <Layout>
  682. <Button id="btn_ref" taborder="11" text="조회" onclick="Div00_btn_ref_onclick" class="btn1" position="absolute 1116 10 1172 30" anchor="top right"/>
  683. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1110 7 1110 29"/>
  684. <Static id="caption5" text="구분" class="search_name" position="absolute 394 10 438 30"/>
  685. <Calendar id="ipt_workfromdd" taborder="12" dateformat="yyyy-MM" editformat="yyyy-MM" class="input_search" position="absolute 163 10 263 30" mask="yyyy-mm"/>
  686. <Calendar id="ipt_worktodd" taborder="13" dateformat="yyyy-MM" editformat="yyyy-MM" class="input_search" visible="false" position="absolute 279 10 379 30" mask="yyyy-mm"/>
  687. <Static id="caption4" text="통계희망일" class="search_name" position="absolute 8 10 118 30"/>
  688. <Static id="caption9" text="~" class="search_no_b" visible="false" position="absolute 263 10 279 30" style="align:center;"/>
  689. <Combo id="cmb_rtnabnflag" taborder="14" value="1" text="전체" codecolumn="codecolumn" datacolumn="datacolumn" index="0" position="absolute 442 10 544 30">
  690. <Dataset id="innerdataset">
  691. <ColumnInfo>
  692. <Column id="codecolumn" size="256"/>
  693. <Column id="datacolumn" size="256"/>
  694. </ColumnInfo>
  695. <Rows>
  696. <Row>
  697. <Col id="codecolumn">1</Col>
  698. <Col id="datacolumn">전체</Col>
  699. </Row>
  700. <Row>
  701. <Col id="codecolumn">2</Col>
  702. <Col id="datacolumn">입원환자</Col>
  703. </Row>
  704. <Row>
  705. <Col id="codecolumn">3</Col>
  706. <Col id="datacolumn">외래환자</Col>
  707. </Row>
  708. <Row>
  709. <Col id="codecolumn">4</Col>
  710. <Col id="datacolumn">중환자실</Col>
  711. </Row>
  712. </Rows>
  713. </Dataset>
  714. </Combo>
  715. <Button id="btn_spc" taborder="15" text="검체선택" onclick="Div00_btn_spc_onclick" class="btn2" position="absolute 618 10 686 30"/>
  716. <Button id="button2" taborder="16" text="상세조회" onclick="Div00_button2_onclick" class="btn2" position="absolute 689 10 757 30"/>
  717. <Combo id="cmb_daygbn" taborder="17" value="1" text="보고일" codecolumn="codecolumn" datacolumn="datacolumn" index="0" position="absolute 95 10 160 30">
  718. <Dataset id="innerdataset">
  719. <ColumnInfo>
  720. <Column id="codecolumn" size="256"/>
  721. <Column id="datacolumn" size="256"/>
  722. </ColumnInfo>
  723. <Rows>
  724. <Row>
  725. <Col id="codecolumn">1</Col>
  726. <Col id="datacolumn">보고일</Col>
  727. </Row>
  728. <Row>
  729. <Col id="codecolumn">2</Col>
  730. <Col id="datacolumn">접수일</Col>
  731. </Row>
  732. </Rows>
  733. </Dataset>
  734. </Combo>
  735. <Button id="btn_tcls" taborder="18" text="검사선택" onclick="Div00_btn_tcls_onclick" class="btn2" position="absolute 547 10 615 30"/>
  736. <Button id="btn_reset" taborder="19" text="초기화" onclick="Div00_btn_reset_onclick" class="btn1" position="absolute 1175 10 1244 30" anchor="top right"/>
  737. <Radio id="rdo_compar" taborder="20" columncount="2" rowcount="0" index="0" codecolumn="codecolumn" datacolumn="datacolumn" value="1" visible="false" position="absolute 820 10 1006 30">
  738. <Dataset id="innerdataset">
  739. <ColumnInfo>
  740. <Column id="codecolumn" size="256"/>
  741. <Column id="datacolumn" size="256"/>
  742. </ColumnInfo>
  743. <Rows>
  744. <Row>
  745. <Col id="codecolumn">1</Col>
  746. <Col id="datacolumn">전월,전분기</Col>
  747. </Row>
  748. <Row>
  749. <Col id="codecolumn">2</Col>
  750. <Col id="datacolumn">전년</Col>
  751. </Row>
  752. </Rows>
  753. </Dataset>
  754. </Radio>
  755. <Static id="cap_compar" text="비교" class="search_name" visible="false" position="absolute 772 10 853 30"/>
  756. </Layout>
  757. </Layouts>
  758. </Div>
  759. <Static id="caption11" text="진행상태" class="search_name" position="absolute 876 74 949 94" anchor="top right"/>
  760. <Static id="cap_stat" text="0/0" position="absolute 953 74 990 94" anchor="top right"/>
  761. <CheckBox id="checkbox2" taborder="4" text="기타 표시" truevalue="1" onchanged="checkbox2_onchanged" position="absolute 990 74 1067 94" anchor="top right"/>
  762. <CheckBox id="chk_per" taborder="5" text="% 표시" truevalue="1" onchanged="chk_per_onchanged" position="absolute 1068 74 1131 94" anchor="top right" columncount="3"/>
  763. <CheckBox id="chk_incre" taborder="6" text="증감율 표시" truevalue="1" onclick="chk_incre_onclick" visible="false" position="absolute 1134 74 1194 94" anchor="top right" columncount="3"/>
  764. <Tab id="switch4" taborder="7" onchanged="switch4_onchanged" tabindex="0" visible="false" position="absolute 216 75 1046 744">
  765. <Tabpages>
  766. <Tabpage id="case_setup" text="설정 조회" class="tab_Normal">
  767. <Layouts>
  768. <Layout>
  769. <Button id="btn_flag_del" taborder="71" text="선택삭제" onclick="switch2_case_setup_btn_flag_del_onclick" class="btn2" position="absolute 681 7 749 27"/>
  770. <Button id="btn_flag_up" taborder="72" onclick="switch2_case_setup_btn_flag_up_onclick" class="icon_top" position="absolute 635 7 655 27"/>
  771. <Button id="btn_flag_down" taborder="73" onclick="switch2_case_setup_btn_flag_down_onclick" class="icon_bottom" position="absolute 658 7 678 27"/>
  772. <Static id="caption10" text="검사별 집계 방법 설정" class="tit_2" position="absolute 380 10 536 30"/>
  773. <Button id="btn_flag_add" taborder="74" text="로우추가" onclick="switch2_case_setup_btn_flag_add_onclick" class="btn2" position="absolute 752 7 820 27"/>
  774. <Grid id="grd_flag" taborder="75" binddataset="ds_grid_grd_flag" useinputpanel="false" autofittype="col" position="absolute 380 53 820 300">
  775. <Formats>
  776. <Format id="default">
  777. <Columns>
  778. <Column size="0"/>
  779. <Column size="30"/>
  780. <Column size="30"/>
  781. <Column size="160"/>
  782. <Column size="66"/>
  783. <Column size="100"/>
  784. <Column size="0"/>
  785. <Column size="35"/>
  786. </Columns>
  787. <Rows>
  788. <Row size="22" band="head"/>
  789. <Row size="20"/>
  790. </Rows>
  791. <Band id="head">
  792. <Cell text="검사코드"/>
  793. <Cell col="1" text="No."/>
  794. <Cell col="2" text="상태"/>
  795. <Cell col="3" text="구분명"/>
  796. <Cell col="4" text="구분방법"/>
  797. <Cell col="5" text="구분값"/>
  798. <Cell col="6" text="판단순서"/>
  799. <Cell col="7" text="표순"/>
  800. </Band>
  801. <Band id="body">
  802. <Cell/>
  803. <Cell col="1" celltype="head" expr="currow+1"/>
  804. <Cell col="2" displaytype="image" expr="expr: getRowType(currow) == 2 ?'theme://images/ico_i.png' : (getRowType(currow) == 4 ? 'theme://images/ico_u.png' : (getRowType(currow) == 8 ? 'theme://images/ico_d.png' : 'theme://images/ico_e.png'))"/>
  805. <Cell col="3" displaytype="text" edittype="text" style="align:left;" text="bind:flagnm" expr="expr:flagnm !=null? ' '+flagnm:flagnm"/>
  806. <Cell col="4" displaytype="combo" edittype="combo" style="align:left;" text="bind:flaggbn" combodataset="ds_grid_cmb_flag" combocodecol="cd" combodatacol="nm"/>
  807. <Cell col="5" displaytype="text" edittype="text" style="align:left;" text="bind:flagval" expr="expr:flagval !=null? ' '+flagval:&quot;&quot;"/>
  808. <Cell col="6" style="align:left;"/>
  809. <Cell col="7" displaytype="text" edittype="text" style="align:left;" text="bind:stepseq" expr="expr:stepseq !=null? ' '+stepseq:stepseq"/>
  810. </Band>
  811. </Format>
  812. </Formats>
  813. </Grid>
  814. <Grid id="grd_tclslist" taborder="76" binddataset="ds_grid_grd_tclslist" useinputpanel="false" autofittype="col" position="absolute 10 330 820 636">
  815. <Formats>
  816. <Format id="default">
  817. <Columns>
  818. <Column size="30"/>
  819. <Column size="27"/>
  820. <Column size="90"/>
  821. <Column size="487"/>
  822. <Column size="100"/>
  823. <Column size="1"/>
  824. </Columns>
  825. <Rows>
  826. <Row size="22" band="head"/>
  827. <Row size="20"/>
  828. </Rows>
  829. <Band id="head">
  830. <Cell text="No."/>
  831. <Cell col="1"/>
  832. <Cell col="2" text="검사코드"/>
  833. <Cell col="3" text="검사명"/>
  834. <Cell col="4" text="검사구분"/>
  835. <Cell col="5"/>
  836. </Band>
  837. <Band id="body">
  838. <Cell celltype="head" expr="currow+1"/>
  839. <Cell col="1" displaytype="expr:lf_CheckBaccd(currow) == -1 ? 'checkbox': 'normal '" edittype="expr:lf_CheckBaccd(currow) == -1 ? 'checkbox': 'none '" text="bind:chk"/>
  840. <Cell col="2" style="align:left middle;" text="bind:tclscd" expr="expr:expr:tclscd != null? ' ' +tclscd: tclscd"/>
  841. <Cell col="3" style="align:left middle;" expr="expr:tclsnm != null? ' ' +tclsnm: tclsnm"/>
  842. <Cell col="4" style="align:left;" expr="expr:tclskind == '1'? ' Panel' : (tclskind == '2'? ' Single': (tclskind == '3'? ' Parent':' Child'))"/>
  843. <Cell col="5"/>
  844. </Band>
  845. </Format>
  846. </Formats>
  847. </Grid>
  848. <Edit id="ipt_refgbn" taborder="77" onkeydown="switch2_case_setup_ipt_refgbn_onkeydown" class="input_s_button" position="absolute 699 307 820 327"/>
  849. <Static id="caption27" text="검색구분" class="search_name" position="absolute 537 307 624 327"/>
  850. <Combo id="cmb_refgbn" taborder="78" value="2" text="검사명" codecolumn="codecolumn" datacolumn="datacolumn" index="1" class="combo_search" position="absolute 611 307 696 327">
  851. <Dataset id="innerdataset">
  852. <ColumnInfo>
  853. <Column id="codecolumn" size="256"/>
  854. <Column id="datacolumn" size="256"/>
  855. </ColumnInfo>
  856. <Rows>
  857. <Row>
  858. <Col id="codecolumn">1</Col>
  859. <Col id="datacolumn">검사코드</Col>
  860. </Row>
  861. <Row>
  862. <Col id="codecolumn">2</Col>
  863. <Col id="datacolumn">검사명</Col>
  864. </Row>
  865. </Rows>
  866. </Dataset>
  867. </Combo>
  868. <Button id="btn_add_testcd" taborder="79" onclick="switch2_case_setup_btn_add_testcd_onclick" class="icon_top" position="absolute 83 307 103 327"/>
  869. <Static id="caption7" text="검사추가" class="tit_2" position="absolute 10 310 83 330"/>
  870. <Static id="caption8" text="통계 대상 검사 목록" class="tit_2" position="absolute 10 10 153 30"/>
  871. <Static id="cap_flag_list" text="대상 검사를 선택하여 주십시요" class="search_name" position="absolute 380 30 818 50"/>
  872. <Edit id="ipt_testcd" taborder="80" visible="false" position="absolute 720 30 820 50"/>
  873. <Button id="btn_tlist_up" taborder="81" onclick="switch2_case_setup_btn_tlist_up_onclick" class="icon_top" position="absolute 257 7 277 27"/>
  874. <Button id="btn_tlist_down" taborder="82" onclick="switch2_case_setup_btn_tlist_down_onclick" class="icon_bottom" position="absolute 280 7 300 27"/>
  875. <Button id="btn_tlist_del" taborder="83" text="선택삭제" onclick="switch2_case_setup_btn_tlist_del_onclick" class="btn2" position="absolute 302 7 370 27"/>
  876. <Grid id="grd_tlist" taborder="84" binddataset="ds_grid_grd_tlist" useinputpanel="false" autofittype="col" oncellclick="switch2_case_setup_grd_tlist_oncellclick" position="absolute 10 30 370 300" onclick="grd_tlist_onclick">
  877. <Formats>
  878. <Format id="default">
  879. <Columns>
  880. <Column size="30"/>
  881. <Column size="30"/>
  882. <Column size="80"/>
  883. <Column size="250"/>
  884. </Columns>
  885. <Rows>
  886. <Row size="24" band="head"/>
  887. <Row size="24"/>
  888. </Rows>
  889. <Band id="head">
  890. <Cell text="No."/>
  891. <Cell col="1" text="상태"/>
  892. <Cell col="2" text="검사코드"/>
  893. <Cell col="3" text="검사명"/>
  894. </Band>
  895. <Band id="body">
  896. <Cell celltype="head" expr="currow+1"/>
  897. <Cell col="1" displaytype="image" expr="expr: getRowType(currow) == 2 ?'theme://images/ico_i.png' : (getRowType(currow) == 4 ? 'theme://images/ico_u.png' : (getRowType(currow) == 8 ? 'theme://images/ico_d.png' : 'theme://images/ico_e.png'))"/>
  898. <Cell col="2" style="align:left;" expr="expr:testcd !=null? ' '+testcd:testcd"/>
  899. <Cell col="3" style="align:left;" expr="expr:tnm !=null? ' '+tnm:tnm"/>
  900. </Band>
  901. </Format>
  902. </Formats>
  903. </Grid>
  904. </Layout>
  905. </Layouts>
  906. </Tabpage>
  907. <Tabpage id="case_save" text="설정 저장" class="tab_Normal"/>
  908. <Tabpage id="case_close" text="설정 닫기" class="tab_Normal">
  909. <Layouts>
  910. <Layout>
  911. <Static id="Static00" text="3" class="sta_guide" visible="false" position="absolute 43 636 153 646"/>
  912. </Layout>
  913. </Layouts>
  914. </Tabpage>
  915. </Tabpages>
  916. </Tab>
  917. <Tab id="switch2" taborder="8" onchanged="switch2_onchanged" tabindex="0" class="tab_Normal" visible="false" position="absolute 216 85 1046 754">
  918. <Tabpages>
  919. <Tabpage id="case_spc" text="검체선택" class="tab_Normal">
  920. <Layouts>
  921. <Layout>
  922. <Div id="group_search" taborder="7" position="absolute 370 5 785 30">
  923. <Layouts>
  924. <Layout width="415" height="25">
  925. <Button id="button4" taborder="21" text="검색" onclick="switch2_case_spc_group_search_button4_onclick" class="btn2_letter2" position="absolute 260 5 302 25"/>
  926. <Edit id="input3" taborder="22" onkeydown="switch2_case_spc_group_search_input3_onkeydown" position="absolute 110 5 245 25"/>
  927. <Radio id="radio7" taborder="23" columncount="2" rowcount="0" index="1" codecolumn="codecolumn" datacolumn="datacolumn" value="nm" position="absolute 10 5 100 25">
  928. <Dataset id="innerdataset">
  929. <ColumnInfo>
  930. <Column id="codecolumn" size="256"/>
  931. <Column id="datacolumn" size="256"/>
  932. </ColumnInfo>
  933. <Rows>
  934. <Row>
  935. <Col id="codecolumn">cd</Col>
  936. <Col id="datacolumn">코드</Col>
  937. </Row>
  938. <Row>
  939. <Col id="codecolumn">nm</Col>
  940. <Col id="datacolumn">명칭</Col>
  941. </Row>
  942. </Rows>
  943. </Dataset>
  944. </Radio>
  945. <Button id="button1" taborder="24" text="전체해제" onclick="switch2_case_spc_group_search_button1_onclick" class="btn2" position="absolute 330 5 405 25"/>
  946. </Layout>
  947. </Layouts>
  948. </Div>
  949. <Radio id="radio8" taborder="8" columncount="2" rowcount="0" index="0" codecolumn="codecolumn" datacolumn="datacolumn" value="0" onitemchanged="switch2_case_spc_radio8_onitemchanged" position="absolute 170 10 330 30">
  950. <Dataset id="innerdataset">
  951. <ColumnInfo>
  952. <Column id="codecolumn" size="256"/>
  953. <Column id="datacolumn" size="256"/>
  954. </ColumnInfo>
  955. <Rows>
  956. <Row>
  957. <Col id="codecolumn">0</Col>
  958. <Col id="datacolumn">전체조회</Col>
  959. </Row>
  960. <Row>
  961. <Col id="codecolumn">1</Col>
  962. <Col id="datacolumn">일부조회</Col>
  963. </Row>
  964. </Rows>
  965. </Dataset>
  966. </Radio>
  967. <Static id="caption13" text="검체 선택" class="search_name" position="absolute 20 10 155 30"/>
  968. <TextArea id="txa_spc" taborder="9" position="absolute 626 65 816 645"/>
  969. <Static id="caption16" text="선택 검체" class="search_name" position="absolute 625 45 720 65"/>
  970. <Static id="cap_spccnt" text="0" position="absolute 762 45 797 65" style="align:right middle;"/>
  971. <Static id="caption18" text="건" position="absolute 803 45 820 65"/>
  972. <Static id="Static08" text="h10" class="sta_guide" visible="false" position="absolute 700 646 800 656"/>
  973. <cp_checkboxList id="chk_cdlist" titletext="CheckBox List" taborder="10" onlbuttonup="switch2_case_spc_group_cdlist_Div01_chk_cdlist_onlbuttonup" text="cp_checkboxList00" scrollbars="none" dragscrolltype="none" position="absolute 11 38 440 351" style="background:transparent; " col="2" row="" cellspacing="2" vcellspacing="0" itemWidth="300" itemHeight="20" overflow="visible"/>
  974. </Layout>
  975. </Layouts>
  976. </Tabpage>
  977. <Tabpage id="case_tcls" text="검사선택" class="tab_Normal">
  978. <Layouts>
  979. <Layout>
  980. <Div id="group_search2" taborder="7" position="absolute 370 5 785 30">
  981. <Layouts>
  982. <Layout>
  983. <Button id="button5" taborder="25" text="검색" onclick="switch2_case_tcls_group_search2_button5_onclick" class="btn2_letter2" position="absolute 260 5 302 25"/>
  984. <Edit id="input1" taborder="26" onkeydown="switch2_case_tcls_group_search2_input1_onkeydown" position="absolute 110 5 245 25"/>
  985. <Radio id="radio2" taborder="27" columncount="2" rowcount="0" index="1" codecolumn="codecolumn" datacolumn="datacolumn" value="nm" position="absolute 10 5 100 25">
  986. <Dataset id="innerdataset">
  987. <ColumnInfo>
  988. <Column id="codecolumn" size="256"/>
  989. <Column id="datacolumn" size="256"/>
  990. </ColumnInfo>
  991. <Rows>
  992. <Row>
  993. <Col id="codecolumn">cd</Col>
  994. <Col id="datacolumn">코드</Col>
  995. </Row>
  996. <Row>
  997. <Col id="codecolumn">nm</Col>
  998. <Col id="datacolumn">명칭</Col>
  999. </Row>
  1000. </Rows>
  1001. </Dataset>
  1002. </Radio>
  1003. <Button id="button6" taborder="28" text="전체해제" onclick="switch2_case_tcls_group_search2_button6_onclick" class="btn2" position="absolute 330 5 405 25"/>
  1004. </Layout>
  1005. </Layouts>
  1006. </Div>
  1007. <Static id="caption12" text="검사 선택" class="search_name" position="absolute 20 10 155 30"/>
  1008. <Radio id="radio1" taborder="8" columncount="2" rowcount="0" index="0" codecolumn="codecolumn" datacolumn="datacolumn" value="0" onitemchanged="switch2_case_tcls_radio1_onitemchanged" position="absolute 170 10 330 30">
  1009. <Dataset id="innerdataset">
  1010. <ColumnInfo>
  1011. <Column id="codecolumn" size="256"/>
  1012. <Column id="datacolumn" size="256"/>
  1013. </ColumnInfo>
  1014. <Rows>
  1015. <Row>
  1016. <Col id="codecolumn">0</Col>
  1017. <Col id="datacolumn">전체조회</Col>
  1018. </Row>
  1019. <Row>
  1020. <Col id="codecolumn">1</Col>
  1021. <Col id="datacolumn">일부조회</Col>
  1022. </Row>
  1023. </Rows>
  1024. </Dataset>
  1025. </Radio>
  1026. <cp_checkboxList id="chk_cdlist2" titletext="CheckBox List" taborder="9" onlbuttonup="switch2_case_tcls_chk_cdlist2_onlbuttonup" scrollbars="none" dragscrolltype="none" position="absolute 10 37 497 193" style="background:transparent;border:1 none black ;" col="2" row="" cellspacing="2" vcellspacing="0" itemWidth="300" itemHeight="20" overflow="visible"/>
  1027. <Static id="caption14" text="선택 검체" class="search_name" position="absolute 625 45 720 65"/>
  1028. <Static id="cap_tclscnt" text="0" position="absolute 762 45 797 65" style="background:transparent;align:right middle;"/>
  1029. <Static id="caption17" text="건" position="absolute 803 45 820 65"/>
  1030. <TextArea id="txa_tcls" taborder="10" position="absolute 626 65 816 645"/>
  1031. <Static id="Static08" text="h10" class="sta_guide" visible="false" position="absolute 656 646 756 656"/>
  1032. </Layout>
  1033. </Layouts>
  1034. </Tabpage>
  1035. </Tabpages>
  1036. </Tab>
  1037. <Tab id="switch5" taborder="9" onextrabuttonclick="switch5_onextrabuttonclick" tabindex="0" visible="false" position="absolute 216 75 322 103" style="showextrabutton:true;background:transparent URL('theme://images/bg_TabBodyTop.png') stretch 10,23;">
  1038. <Tabpages>
  1039. <Tabpage id="case_close" text="설정 닫기"/>
  1040. </Tabpages>
  1041. </Tab>
  1042. <Tab id="switch3" taborder="10" tabindex="0" class="tab_Normal" visible="false" position="absolute 216 87 1126 803">
  1043. <Tabpages>
  1044. <Tabpage id="case5" class="tab_Normal">
  1045. <Layouts>
  1046. <Layout width="910" height="706">
  1047. <Grid id="grd_detail" taborder="13" binddataset="ds_grid_grd_detail" useinputpanel="false" autofittype="col" position="absolute 1 30 909 705">
  1048. <Formats>
  1049. <Format id="default">
  1050. <Columns>
  1051. <Column size="40"/>
  1052. <Column size="0"/>
  1053. <Column size="100"/>
  1054. <Column size="70"/>
  1055. <Column size="60"/>
  1056. <Column size="0"/>
  1057. <Column size="0"/>
  1058. <Column size="100"/>
  1059. <Column size="140"/>
  1060. <Column size="0"/>
  1061. <Column size="0"/>
  1062. <Column size="0"/>
  1063. <Column size="80"/>
  1064. <Column size="100"/>
  1065. <Column size="50"/>
  1066. <Column size="70"/>
  1067. <Column size="80"/>
  1068. </Columns>
  1069. <Rows>
  1070. <Row size="24" band="head"/>
  1071. <Row size="24"/>
  1072. </Rows>
  1073. <Band id="head">
  1074. <Cell text="No"/>
  1075. <Cell col="1" text="flag"/>
  1076. <Cell col="2" text="검체번호"/>
  1077. <Cell col="3" text="등록번호"/>
  1078. <Cell col="4" text="환자명"/>
  1079. <Cell col="5" text="검사코드"/>
  1080. <Cell col="6" text="검사명"/>
  1081. <Cell col="7" text="판정결과"/>
  1082. <Cell col="8" text="입력결과"/>
  1083. <Cell col="9" text="출력결과"/>
  1084. <Cell col="10" text="접수일시"/>
  1085. <Cell col="11" text="결과일시"/>
  1086. <Cell col="12" text="숫자변환결과"/>
  1087. <Cell col="13" text="구분명"/>
  1088. <Cell col="14" text="판정값"/>
  1089. <Cell col="15" text="구분방법"/>
  1090. <Cell col="16" text="구분값"/>
  1091. </Band>
  1092. <Band id="body">
  1093. <Cell celltype="head" text="bind:seq"/>
  1094. <Cell col="1" text="bind:errflag"/>
  1095. <Cell col="2" celltype="head" text="bind:bcno"/>
  1096. <Cell col="3" celltype="head" text="bind:pid"/>
  1097. <Cell col="4" celltype="head" text="bind:hngnm"/>
  1098. <Cell col="5" text="bind:testcd"/>
  1099. <Cell col="6" text="bind:tnm"/>
  1100. <Cell col="7" style="align:left middle;" text="bind:judgeval"/>
  1101. <Cell col="8" style="align:left middle;" text="bind:inptrslt"/>
  1102. <Cell col="9" text="bind:reptrslt"/>
  1103. <Cell col="10" text="bind:spcacptdt" mask="@@@@-@@-@@ @@:@@:@@"/>
  1104. <Cell col="11" text="bind:lastreptdt" mask="@@@@-@@-@@ @@:@@:@@"/>
  1105. <Cell col="12" text="bind:numval"/>
  1106. <Cell col="13" style="align:left middle;" text="bind:flagnm"/>
  1107. <Cell col="14" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:flag" combodataset="ds_grid_grd_cmb" combocodecol="value" combodatacol="label"/>
  1108. <Cell col="15" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:flaggbn" combodataset="ds_grid_cmb_flag" combocodecol="cd" combodatacol="nm"/>
  1109. <Cell col="16" style="align:left middle;" text="bind:flagval"/>
  1110. </Band>
  1111. </Format>
  1112. </Formats>
  1113. </Grid>
  1114. <Button id="button3" taborder="14" text="상세닫기" onclick="switch3_case5_button3_onclick" class="btn2" position="absolute 842 7 910 27" anchor="top right"/>
  1115. <CheckBox id="chk_errflag" taborder="15" text="기타&amp;중복 보기" truevalue="1" onclick="switch3_case5_chk_errflag_onclick" position="absolute 690 8 797 28" anchor="top right"/>
  1116. <Button id="button7" taborder="16" text="엑셀" onclick="switch3_case5_button7_onclick" class="btn2" position="absolute 795 7 839 27" anchor="top right"/>
  1117. <Static id="Static33" text="3" class="sta_guide" visible="false" position="absolute 839 3 842 35"/>
  1118. <Static id="Static00" text="3" class="sta_guide" visible="false" position="absolute 792 1 795 33"/>
  1119. <Static id="caption4" text="상세조회" class="search_name" position="absolute 8 10 426 30"/>
  1120. </Layout>
  1121. </Layouts>
  1122. </Tabpage>
  1123. </Tabpages>
  1124. </Tab>
  1125. <Static id="caption6" text="미생물 결과 유형별 통계" class="tit_1" position="absolute 0 3 209 23"/>
  1126. </Layout>
  1127. </Layouts>
  1128. <Objects>
  1129. <Dataset id="ds_grid_grd_days" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1130. <ColumnInfo>
  1131. <Column id="seq" type="STRING"/>
  1132. <Column id="tnm" type="STRING"/>
  1133. <Column id="testcd" type="STRING"/>
  1134. <Column id="flagnm" type="STRING"/>
  1135. <Column id="a01" type="STRING"/>
  1136. <Column id="a01p" type="STRING"/>
  1137. <Column id="a02" type="STRING"/>
  1138. <Column id="a02p" type="STRING"/>
  1139. <Column id="a03" type="STRING"/>
  1140. <Column id="a03p" type="STRING"/>
  1141. <Column id="a04" type="STRING"/>
  1142. <Column id="a04p" type="STRING"/>
  1143. <Column id="a05" type="STRING"/>
  1144. <Column id="a05p" type="STRING"/>
  1145. <Column id="a06" type="STRING"/>
  1146. <Column id="a06p" type="STRING"/>
  1147. <Column id="a07" type="STRING"/>
  1148. <Column id="a07p" type="STRING"/>
  1149. <Column id="a08" type="STRING"/>
  1150. <Column id="a08p" type="STRING"/>
  1151. <Column id="a09" type="STRING"/>
  1152. <Column id="a09p" type="STRING"/>
  1153. <Column id="a10" type="STRING"/>
  1154. <Column id="a10p" type="STRING"/>
  1155. <Column id="a11" type="STRING"/>
  1156. <Column id="a11p" type="STRING"/>
  1157. <Column id="a12" type="STRING"/>
  1158. <Column id="a12p" type="STRING"/>
  1159. <Column id="a13" type="STRING"/>
  1160. <Column id="a13p" type="STRING"/>
  1161. <Column id="a14" type="STRING"/>
  1162. <Column id="a14p" type="STRING"/>
  1163. <Column id="a15" type="STRING"/>
  1164. <Column id="a15p" type="STRING"/>
  1165. <Column id="a16" type="STRING"/>
  1166. <Column id="a16p" type="STRING"/>
  1167. <Column id="a17" type="STRING"/>
  1168. <Column id="a17p" type="STRING"/>
  1169. <Column id="a18" type="STRING"/>
  1170. <Column id="a18p" type="STRING"/>
  1171. <Column id="a19" type="STRING"/>
  1172. <Column id="a19p" type="STRING"/>
  1173. <Column id="a20" type="STRING"/>
  1174. <Column id="a20p" type="STRING"/>
  1175. <Column id="a21" type="STRING"/>
  1176. <Column id="a21p" type="STRING"/>
  1177. <Column id="a22" type="STRING"/>
  1178. <Column id="a22p" type="STRING"/>
  1179. <Column id="a23" type="STRING"/>
  1180. <Column id="a23p" type="STRING"/>
  1181. <Column id="a24" type="STRING"/>
  1182. <Column id="a24p" type="STRING"/>
  1183. <Column id="a25" type="STRING"/>
  1184. <Column id="a25p" type="STRING"/>
  1185. <Column id="a26" type="STRING"/>
  1186. <Column id="a26p" type="STRING"/>
  1187. <Column id="a27" type="STRING"/>
  1188. <Column id="a27p" type="STRING"/>
  1189. <Column id="a28" type="STRING"/>
  1190. <Column id="a28p" type="STRING"/>
  1191. <Column id="a29" type="STRING"/>
  1192. <Column id="a29p" type="STRING"/>
  1193. <Column id="a30" type="STRING"/>
  1194. <Column id="a30p" type="STRING"/>
  1195. <Column id="a31" type="STRING"/>
  1196. <Column id="a31p" type="STRING"/>
  1197. <Column id="ahap" type="STRING"/>
  1198. <Column id="ahapp" type="STRING"/>
  1199. </ColumnInfo>
  1200. </Dataset>
  1201. <Dataset id="ds_grid_grd_month" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1202. <ColumnInfo>
  1203. <Column id="seq" type="STRING"/>
  1204. <Column id="tnm" type="STRING"/>
  1205. <Column id="testcd" type="STRING"/>
  1206. <Column id="flagnm" type="STRING"/>
  1207. <Column id="a01bf" type="STRING"/>
  1208. <Column id="a01bfp" type="STRING"/>
  1209. <Column id="a01" type="STRING"/>
  1210. <Column id="a01p" type="STRING"/>
  1211. <Column id="a01i" type="STRING"/>
  1212. <Column id="a02" type="STRING"/>
  1213. <Column id="a02p" type="STRING"/>
  1214. <Column id="a02i" type="STRING"/>
  1215. <Column id="a03" type="STRING"/>
  1216. <Column id="a03p" type="STRING"/>
  1217. <Column id="a03i" type="STRING"/>
  1218. <Column id="a04" type="STRING"/>
  1219. <Column id="a04p" type="STRING"/>
  1220. <Column id="a04i" type="STRING"/>
  1221. <Column id="a05" type="STRING"/>
  1222. <Column id="a05p" type="STRING"/>
  1223. <Column id="a05i" type="STRING"/>
  1224. <Column id="a06" type="STRING"/>
  1225. <Column id="a06p" type="STRING"/>
  1226. <Column id="a06i" type="STRING"/>
  1227. <Column id="a07" type="STRING"/>
  1228. <Column id="a07p" type="STRING"/>
  1229. <Column id="a07i" type="STRING"/>
  1230. <Column id="a08" type="STRING"/>
  1231. <Column id="a08p" type="STRING"/>
  1232. <Column id="a08i" type="STRING"/>
  1233. <Column id="a09" type="STRING"/>
  1234. <Column id="a09p" type="STRING"/>
  1235. <Column id="a09i" type="STRING"/>
  1236. <Column id="a10" type="STRING"/>
  1237. <Column id="a10p" type="STRING"/>
  1238. <Column id="a10i" type="STRING"/>
  1239. <Column id="a11" type="STRING"/>
  1240. <Column id="a11p" type="STRING"/>
  1241. <Column id="a11i" type="STRING"/>
  1242. <Column id="a12" type="STRING"/>
  1243. <Column id="a12p" type="STRING"/>
  1244. <Column id="a12i" type="STRING"/>
  1245. <Column id="ahap" type="STRING"/>
  1246. <Column id="ahapp" type="STRING"/>
  1247. </ColumnInfo>
  1248. </Dataset>
  1249. <Dataset id="ds_grid_grd_quarter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1250. <ColumnInfo>
  1251. <Column id="seq" type="STRING"/>
  1252. <Column id="tnm" type="STRING"/>
  1253. <Column id="testcd" type="STRING"/>
  1254. <Column id="flagnm" type="STRING"/>
  1255. <Column id="a01bf" type="STRING"/>
  1256. <Column id="a01bfp" type="STRING"/>
  1257. <Column id="a01" type="STRING"/>
  1258. <Column id="a01p" type="STRING"/>
  1259. <Column id="a01i" type="STRING"/>
  1260. <Column id="a02" type="STRING"/>
  1261. <Column id="a02p" type="STRING"/>
  1262. <Column id="a02i" type="STRING"/>
  1263. <Column id="a03" type="STRING"/>
  1264. <Column id="a03p" type="STRING"/>
  1265. <Column id="a03i" type="STRING"/>
  1266. <Column id="a04" type="STRING"/>
  1267. <Column id="a04p" type="STRING"/>
  1268. <Column id="a04i" type="STRING"/>
  1269. <Column id="ahap" type="STRING"/>
  1270. <Column id="ahapp" type="STRING"/>
  1271. </ColumnInfo>
  1272. </Dataset>
  1273. <Dataset id="ds_grid_grd_year" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1274. <ColumnInfo>
  1275. <Column id="seq" type="STRING"/>
  1276. <Column id="tnm" type="STRING"/>
  1277. <Column id="testcd" type="STRING"/>
  1278. <Column id="flagnm" type="STRING"/>
  1279. <Column id="a01" type="STRING"/>
  1280. <Column id="a01p" type="STRING"/>
  1281. <Column id="a02" type="STRING"/>
  1282. <Column id="a02p" type="STRING"/>
  1283. <Column id="a02i" type="STRING"/>
  1284. <Column id="a03" type="STRING"/>
  1285. <Column id="a03p" type="STRING"/>
  1286. <Column id="a03i" type="STRING"/>
  1287. <Column id="a04" type="STRING"/>
  1288. <Column id="a04p" type="STRING"/>
  1289. <Column id="a04i" type="STRING"/>
  1290. <Column id="a05" type="STRING"/>
  1291. <Column id="a05p" type="STRING"/>
  1292. <Column id="a05i" type="STRING"/>
  1293. <Column id="a06" type="STRING"/>
  1294. <Column id="a06p" type="STRING"/>
  1295. <Column id="a06i" type="STRING"/>
  1296. <Column id="a07" type="STRING"/>
  1297. <Column id="a07p" type="STRING"/>
  1298. <Column id="a07i" type="STRING"/>
  1299. <Column id="a08" type="STRING"/>
  1300. <Column id="a08p" type="STRING"/>
  1301. <Column id="a08i" type="STRING"/>
  1302. <Column id="a09" type="STRING"/>
  1303. <Column id="a09p" type="STRING"/>
  1304. <Column id="a09i" type="STRING"/>
  1305. <Column id="a10" type="STRING"/>
  1306. <Column id="a10p" type="STRING"/>
  1307. <Column id="a10i" type="STRING"/>
  1308. <Column id="ahap" type="STRING"/>
  1309. <Column id="ahapp" type="STRING"/>
  1310. </ColumnInfo>
  1311. </Dataset>
  1312. <Dataset id="ds_grid_grd_tlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1313. <ColumnInfo>
  1314. <Column id="testcd" type="STRING"/>
  1315. <Column id="tnm" type="STRING"/>
  1316. <Column id="seq" type="STRING"/>
  1317. <Column id="chk1" type="STRING" size="256"/>
  1318. <Column id="chk2" type="STRING" size="256"/>
  1319. </ColumnInfo>
  1320. </Dataset>
  1321. <Dataset id="ds_grid_grd_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1322. <ColumnInfo>
  1323. <Column id="testcd" type="STRING"/>
  1324. <Column id="flagnm" type="STRING"/>
  1325. <Column id="flaggbn" type="STRING"/>
  1326. <Column id="flagval" type="STRING"/>
  1327. <Column id="stepseq" type="STRING"/>
  1328. <Column id="dispseq" type="STRING"/>
  1329. </ColumnInfo>
  1330. </Dataset>
  1331. <Dataset id="ds_grid_grd_tclslist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1332. <ColumnInfo>
  1333. <Column id="chk" type="STRING"/>
  1334. <Column id="tclscd" type="STRING"/>
  1335. <Column id="tclsnm" type="STRING"/>
  1336. <Column id="tclskind" type="STRING"/>
  1337. <Column id="instcd" type="STRING"/>
  1338. </ColumnInfo>
  1339. </Dataset>
  1340. <Dataset id="ds_grid_grd_detail" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1341. <ColumnInfo>
  1342. <Column id="seq" type="STRING"/>
  1343. <Column id="errflag" type="STRING"/>
  1344. <Column id="bcno" type="STRING"/>
  1345. <Column id="pid" type="STRING"/>
  1346. <Column id="hngnm" type="STRING"/>
  1347. <Column id="testcd" type="STRING"/>
  1348. <Column id="tnm" type="STRING"/>
  1349. <Column id="judgeval" type="STRING"/>
  1350. <Column id="inptrslt" type="STRING"/>
  1351. <Column id="reptrslt" type="STRING"/>
  1352. <Column id="spcacptdt" type="STRING"/>
  1353. <Column id="lastreptdt" type="STRING"/>
  1354. <Column id="numval" type="STRING"/>
  1355. <Column id="flagnm" type="STRING"/>
  1356. <Column id="flag" type="STRING"/>
  1357. <Column id="flaggbn" type="STRING"/>
  1358. <Column id="flagval" type="STRING"/>
  1359. </ColumnInfo>
  1360. </Dataset>
  1361. <Dataset id="ds_grid_grd_cdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1362. <ColumnInfo>
  1363. <Column id="nm" type="STRING" size="256"/>
  1364. <Column id="cd" type="STRING" size="256"/>
  1365. <Column id="etc1" type="STRING" size="256"/>
  1366. <Column id="ect2" type="STRING" size="256"/>
  1367. <Column id="etc3" type="STRING" size="256"/>
  1368. </ColumnInfo>
  1369. </Dataset>
  1370. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1371. <ColumnInfo>
  1372. <Column id="daygbn" type="STRING" size="256"/>
  1373. <Column id="fromdd" type="STRING" size="256"/>
  1374. <Column id="fromdy" type="STRING" size="256"/>
  1375. <Column id="todd" type="STRING" size="256"/>
  1376. <Column id="gbn" type="STRING" size="256"/>
  1377. <Column id="flag" type="STRING" size="256"/>
  1378. <Column id="spcflag" type="STRING" size="256"/>
  1379. <Column id="spclist" type="STRING" size="256"/>
  1380. <Column id="seq" type="STRING" size="256"/>
  1381. <Column id="maincode" type="STRING" size="256"/>
  1382. <Column id="subcode" type="STRING" size="256"/>
  1383. <Column id="rexcode" type="STRING" size="256"/>
  1384. <Column id="refcont" type="STRING" size="256"/>
  1385. <Column id="testcd" type="STRING" size="256"/>
  1386. <Column id="year1" type="STRING" size="256"/>
  1387. <Column id="year2" type="STRING" size="256"/>
  1388. <Column id="year3" type="STRING" size="256"/>
  1389. <Column id="year4" type="STRING" size="256"/>
  1390. <Column id="year5" type="STRING" size="256"/>
  1391. <Column id="year6" type="STRING" size="256"/>
  1392. <Column id="year7" type="STRING" size="256"/>
  1393. <Column id="year8" type="STRING" size="256"/>
  1394. <Column id="year9" type="STRING" size="256"/>
  1395. <Column id="year10" type="STRING" size="256"/>
  1396. <Column id="tlist" type="STRING" size="256"/>
  1397. <Column id="flaglist" type="STRING" size="256"/>
  1398. </ColumnInfo>
  1399. </Dataset>
  1400. <Dataset id="ds_grid_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false"/>
  1401. <Dataset id="ds_grid_tmp_tlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1402. <ColumnInfo>
  1403. <Column id="testcd" type="STRING"/>
  1404. <Column id="tnm" type="STRING"/>
  1405. <Column id="seq" type="STRING"/>
  1406. <Column id="chk1" type="STRING" size="256"/>
  1407. <Column id="chk2" type="STRING" size="256"/>
  1408. </ColumnInfo>
  1409. </Dataset>
  1410. <Dataset id="ds_grid_cmb_flag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1411. <ColumnInfo>
  1412. <Column id="cd" type="STRING" size="256"/>
  1413. <Column id="nm" type="STRING" size="256"/>
  1414. </ColumnInfo>
  1415. <Rows>
  1416. <Row>
  1417. <Col id="cd">1</Col>
  1418. <Col id="nm">같다</Col>
  1419. </Row>
  1420. <Row>
  1421. <Col id="cd">2</Col>
  1422. <Col id="nm">포함</Col>
  1423. </Row>
  1424. <Row>
  1425. <Col id="cd">3</Col>
  1426. <Col id="nm">크다</Col>
  1427. </Row>
  1428. <Row>
  1429. <Col id="cd">4</Col>
  1430. <Col id="nm">크거나같다</Col>
  1431. </Row>
  1432. <Row>
  1433. <Col id="cd">5</Col>
  1434. <Col id="nm">작다</Col>
  1435. </Row>
  1436. <Row>
  1437. <Col id="nm">작거나같다</Col>
  1438. <Col id="cd">6</Col>
  1439. </Row>
  1440. </Rows>
  1441. </Dataset>
  1442. <Dataset id="ds_grid_tmp_flaglist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1443. <ColumnInfo>
  1444. <Column id="flagnm" type="STRING" size="256"/>
  1445. <Column id="flaggbn" type="STRING" size="256"/>
  1446. <Column id="flagval" type="STRING" size="256"/>
  1447. <Column id="stepseq" type="STRING" size="256"/>
  1448. </ColumnInfo>
  1449. </Dataset>
  1450. <Dataset id="ds_grid_grd_cmb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1451. <ColumnInfo>
  1452. <Column id="label" type="STRING" size="256"/>
  1453. <Column id="value" type="STRING" size="256"/>
  1454. </ColumnInfo>
  1455. <Rows>
  1456. <Row>
  1457. <Col id="label">거짓</Col>
  1458. <Col id="value">0</Col>
  1459. </Row>
  1460. <Row>
  1461. <Col id="label">참</Col>
  1462. <Col id="value">1</Col>
  1463. </Row>
  1464. </Rows>
  1465. </Dataset>
  1466. </Objects>
  1467. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1468. * System Name :
  1469. * Job Name :
  1470. * Creator :
  1471. * Make Date : 2015-11-13
  1472. * Description :
  1473. *---------------------------------------------------------------------------------------
  1474. * Modify Date Modifier Modify Description
  1475. *---------------------------------------------------------------------------------------
  1476. * 2015-11-13 Live Converter TF->XP
  1477. *
  1478. *---------------------------------------------------------------------------------------
  1479. ****************************************************************************************/
  1480. include "com_commonxp::comm_main.xjs";
  1481. include "com_commodulexp::SSZFM00701.xjs";
  1482. include "lis_commonxp::LLZ001.xjs";
  1483. function lf_setInit(){
  1484. Div00.ipt_workfromdd.value = utlf_getCurrentDate();
  1485. Div00.ipt_worktodd.value = utlf_getCurrentDate();
  1486. ds_grid_grd_cdlist.clearData();
  1487. ds_grid_grd_days.clearData();
  1488. ds_grid_grd_month.clearData();
  1489. ds_grid_grd_quarter.clearData();
  1490. ds_grid_grd_year.clearData();
  1491. switch2.case_tcls.txa_tcls.deleteText();
  1492. switch2.case_spc.txa_spc.deleteText();
  1493. Div00.cmb_daygbn.index = "0";
  1494. Div00.cmb_rtnabnflag.index ="0";
  1495. cap_stat.text ="0/0";
  1496. checkbox2.value = "1";
  1497. chk_per.value ="1";
  1498. chk_incre.value ="1";
  1499. switch1.tabindex = "0";
  1500. switch2.case_tcls.radio1.value ="0";
  1501. switch2.case_tcls.group_search2.radio2.index ="1";
  1502. switch2.case_spc.radio8.value="0";
  1503. switch2.case_spc.group_search.radio7.index="1";
  1504. switch2.case_tcls.cap_tclscnt.text ="0";
  1505. switch2.case_spc.chk_cdlist.text = "0";
  1506. switch2.case_tcls.group_search2.input1.value="";
  1507. switch2.case_spc.group_search.input3.value="";
  1508. switch3.case5.chk_errflag.value="1";
  1509. //연별 그리드 - 2014년만 있도록
  1510. for (var j=32 ; j>5; j--){ // 조회되는 년도 컬럼 size 88,50,85
  1511. switch1.case3.grd_year.setFormatColProperty(j,"size",0);
  1512. }
  1513. var sInDsName = dsf_createDsRow("ds_temp_search"
  1514. , [{col: "gbn", val: "Spc"}]);
  1515. var oParam = {};
  1516. oParam.id = "TRLLS00001";
  1517. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  1518. oParam.method = "reqGetBaseInfo";
  1519. oParam.inds = "cond="+sInDsName;
  1520. oParam.outds = "ds_grid_grd_cdlist=getCdlist";
  1521. oParam.async = false;
  1522. tranf_submit(oParam);
  1523. switch2.case_spc.chk_cdlist.setBindDataset(ds_grid_grd_cdlist,"cd","nm"); // 검체선택
  1524. Div00.cmb_rtnabnflag.value = "1";
  1525. lf_getSetup();
  1526. }
  1527. //설정 내용 조회
  1528. function lf_getSetup(){
  1529. ds_grid_grd_tlist.clearData();
  1530. ds_grid_grd_flag.clearData();
  1531. var sInDsName = dsf_createDsRow("ds_temp_search"
  1532. , [{col: "maincode", val:"LSP12" }
  1533. , {col: "subcode", val:"LSP13" }]);
  1534. var oParam = {};
  1535. oParam.id = "TRLLS01405";
  1536. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  1537. oParam.method = "reqGetTestList";
  1538. oParam.inds = "cond="+sInDsName;
  1539. oParam.outds = "ds_grid_grd_tlist=getTestList ds_grid_grd_flag=getFlagList";
  1540. oParam.async = false;
  1541. tranf_submit(oParam);
  1542. switch2.case_tcls.chk_cdlist2.setBindDataset(ds_grid_grd_tlist,"testcd","tnm"); // 검사선택
  1543. }
  1544. //설정 - 통계대상검사목록 - 위로
  1545. function lf_tlistUp(){
  1546. if(ds_grid_grd_tlist.rowposition >0 && ds_grid_grd_tlist.rowposition<ds_grid_grd_tlist.rowcount){
  1547. ds_grid_tmp_tlist.clearData();
  1548. var s =ds_grid_tmp_tlist.addRow();
  1549. var seq1 = ds_grid_grd_tlist.getColumn(ds_grid_grd_tlist.rowposition-1,"seq");
  1550. var seq2 = ds_grid_grd_tlist.getColumn(ds_grid_grd_tlist.rowposition,"seq");
  1551. ds_grid_grd_tlist.setColumn(ds_grid_grd_tlist.rowposition-1,"seq",seq2); // 표순 바꿔주기
  1552. ds_grid_grd_tlist.setColumn(ds_grid_grd_tlist.rowposition,"seq",seq1);
  1553. ds_grid_tmp_tlist.copyRow(s,ds_grid_grd_tlist,ds_grid_grd_tlist.rowposition-1);
  1554. ds_grid_grd_tlist.copyRow(ds_grid_grd_tlist.rowposition-1,ds_grid_grd_tlist,ds_grid_grd_tlist.rowposition);
  1555. ds_grid_grd_tlist.copyRow(ds_grid_grd_tlist.rowposition,ds_grid_tmp_tlist,s);
  1556. ds_grid_grd_tlist.rowposition = ds_grid_grd_tlist.rowposition-1;
  1557. }
  1558. }
  1559. //설정 - 통계대상검사목록 - 아래로
  1560. function lf_tlistDown(){
  1561. if(ds_grid_grd_tlist.rowposition > -1 && ds_grid_grd_tlist.rowposition<ds_grid_grd_tlist.rowcount-1){
  1562. ds_grid_tmp_tlist.clearData();
  1563. var s =ds_grid_tmp_tlist.addRow();
  1564. var seq1 = ds_grid_grd_tlist.getColumn(ds_grid_grd_tlist.rowposition,"seq");
  1565. var seq2 = ds_grid_grd_tlist.getColumn(ds_grid_grd_tlist.rowposition+1,"seq");
  1566. ds_grid_grd_tlist.setColumn(ds_grid_grd_tlist.rowposition,"seq",seq2); // 표순 바꿔주기
  1567. ds_grid_grd_tlist.setColumn(ds_grid_grd_tlist.rowposition+1,"seq",seq1);
  1568. ds_grid_tmp_tlist.copyRow(s,ds_grid_grd_tlist,ds_grid_grd_tlist.rowposition+1);
  1569. ds_grid_grd_tlist.copyRow(ds_grid_grd_tlist.rowposition+1,ds_grid_grd_tlist,ds_grid_grd_tlist.rowposition);
  1570. ds_grid_grd_tlist.copyRow(ds_grid_grd_tlist.rowposition,ds_grid_tmp_tlist,s);
  1571. ds_grid_grd_tlist.rowposition = ds_grid_grd_tlist.rowposition+1;
  1572. }
  1573. }
  1574. //설정 - 검사별집계방법설정 - 위로
  1575. function lf_flagUp(){
  1576. if(ds_grid_grd_flag.rowposition >0 && ds_grid_grd_flag.rowposition<ds_grid_grd_flag.rowcount){
  1577. ds_grid_tmp_flaglist.clearData();
  1578. var s =ds_grid_tmp_flaglist.addRow();
  1579. var stepseq1 = ds_grid_grd_flag.getColumn(ds_grid_grd_flag.rowposition-1,"stepseq");
  1580. var stepseq2 = ds_grid_grd_flag.getColumn(ds_grid_grd_flag.rowposition,"stepseq");
  1581. ds_grid_grd_flag.setColumn(ds_grid_grd_flag.rowposition-1,"stepseq",stepseq2); // 표순 바꿔주기
  1582. ds_grid_grd_flag.setColumn(ds_grid_grd_flag.rowposition,"stepseq",stepseq1);
  1583. ds_grid_tmp_flaglist.copyRow(s,ds_grid_grd_flag,ds_grid_grd_flag.rowposition-1);
  1584. ds_grid_grd_flag.copyRow(ds_grid_grd_flag.rowposition-1,ds_grid_grd_flag,ds_grid_grd_flag.rowposition);
  1585. ds_grid_grd_flag.copyRow(ds_grid_grd_flag.rowposition,ds_grid_tmp_flaglist,s);
  1586. ds_grid_grd_flag.rowposition = ds_grid_grd_flag.rowposition-1;
  1587. }
  1588. }
  1589. //설정 - 검사별집계방법설정 - 아래로
  1590. function lf_flagDown(){
  1591. if(ds_grid_grd_flag.rowposition >-1 && ds_grid_grd_flag.rowposition<ds_grid_grd_flag.rowcount-1){
  1592. ds_grid_tmp_flaglist.clearData();
  1593. var s =ds_grid_tmp_flaglist.addRow();
  1594. var stepseq1 = ds_grid_grd_flag.getColumn(ds_grid_grd_flag.rowposition,"stepseq");
  1595. var stepseq2 = ds_grid_grd_flag.getColumn(ds_grid_grd_flag.rowposition+1,"stepseq");
  1596. ds_grid_grd_flag.setColumn(ds_grid_grd_flag.rowposition,"stepseq",stepseq2); // 표순 바꿔주기
  1597. ds_grid_grd_flag.setColumn(ds_grid_grd_flag.rowposition+1,"stepseq",stepseq1);
  1598. ds_grid_tmp_flaglist.copyRow(s,ds_grid_grd_flag,ds_grid_grd_flag.rowposition+1);
  1599. ds_grid_grd_flag.copyRow(ds_grid_grd_flag.rowposition+1,ds_grid_grd_flag,ds_grid_grd_flag.rowposition);
  1600. ds_grid_grd_flag.copyRow(ds_grid_grd_flag.rowposition,ds_grid_tmp_flaglist,s);
  1601. ds_grid_grd_flag.rowposition = ds_grid_grd_flag.rowposition+1;
  1602. }
  1603. }
  1604. //설정 - 겸사별집계방법설정 - 로우추가
  1605. function lf_flagAdd(){
  1606. var nRow = ds_grid_grd_flag.addRow();
  1607. ds_grid_grd_flag.setColumn(nRow,"testcd",ds_grid_grd_tlist.getColumn(ds_grid_grd_tlist.rowposition,"testcd"));
  1608. if(ds_grid_grd_flag.rowcount == "1"){
  1609. ds_grid_grd_flag.setColumn(nRow,"stepseq","1");
  1610. }else{
  1611. var stepseq = parseInt(ds_grid_grd_flag.getColumn(nRow-1,"stepseq"));
  1612. ds_grid_grd_flag.setColumn(nRow,"stepseq",stepseq+1);
  1613. }
  1614. ds_grid_grd_flag.setColumn(nRow,"flagnm","");
  1615. ds_grid_grd_flag.setColumn(nRow,"flagval","");;
  1616. }
  1617. // 널값체크
  1618. function lf_checkNull(){
  1619. var bChkValue= frmf_chkMdtGrid(switch4.case_setup.grd_flag,[2,3,4,5],["구분명","구분방법","구분값","표순"]);
  1620. if(bChkValue==true) lf_setTestFlagList();
  1621. }
  1622. //설정 저장
  1623. function lf_setTestFlagList(){
  1624. var sInDsName = dsf_createDsRow("ds_temp_cond"
  1625. , [{col: "maincode", val: "LSP12"}
  1626. , {col: "subcode", val: "LSP13"}]);
  1627. var oParam = {};
  1628. oParam.id = "TXLLS01401";
  1629. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  1630. oParam.method = "reqSetTestFlagList";
  1631. oParam.inds = "cond="+sInDsName+" tlist=ds_grid_grd_tlist flaglist=ds_grid_grd_flag";
  1632. oParam.async = false;
  1633. oParam.callback = "cbf_SMLLS01400";
  1634. tranf_submit(oParam);
  1635. }
  1636. //콜백함수
  1637. function cbf_SMLLS01400(strSvcID, nErrorCode, strErrorMag){
  1638. if(strSvcID == "TXLLS01401" && nErrorCode==0){
  1639. lf_setInit();
  1640. ds_grid_grd_tlist.rowposition="0";
  1641. sysf_messageBox("","I001","");
  1642. lf_setFlagGrid();
  1643. }
  1644. }
  1645. // 통계 조회
  1646. function lf_getTestStsCnt(){
  1647. if(switch2.case_spc.radio8.value == "1" && switch2.case_spc.chk_cdlist.getData() == null){
  1648. sysf_messageBox("검체를 선택하지 않았습니다\n\n전체조회로 하시거나, 검체를 선택하여 주십시요","E");
  1649. return;
  1650. }
  1651. if(switch2.case_tcls.radio1.value== "1" && switch2.case_tcls.chk_cdlist2.getData() == null){
  1652. sysf_messageBox("검사를 선택하지 않았습니다\n\n전체조회로 하시거나, 검사를 선택하여 주십시요","E");
  1653. return;
  1654. }
  1655. var testcdCnt = ds_grid_grd_tlist.getRowCount;
  1656. var rtn;
  1657. var objArray = new Array();
  1658. if(switch2.case_tcls.radio1.value == "0"){ // 검사선택 전체조회이면
  1659. for(var i=0; i<ds_grid_grd_tlist.rowcount; i++){
  1660. testcdCnt = ds_grid_grd_tlist.rowcount;
  1661. objArray[i] = ds_grid_grd_tlist.getColumn(i,"testcd");
  1662. }
  1663. }else{ // 검사선택 일부조회이면
  1664. testcdCnt = switch2.case_tcls.cap_tclscnt.text;
  1665. rtn = switch2.case_tcls.chk_cdlist2.getData();
  1666. rtn = rtn.toString();
  1667. objArray =rtn.split(",");
  1668. }
  1669. if(testcdCnt == "0") return;
  1670. var sFromdd = new String(Div00.ipt_workfromdd.value);
  1671. var sTodd = new String(Div00.ipt_worktodd.value);
  1672. var fromdd = sFromdd.substring(0,4);
  1673. var todd = sTodd.substring(0,4);
  1674. ds_send_data.clearData();
  1675. ds_send_data.addRow();
  1676. ds_send_data.setColumn(0,"maincode","LSP12");
  1677. ds_send_data.setColumn(0,"subcode","LSP13");
  1678. ds_send_data.setColumn(0,"rexcode","LSP11");
  1679. ds_send_data.setColumn(0,"daygbn",Div00.cmb_daygbn.value);
  1680. ds_send_data.setColumn(0,"fromdd",Div00.ipt_workfromdd.value);
  1681. ds_send_data.setColumn(0,"fromdy",fromdd);
  1682. ds_send_data.setColumn(0,"todd",Div00.ipt_worktodd.value);
  1683. ds_send_data.setColumn(0,"gbn",Div00.cmb_rtnabnflag.value); // 1=전체, 2= 입원, 3=외래 4=중환자
  1684. ds_send_data.setColumn(0,"flag",switch1.tabindex);
  1685. ds_send_data.setColumn(0,"spcflag",switch2.case_spc.radio8.value);
  1686. ds_send_data.setColumn(0,"spclist",switch2.case_spc.chk_cdlist.getData().toString().replace(",","▦"));
  1687. ds_grid_grd_days.clearData();
  1688. if(switch1.tabindex == "0"){ // 일별
  1689. for(var i=0; i<objArray.length; i++){
  1690. ds_send_data.setColumn(0,"seq",i+1);
  1691. ds_send_data.setColumn(0,"testcd",objArray[i]);
  1692. var oParam = {};
  1693. oParam.id = "TRLLS01401";
  1694. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  1695. oParam.method = "reqGetTestStsCnt";
  1696. oParam.inds = "cond=ds_send_data";
  1697. oParam.outds = "ds_grid_tmp=getTestStsCnt";
  1698. oParam.async = false;
  1699. tranf_submit(oParam);
  1700. ds_grid_grd_days.appendData(ds_grid_tmp,true);
  1701. cap_stat.text = (i+1) + "/" + objArray.length;
  1702. ds_grid_grd_days.rowposition = "-1";
  1703. }
  1704. }else if(switch1.tabindex == "1"){ // 월별
  1705. ds_grid_grd_month.clearData();
  1706. for(var i=0; i<objArray.length; i++){
  1707. ds_send_data.setColumn(0,"seq",i+1);
  1708. ds_send_data.setColumn(0,"testcd",objArray[i]);
  1709. var oParam = {};
  1710. oParam.id = "TRLLS01402";
  1711. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  1712. oParam.method = "reqGetTestStsCnt";
  1713. oParam.inds = "cond=ds_send_data";
  1714. oParam.outds = "ds_grid_tmp=getTestStsCnt";
  1715. oParam.async = false;
  1716. tranf_submit(oParam);
  1717. ds_grid_grd_month.appendData(ds_grid_tmp,true);
  1718. cap_stat.text = (i+1) + "/" + objArray.length;
  1719. }
  1720. }else if(switch1.tabindex == "2"){ // 분기별
  1721. ds_grid_grd_quarter.clearData();
  1722. for(var i=0; i<objArray.length; i++){
  1723. ds_send_data.setColumn(0,"seq",i+1);
  1724. ds_send_data.setColumn(0,"testcd",objArray[i]);
  1725. var oParam = {};
  1726. oParam.id = "TRLLS01403";
  1727. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  1728. oParam.method = "reqGetTestStsCnt";
  1729. oParam.inds = "cond=ds_send_data";
  1730. oParam.outds = "ds_grid_tmp=getTestStsCnt";
  1731. oParam.async = false;
  1732. tranf_submit(oParam);
  1733. ds_grid_grd_quarter.appendData(ds_grid_tmp,true);
  1734. cap_stat.text = (i+1) + "/" + objArray.length;
  1735. }
  1736. }else if(switch1.tabindex == "3"){ // 연별
  1737. ds_grid_grd_year.clearData();
  1738. if(fromdd<=todd){
  1739. ds_send_data.setColumn(0,"year1",fromdd);
  1740. fromdd++;
  1741. }
  1742. if(fromdd<=todd){
  1743. ds_send_data.setColumn(0,"year2",fromdd);
  1744. fromdd++;
  1745. }
  1746. if(fromdd<=todd){
  1747. ds_send_data.setColumn(0,"year3",fromdd);
  1748. fromdd++;
  1749. }
  1750. if(fromdd<=todd){
  1751. ds_send_data.setColumn(0,"year4",fromdd);
  1752. fromdd++;
  1753. }
  1754. if(fromdd<=todd){
  1755. ds_send_data.setColumn(0,"year5",fromdd);
  1756. fromdd++;
  1757. }
  1758. if(fromdd<=todd){
  1759. ds_send_data.setColumn(0,"year6",fromdd);
  1760. fromdd++;
  1761. }
  1762. if(fromdd<=todd){
  1763. ds_send_data.setColumn(0,"year7",fromdd);
  1764. fromdd++;
  1765. }
  1766. if(fromdd<=todd){
  1767. ds_send_data.setColumn(0,"year8",fromdd);
  1768. fromdd++;
  1769. }
  1770. if(fromdd<=todd){
  1771. ds_send_data.setColumn(0,"year9",fromdd);
  1772. fromdd++;
  1773. }
  1774. if(fromdd<=todd){
  1775. ds_send_data.setColumn(0,"year10",fromdd);
  1776. fromdd++;
  1777. }
  1778. for(var i=0; i<objArray.length; i++){
  1779. ds_send_data.setColumn(0,"seq",i+1);
  1780. ds_send_data.setColumn(0,"testcd",objArray[i]);
  1781. var oParam = {};
  1782. oParam.id = "TRLLS01404";
  1783. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  1784. oParam.method = "reqGetTestStsCnt";
  1785. oParam.inds = "cond=ds_send_data";
  1786. oParam.outds = "ds_grid_tmp=getTestStsCnt";
  1787. oParam.async = false;
  1788. tranf_submit(oParam);
  1789. ds_grid_grd_year.appendData(ds_grid_tmp,true);
  1790. cap_stat.text = (i+1) + "/" + objArray.length;
  1791. }
  1792. }
  1793. lf_etcChk();
  1794. lf_percent();
  1795. lf_increSize();
  1796. }
  1797. // 검사선택
  1798. function lf_switchSelect(btnSelect){
  1799. switch(btnSelect){
  1800. case "btnTcls": // 검사선택
  1801. switch3.visible = false;
  1802. switch2.visible = true;
  1803. switch5.visible = true;
  1804. switch2.tabindex= "1";
  1805. break;
  1806. case "btnSpc": // 검체선택
  1807. switch3.visible = false;
  1808. switch2.visible = true;
  1809. switch5.visible = true;
  1810. switch2.tabindex= "0";
  1811. break;
  1812. case "setup": // 설정
  1813. switch3.visible = false;
  1814. switch2.visible = false;
  1815. switch4.visible = true;
  1816. switch4.tabindex= "0";
  1817. break;
  1818. default:
  1819. break;
  1820. }
  1821. lf_tclsHidden(); // 전체조회, 일부조회에 따른 컨트롤 hidden
  1822. }
  1823. // 전체조회, 일부조회에 따른 컨트롤 hidden
  1824. function lf_tclsHidden(){
  1825. // 검사선택
  1826. if(switch2.case_tcls.radio1.value=="0"){ //전체조회
  1827. switch2.case_tcls.group_search2.visible = false;
  1828. switch2.case_tcls.chk_cdlist2.visible = false;
  1829. switch2.case_tcls.caption14.visible = false;
  1830. switch2.case_tcls.cap_tclscnt.visible = false;
  1831. switch2.case_tcls.caption17.visible = false;
  1832. switch2.case_tcls.txa_tcls.visible= false;
  1833. /* switch2.case_tcls.group_cdlist2.visible = false;*/
  1834. }else if(switch2.case_tcls.radio1.value=="1"){ // 일부조회
  1835. switch2.case_tcls.group_search2.visible = true;
  1836. switch2.case_tcls.chk_cdlist2.visible = true;
  1837. switch2.case_tcls.caption14.visible = true;
  1838. switch2.case_tcls.cap_tclscnt.visible = true;
  1839. switch2.case_tcls.caption17.visible = true;
  1840. switch2.case_tcls.txa_tcls.visible= true;
  1841. /* switch2.case_tcls.group_cdlist2.visible = true;*/
  1842. }
  1843. //검체선택
  1844. if(switch2.case_spc.radio8.value=="0"){
  1845. switch2.case_spc.group_search.visible = false;
  1846. switch2.case_spc.chk_cdlist.visible = false;
  1847. switch2.case_spc.caption16.visible = false;
  1848. switch2.case_spc.cap_spccnt.visible = false;
  1849. switch2.case_spc.caption18.visible = false;
  1850. switch2.case_spc.txa_spc.visible =false;
  1851. }else if(switch2.case_spc.radio8.value=="1"){
  1852. switch2.case_spc.group_search.visible = true;
  1853. switch2.case_spc.chk_cdlist.visible = true;
  1854. switch2.case_spc.caption16.visible = true;
  1855. switch2.case_spc.cap_spccnt.visible = true;
  1856. switch2.case_spc.caption18.visible = true;
  1857. switch2.case_spc.txa_spc.visible =true;
  1858. }
  1859. }
  1860. // 검사선택 - 검색
  1861. function lf_tclsSearch(){
  1862. var sstr = switch2.case_tcls.group_search2.input1.value.toUpperCase();
  1863. if(sstr==null) return;
  1864. var cnt = ds_grid_grd_tlist.rowcount;
  1865. var itemval = "";
  1866. var sflag = -1;
  1867. var skind = switch2.case_tcls.group_search2.radio2.value;
  1868. var chk;
  1869. var k=0;
  1870. var aData = new Array();
  1871. var aFalseData = new Array();
  1872. var rtn =switch2.case_tcls.chk_cdlist2.getData();
  1873. rtn = rtn.toString();
  1874. aData = rtn.split(",");
  1875. var j= aData.length;
  1876. switch2.case_tcls.txa_tcls.deleteText();
  1877. for(i= 0;i<ds_grid_grd_tlist.rowcount;i++){
  1878. if(skind == "cd"){
  1879. sflag =ds_grid_grd_tlist.getColumn(i,"testcd").toUpperCase();
  1880. chk=sflag.search(sstr);
  1881. }else if (skind == "nm"){
  1882. sflag =ds_grid_grd_tlist.getColumn(i,"tnm").toUpperCase();
  1883. chk=sflag.search(sstr);
  1884. }
  1885. if(chk > -1 ){
  1886. aData[j] = ds_grid_grd_tlist.getColumn(i,"testcd");
  1887. switch2.case_tcls.txa_tcls.insertText(ds_grid_grd_tlist.getColumn(i,"tnm")+"\n");
  1888. j++;
  1889. }
  1890. }
  1891. switch2.case_tcls.chk_cdlist2.setData(aData, aFalseData,false);
  1892. switch2.case_tcls.cap_tclscnt.text =aData.length;
  1893. }
  1894. // 검사선택 - 체크리스트박스
  1895. function lf_chkCdlist2(){
  1896. var rtn =switch2.case_tcls.chk_cdlist2.getData();
  1897. rtn = rtn.toString();
  1898. var objArray = new Array();
  1899. objArray =rtn.split(",");
  1900. switch2.case_tcls.txa_tcls.deleteText();
  1901. if(objArray[0]!=""){
  1902. for(var i=0; i<objArray.length; i++){
  1903. var j = ds_grid_grd_tlist.findRow("testcd",objArray[i]);
  1904. switch2.case_tcls.txa_tcls.insertText(ds_grid_grd_tlist.getColumn(j,"tnm")+"\n");
  1905. }
  1906. switch2.case_tcls.cap_tclscnt.text =objArray.length;
  1907. }else{
  1908. switch2.case_tcls.cap_tclscnt.text ="0";
  1909. }
  1910. }
  1911. // 검체선택 - 검색
  1912. function lf_spcSearch(){
  1913. var sstr = switch2.case_spc.group_search.input3.value.toUpperCase();
  1914. if(sstr==null) return;
  1915. var cnt = ds_grid_grd_cdlist.rowcount;
  1916. var itemval = "";
  1917. var sflag = -1;
  1918. var skind = switch2.case_spc.group_search.radio7.value;
  1919. var chk;
  1920. var k=0;
  1921. var aData = new Array();
  1922. var aFalseData = new Array();
  1923. var rtn =switch2.case_spc.chk_cdlist.getData();
  1924. rtn = rtn.toString();
  1925. aData = rtn.split(",");
  1926. var j=aData.length;
  1927. switch2.case_spc.txa_spc.deleteText();
  1928. for(i= 0;i<ds_grid_grd_cdlist.rowcount;i++){
  1929. if(skind == "cd"){
  1930. sflag =ds_grid_grd_cdlist.getColumn(i,"cd").toUpperCase();
  1931. chk=sflag.search(sstr);
  1932. }else if (skind == "nm"){
  1933. sflag =ds_grid_grd_cdlist.getColumn(i,"nm").toUpperCase();
  1934. chk=sflag.search(sstr);
  1935. }
  1936. if(chk > -1 ){
  1937. aData[j] = ds_grid_grd_cdlist.getColumn(i,"cd");
  1938. switch2.case_spc.txa_spc.insertText(ds_grid_grd_cdlist.getColumn(i,"nm")+"\n");
  1939. j++;
  1940. }
  1941. }
  1942. switch2.case_spc.chk_cdlist.setData(aData, aFalseData,false);
  1943. switch2.case_spc.chk_cdlist.text =aData.length;
  1944. }
  1945. //검체선택 - 체크리스트박스
  1946. function lf_chkCdlist(){
  1947. var rtn =switch2.case_spc.chk_cdlist.getData();
  1948. rtn = rtn.toString();
  1949. var objArray = new Array();
  1950. objArray =rtn.split(",");
  1951. switch2.case_spc.txa_spc.deleteText();
  1952. if(objArray[0]!=""){
  1953. for(var i=0; i<objArray.length; i++){
  1954. var j = ds_grid_grd_cdlist.findRow("cd",objArray[i]);
  1955. switch2.case_spc.txa_spc.insertText(ds_grid_grd_cdlist.getColumn(j,"nm")+"\n");
  1956. }
  1957. //switch2.case_spc.chk_cdlist.text =objArray.length;
  1958. switch2.case_spc.cap_spccnt.text =objArray.length;
  1959. }else{
  1960. //switch2.case_spc.chk_cdlist.text ="0";
  1961. switch2.case_spc.cap_spccnt.text ="0";
  1962. }
  1963. }
  1964. //상세조회
  1965. function lf_getDetail(){
  1966. if(switch1.tabindex=="0"){ //일별조회일때만 상세조회 가능
  1967. if(ds_grid_grd_days.rowposition > -1){
  1968. lf_getDetailList();
  1969. }else{
  1970. sysf_messageBox("날을 지정하여 주십시요","E");
  1971. return;
  1972. }
  1973. }else{
  1974. sysf_messageBox("상세조회는 일별 화면에서만 가능합니다.","E");
  1975. return;
  1976. }
  1977. }
  1978. //상세 내역 조회
  1979. function lf_getDetailList(){
  1980. switch3.visible =true;
  1981. if(switch2.case_spc.radio8.value == "1" && switch2.case_spc.chk_cdlist.getData() == null){
  1982. sysf_messageBox("검체를 선택하지 않았습니다\n\n전체조회로 하시거나, 검체를 선택하여 주십시요","E");
  1983. return;
  1984. }
  1985. var d= 1;
  1986. for(d=1; d<=31; d++){
  1987. if((2*d)+2 == switch1.case0.grd_days.currentcol || (2*d)+3 == switch1.case0.grd_days.currentcol) break;
  1988. }
  1989. if(parseInt(d)<10) d="0"+d;
  1990. var sFrom = new String(Div00.ipt_workfromdd.value);
  1991. var fromdd = sFrom.substring(0,6);
  1992. var sInDsName = dsf_createDsRow("ds_temp_search"
  1993. , [{col: "testcd", val:ds_grid_grd_days.getColumn(ds_grid_grd_days.rowposition,"testcd") } // 검사코드
  1994. , {col: "daygbn", val: Div00.cmb_daygbn.value} // 조회일 구분
  1995. , {col: "fromdd", val: fromdd +d}
  1996. , {col: "gbn", val: Div00.cmb_rtnabnflag.value}
  1997. , {col: "spcflag", val: switch2.case_spc.radio8.value}
  1998. , {col: "spclist", val: switch2.case_spc.chk_cdlist.getData().toString().replace(",","▦")}
  1999. , {col: "todd", val: Div00.ipt_worktodd.value}
  2000. , {col: "flag", val: switch1.tabindex}
  2001. , {col: "refgbn", val: switch4.case_setup.ipt_refgbn.value}
  2002. , {col: "maincode", val: "LSP12"}
  2003. , {col: "subcode", val: "LSP13"}
  2004. , {col: "rexcode", val: "LSP11"}]);
  2005. var oParam = {};
  2006. oParam.id = "TRLLS01406";
  2007. oParam.service = "statsmngtapp.GeneralTestStatsRefMngt";
  2008. oParam.method = "reqGetDetailList";
  2009. oParam.inds = "cond="+sInDsName;
  2010. oParam.outds = "ds_grid_grd_detail=getDetailList";
  2011. oParam.async = false;
  2012. tranf_submit(oParam);
  2013. lf_chkErrflag(switch3.case5.chk_errflag.value);
  2014. switch3.case5.caption4.text = ds_grid_grd_days.getColumn(ds_grid_grd_days.rowposition,"tnm") +"검사 " +d+ "일 상세조회" ;
  2015. }
  2016. // 기타&중복 보기
  2017. function lf_chkErrflag(chkValue){
  2018. if(chkValue == "1"){
  2019. var sFilter = "errflag=='1'";
  2020. ds_grid_grd_detail.filter(sFilter);
  2021. }
  2022. }
  2023. //증감률 체크박스
  2024. function lf_increSize(){
  2025. if(chk_incre.value == "1"){ // 체크되어있으면
  2026. for(var i=0; i<12; i++){
  2027. switch1.case1.grd_month.setFormatColProperty(8+(i*3),"size",65);
  2028. }
  2029. for(var i=0; i<4; i++){
  2030. switch1.case2.grd_quarter.setFormatColProperty(8+(i*3),"size",80);
  2031. }
  2032. }else{
  2033. for(var i=0; i<12; i++){
  2034. switch1.case1.grd_month.setFormatColProperty(8+(i*3),"size",0);
  2035. }
  2036. for(var i=0; i<4; i++){
  2037. switch1.case2.grd_quarter.setFormatColProperty(8+(i*3),"size",0);
  2038. }
  2039. }
  2040. }
  2041. // %표시 체크박스
  2042. function lf_percent(){
  2043. var sFromdd = new String(Div00.ipt_workfromdd.value);
  2044. var sTodd = new String(Div00.ipt_worktodd.value);
  2045. var fromdd = sFromdd.substring(0,4);
  2046. var todd = sTodd.substring(0,4);
  2047. if(chk_per.value == "1"){ // 체크되어있으면
  2048. for(var i=0; i<31; i++){
  2049. switch1.case0.grd_days.setFormatColProperty(5+(i*2),"size",50);
  2050. }
  2051. for(var i=0; i<12; i++){
  2052. switch1.case1.grd_month.setFormatColProperty(7+(i*3),"size",50);
  2053. }
  2054. for(var i=0; i<4; i++){
  2055. switch1.case2.grd_quarter.setFormatColProperty(7+(i*3),"size",50);
  2056. }
  2057. for(var i=0; i<todd-fromdd; i++){
  2058. switch1.case3.grd_year.setFormatColProperty(7+(i*3),"size",50);
  2059. }
  2060. }else{ // 체크되어있지 않으면
  2061. for(var i=0; i<31; i++){
  2062. switch1.case0.grd_days.setFormatColProperty(5+(i*2),"size",0);
  2063. }
  2064. for(var i=0; i<12; i++){
  2065. switch1.case1.grd_month.setFormatColProperty(7+(i*3),"size",0);
  2066. }
  2067. for(var i=0; i<4; i++){
  2068. switch1.case2.grd_quarter.setFormatColProperty(7+(i*3),"size",0);
  2069. }
  2070. for(var i=0; i<todd-fromdd; i++){
  2071. switch1.case3.grd_year.setFormatColProperty(7+(i*3),"size",0);
  2072. }
  2073. }
  2074. }
  2075. // 기타 표시 체크박스
  2076. function lf_etcChk(){
  2077. if(checkbox2.value=="0"){
  2078. for(var i=ds_grid_grd_days.rowcount-1; i>=0; i--){
  2079. if(ds_grid_grd_days.getColumn(i,"flagnm") == "기타"){
  2080. switch1.case0.grd_days.setRealRowSize(i,0,0);
  2081. }
  2082. }
  2083. for(var i=ds_grid_grd_month.rowcount-1; i>=0; i--){
  2084. if(ds_grid_grd_month.getColumn(i,"flagnm") == "기타"){
  2085. switch1.case1.grd_month.setRealRowSize(i,0,0);
  2086. }
  2087. }
  2088. for(var i=ds_grid_grd_quarter.rowcount-1; i>=0; i--){
  2089. if(ds_grid_grd_quarter.getColumn(i,"flagnm") == "기타"){
  2090. switch1.case2.grd_quarter.setRealRowSize(i,0,0);
  2091. }
  2092. }
  2093. for(var i=ds_grid_grd_year.rowcount-1; i>=0; i--){
  2094. if(ds_grid_grd_year.getColumn(i,"flagnm") == "기타"){
  2095. switch1.case3.grd_year.setRealRowSize(i,0,0);
  2096. }
  2097. }
  2098. }else{
  2099. for(var i=0; i<ds_grid_grd_days.rowcount; i++){
  2100. switch1.case0.grd_days.setRealRowSize(i,0,24);
  2101. }
  2102. for(var i=0; i<ds_grid_grd_month.rowcount; i++){
  2103. switch1.case1.grd_month.setRealRowSize(i,0,24);
  2104. }
  2105. for(var i=0; i<ds_grid_grd_quarter.rowcount; i++){
  2106. switch1.case2.grd_quarter.setRealRowSize(i,0,24);
  2107. }
  2108. for(var i=0; i<ds_grid_grd_year.rowcount; i++){
  2109. switch1.case3.grd_year.setRealRowSize(i,0,24);
  2110. }
  2111. }
  2112. }
  2113. // 엑셀저장
  2114. function lf_saveExcel(){
  2115. if(switch1.tabindex=="0"){
  2116. grdf_exportExcel(switch1.case0.grd_days, lf_lisGetTitle(this), "sheet1", false);
  2117. }else if(switch1.tabindex=="1"){
  2118. grdf_exportExcel(switch1.case1.grd_month, lf_lisGetTitle(this), "sheet1", false);
  2119. }else if(switch1.tabindex=="2"){
  2120. grdf_exportExcel(switch1.case2.grd_quarter, lf_lisGetTitle(this), "sheet1", false);
  2121. }else if(switch1.tabindex=="3"){
  2122. grdf_exportExcel(switch1.case3.grd_year, lf_lisGetTitle(this), "sheet1", false);
  2123. }
  2124. }
  2125. // 연별 캡션 변경
  2126. function lf_yearCaption(){
  2127. var sFrom = new String(Div00.ipt_workfromdd.value);
  2128. var fromdd = parseInt(sFrom.substring(0,4));
  2129. return fromdd;
  2130. }
  2131. // 설정 클릭시 설정조회 tab 보이게하기
  2132. function lf_setupVisible(preindex){
  2133. if(switch1.tabindex == "0"){
  2134. chk_incre.visible=false;
  2135. }else{
  2136. chk_incre.visible=true;
  2137. }
  2138. if(switch1.tabindex == "3"){
  2139. Div00.caption9.visible=true;
  2140. Div00.ipt_worktodd.visible=true;
  2141. }else{
  2142. Div00.caption9.visible=false;
  2143. Div00.ipt_worktodd.visible=false;
  2144. }
  2145. if(switch1.tabindex == "4"){
  2146. switch4.visible = true;
  2147. switch4.tabindex = "0";
  2148. lf_getSetup();
  2149. lf_setFlagGrid();
  2150. switch1.tabindex = preindex;
  2151. }
  2152. }
  2153. //설정- 검사추가조회
  2154. function lf_getHospTclscd(){
  2155. var sInDsName = dsf_createDsRow("ds_temp_search"
  2156. , [{col: "refgbn", val:switch4.case_setup.cmb_refgbn.value}
  2157. , {col: "refcont", val: switch4.case_setup.ipt_refgbn.value}
  2158. , {col: "deptflag", val: "L"}]);
  2159. var oParam = {};
  2160. oParam.id = "TRLLF00607";
  2161. oParam.service = "diagtestbaseinfomngtapp.GeneralTestBaseInfoMngt";
  2162. oParam.method = "reqGetHospTclscdSearch";
  2163. oParam.inds = "cond="+sInDsName;
  2164. oParam.outds = "ds_grid_grd_tclslist=gettclscdlist";
  2165. oParam.async = false;
  2166. tranf_submit(oParam);
  2167. }
  2168. // 통계대상 검사목록
  2169. function lf_setFlagGrid(){
  2170. if(ds_grid_grd_tlist.rowposition < 0){
  2171. switch4.case_setup.cap_flag_list.text = "대상 검사를 선택하여 주십시요";
  2172. }else{
  2173. switch4.case_setup.cap_flag_list.text = ds_grid_grd_tlist.getColumn(ds_grid_grd_tlist.rowposition,"tnm");
  2174. var testcd = ds_grid_grd_tlist.getColumn(ds_grid_grd_tlist.rowposition,"testcd");
  2175. var sFilter = "testcd=='" + testcd + "'";
  2176. ds_grid_grd_flag.filter(sFilter);
  2177. }
  2178. }
  2179. //조회시 다른 창들 visible
  2180. function lf_closeSetup(){
  2181. switch5.visible = false;
  2182. switch2.visible = false;
  2183. switch3.visible = false;
  2184. }
  2185. // 연별조회시 기간 체크
  2186. function lf_checkSaerch(){
  2187. var sFromdd = new String(Div00.ipt_workfromdd.value);
  2188. var sTodd = new String(Div00.ipt_worktodd.value);
  2189. var fromdd = sFromdd.substring(0,4);
  2190. var todd = sTodd.substring(0,4);
  2191. //연별 통계 조회시 10년 이내로 조회
  2192. if(todd - fromdd > 9){
  2193. sysf_messageBox("10년 이내로 조회 가능합니다\n조회기간을 다시 선택하세요", "I");
  2194. return;
  2195. }
  2196. if(sFromdd > sTodd){
  2197. sysf_messageBox("통계 희망일 시작시간이 종료시간보다 작아야 합니다. ", "I");
  2198. return;
  2199. }
  2200. lf_showGridSet(); // 그리드 사이즈
  2201. }
  2202. // 연별 그리드 사이즈
  2203. function lf_showGridSet(){
  2204. var sFromdd = new String(Div00.ipt_workfromdd.value);
  2205. var sTodd = new String(Div00.ipt_worktodd.value);
  2206. var fromdd = sFromdd.substring(0,4);
  2207. var todd = sTodd.substring(0,4);
  2208. var n = todd-fromdd;
  2209. for (var j=1 ; j<n+1; j++){ // 조회되는 년도 컬럼 size 88,50,85
  2210. switch1.case3.grd_year.setFormatColProperty((j*3)+3,"size",85);
  2211. switch1.case3.grd_year.setFormatColProperty((j*3)+4,"size",50);
  2212. switch1.case3.grd_year.setFormatColProperty((j*3)+5,"size",85);
  2213. }
  2214. for (var i=9; i>n; i--){ // 조회되지 않는 컬럼 size 0
  2215. switch1.case3.grd_year.setFormatColProperty((i*3)+5,"size",0);
  2216. switch1.case3.grd_year.setFormatColProperty((i*3)+4,"size",0);
  2217. switch1.case3.grd_year.setFormatColProperty((i*3)+3,"size",0);
  2218. }
  2219. }
  2220. //검사추가
  2221. function lf_addTcls(){
  2222. for(var i=0; i<ds_grid_grd_tclslist.rowcount; i++){
  2223. if(ds_grid_grd_tclslist.getColumn(i,"chk") == "1"){
  2224. var nRow = ds_grid_grd_tlist.addRow();
  2225. ds_grid_grd_tlist.setColumn(nRow,"testcd",ds_grid_grd_tclslist.getColumn(i,"tclscd"));
  2226. ds_grid_grd_tlist.setColumn(nRow,"tnm",ds_grid_grd_tclslist.getColumn(i,"tclsnm"));
  2227. ds_grid_grd_tlist.setColumn(nRow,"seq",ds_grid_grd_tlist.rowcount);
  2228. }
  2229. }
  2230. lf_getHospTclscd();
  2231. }
  2232. //등록된 검사 검색
  2233. function lf_CheckBaccd(nRow){
  2234. var nFindRow=0;
  2235. nFindRow=ds_grid_grd_tlist.findRow("testcd",ds_grid_grd_tclslist.getColumn(nRow,"tclscd"));
  2236. return nFindRow;
  2237. }
  2238. function SMLMS00500_onload(obj:Form, e:LoadEventInfo)
  2239. {
  2240. frmf_initForm(obj); // 화면공통
  2241. lf_setInit();
  2242. grdf_initGrid(switch4.case_setup.grd_tclslist); // 그리드정렬
  2243. }
  2244. //조회
  2245. function Div00_btn_ref_onclick(obj:Button, e:ClickEventInfo)
  2246. {
  2247. if(switch1.tabindex=="3"){
  2248. lf_checkSaerch(); // 연별 조회시 10년 이내 조건 체크
  2249. lf_closeSetup();
  2250. }else{
  2251. lf_closeSetup();
  2252. }
  2253. lf_getTestStsCnt();
  2254. }
  2255. //초기화
  2256. function Div00_btn_reset_onclick(obj:Button, e:ClickEventInfo)
  2257. {
  2258. lf_setInit();
  2259. lf_closeSetup();
  2260. }
  2261. //검사선택
  2262. function Div00_btn_tcls_onclick(obj:Button, e:ClickEventInfo)
  2263. {
  2264. lf_switchSelect("btnTcls");
  2265. }
  2266. // 검사선택 - 전체선택, 일부조회
  2267. function switch2_case_tcls_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2268. {
  2269. lf_tclsHidden();
  2270. }
  2271. // 검사선택 닫기
  2272. function switch5_onextrabuttonclick(obj:Tab, e:TabMouseEventInfo)
  2273. {
  2274. if(switch5.tabindex == "0"){
  2275. switch5.visible=false;
  2276. switch2.visible=false;
  2277. }
  2278. }
  2279. //검사 검색
  2280. function switch2_case_tcls_group_search2_button5_onclick(obj:Button, e:ClickEventInfo)
  2281. {
  2282. lf_tclsSearch();
  2283. }
  2284. // 검사선택 - 검색 엔터키
  2285. function switch2_case_tcls_group_search2_input1_onkeydown(obj:Edit, e:KeyEventInfo)
  2286. {
  2287. if(e.keycode == "13"){
  2288. lf_tclsSearch();
  2289. }
  2290. }
  2291. // 검사선택 - 전체해제
  2292. function switch2_case_tcls_group_search2_button6_onclick(obj:Button, e:ClickEventInfo)
  2293. {
  2294. var aFalseData = new Array();
  2295. for(var i=0; i<ds_grid_grd_tlist.rowcount; i++){
  2296. aFalseData[i]=ds_grid_grd_tlist.getColumn(i,"testcd");
  2297. }
  2298. switch2.case_tcls.chk_cdlist2.setData(null,aFalseData,true);
  2299. switch2.case_tcls.txa_tcls.deleteText();
  2300. switch2.case_tcls.cap_tclscnt.text ="0";
  2301. switch2.case_spc.cap_spccnt.text ="0";
  2302. }
  2303. // 검사선택 - 일부조회 - 체크박스선택 -> 선택검체
  2304. function switch2_case_tcls_chk_cdlist2_onlbuttonup(obj:cp_checkboxList, e:MouseEventInfo)
  2305. {
  2306. lf_chkCdlist2();
  2307. }
  2308. // 검체선택
  2309. function Div00_btn_spc_onclick(obj:Button, e:ClickEventInfo)
  2310. {
  2311. lf_switchSelect("btnSpc");
  2312. }
  2313. // 검체선택 - 전체선택, 일부조회
  2314. function switch2_case_spc_radio8_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  2315. {
  2316. lf_tclsHidden();
  2317. }
  2318. // 검체선택 - 검색
  2319. function switch2_case_spc_group_search_button4_onclick(obj:Button, e:ClickEventInfo)
  2320. {
  2321. lf_spcSearch();
  2322. }
  2323. // 검체선택 - 검색 엔터키
  2324. function switch2_case_spc_group_search_input3_onkeydown(obj:Edit, e:KeyEventInfo)
  2325. {
  2326. if(e.keycode == "13"){
  2327. lf_spcSearch();
  2328. }
  2329. }
  2330. // 검체선택 - 전체해제
  2331. function switch2_case_spc_group_search_button1_onclick(obj:Button, e:ClickEventInfo)
  2332. {
  2333. var aFalseData = new Array();
  2334. for(var i=0; i<ds_grid_grd_cdlist.rowcount; i++){
  2335. aFalseData[i]=ds_grid_grd_cdlist.getColumn(i,"cd");
  2336. }
  2337. switch2.case_spc.chk_cdlist.setData(null,aFalseData,true);
  2338. switch2.case_spc.txa_spc.deleteText();
  2339. switch2.case_spc.chk_cdlist.text ="0";
  2340. switch2.case_spc.cap_spccnt.text ="0";
  2341. }
  2342. // 검체선택 - 일부조회 - 체크박스선택 -> 선택검체
  2343. function switch2_case_spc_group_cdlist_Div01_chk_cdlist_onlbuttonup(obj:cp_checkboxList, e:MouseEventInfo)
  2344. {
  2345. lf_chkCdlist();
  2346. }
  2347. //상세조회
  2348. function Div00_button2_onclick(obj:Button, e:ClickEventInfo)
  2349. {
  2350. lf_getDetail();
  2351. }
  2352. //상세조회 - 기타&중복 보기
  2353. function switch3_case5_chk_errflag_onclick(obj:CheckBox, e:ClickEventInfo)
  2354. {
  2355. lf_getDetailList();
  2356. }
  2357. // 상세조회 엑셀저장
  2358. function switch3_case5_button7_onclick(obj:Button, e:ClickEventInfo)
  2359. {
  2360. grdf_exportExcel(switch3.case5.grd_detail, "exportExcel", "sheet1", false);
  2361. }
  2362. //상세조회 - 상세닫기
  2363. function switch3_case5_button3_onclick(obj:Button, e:ClickEventInfo)
  2364. {
  2365. switch3.visible = false;
  2366. }
  2367. // 설정 누르면 설정창 띄우기
  2368. function switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  2369. {
  2370. lf_setupVisible(e.preindex);
  2371. }
  2372. //설정 - 통계 대상 검사 목록 그리드 클릭
  2373. function switch2_case_setup_grd_tlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  2374. {
  2375. lf_setFlagGrid();
  2376. }
  2377. //설정 - 검색구분 엔터
  2378. function switch2_case_setup_ipt_refgbn_onkeydown(obj:Edit, e:KeyEventInfo)
  2379. {
  2380. if(e.keycode == "13"){
  2381. lf_getHospTclscd();
  2382. }
  2383. }
  2384. //설정 - 통계대상검사목록 - 선택삭제
  2385. function switch2_case_setup_btn_tlist_del_onclick(obj:Button, e:ClickEventInfo)
  2386. {
  2387. ds_grid_grd_tlist.deleteRow(ds_grid_grd_tlist.rowposition);
  2388. lf_setFlagGrid();
  2389. }
  2390. // 통계 대상 검사 목록 - 위로
  2391. function switch2_case_setup_btn_tlist_up_onclick(obj:Button, e:ClickEventInfo)
  2392. {
  2393. lf_tlistUp();
  2394. }
  2395. // 통계 대상 검사 목록 - 아래로
  2396. function switch2_case_setup_btn_tlist_down_onclick(obj:Button, e:ClickEventInfo)
  2397. {
  2398. lf_tlistDown();
  2399. }
  2400. // 검사별 집게 방법 설정 - 위로
  2401. function switch2_case_setup_btn_flag_up_onclick(obj:Button, e:ClickEventInfo)
  2402. {
  2403. lf_flagUp();
  2404. }
  2405. // 검사별 집게 방법 설정 - 아래로
  2406. function switch2_case_setup_btn_flag_down_onclick(obj:Button, e:ClickEventInfo)
  2407. {
  2408. lf_flagDown();
  2409. }
  2410. //검사별 집계 방법 설정 - 선택삭제
  2411. function switch2_case_setup_btn_flag_del_onclick(obj:Button, e:ClickEventInfo)
  2412. {
  2413. ds_grid_grd_flag.deleteRow(ds_grid_grd_flag.rowposition);
  2414. }
  2415. //검사별 집계 방법 설정 - 로우추가
  2416. function switch2_case_setup_btn_flag_add_onclick(obj:Button, e:ClickEventInfo)
  2417. {
  2418. lf_flagAdd();
  2419. }
  2420. //검사추가
  2421. function switch2_case_setup_btn_add_testcd_onclick(obj:Button, e:ClickEventInfo)
  2422. {
  2423. lf_addTcls();
  2424. }
  2425. // 설정 저장,닫기
  2426. function switch4_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  2427. {
  2428. if(switch4.tabindex =="1"){
  2429. switch4.tabindex = "0";
  2430. lf_checkNull();
  2431. }else if(switch4.tabindex =="2"){
  2432. switch4.visible=false;
  2433. }
  2434. }
  2435. //엑셀
  2436. function btn_print_onclick(obj:Button, e:ClickEventInfo)
  2437. {
  2438. lf_saveExcel();
  2439. }
  2440. // 기타
  2441. function checkbox2_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2442. {
  2443. lf_etcChk();
  2444. }
  2445. // %표시
  2446. function chk_per_onchanged(obj:CheckBox, e:CheckBoxChangeEventInfo)
  2447. {
  2448. lf_percent();
  2449. }
  2450. // 증감률 표시 체크박스
  2451. function chk_incre_onclick(obj:CheckBox, e:ClickEventInfo)
  2452. {
  2453. lf_increSize();
  2454. }]]></Script>
  2455. </Form>
  2456. </FDL>