SMLLS01400_분자유전검사통계.xfdl 124 KB

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