SMLLF00602_병원별검사코드관리2.xrw 146 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLLF00600_병원별검사코드관리.xrw
  4. * 설 명 : 병원별검사코드관리
  5. * 설 계 자 : (주)에이씨케이 -
  6. * 작 성 자 : (주)에이씨케이 - 박정은
  7. * 작 성 일 : 2006.11.28
  8. * 수정이력 : 2007.06.12 박정은
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>병원별검사코드관리</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <tclscdlist>
  20. <tclscd/>
  21. <tclsnm/>
  22. <tclskind/>
  23. <instcd/>
  24. <tclscdfromdd/>
  25. <tclstodd/>
  26. </tclscdlist>
  27. <spclist>
  28. <spccd/>
  29. <spcnm/>
  30. </spclist>
  31. <sytsinfo>
  32. <tclsnm/>
  33. <spcnm/>
  34. <tclskind/>
  35. <basespcnm/>
  36. </sytsinfo>
  37. <testinfo>
  38. <tclsscrnnm/>
  39. <tclsabbrnm/>
  40. <tclsprntnm/>
  41. <tclslblnm/>
  42. <tubecd/>
  43. <tubenm/>
  44. <tubevol/>
  45. <tsectcd/>
  46. <spcnm/>
  47. <spccd/>
  48. <tclskind/>
  49. <tclsnm/>
  50. <spclrsltkind>-</spclrsltkind>
  51. <microtestkind>0</microtestkind>
  52. <extrtestyn/>
  53. <extrtestinstcd/>
  54. <extrtestinstnm/>
  55. <bcollbarcdprntcnt>1</bcollbarcdprntcnt>
  56. <spcacptbarcdprntcnt>0</spcacptbarcdprntcnt>
  57. <microbarcdprntcnt>0</microbarcdprntcnt>
  58. <mdiabarcdprntcnt>0</mdiabarcdprntcnt>
  59. <prcppossyn/>
  60. <addprcpyn>N</addprcpyn>
  61. <erprcpyn>N</erprcpyn>
  62. <fasttestyn>N</fasttestyn>
  63. <conttestyn>N</conttestyn>
  64. <snglspcyn>N</snglspcyn>
  65. <diffcntyn>N</diffcntyn>
  66. <poctyn>N</poctyn>
  67. <parentrsltinptyn/>
  68. <childessnrsltyn>N</childessnrsltyn>
  69. <statyn>N</statyn>
  70. <execdw/>
  71. <bcollcau/>
  72. <prcphelp/>
  73. <aprvfrmcd/>
  74. <aprvnm/>
  75. <reqfrmcd/>
  76. <tatuseyn/>
  77. <mdiagrupcd/>
  78. <tatappyn/>
  79. <medispclyn/>
  80. <inettestreq/>
  81. <oldcdyn/>
  82. <oldtclscd/>
  83. <oldcd/>
  84. <ordspcextryn/>
  85. <spclrsltformkind/>
  86. <sytsrsltdispyn/>
  87. <prcpspcpossyn/>
  88. <noti/>
  89. <instcd/>
  90. <spclreptformcd/>
  91. <basespccd/>
  92. <basespcnm/>
  93. <stscnt/>
  94. <stsyn/>
  95. <stspoyn/>
  96. <stspancntyn/>
  97. <tclscdfromdd/>
  98. <tclstodd/>
  99. <outertestmngttsectcd/>
  100. <outertestmngtsectcd/>
  101. <fiximedispclid/>
  102. <lstreptterm/>
  103. </testinfo>
  104. <tatlist>
  105. <chk/>
  106. <flag>TAT1</flag>
  107. <starttm>처방</starttm>
  108. <endtm>결과보고</endtm>
  109. <tm/>
  110. <ertm/>
  111. <alarm/>
  112. </tatlist>
  113. <detltest>
  114. <detltestlist>
  115. <tclscd/>
  116. <spccd/>
  117. <tclsnm/>
  118. <essntestyn>N</essntestyn>
  119. <detltclsfromdd/>
  120. <detltclstodd/>
  121. </detltestlist>
  122. <testitemlist>
  123. <tclscd/>
  124. <spccd/>
  125. <tclsnm/>
  126. <essntestyn/>
  127. </testitemlist>
  128. </detltest>
  129. <rvalsetup>
  130. <rvalinfo/>
  131. <rvalkind>
  132. <ymd>year</ymd>
  133. <startage>0</startage>
  134. <a>&lt;=</a>
  135. <b>&lt;=</b>
  136. <endage>999</endage>
  137. <mlow>4.0</mlow>
  138. <c>&lt;=</c>
  139. <d>&lt;=</d>
  140. <mhigh>10.0</mhigh>
  141. <flow>4.0</flow>
  142. <e>&lt;=</e>
  143. <f>&lt;=</f>
  144. <fhigh>10.0</fhigh>
  145. <rvaltext/>
  146. </rvalkind>
  147. </rvalsetup>
  148. <ref>
  149. <refinfo>
  150. <testrsltkind/>
  151. <nvalrsltlimyn/>
  152. <rsltintsize/>
  153. <rsltdcmlsize/>
  154. <rundkind/>
  155. <rsltunit/>
  156. <descrval/>
  157. <rvalflag/>
  158. <judgkind/>
  159. <panicflag/>
  160. <panicminvalsinq/>
  161. <panicminval/>
  162. <panicmaxvalsinq/>
  163. <panicmaxval/>
  164. <deltaflag/>
  165. <deltaminvalsinq/>
  166. <deltaminval/>
  167. <deltamaxvalsinq/>
  168. <deltamaxval/>
  169. <criticalflag/>
  170. <criticalminvalsinq/>
  171. <criticalminval/>
  172. <criticalmaxvalsinq/>
  173. <criticalmaxval/>
  174. <alertflag/>
  175. <alertminvalsinq/>
  176. <alertminval/>
  177. <alertmaxvalsinq/>
  178. <alertmaxval/>
  179. <amrflag/>
  180. <amrminvalsinq/>
  181. <amrminval/>
  182. <amrmaxvalsinq/>
  183. <amrmaxval/>
  184. <alimitflag/>
  185. <alimitminval/>
  186. <alimitmaxval/>
  187. <alimitminvalsinq/>
  188. <alimitmaxvalsinq/>
  189. <alimitmindispkind/>
  190. <alimitmaxdispkind/>
  191. <ttclscd/>
  192. <tspccd/>
  193. <userjudgchar1/>
  194. <userjudgchar2/>
  195. <userjudgchar3/>
  196. <deltaterm/>
  197. <lastupdtnmt/>
  198. <lastupdtdtt/>
  199. </refinfo>
  200. <refageinfo>
  201. <ymd/>
  202. <fromage/>
  203. <fromagesinq/>
  204. <toagesinq/>
  205. <toage/>
  206. <malerefminval/>
  207. <malerefminvalsinq/>
  208. <malerefmaxvalsinq/>
  209. <malerefmaxval/>
  210. <femalerefminval/>
  211. <femalerefminvalsinq/>
  212. <femalerefmaxvalsinq/>
  213. <femalerefmaxval/>
  214. <charrval/>
  215. <atclscd/>
  216. <aspccd/>
  217. <rvalseqno/>
  218. <rvalfromdd/>
  219. <rvaltodd/>
  220. <lastupdnm/>
  221. <lastupdtdt/>
  222. <rsltunit/>
  223. </refageinfo>
  224. <refageinfolast>
  225. <lastupdtnma/>
  226. <lastupdtdta/>
  227. </refageinfolast>
  228. </ref>
  229. <basespclist>
  230. <spccd/>
  231. <spcnm/>
  232. </basespclist>
  233. </main>
  234. <send>
  235. <codeflag/>
  236. <testlrgcd/>
  237. <testmdlcd/>
  238. <tclscd/>
  239. <testinfo/>
  240. <spccd/>
  241. <detldata/>
  242. <detlrows/>
  243. <refinfodata/>
  244. <refage/>
  245. <deptflag/>
  246. <refcont/>
  247. <refgbn/>
  248. <lvl/>
  249. <fspccd/>
  250. <basespccd/>
  251. <instcd/>
  252. <addspccdinfo/>
  253. <tclscdendyn/>
  254. <tclscdfromdd/>
  255. <tclstodd/>
  256. <selectgbn/>
  257. <sectcd/>
  258. <tsectcd/>
  259. <extrtestinstcd/>
  260. <allrvalyn/>
  261. <dtclrefflag/>
  262. <lisprcppossyn/>
  263. </send>
  264. <init>
  265. </init>
  266. <hidden>
  267. <refgbn>2</refgbn>
  268. <testlrg>00</testlrg>
  269. <testmdl>
  270. <cd>00</cd>
  271. </testmdl>
  272. <tclscd/>
  273. <spccd/>
  274. <detlmdlcd>00</detlmdlcd>
  275. <execdw>
  276. <a1/>
  277. <a2/>
  278. <a3/>
  279. <a4/>
  280. <a5/>
  281. <a6/>
  282. <a7/>
  283. </execdw>
  284. <mdiainfo>
  285. <tclscd/>
  286. <spccd/>
  287. <mdiagrupcd/>
  288. </mdiainfo>
  289. <mdiasend>
  290. <grupcd/>
  291. <mdiacnt/>
  292. </mdiasend>
  293. <search>
  294. <searchgbn>1</searchgbn>
  295. <searchtext/>
  296. <selectgbn>1</selectgbn>
  297. </search>
  298. <spclistcdnm>
  299. <spccdlist/>
  300. </spclistcdnm>
  301. <addspccdinfo/>
  302. <grdjudg>
  303. <judgit/>
  304. <judgrslt/>
  305. </grdjudg>
  306. <allspccd/>
  307. <tclscdendyn/>
  308. <select01/>
  309. <select02/>
  310. <select03/>
  311. <select04/>
  312. <detlallspccd/>
  313. <dtclrefflag/>
  314. <lisprcppossyn>Y</lisprcppossyn>
  315. </hidden>
  316. </root>
  317. </instance>
  318. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  319. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  320. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  321. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  322. <submission id="TRLZZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/LB0102"/>
  323. <submission id="TRLLF00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tclscdlist"/>
  324. <submission id="TRLLF00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testinfo"/>
  325. <submission id="TRLLF00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detltest/testitemlist"/>
  326. <submission id="TRLLF00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/detltest/detltestlist"/>
  327. <submission id="TRLLF00607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tclscdlist"/>
  328. <submission id="TXLLF00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  329. <submission id="TXLLF00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  330. <submission id="TRLLF00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/ref"/>
  331. <submission id="TRLLF00606" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/sytsinfo"/>
  332. <submission id="TXLLF00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  333. <submission id="TRLLF00502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/hidden/spclistcdnm/spccdlist"/>
  334. <submission id="TXLLF00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  335. <submission id="TXLLF00605" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  336. <script type="javascript" ev:event="xforms-ready">
  337. <![CDATA[
  338. // 초기
  339. /*
  340. grd_panjung.removeRow();
  341. model.toggle("case4");
  342. chk_allspccd.select(0);
  343. chk_allspccd.disabled = true;
  344. //메뉴권한별로 버튼 권한주기. 김세진대리 요청
  345. setScreenBtnDisabled();
  346. model.refresh();
  347. // 초기정보 조회
  348. // 0102= 중분류 // 0104 대분류 //0105 검체 // 0111 시행부서// 0106 상세시행부서 // 0107 용기 // 0000 userdeptflagcd // 0110 외부검사기관,
  349. //9991 - 특수결과입력유형, 9992 - 특수결과서식유형 , 9999 : 검사코드 추가 권한자, 0137 - 동의서서식
  350. model.setValue("/root/send/codeflag", "0102|0104|0105|0106|0111|0107|0000|0110|9991|9992|9999|9996|0137|9989|");
  351. if(submit("TRLZZ00101")){
  352. alert("11o11o");
  353. }
  354. // 검체팝업넘길 리스트 조회
  355. submit("TRLLF00502");
  356. chk_prcpspcpossyn.disabled = false;
  357. chk_prcpspcpossyn.refresh();
  358. //참고치 변경 최종수정자 및 일시 보여달라는 요구 - 핵의학
  359. if(model.getValue("/root/init/LB0000/nm") == "N"){
  360. opt_lastnm2.visible = true;
  361. opt_lastdt2.visible = true;
  362. //핵의학일때는 전문의 Visible false
  363. combo3.visible = false;
  364. caption2.visible = false;
  365. }
  366. fChkPatU();
  367. //종료 된 검사 포함여부가 체크되어 있으면 검사 시작일, 종료일 컬럼 보이기
  368. if(chk_tclscdendyn.value == "Y"){
  369. grd_tclscdlist.colHidden(grd_tclscdlist.colRef("tclscdfromdd")) = false;
  370. grd_tclscdlist.colHidden(grd_tclscdlist.colRef("tclstodd")) = false;
  371. }else{
  372. grd_tclscdlist.colHidden(grd_tclscdlist.colRef("tclscdfromdd")) = true;
  373. grd_tclscdlist.colHidden(grd_tclscdlist.colRef("tclstodd")) = true;
  374. }
  375. model.removeNodeset("/root/main/tclscdlist");
  376. grd_tclscdlist.rebuild();
  377. //alert("TEST 전");
  378. //alert(model.getValue("/root/init/LB9999[etc01='"+model.getValue("/root/init/LB0000/nm")+"']/cd"));
  379. //alert(getUserId() );
  380. //검사코드 추가 권한자이면 검사코드추가 버튼 활성화
  381. if(model.getValue("/root/init/LB9999[etc01='"+model.getValue("/root/init/LB0000/nm")+"']/cd") == getUserId()){
  382. alert(model.getValue("/root/init/LB9999[etc01='"+model.getValue("/root/init/LB0000/nm")+"']/cd"));
  383. alert("TEST 후");
  384. btn_addtcls.disabled = false;
  385. btn_addtcls.refresh();
  386. }
  387. fSelectGbn();
  388. addComboItem( "cmb_select03" , "-전체-", "00");
  389. */
  390. initstart();
  391. ]]>
  392. </script>
  393. <submission id="TRLLF00608" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/tclscdlist"/>
  394. <submission id="TRLLF00609" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/spclist"/>
  395. <submission id="TRLLF00610" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/testinfo"/>
  396. <submission id="TXLLF00606" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  397. <submission id="TXLLF00607" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
  398. </model>
  399. <script type="javascript">
  400. <![CDATA[
  401. //20110421
  402. var start_gbn = "0";
  403. function initstart(){
  404. grd_panjung.removeRow();
  405. model.toggle("case4");
  406. chk_allspccd.select(0);
  407. chk_allspccd.disabled = true;
  408. //메뉴권한별로 버튼 권한주기. 김세진대리 요청
  409. setScreenBtnDisabled();
  410. model.refresh();
  411. // 초기정보 조회
  412. // 0102= 중분류 // 0104 대분류 //0105 검체 // 0111 시행부서// 0106 상세시행부서 // 0107 용기 // 0000 userdeptflagcd // 0110 외부검사기관,
  413. //9991 - 특수결과입력유형, 9992 - 특수결과서식유형 , 9999 : 검사코드 추가 권한자, 0137 - 동의서서식
  414. model.setValue("/root/send/codeflag", "0102|0104|0105|0106|0111|0107|0000|0110|9991|9992|9999|9996|0137|9989|");
  415. if(submit("TRLZZ00101")){
  416. //20110421
  417. start_gbn = "1";
  418. }
  419. // 검체팝업넘길 리스트 조회
  420. submit("TRLLF00502");
  421. chk_prcpspcpossyn.disabled = false;
  422. chk_prcpspcpossyn.refresh();
  423. //참고치 변경 최종수정자 및 일시 보여달라는 요구 - 핵의학
  424. if(model.getValue("/root/init/LB0000/nm") == "N"){
  425. opt_lastnm2.visible = true;
  426. opt_lastdt2.visible = true;
  427. //핵의학일때는 전문의 Visible false
  428. combo3.visible = false;
  429. caption2.visible = false;
  430. }
  431. fChkPatU();
  432. //종료 된 검사 포함여부가 체크되어 있으면 검사 시작일, 종료일 컬럼 보이기
  433. if(chk_tclscdendyn.value == "Y"){
  434. grd_tclscdlist.colHidden(grd_tclscdlist.colRef("tclscdfromdd")) = false;
  435. grd_tclscdlist.colHidden(grd_tclscdlist.colRef("tclstodd")) = false;
  436. }else{
  437. grd_tclscdlist.colHidden(grd_tclscdlist.colRef("tclscdfromdd")) = true;
  438. grd_tclscdlist.colHidden(grd_tclscdlist.colRef("tclstodd")) = true;
  439. }
  440. model.removeNodeset("/root/main/tclscdlist");
  441. grd_tclscdlist.rebuild();
  442. //검사코드 추가 권한자이면 검사코드추가 버튼 활성화
  443. var Chkuserid1 = model.getValue("/root/init/LB0000/cd");
  444. var n = getNodesetCount("/root/init/LB9999[cd='" + Chkuserid1 + "']");
  445. if(n > 0){ //권한있음
  446. btn_addtcls.disabled = false;
  447. btn_addtcls.refresh();
  448. } else{
  449. }
  450. // 20110810 검사코드추가 권한 부여 를 위해 수정
  451. // if(model.getValue("/root/init/LB9999[etc01='"+model.getValue("/root/init/LB0000/nm")+"']/cd") == getUserId()){
  452. // btn_addtcls.disabled = false;
  453. // btn_addtcls.refresh();
  454. // }
  455. fSelectGbn();
  456. addComboItem( "cmb_select03" , "-전체-", "00");
  457. }
  458. function fChkPatU(){
  459. var Chkuserid = model.getValue("/root/init/LB0000/cd");
  460. var n = getNodesetCount("/root/init/LB9989[cd='" + Chkuserid + "']");
  461. if(n > 0){ //권한있음
  462. } else{
  463. chk_prcp.disabled = true;
  464. chk_prcpspcpossyn.disabled = true;
  465. }
  466. }
  467. //키이벤트 엔터키 입력시
  468. function fKeyEvent(){
  469. if(event.keyCode == "13"){
  470. // 용기명 엔터
  471. if(event.target == "ipt_tubecd"){
  472. model.setvalue("/root/main/testinfo/tubecd", ipt_tubecd.currentText);
  473. fSetTubenm();
  474. }
  475. // 기본검체 엔터
  476. if(event.target == "ipt_basespccd"){
  477. model.setvalue("/root/main/testinfo/basespccd", ipt_basespccd.currentText);
  478. fSetBaseSpcnm();
  479. }
  480. if(event.target =="ipt_extrcd"){
  481. model.setValue("/root/main/testinfo/extrtestinstcd", ipt_extrcd.currentText);
  482. fSetExtrInstnm();
  483. }
  484. if(event.target =="ipt_refgbn"){
  485. model.setValue("/root/hidden/search/searchtext", ipt_refgbn.currentText);
  486. fGetHospTclscd();
  487. }
  488. }
  489. }
  490. // 용기코드 입력 엔터시 용기명 보이기
  491. function fSetTubenm(){
  492. var tcd = model.getValue("/root/main/testinfo/tubecd");
  493. model.setValue("/root/main/testinfo/tubenm", tcd);
  494. cmb_tube.refresh();
  495. model.setValue("/root/main/testinfo/tubevol", model.getValue("/root/init/LB0107[cd='"+cmb_tube.value+"']/etc01") + "/" + model.getValue("/root/init/LB0107[cd='"+cmb_tube.value+"']/etc02"));
  496. out_tube.refresh();
  497. }
  498. // 기본검체코드 입력 엔터시 검체명 보이기
  499. function fSetBaseSpcnm(){
  500. var basespccd = model.getValue("/root/main/testinfo/basespccd");
  501. model.setValue("/root/main/testinfo/basespcnm", basespccd);
  502. cmb_basespc.refresh();
  503. }
  504. //위탁기관명 검색
  505. function fSetExtrInstnm(){
  506. var xcd = model.getValue("/root/main/testinfo/extrtestinstcd");
  507. model.setValue("/root/main/testinfo/extrtestinstnm", xcd);
  508. cmb_extrnm.refresh();
  509. //model.setValue("/root/main/testinfo/tubevol", model.getValue("/root/init/LB0107[cd='"+cmb_tube.value+"']/etc01") + "/" + model.getValue("/root/init/LB0107[cd='"+cmb_tube.value+"']/etc02"));
  510. //out_tube.refresh();
  511. }
  512. // 초기화
  513. function fSetInit() {
  514. model.reset();
  515. }
  516. // 조회항목구분 (대분류/중분류)
  517. function fSetLrgMdlflag(lrgmdlflag){
  518. var lrgmdlflag = model.getValue("/root/hidden/refgbn");
  519. if(lrgmdlflag == "1"){ // 대분류
  520. cmb_lrg.visible = true;
  521. cmb_mdl.visible = false;
  522. model.setValue("/root/hidden/select02", "00");
  523. }else if(lrgmdlflag == "2"){ // 중분류
  524. cmb_lrg.visible = false;
  525. cmb_mdl.visible = true;
  526. model.setValue("/root/hidden/select01", "00");
  527. }
  528. }
  529. // 검사코드 리스트 조회
  530. function fGetTclscdList(){
  531. model.removeNodeset("/root/main/tclscdlist");
  532. grd_tclscdlist.rebuild();
  533. //조회구분 검사분류 선택시
  534. if(cmb_selectgbn.value == "1"){
  535. model.setValue("/root/send/testlrgcd" , model.getValue("/root/hidden/select01"));
  536. model.setValue("/root/send/testmdlcd" , model.getValue("/root/hidden/select02"));
  537. }
  538. //조회구분 시행부서 선택시
  539. else if(cmb_selectgbn.value == "2"){
  540. model.setValue("/root/send/sectcd" , model.getValue("/root/hidden/select01"));
  541. model.setValue("/root/send/tsectcd" , model.getValue("/root/hidden/select02"));
  542. }
  543. model.setValue("/root/send/selectgbn", cmb_selectgbn.value);
  544. model.setValue("/root/send/extrtestinstcd", model.getValue("/root/hidden/select03"));
  545. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  546. model.setValue("/root/send/tclscdendyn", model.getValue("/root/hidden/tclscdendyn"));
  547. model.setValue("/root/send/lisprcppossyn", model.getValue("/root/hidden/lisprcppossyn"));
  548. submit("TRLLF00608"); //2
  549. if(grd_tclscdlist.rows > 1){
  550. grd_tclscdlist.row = 1; // 2
  551. fGetAllSpcList();
  552. fGetTclscdSelect();
  553. }
  554. }
  555. // 검사정보 조회
  556. function fGetTestInfo(){
  557. //기본검체인스턴스 초기화
  558. model.removeNodeset("/root/main/basespclist");
  559. model.setValue("/root/send/tclscd" , model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  560. model.setValue("/root/send/instcd" , model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/instcd"));
  561. model.setValue("/root/send/spccd" , model.getValue("/root/main/spclist["+grd_spccdlist.row+"]/spccd"));
  562. model.setValue("/root/send/tclscdendyn" , model.getValue("/root/hidden/tclscdendyn"));
  563. model.setValue("/root/send/tclscdfromdd" , model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscdfromdd"));
  564. model.setValue("/root/send/tclstodd" , model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclstodd"));
  565. submit("TRLLF00610");
  566. fsetweekview();
  567. fSetTranstclskind(); // tclskind Child, Abnormal 만 수정가능하게
  568. // 위탁검사관련
  569. fextrtest();
  570. //구코드관련
  571. //fOldCdCheck();
  572. model.refresh();
  573. }
  574. //검사구분, 기본검체, 시행부서 활성화 여부
  575. function fSetTranstclskind(){
  576. // tclskind Child, Abnormal 만 검사구분 수정가능하게
  577. if((model.getValue("/root/main/testinfo/tclskind")=="4") || (model.getValue("/root/main/testinfo/tclskind")=="5")){
  578. cmb_tclskind.disabled = false;
  579. }else{
  580. cmb_tclskind.disabled = true;
  581. }
  582. //Group, Pannel, Single, Parent 만 기본검체, 시행부서 수정가능하게.
  583. if((model.getValue("/root/main/testinfo/tclskind")=="0") || (model.getValue("/root/main/testinfo/tclskind")=="1")
  584. || (model.getValue("/root/main/testinfo/tclskind")=="2") || (model.getValue("/root/main/testinfo/tclskind")=="3")){
  585. cmb_basespc.disabled = false;
  586. ipt_basespccd.disabled = false;
  587. cmb_tsectcd.disabled = false;
  588. }else{
  589. cmb_basespc.disabled = true;
  590. ipt_basespccd.disabled = true;
  591. cmb_tsectcd.disabled = true;
  592. }
  593. }
  594. // 검사구분 콤보박스 변경 tclskind Child, Abnormal
  595. function fSetChildAbnormal(){
  596. if(model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclskind")==model.getValue("/root/main/testinfo/tclskind")){
  597. }else{
  598. if((model.getValue("/root/main/testinfo/tclskind")=="4") || (model.getValue("/root/main/testinfo/tclskind")=="5")){
  599. }else{
  600. messageBox("Child, Abnormal 으로만 수정 ", "I006"); // 가능합니다.
  601. model.setValue("/root/main/testinfo/tclskind", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclskind"));
  602. cmb_tclskind.refresh();
  603. }
  604. }
  605. }
  606. // 위탁검사
  607. function fextrtest(){
  608. if(model.getValue("/root/main/testinfo/extrtestyn")=="N"){
  609. model.setValue("/root/main/testinfo/extrtestinstcd", "-");
  610. model.setValue("/root/main/testinfo/extrtestinstnm", "");
  611. ipt_extrcd.disabled = true;
  612. cmb_extrnm.disabled = true;
  613. ipt_extrcd.refresh();
  614. cmb_extrnm.refresh();
  615. }else{
  616. ipt_extrcd.disabled = false;
  617. cmb_extrnm.disabled = false;
  618. ipt_extrcd.refresh();
  619. cmb_extrnm.refresh();
  620. }
  621. }
  622. // 구코드여부
  623. function fOldCdCheck(){
  624. if(model.getValue("/root/main/testinfo/oldcdyn")=="N"){
  625. model.setValue("/root/main/testinfo/oldtclscd", "");
  626. model.setValue("/root/main/testinfo/oldcd", "");
  627. ipt_oldtclscd.disabled = true;
  628. ipt_oldcd.disabled = true;
  629. ipt_oldtclscd.refresh();
  630. ipt_oldcd.refresh();
  631. }else{
  632. ipt_oldtclscd.disabled = false;
  633. ipt_oldcd.disabled = false;
  634. ipt_oldtclscd.refresh();
  635. ipt_oldcd.refresh();
  636. }
  637. }
  638. // 세부검사 스위치 검사항목 리스트 조회
  639. function fGetTestItemList(Ref){
  640. model.setValue("/root/send/testmdlcd", Ref);
  641. model.makeValue("/root/send/userdeptflagcd", model.getValue("/root/init/LB0000/nm"));
  642. submit("TRLLF00603");
  643. }
  644. // 세부검사 스위치 세부검사 리스트 조회
  645. function fGetDetlTest(){
  646. var vSpccd = model.getValue("/root/main/spclist["+grd_spccdlist.row+"]/spccd");
  647. model.setValue("/root/send/tclscd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  648. model.setValue("/root/send/spccd", vSpccd);
  649. model.setValue("/root/send/dtclrefflag", model.getValue("/root/hidden/dtclrefflag")); //세부검사 전체자료 조회 구분 20100629 추가
  650. submit("TRLLF00604");
  651. fSetDetlTclslist(vSpccd);
  652. }
  653. //검체에 따른 세부검사 검사항목 리스트 조회시 이벤트
  654. function fSetDetlTclslist(pRef){
  655. if(chk_detlallspccd.value == "1"){
  656. grd_testitem.nodeset = "/root/main/detltest/testitemlist";
  657. }else{
  658. grd_testitem.nodeset = "/root/main/detltest/testitemlist[ spccd = '" + pRef + "']";
  659. }
  660. grd_testitem.refresh();
  661. }
  662. // 검사항목 카피
  663. function fSetTestCopy(){
  664. //var sTclscd = model.getValue("/root/main/detltest/testitemlist["+grd_testitem.row+"]/tclscd");
  665. //var sSpccd = model.getValue("/root/main/detltest/testitemlist["+grd_testitem.row+"]/spccd");
  666. var grdSpccd = model.getValue("/root/main/spclist["+grd_spccdlist.row+"]/spccd");
  667. var sTclscd = grd_testitem.labelMatrix(grd_testitem.row, grd_testitem.colRef("tclscd"));
  668. var sSpccd = grd_testitem.labelMatrix(grd_testitem.row, grd_testitem.colRef("spccd"));
  669. var sTclsnm = grd_testitem.labelMatrix(grd_testitem.row, grd_testitem.colRef("tclsnm"));
  670. /* 세부검사 이력관리 추가하면서 아래껄로 변경 20100629 서승현
  671. var findrow = grd_detltest.findRow(sTclscd , 1,1 , true,true);
  672. if(findrow >0 ) {
  673. messageBox("이미 선택된 검사코드입니다.", "I");
  674. return;
  675. }*/
  676. //세부검사 같은 검사, 검체, 종료일이 99991231인 항목이 존재 하는경우 return
  677. var sCurDate = getCurrentDate();
  678. //var chkCnt = model.getXPathValue('count(/root/main/detltest/detltestlist[tclscd = "' + sTclscd + '" and spccd = "' + sSpccd + '" and detltclsfromdd <= "' + sCurDate + '" and detltclstodd >= "' + sCurDate + '"])');
  679. var chkCnt = model.getXPathValue('count(/root/main/detltest/detltestlist[tclscd = "' + sTclscd + '" and spccd = "' + sSpccd + '" and detltclstodd >= "99991231"])');
  680. if(chkCnt >0 ) {
  681. messageBox("이미 선택된 검사코드입니다.", "I");
  682. return;
  683. }
  684. if(sSpccd != grdSpccd) {
  685. messageBox("다른 검체는 세부검사리스트에 추가 할 수 없습니다.", "I");
  686. return;
  687. }
  688. grd_detltest.addRow(false);
  689. model.refresh();
  690. model.setValue("/root/main/detltest/detltestlist["+(grd_detltest.rows-1)+"]/tclscd", sTclscd);
  691. model.setValue("/root/main/detltest/detltestlist["+(grd_detltest.rows-1)+"]/spccd", sSpccd);
  692. model.setValue("/root/main/detltest/detltestlist["+(grd_detltest.rows-1)+"]/tclsnm", sTclsnm);
  693. model.setValue("/root/main/detltest/detltestlist["+(grd_detltest.rows-1)+"]/detltclsfromdd", sCurDate);
  694. model.setValue("/root/main/detltest/detltestlist["+(grd_detltest.rows-1)+"]/detltclstodd", "99991231");
  695. grd_detltest.rowStatus(grd_detltest.rows) = 1;
  696. /*for(i=1; i<grd_detltest.rows; i++){
  697. grd_detltest.rowStatus(i) = 1;
  698. }*/
  699. }
  700. // 매일버튼 클릭
  701. function fSetAllCheck(){
  702. //model.setValue("/root/main/testinfo/execdw", "1 2 3 4 5 6 7");
  703. model.setValue("/root/hidden/execdw/a1", "Y");
  704. model.setValue("/root/hidden/execdw/a2", "Y");
  705. model.setValue("/root/hidden/execdw/a3", "Y");
  706. model.setValue("/root/hidden/execdw/a4", "Y");
  707. model.setValue("/root/hidden/execdw/a5", "Y");
  708. model.setValue("/root/hidden/execdw/a6", "Y");
  709. model.setValue("/root/hidden/execdw/a7", "Y");
  710. grp_week.refresh();
  711. model.refresh();
  712. }
  713. // 바코드 출력수 설정
  714. function fBtnMove_Click(state, vNode){
  715. var cnt;
  716. if(state == "up"){
  717. cnt = model.getValue(vNode);
  718. model.setValue(vNode, eval(cnt) + 1);
  719. }else if(state == "down"){
  720. cnt = model.getValue(vNode);
  721. if(eval(cnt) > 0){
  722. model.setValue(vNode, eval(cnt) - 1);
  723. }
  724. }else{
  725. return;
  726. }
  727. model.refresh();
  728. }
  729. // 행삭제
  730. function fSetDelRow(){
  731. //grd_detltest.deleteRow(grd_detltest.row);
  732. /*Integer :
  733. - 0 : new
  734. - 1 : insert
  735. - 2 : update
  736. - 3 : insert & new
  737. - 4 : delete
  738. - 5 : delete & insert
  739. - 6 : delete & update
  740. */
  741. if(grd_detltest.rowStatus(grd_detltest.row) == 1){
  742. grd_detltest.deleteRow(grd_detltest.row);
  743. }else{
  744. grd_detltest.rowStatus(grd_detltest.row) = 4;
  745. }
  746. }
  747. function fSetDelRow2(){
  748. grd_detltest.deleteRow(grd_detltest.row);
  749. for(i=1; i<grd_detltest.rows; i++){
  750. grd_detltest.rowStatus(i) = 1;
  751. }
  752. }
  753. // 검사정보 업데이트
  754. function fSetTestInfo(){
  755. if(swt_tclscd.selectedIndex=="0"){ // 검사정보
  756. // 실시요일 변형하기 1 2 3 4 5 6 7 => YYYYYYY
  757. fSetAdddw();
  758. fSetChildAbnormal();
  759. model.setValue("/root/send/tclscd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  760. model.setValue("/root/send/spccd", model.getValue("/root/main/spclist["+grd_spccdlist.row+"]/spccd"));
  761. model.setValue("/root/send/lvl", model.getValue("/root/hidden/allspccd"));
  762. model.setValue("/root/send/instcd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/instcd"));
  763. model.copyNode("/root/send/testinfo", "/root/main/testinfo");
  764. if(model.getValue("/root/main/testinfo/oldtclscd") == ""){
  765. messageBox("구검사코드가 입력되지 않았습니다.","I007");
  766. return false;
  767. }else if(model.getValue("/root/main/testinfo/oldcd") == ""){
  768. messageBox("구코드번호가 입력되지 않았습니다.","I007");
  769. return false;
  770. }
  771. if(model.getValue("/root/main/testinfo/tclsscrnnm") == ""){
  772. messageBox("검사명(화면)이 입력되지 않았습니다.","I007");
  773. return;
  774. }
  775. if(cmb_basespc.value == ""){
  776. messageBox("기본검체가 입력되지 않았습니다.","I007");
  777. return;
  778. }
  779. if(cmb_tube.value == "" || cmb_tube.value == "00"){
  780. messageBox("용기코드가 입력되지 않았습니다.","I007");
  781. return;
  782. }
  783. if(cmb_tsectcd.value == "" || cmb_tsectcd.value == "00"){
  784. messageBox("시행부서가 입력되지 않았습니다.","I007");
  785. return;
  786. }
  787. //시행부서가 위탁,CMC위탁 인데 위탁기관명 선택 안되었을때.
  788. if(model.getValue("/root/init/LB0106[cd='"+cmb_tsectcd.value+"']/etc01") == "X" && (cmb_extrnm.value == "" || cmb_extrnm.value == "00")){
  789. messageBox("시행부서가 위탁기관,KNUH위탁 이면 위탁기관명은 필수 입니다." , "I007");
  790. return;
  791. }
  792. //시행부서가 위탁,CMC위탁 이 아닌데 위탁기관명이 선택 되었을때.
  793. /*if(model.getValue("/root/init/LB0106[cd='"+cmb_tsectcd.value+"']/etc01") != "X" && (cmb_extrnm.value != "" || chk_extrtestyn.value != "N")){
  794. messageBox("시행부서가 위탁기관,CMC위탁이 아닌경우 위탁검사여부, 위탁기관명은 입력 불가능합니다." , "I007");
  795. return;
  796. }*/
  797. if(model.getValue("/root/main/testinfo/tclscdfromdd") > model.getValue("/root/main/testinfo/tclstodd")){
  798. messageBox("기간설정이 잘못", "E005");
  799. return;
  800. }
  801. //if(submit("TXLLF00601")==true){
  802. if(submit("TXLLF00606")==true){
  803. fGetAllSpcList();
  804. }
  805. }else if(swt_tclscd.selectedIndex=="1"){ // 세부검사
  806. model.setValue("/root/send/tclscd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  807. model.setValue("/root/send/tclscd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  808. model.setValue("/root/send/spccd", model.getValue("/root/main/spclist["+grd_spccdlist.row+"]/spccd"));
  809. model.setValue("/root/send/detlrows", grd_detltest.rows);
  810. var grdDetl = grd_detltest.getUpdateData();
  811. model.setValue("/root/send/detldata", grdDetl);
  812. // 세부검사 등록
  813. if(submit("TXLLF00602")==true){
  814. fGetDetlTest();
  815. fGetTclscdSelect();
  816. }
  817. }else if(swt_tclscd.selectedIndex=="2"){ // 참고치 설정
  818. model.setValue("/root/send/tclscd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  819. model.setValue("/root/send/spccd", model.getValue("/root/main/spclist["+grd_spccdlist.row+"]/spccd"));
  820. fUserJudg();
  821. model.copyNode("/root/send/refinfodata", "/root/main/ref/refinfo");
  822. var refage = grd_refage.getUpdateData();
  823. model.setValue("/root/send/refage", refage);
  824. // 참고치 정보 등록
  825. if(submit("TXLLF00603")==true){
  826. fGetRefSetting();
  827. fGetTclscdSelect();
  828. }
  829. }
  830. model.resetInstanceNode("/root/send");
  831. model.removeNodeset("/root/send/testinfo/spccd");
  832. }
  833. function fUserJudg(){
  834. var judgtype = model.getvalue("/root/main/ref/refinfo/judgkind");
  835. var result="";
  836. if(judgtype == "2" || judgtype == "3"){
  837. result = judgtype;
  838. for(i=1;i<grd_panjung.rows;i++){
  839. result = result + "," + model.getvalue("/root/hidden/grdjudg["+i+"]/judgrslt");
  840. model.setvalue("/root/main/ref/refinfo/userjudgchar"+i+"",model.getvalue("/root/hidden/grdjudg["+i+"]/judgit"));
  841. }
  842. }
  843. else{
  844. result=judgtype;
  845. }
  846. model.setvalue("/root/main/ref/refinfo/judgkind",result);
  847. }
  848. function fJudgtypeChange(){
  849. var judg = model.getvalue("/root/main/ref/refinfo/judgkind");
  850. if(judg=="") return;
  851. var A= new Array();
  852. if(judg.length>1){
  853. A = judg.split(',');
  854. model.setvalue("/root/main/ref/refinfo/judgkind" , A[0] );
  855. }
  856. else{
  857. model.setvalue("/root/main/ref/refinfo/judgkind" , judg );
  858. }
  859. for(i=1;i<A.length;i++){
  860. grd_panjung.addRow(false);
  861. model.setvalue("/root/hidden/grdjudg["+i+"]/judgit" , model.getvalue("/root/main/ref/refinfo/userjudgchar"+i+""));
  862. model.setvalue("/root/hidden/grdjudg["+i+"]/judgrslt",A[i]);
  863. }
  864. model.refresh();
  865. }
  866. // 검사코드 선택시
  867. function fGetTclscdSelect(){
  868. var tclscd = model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd");
  869. var spccd = model.getValue("/root/main/spclist["+grd_spccdlist.row+"]/spccd");
  870. model.setValue("/root/send/tclscd", tclscd);
  871. model.setValue("/root/send/spccd", spccd);
  872. // 통합검사 정보 조회
  873. submit("TRLLF00606");
  874. if(swt_tclscd.selectedIndex=="0"){ // 검사정보 tab
  875. // 검사정보 조회
  876. fGetTestInfo();
  877. //시행부서가 외부검사인경우 관리부서 콤보
  878. fSetOutertestmngt();
  879. }else if(swt_tclscd.selectedIndex=="1"){ // 세부검사 tab
  880. // 세부검사 리스트 조회
  881. fGetDetlTest();
  882. }else if(swt_tclscd.selectedIndex=="2"){ // 참고치설정 tab
  883. // 참고치설정 조회
  884. fGetRefSetting();
  885. }
  886. }
  887. function fSetDetlMdlcdSet(){
  888. // 대분류 선택
  889. var vInstance = document.models(0).instances(0);
  890. var cntCR = vInstance.selectNodes("/root/init/LB0102").length;
  891. if(rdo_lrgmdl.value == 1){
  892. for(i=1; i<=cntCR ; i++){
  893. if(cmb_lrg.value == model.getValue("/root/init/LB0102["+i+"]/etc01")){
  894. model.setValue("/root/hidden/detlmdlcd", model.getValue("/root/init/LB0102["+i+"]/cd"));
  895. break;
  896. }
  897. }
  898. cmb_detlmdl.refresh();
  899. }else if(rdo_lrgmdl.value == 2){
  900. model.setValue("/root/hidden/detlmdlcd", cmb_mdl.value);
  901. fGetTestItemList(cmb_mdl.value);
  902. cmb_detlmdl.refresh();
  903. }
  904. }
  905. // 참고치 설정 조회
  906. function fGetRefSetting(){
  907. //var tclscd = model.getValue("/root/main/tclscdlist["+grd_tclscd.row+"]/tclscd");
  908. //var spccd = model.getValue("/root/main/tclscdlist["+grd_tclscd.row+"]/spccd");
  909. model.setValue("/root/send/tclscd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  910. model.setValue("/root/send/spccd", model.getValue("/root/main/spclist["+grd_spccdlist.row+"]/spccd"));
  911. submit("TRLLF00605");
  912. var rowss = grd_panjung.rows;
  913. for(i=1;i<rowss;i++){
  914. grd_panjung.removeRow(false);
  915. }
  916. fJudgtypeChange();
  917. if(model.getValue("/root/main/ref/refageinfo/atclscd")==""){
  918. // grd_refage.deleteRow(1, false);
  919. model.removeNodeset("/root/main/ref/refageinfo");
  920. grd_refage.rebuild();
  921. }
  922. //전체자료일때 시작 종료일 보이기
  923. if(model.getValue("/root/send/allrvalyn") == "Y"){
  924. grd_refage.colHidden(grd_refage.colRef("rvalfromdd")) = false;
  925. grd_refage.colHidden(grd_refage.colRef("rvaltodd")) = false;
  926. }else{
  927. grd_refage.colHidden(grd_refage.colRef("rvalfromdd")) = true;
  928. grd_refage.colHidden(grd_refage.colRef("rvaltodd")) = true;
  929. }
  930. }
  931. // 참고치유형 행추가
  932. function fSetAgeAddRow(){
  933. grd_refage.addRow(false);
  934. model.refresh();
  935. }
  936. // 참고치유형 행삭제
  937. function fSetAgeDelRow(){
  938. //grd_refage.deleteRow(grd_refage.row, false);
  939. grd_refage.rowStatus(grd_refage.row) = 4;
  940. model.refresh();
  941. }
  942. // 체크박스 값 변경해주기
  943. function fSetCheckYN(chk, Ref){
  944. if(Ref =="Y"){
  945. model.setValue("/root/main/testinfo/" + chk, "N");
  946. }else if(Ref =="N"){
  947. model.setValue("/root/main/testinfo/" + chk, "Y");
  948. }else if(Ref == "N Y"){
  949. model.setValue("/root/main/testinfo/" + chk, "Y");
  950. }else if(Ref == "Y N"){
  951. model.setValue("/root/main/testinfo/" + chk, "N");
  952. }else{
  953. model.setValue("/root/main/testinfo/" + chk, "N");
  954. }
  955. }
  956. // 실시요일 보이게 변형 최종 2007-07-30
  957. function fsetweekview(){
  958. var execdw = model.getValue("/root/main/testinfo/execdw");
  959. model.setValue("/root/hidden/execdw/a1", execdw.substr(0,1));
  960. model.setValue("/root/hidden/execdw/a2", execdw.substr(1,1));
  961. model.setValue("/root/hidden/execdw/a3", execdw.substr(2,1));
  962. model.setValue("/root/hidden/execdw/a4", execdw.substr(3,1));
  963. model.setValue("/root/hidden/execdw/a5", execdw.substr(4,1));
  964. model.setValue("/root/hidden/execdw/a6", execdw.substr(5,1));
  965. model.setValue("/root/hidden/execdw/a7", execdw.substr(6,1));
  966. grp_week.refresh();
  967. }
  968. // 용기 콤보박스 선택시
  969. function fSetTubecd(){
  970. model.setValue("/root/main/testinfo/tubecd", cmb_tube.value);
  971. //model.getValue("/root/init/LB0112[cd='"+ etc +"']/etc02") == "3" || etc == "MR"
  972. model.setValue("/root/main/testinfo/tubevol", model.getValue("/root/init/LB0107[cd='"+cmb_tube.value+"']/etc01") + "/" + model.getValue("/root/init/LB0107[cd='"+cmb_tube.value+"']/etc02"));
  973. ipt_tubecd.refresh();
  974. out_tube.refresh();
  975. }
  976. // 기본검체 콤보박스 선택시
  977. function fSetBaseSpccd(){
  978. //998 검체 선택했는데 시행부서가 미생물이 아닐때.
  979. if(model.getValue("/root/init/LB0106[cd='"+cmb_tsectcd.value+"']/etc01") != "M" && cmb_basespc.value == "998"){
  980. cmb_basespc.value = model.getValue("/root/main/testinfo/basespccd");
  981. messageBox("[998] 그룹검체선택 은 미생물 검사만 가능합니다." , "I");
  982. return;
  983. }
  984. model.setValue("/root/main/testinfo/basespccd", cmb_basespc.value);
  985. ipt_basespccd.refresh();
  986. }
  987. // 실시요일 체크박스 값 변경 최종 2007-07-30
  988. function fSetexecdw(Ref, chk){
  989. if(Ref =="N"){
  990. model.setValue("/root/hidden/execdw/" + chk, "N");
  991. }else if(Ref =="Y"){
  992. model.setValue("/root/hidden/execdw/" + chk, "Y");
  993. }else if(Ref == "N Y"){
  994. model.setValue("/root/hidden/execdw/" + chk, "Y");
  995. }else if(Ref == "Y N"){
  996. model.setValue("/root/hidden/execdw/" + chk, "N");
  997. }else{
  998. model.setValue("/root/hidden/execdw/" + chk, "N");
  999. }
  1000. }
  1001. // 등록,수정때 값 붙여주기 최종 2007-07-30
  1002. function fSetAdddw(){
  1003. var a1 = model.getValue("/root/hidden/execdw/a1");
  1004. var a2 = model.getValue("/root/hidden/execdw/a2");
  1005. var a3 = model.getValue("/root/hidden/execdw/a3");
  1006. var a4 = model.getValue("/root/hidden/execdw/a4");
  1007. var a5 = model.getValue("/root/hidden/execdw/a5");
  1008. var a6 = model.getValue("/root/hidden/execdw/a6");
  1009. var a7 = model.getValue("/root/hidden/execdw/a7");
  1010. var dw = a1 + a2 + a3 + a4 + a5 + a6 + a7;
  1011. model.setValue("/root/main/testinfo/execdw", dw);
  1012. }
  1013. // 참고치 체크값 변경 최종 2007-07-30
  1014. function fSetRefCheck(Ref, chk){
  1015. // nvalrsltlimyn
  1016. if(Ref =="Y"){
  1017. model.setValue("/root/main/ref/refinfo/" + chk, "Y");
  1018. }else if(Ref == "N Y"){
  1019. model.setValue("/root/main/ref/refinfo/" + chk, "Y");
  1020. }else{
  1021. model.setValue("/root/main/ref/refinfo/" + chk, "N");
  1022. }
  1023. }
  1024. // 배지그룹 오픈
  1025. function fSetMdiaOpen(){
  1026. //model.removeNodeset("/root/hidden/mdiasend");
  1027. model.setValue("/root/hidden/mdiainfo/tclscd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  1028. model.setValue("/root/hidden/mdiainfo/spccd", model.getValue("/root/main/tclscdlist["+grd_spccdlist.row+"]/spccd"));
  1029. model.setValue("/root/hidden/mdiainfo/mdiagrupcd", model.getValue("/root/main/testinfo/mdiagrupcd"));
  1030. //model.setValue("/root/hidden/mdiasend/grupcd", "");
  1031. //model.setValue("/root/hidden/mdiasend/mdiacnt", "");
  1032. modal("SPLLF90600", "", "", "","", "/root/hidden/mdiainfo", "/root/hidden/mdiainfo");
  1033. if(model.getValue("/root/hidden/mdiasend/grupcd") == ""){
  1034. model.setValue("/root/main/testinfo/mdiagrupcd", "");
  1035. model.setValue("/root/main/testinfo/mdiabarcdprntcnt", 0);
  1036. model.refresh();
  1037. }else{
  1038. model.setValue("/root/main/testinfo/mdiagrupcd", model.getValue("/root/hidden/mdiasend/grupcd"));
  1039. model.setValue("/root/main/testinfo/mdiabarcdprntcnt", model.getValue("/root/hidden/mdiasend/mdiacnt"));
  1040. model.refresh();
  1041. }
  1042. }
  1043. //중분류 초기정보 조회- fSetSelect02() 로 변경
  1044. function fSetTestLrgCd(){
  1045. var lrg = model.getvalue("/root/hidden/testlrg");
  1046. if(lrg == "00"){
  1047. cmb_TestMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0102";
  1048. model.setValue("/root/hidden/testmdl/cd" , "00");
  1049. }
  1050. else{
  1051. model.setValue("/root/hidden/testmdl/cd" , "00");
  1052. cmb_TestMdlCd.choices.itemset.attribute("nodeset") = "/root/init/LB0102[cd= '00' or etc01='"+ lrg +"']";
  1053. }
  1054. cmb_TestMdlCd.refresh();
  1055. }
  1056. // 검색버튼
  1057. function fGetHospTclscd(){
  1058. //20110421
  1059. //alert(start_gbn);
  1060. if(start_gbn == "0"){
  1061. initstart();
  1062. }
  1063. model.setValue("/root/send/refgbn", model.getValue("/root/hidden/search/searchgbn"));
  1064. model.setValue("/root/send/refcont", model.getValue("/root/hidden/search/searchtext"));
  1065. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  1066. model.setValue("/root/send/tclscdendyn", model.getValue("/root/hidden/tclscdendyn"));
  1067. model.setValue("/root/send/lisprcppossyn", model.getValue("/root/hidden/lisprcppossyn"));
  1068. submit("TRLLF00607");
  1069. if(grd_tclscdlist.rows > 1){ //2
  1070. grd_tclscdlist.row = 1; // 2
  1071. fGetAllSpcList();
  1072. fGetTclscdSelect();
  1073. }
  1074. }
  1075. // 중분류 선택하면 세부검사 중분류도 바뀌게
  1076. function fSetDetlTestMdlcd(){
  1077. if(swt_tclscd.selectedIndex=="1"){
  1078. if(model.getValue("/root/hidden/select02") != "00"){
  1079. model.setValue("/root/hidden/detlmdlcd", model.getValue("/root/hidden/select02"));
  1080. fGetTestItemList(model.getValue("/root/hidden/detlmdlcd"));
  1081. }
  1082. }
  1083. //fGetTclscdList();
  1084. }
  1085. // 검체정보 팝업띄우기
  1086. function fSetSpccd(){
  1087. modal("SPLLF90700","","500","300","","/root/hidden/spclistcdnm","/root/main");
  1088. if(model.getValue("/root/hidden/spccdnm/value")=="확인"){
  1089. fSetSpccdAdd();
  1090. }else if(model.getValue("/root/hidden/spccdnm/value")=="기본검체변경"){
  1091. model.setValue("/root/send/tclscd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  1092. model.setValue("/root/send/basespccd", model.getValue("/root/hidden/spccdnm/basespccd"));
  1093. submit("TXLLF00605");
  1094. }
  1095. }
  1096. // 검체목록 팝업 선택후 addrow
  1097. function fSetSpccdAdd(){
  1098. /*
  1099. var tclsRow = grd_tclscdlist.row; // 검사코드관리 선택 row
  1100. var sRow = model.getValue("/root/hidden/spccdnm/row"); // 검체리스트에서 선택된 row수
  1101. var sSpccd = model.getValue("/root/hidden/spccdnm/cd"); // 검체리스트에서 가져온 검체번호
  1102. var sCd = sSpccd.split("▦"); // 검체코드 파리채로 나누기
  1103. var tclscd = model.getValue("/root/main/tclscdlist["+tclsRow+"]/tclscd");
  1104. var tclsnm = model.getValue("/root/main/tclscdlist["+tclsRow+"]/tclsnm");
  1105. var tclskind = model.getValue("/root/main/tclscdlist["+tclsRow+"]/tclskind");
  1106. var fspccd = model.getValue("/root/main/tclscdlist["+tclsRow+"]/spccd");
  1107. var tRow = tclsRow+1;
  1108. // 검체리스트선택 row 만큼 insert
  1109. for(i=1; i<=sRow; i++ ){
  1110. grd_tclscd.insertRow(grd_tclscdlist.row, "after", false);
  1111. model.setValue("/root/main/tclscdlist["+tRow+"]/tclscd", tclscd);
  1112. model.setValue("/root/main/tclscdlist["+tRow+"]/tclsnm", tclsnm);
  1113. model.setValue("/root/main/tclscdlist["+tRow+"]/tclskind", tclskind);
  1114. //model.setValue("/root/main/tclscdlist["+tRow+"]/spccd", sCd[i]);
  1115. tRow++;
  1116. }
  1117. // 검체추가 llfmtcls 에 검체코드 다르게 인서트
  1118. model.setValue("/root/send/spccd", sSpccd);
  1119. model.setValue("/root/send/tclscd", tclscd);
  1120. submit("TXLLF00604");
  1121. model.refresh();
  1122. */
  1123. } // 2007-06-20 박정은
  1124. // 위탁기관콤보 선택시
  1125. function fExtrInstSelect(){
  1126. model.setValue("/root/main/testinfo/extrtestinstcd", cmb_extrnm.value);
  1127. ipt_extrcd.refresh();
  1128. }
  1129. // 판정유형 콤보 선택시 add rows
  1130. function fSetPanJungRows(){
  1131. var rowss = grd_panjung.rows;
  1132. for(i=1;i<rowss;i++){
  1133. grd_panjung.removeRow(false);
  1134. }
  1135. if(model.getValue("/root/main/ref/refinfo/judgkind")=="2"){
  1136. messageBox("사용자정의 2단계는 상한값을 기준으로 체크합니다.","I");
  1137. for(i=1; i<3; i++){
  1138. grd_panjung.addRow(false);
  1139. }
  1140. }else if(model.getValue("/root/main/ref/refinfo/judgkind")=="3"){
  1141. for(i=1; i<4; i++){
  1142. grd_panjung.addRow(false);
  1143. }
  1144. }else{
  1145. model.setvalue("/root/main/ref/refinfo/userjudgchar1" , "");
  1146. model.setvalue("/root/main/ref/refinfo/userjudgchar2" , "");
  1147. model.setvalue("/root/main/ref/refinfo/userjudgchar3" , "");
  1148. }
  1149. }
  1150. // 검체리스트
  1151. function fGetAllSpcList(){
  1152. model.setValue("/root/send/tclscd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  1153. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  1154. //종료 된 검사 포함여부가 체크되어 있으면 검사 시작일, 종료일 조회조건에 넣기
  1155. if(chk_tclscdendyn.value == "Y"){
  1156. model.setValue("/root/send/tclscdendyn" , model.getValue("/root/hidden/tclscdendyn"));
  1157. model.setValue("/root/send/tclscdfromdd" , model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscdfromdd"));
  1158. model.setValue("/root/send/tclstodd" , model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclstodd"));
  1159. }
  1160. submit("TRLLF00609");
  1161. if(grd_spccdlist.rows > 1){
  1162. grd_spccdlist.row = 1;
  1163. fGetTclscdSelect();
  1164. }
  1165. }
  1166. //
  1167. function fSelectToggle(index){
  1168. var bfIndex = "";
  1169. if(index == "0"){ // 검사정보
  1170. model.toggle("case4");
  1171. chk_allspccd.select(0);
  1172. chk_allspccd.disabled = true;
  1173. chk_allspccd.refresh();
  1174. // 검사정보 조회
  1175. fGetTestInfo();
  1176. }else if(index == "1"){ // 세부검사
  1177. model.toggle("case5");
  1178. chk_allspccd.deselect(0);
  1179. chk_allspccd.disabled = true;
  1180. chk_allspccd.refresh();
  1181. //grd_detltest.deleteRow(1);
  1182. model.removeNodeset("/root/main/detltest/detltestlist");
  1183. //검사항목 리스트 조회
  1184. //fGetTestItemList();
  1185. model.setValue("/root/hidden/detlmdlcd", model.getValue("/root/hidden/select01"));
  1186. if(model.getValue("/root/hidden/detlmdlcd")=="00"){
  1187. if(model.getValue("/root/send/tclscd") ==""){
  1188. messageBox("중분류를 선택해 주십시오.","I");
  1189. return;
  1190. }else{
  1191. model.setValue("/root/hidden/detlmdlcd", model.getValue("/root/send/tclscd").substring(1,3));
  1192. fGetTestItemList(model.getValue("/root/hidden/detlmdlcd"));
  1193. }
  1194. }else{
  1195. fGetTestItemList(model.getValue("/root/hidden/detlmdlcd"));
  1196. }
  1197. // 세부검사 리스트 조회
  1198. fGetDetlTest();
  1199. }else if(index == "2"){ // 참고치설정
  1200. model.toggle("case6");
  1201. chk_allspccd.deselect(0);
  1202. chk_allspccd.disabled = true;
  1203. chk_allspccd.refresh();
  1204. fGetRefSetting();
  1205. }
  1206. }
  1207. // 검체추가 버튼
  1208. function fExeAddSpccd(){
  1209. if(grd_tclscdlist.row < 1){
  1210. messageBox("검사코드를 선택하십시오.", "I");
  1211. return;
  1212. }
  1213. // SPLLF90700_검체정보설정.xrw
  1214. var tclscd = model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd");
  1215. model.makeValue("/root/send/tclscd", tclscd);
  1216. modal("SPLLF90700","","590","680","","/root/send","/root/send");
  1217. if(model.getValue("/root/hidden/addspccdinfo/saveYN")=="Y"){
  1218. fSetAddSpccd();
  1219. }
  1220. }
  1221. // 확인버튼시 검체추가
  1222. function fSetAddSpccd(){
  1223. model.setValue("/root/send/tclscd", model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd"));
  1224. model.setValue("/root/send/deptflag", model.getValue("/root/init/LB0000/nm"));
  1225. model.makeValue("/root/send/addspccd", model.getValue("/root/hidden/addspccdinfo/spccd"));
  1226. model.makeValue("/root/send/addtubecd", model.getValue("/root/hidden/addspccdinfo/tubecd"));
  1227. submit("TXLLF00607");
  1228. model.resetInstanceNode("/root/hidden/addspccdinfo");
  1229. submit("TRLLF00609");
  1230. if(grd_spccdlist.rows > 1){
  1231. grd_spccdlist.row = 1;
  1232. fGetTclscdSelect();
  1233. }
  1234. }
  1235. /* @group : 조회 구분 선택
  1236. * @ver : 2009.10.20
  1237. * @by : 김성희
  1238. * @-----------------------------------
  1239. * @type : function
  1240. * @access : public
  1241. * @desc : 조회 구분 선택 Function 검사분류, 시행부서
  1242. */
  1243. function fSelectGbn(){
  1244. //검사분류 선택
  1245. if(cmb_selectgbn.value == "1"){
  1246. //첫번째 콤보에 대분류 셋팅
  1247. cmb_select01.choices.itemset.attribute("nodeset") = "/root/init/LB0104";
  1248. //두번째 콤보에 중분류 셋팅
  1249. cmb_select02.choices.itemset.attribute("nodeset") = "/root/init/LB0102";
  1250. }
  1251. //시행부서 선택
  1252. else if(cmb_selectgbn.value == "2"){
  1253. //첫번째 콤보에 계코드 셋팅
  1254. cmb_select01.choices.itemset.attribute("nodeset") = "/root/init/LB0111";
  1255. //두번째 콤보에 검사계코드 셋팅
  1256. cmb_select02.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
  1257. }
  1258. model.setvalue("/root/hidden/select01", "00");
  1259. model.setvalue("/root/hidden/select02", "00");
  1260. cmb_select01.refresh();
  1261. cmb_select02.refresh();
  1262. }
  1263. //첫번째 콤보 선택시, 두번째 콤보 셋팅
  1264. function fSetSelect02(){
  1265. var select01 = model.getvalue("/root/hidden/select01");
  1266. //검사분류선택
  1267. if(cmb_selectgbn.value == "1"){
  1268. if(select01 == "00"){
  1269. cmb_select02.choices.itemset.attribute("nodeset") = "/root/init/LB0102";
  1270. }
  1271. else{
  1272. cmb_select02.choices.itemset.attribute("nodeset") = "/root/init/LB0102[cd= '00' or etc01='"+ select01 +"']";
  1273. }
  1274. model.setValue("/root/hidden/select02" , "00");
  1275. cmb_select02.refresh();
  1276. }
  1277. //시행부서 선택
  1278. else if(cmb_selectgbn.value == "2"){
  1279. if(select01 == "00"){
  1280. cmb_select02.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
  1281. }
  1282. else{
  1283. cmb_select02.choices.itemset.attribute("nodeset") = "/root/init/LB0106[cd= '00' or etc01='"+ select01 +"']";
  1284. }
  1285. model.setValue("/root/hidden/select02" , "00");
  1286. cmb_select02.refresh();
  1287. }
  1288. }
  1289. //시행부서 외부검사 선택시 관리부서 콤보
  1290. function fSetOutertestmngt(){
  1291. var tsectcd = model.getvalue("/root/main/testinfo/tsectcd");
  1292. if(tsectcd.substring(0,1) == "X"){
  1293. cmb_outertestmngttsectcd.attribute("visibility") = "visible";
  1294. cmb_outertestmngttsectcd.choices.itemset.attribute("nodeset") = "/root/init/LB0106";
  1295. cmb_outertestmngttsectcd.refresh();
  1296. }
  1297. }
  1298. ]]>
  1299. </script>
  1300. </xhtml:head>
  1301. <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  1302. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:27px; ">
  1303. <line id="line15" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  1304. <button id="button9" class="btn6_letter8" visibility="hidden" style="left:0px; top:3px; width:120px; height:22px; ">
  1305. <caption>통합검사코드관리</caption>
  1306. <script type="javascript" ev:event="DOMActivate">
  1307. <![CDATA[
  1308. open("SMLLF00500", 50, 50, 100);
  1309. ]]>
  1310. </script>
  1311. </button>
  1312. <button id="btn_save" class="btn4_letter2" _auth="X" style="left:1068px; top:3px; width:56px; height:22px; ">
  1313. <caption>저장</caption>
  1314. <script type="javascript" ev:event="DOMActivate">
  1315. <![CDATA[
  1316. // 검사정보 업데이트
  1317. fSetTestInfo();
  1318. ]]>
  1319. </script>
  1320. </button>
  1321. <button id="btn_reset" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
  1322. <caption>초기화</caption>
  1323. <script type="javascript" ev:event="DOMActivate">
  1324. <![CDATA[
  1325. fSetInit();
  1326. ]]>
  1327. </script>
  1328. </button>
  1329. </group>
  1330. <group id="group5" style="left:0px; top:0px; width:1195px; height:13px; ">
  1331. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:189px; height:14px; ">병원별 검사코드 관리</caption>
  1332. </group>
  1333. <group id="group6" scroll="auto" style="left:0px; top:40px; width:1195px; height:740px; ">
  1334. <line id="line3" class="line_2" style="x1:515px; y1:97px; x2:1185px; y2:97px; "/>
  1335. <group id="group7" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  1336. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
  1337. <line id="line6" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:29px; "/>
  1338. <caption id="caption25" class="search_name" style="left:17px; top:9px; width:87px; height:17px; ">조회구분 :</caption>
  1339. <line id="line7" class="line_4" style="x1:713px; y1:7px; x2:713px; y2:29px; "/>
  1340. <caption id="caption27" class="search_name" style="left:795px; top:9px; width:87px; height:17px; ">검색구분 :</caption>
  1341. <button id="btn_ref" class="btn1_letter2" style="left:728px; top:7px; width:56px; height:22px; ">
  1342. <caption>조회</caption>
  1343. <script type="javascript" ev:event="DOMActivate">
  1344. <![CDATA[
  1345. fGetTclscdList();
  1346. ]]>
  1347. </script>
  1348. </button>
  1349. <button id="btn_search" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  1350. <caption>검색</caption>
  1351. <script type="javascript" ev:event="DOMActivate">
  1352. <![CDATA[
  1353. fGetHospTclscd();
  1354. ]]>
  1355. </script>
  1356. </button>
  1357. <select1 id="cmb_refgbn" ref="/root/hidden/search/searchgbn" class="combo_search" appearance="minimal" style="left:885px; top:8px; width:85px; height:19px; ">
  1358. <choices>
  1359. <item>
  1360. <label>검사코드</label>
  1361. <value>1</value>
  1362. </item>
  1363. <item>
  1364. <label>검사명</label>
  1365. <value>2</value>
  1366. </item>
  1367. </choices>
  1368. <script type="javascript" ev:event="xforms-select">
  1369. <![CDATA[
  1370. //fHiddenTodd();
  1371. ]]>
  1372. </script>
  1373. </select1>
  1374. <input id="ipt_refgbn" ref="/root/hidden/search/searchtext" class="input_s_button" inputtype="button" style="left:975px; top:8px; width:120px; height:19px; "/>
  1375. <!--<select1 id="cmb_TestLrgCd" ref="/root/hidden/testlrg" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:204px; top:8px; width:116px; height:19px; ">
  1376. <choices>
  1377. <itemset nodeset="/root/init/LB0104">
  1378. <label ref="nm"/>
  1379. <value ref="cd"/>
  1380. </itemset>
  1381. </choices>
  1382. <script type="javascript" ev:event="xforms-value-changed">
  1383. <![CDATA[
  1384. fSetTestLrgCd();
  1385. ]]>
  1386. </script>
  1387. </select1>
  1388. <select1 id="cmb_TestMdlCd" ref="/root/hidden/testmdl/cd" class="combo_s_essential" appearance="minimal" itemcount="10" style="left:323px; top:8px; width:118px; height:19px; ">
  1389. <choices>
  1390. <itemset nodeset="/root/init/LB0102">
  1391. <label ref="nm"/>
  1392. <value ref="cd"/>
  1393. </itemset>
  1394. </choices>
  1395. <script type="javascript" ev:event="xforms-select">
  1396. <![CDATA[
  1397. fGetTclscdList();
  1398. if(model.getValue("/root/hidden/testmdl/cd") != "00"){
  1399. fSetDetlTestMdlcd();
  1400. }
  1401. ]]>
  1402. </script>
  1403. </select1>-->
  1404. <select1 id="cmb_selectgbn" ref="/root/hidden/search/selectgbn" class="combo_search" appearance="minimal" style="left:105px; top:8px; width:90px; height:19px; ">
  1405. <choices>
  1406. <item>
  1407. <label>검사분류</label>
  1408. <value>1</value>
  1409. </item>
  1410. <item>
  1411. <label>시행부서</label>
  1412. <value>2</value>
  1413. </item>
  1414. </choices>
  1415. <script type="javascript" ev:event="xforms-select">
  1416. <![CDATA[
  1417. fSelectGbn();
  1418. ]]>
  1419. </script>
  1420. </select1>
  1421. <select1 id="cmb_select01" ref="/root/hidden/select01" class="combo_s_essential" appearance="minimal" style="left:199px; top:8px; width:110px; height:15px; ">
  1422. <choices>
  1423. <itemset nodeset="/root/init/LB0104">
  1424. <label ref="nm"/>
  1425. <value ref="cd"/>
  1426. </itemset>
  1427. </choices>
  1428. <script type="javascript" ev:event="xforms-value-changed">
  1429. <![CDATA[
  1430. fSetSelect02();
  1431. ]]>
  1432. </script>
  1433. </select1>
  1434. <select1 id="cmb_select02" ref="/root/hidden/select02" class="combo_s_essential" appearance="minimal" style="left:312px; top:8px; width:153px; height:19px; ">
  1435. <choices>
  1436. <itemset nodeset="/root/init/LB0102">
  1437. <label ref="nm"/>
  1438. <value ref="cd"/>
  1439. </itemset>
  1440. </choices>
  1441. <script type="javascript" ev:event="xforms-select">
  1442. <![CDATA[
  1443. fGetTclscdList();
  1444. if(model.getValue("/root/hidden/select02") != "00"){
  1445. fSetDetlTestMdlcd();
  1446. }
  1447. ]]>
  1448. </script>
  1449. </select1>
  1450. <select1 id="cmb_select03" ref="/root/hidden/select03" class="combo_s_essential" appearance="minimal" style="left:588px; top:8px; width:112px; height:19px; ">
  1451. <choices>
  1452. <itemset nodeset="/root/init/LB0110">
  1453. <label ref="nm"/>
  1454. <value ref="cd"/>
  1455. </itemset>
  1456. </choices>
  1457. </select1>
  1458. <caption id="caption1" class="search_name" style="left:495px; top:9px; width:87px; height:17px; ">위탁기관 :</caption>
  1459. </group>
  1460. <caption id="caption29" class="tit_2" style="left:5px; top:55px; width:144px; height:14px; ">검사항목코드 목록</caption>
  1461. <line id="line10" class="line_1" style="x1:0px; y1:70px; x2:510px; y2:70px; "/>
  1462. <caption id="caption30" class="tit_2" style="left:520px; top:55px; width:104px; height:13px; ">통합검사 정보</caption>
  1463. <line id="line11" class="line_1" style="x1:515px; y1:70px; x2:1185px; y2:70px; "/>
  1464. <caption id="caption101" class="cell_1" style="left:515px; top:75px; width:50px; height:23px; vertical-align:middle; ">검사명</caption>
  1465. <output id="output2" ref="/root/main/sytsinfo/tclsnm" class="output_fix" style="left:567px; top:76px; width:268px; height:19px; "/>
  1466. <output id="output5" ref="/root/main/sytsinfo/tclskind" class="output_fix" style="left:1120px; top:76px; width:65px; height:19px; "/>
  1467. <caption id="caption103" class="cell_1" style="left:1060px; top:75px; width:58px; height:23px; vertical-align:middle; ">검사구분</caption>
  1468. <line id="line61" class="line_3" style="x1:515px; y1:97px; x2:1185px; y2:97px; "/>
  1469. <caption id="caption102" class="cell_1" style="left:838px; top:75px; width:50px; height:22px; vertical-align:middle; ">검체명</caption>
  1470. <output id="output4" ref="/root/main/sytsinfo/spcnm" class="output_fix" style="left:891px; top:76px; width:167px; height:19px; "/>
  1471. <!--
  1472. <datagrid id="grd_tclscd" visibility="hidden" caption="^검사코드^검체코드^^검사명^검사구분^lvl" colsep="^" colwidth="66, 65, 100, 19, 150, 65, 0" dataheight="23" defaultrows="1" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:625px; width:505px; height:105px; ">
  1473. <col/>
  1474. <col ref="tclscd" format="yyyy-mm-dd"/>
  1475. <col disabled="true" ref="spccd" type="combo" format="yyyy-mm-dd hh:nn">
  1476. <choices>
  1477. <itemset nodeset="/root/init/LB0105">
  1478. <label ref="nm"/>
  1479. <value ref="cd"/>
  1480. </itemset>
  1481. </choices>
  1482. </col>
  1483. <col ref="spccd2" type="inputbutton"/>
  1484. <col ref="tclsnm"/>
  1485. <col disabled="true" ref="tclskind" type="combo">
  1486. <choices>
  1487. <item>
  1488. <label>Group</label>
  1489. <value>0</value>
  1490. </item>
  1491. <item>
  1492. <label>Panel</label>
  1493. <value>1</value>
  1494. </item>
  1495. <item>
  1496. <label>Single</label>
  1497. <value>2</value>
  1498. </item>
  1499. <item>
  1500. <label>Parent</label>
  1501. <value>3</value>
  1502. </item>
  1503. <item>
  1504. <label>Child</label>
  1505. <value>4</value>
  1506. </item>
  1507. <item>
  1508. <label>Abnormal</label>
  1509. <value>5</value>
  1510. </item>
  1511. <item>
  1512. <label>성분제제</label>
  1513. <value>6</value>
  1514. </item>
  1515. </choices>
  1516. </col>
  1517. <col ref="lvl"/>
  1518. <script type="javascript" ev:event="onclick">
  1519. <![CDATA[
  1520. // 검사코드 선택시
  1521. if(grd_tclscdlist.isCell(event.target) && grd_tclscdlist.row >= grd_tclscdlist.fixedRows){
  1522. if(grd_tclscdlist.col != 1 && grd_tclscdlist.col != 4){
  1523. fGetTclscdSelect();
  1524. }
  1525. }
  1526. ]]>
  1527. </script>
  1528. <script type="javascript" ev:event="onbuttonclick">
  1529. <![CDATA[
  1530. if(grd_tclscdlist.col == 4){
  1531. fSetSpccd();
  1532. }
  1533. ]]>
  1534. </script>
  1535. <script type="javascript" ev:event="onaftersort">
  1536. <![CDATA[
  1537. grd_tclscdlist.gridToInstance();
  1538. ]]>
  1539. </script>
  1540. </datagrid>
  1541. -->
  1542. <button id="btn_testdetl" class="btn_sw" group="tab" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:615px; top:107px; width:100px; height:22px; ">
  1543. <caption>세부검사</caption>
  1544. <script type="javascript" ev:event="DOMActivate">
  1545. <![CDATA[
  1546. fSelectToggle("1");
  1547. ]]>
  1548. </script>
  1549. </button>
  1550. <button id="btn_testinfo" class="btn_sw" group="tab" selected="true" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:515px; top:107px; width:100px; height:22px; ">
  1551. <caption>검사정보</caption>
  1552. <script type="javascript" ev:event="DOMActivate">
  1553. <![CDATA[
  1554. fSelectToggle("0");
  1555. ]]>
  1556. </script>
  1557. </button>
  1558. <switch id="swt_tclscd" class="sw_box" style="left:515px; top:128px; width:670px; height:612px; ">
  1559. <case id="case4" selected="true" style="left:0px; top:0px; width:668px; height:610px; ">
  1560. <line id="line39" class="line_2" style="x1:5px; y1:101px; x2:660px; y2:101px; "/>
  1561. <select id="checkbox11" ref="/root/main/testinfo/execdw" visibility="hidden" overflow="visible" appearance="full" cellspacing="24" cols="7" sep="▦" style="left:255px; top:0px; width:404px; height:13px; border-style:none; ">
  1562. <choices>
  1563. <item>
  1564. <label>월</label>
  1565. <value>1</value>
  1566. </item>
  1567. <item>
  1568. <label>화</label>
  1569. <value>2</value>
  1570. </item>
  1571. <item>
  1572. <label>수</label>
  1573. <value>3</value>
  1574. </item>
  1575. <item>
  1576. <label>목</label>
  1577. <value>4</value>
  1578. </item>
  1579. <item>
  1580. <label>금</label>
  1581. <value>5</value>
  1582. </item>
  1583. <item>
  1584. <label>토</label>
  1585. <value>6</value>
  1586. </item>
  1587. <item>
  1588. <label>일</label>
  1589. <value>7</value>
  1590. </item>
  1591. </choices>
  1592. <script type="javascript" ev:event="xforms-value-changed">
  1593. <![CDATA[
  1594. //fSetweekseq();
  1595. ]]>
  1596. </script>
  1597. </select>
  1598. <select1 id="combo16" ref="/root/main/testinfo/microtestkind" class="combo_default" appearance="minimal" style="left:439px; top:157px; width:130px; height:19px; ">
  1599. <choices>
  1600. <item>
  1601. <label>-</label>
  1602. <value>0</value>
  1603. </item>
  1604. <item>
  1605. <label>배양동정</label>
  1606. <value>2</value>
  1607. </item>
  1608. <item>
  1609. <label>검사항목</label>
  1610. <value>1</value>
  1611. </item>
  1612. </choices>
  1613. </select1>
  1614. <input id="input21" ref="/root/main/testinfo/aprvfrmcd" class="input_default" visibility="hidden" style="left:108px; top:378px; width:82px; height:19px; "/>
  1615. <select1 id="combo17" ref="/root/main/testinfo/reqfrmcd" class="combo_default" appearance="minimal" style="left:449px; top:378px; width:210px; height:19px; ">
  1616. <choices>
  1617. <item>
  1618. <label/>
  1619. <value>-</value>
  1620. </item>
  1621. <item>
  1622. <label>[01]골수검사의뢰서</label>
  1623. <value>01</value>
  1624. </item>
  1625. <item>
  1626. <label>[02]분자생물학부의뢰서</label>
  1627. <value>02</value>
  1628. </item>
  1629. <item>
  1630. <label>[03]산전검사의뢰서</label>
  1631. <value>03</value>
  1632. </item>
  1633. <item>
  1634. <label>[04]세포유전학검사의뢰서</label>
  1635. <value>04</value>
  1636. </item>
  1637. <item>
  1638. <label>[05]장기이식의뢰서</label>
  1639. <value>05</value>
  1640. </item>
  1641. <item>
  1642. <label>[06]TDM의뢰서</label>
  1643. <value>06</value>
  1644. </item>
  1645. <item>
  1646. <label>[07]산전검사의뢰서(핵의학)</label>
  1647. <value>07</value>
  1648. </item>
  1649. <item>
  1650. <label>[08]ICG검사의뢰서</label>
  1651. <value>08</value>
  1652. </item>
  1653. <item>
  1654. <label>[09]염색체검사의뢰서</label>
  1655. <value>09</value>
  1656. </item>
  1657. <item>
  1658. <label>[10]PB Morphology의뢰서</label>
  1659. <value>10</value>
  1660. </item>
  1661. <item>
  1662. <label>[11]AMH검사의뢰서</label>
  1663. <value>11</value>
  1664. </item>
  1665. <item>
  1666. <label>[12]서울대학유전자검사의뢰서</label>
  1667. <value>12</value>
  1668. </item>
  1669. <item>
  1670. <label>[13]아산병원유전자검사의뢰서</label>
  1671. <value>13</value>
  1672. </item>
  1673. <item>
  1674. <label>[14]삼성서울병원유전자검사의뢰서</label>
  1675. <value>14</value>
  1676. </item>
  1677. <item>
  1678. <label>[15]기생충항체검사의뢰지</label>
  1679. <value>15</value>
  1680. </item>
  1681. <item>
  1682. <label>[16]삼성서울병원약검사동의서</label>
  1683. <value>16</value>
  1684. </item>
  1685. <item>
  1686. <label>[17]Malaria검사의뢰서</label>
  1687. <value>17</value>
  1688. </item>
  1689. </choices>
  1690. </select1>
  1691. <input id="input22" ref="/root/main/testinfo/spcacptbarcdprntcnt" class="input_essential" style="left:260px; top:209px; width:34px; height:19px; "/>
  1692. <button id="button23" class="icon_up" style="left:192px; top:209px; width:10px; height:9px; ">
  1693. <caption/>
  1694. <script type="javascript" ev:event="DOMActivate">
  1695. <![CDATA[
  1696. fBtnMove_Click("up", "/root/main/testinfo/bcollbarcdprntcnt");
  1697. ]]>
  1698. </script>
  1699. </button>
  1700. <input id="input23" ref="/root/main/testinfo/microbarcdprntcnt" class="input_s_essential" style="left:370px; top:209px; width:34px; height:19px; "/>
  1701. <line id="line17" class="line_1" style="x1:5px; y1:20px; x2:659px; y2:20px; "/>
  1702. <line id="line18" class="line_2" style="x1:5px; y1:49px; x2:660px; y2:49px; "/>
  1703. <input id="input24" ref="/root/main/testinfo/tclslblnm" class="input_default" maxlength="20" style="left:109px; top:79px; width:130px; height:19px; "/>
  1704. <textarea id="textarea5" ref="/root/main/testinfo/bcollcau" style="left:108px; top:326px; width:225px; height:44px; "/>
  1705. <button id="button24" class="icon_up" style="left:293px; top:209px; width:10px; height:9px; ">
  1706. <caption/>
  1707. <script type="javascript" ev:event="DOMActivate">
  1708. <![CDATA[
  1709. fBtnMove_Click("up", "/root/main/testinfo/spcacptbarcdprntcnt");
  1710. ]]>
  1711. </script>
  1712. </button>
  1713. <caption id="caption66" class="tit_2" style="left:10px; top:5px; width:118px; height:14px; ">검사정보</caption>
  1714. <input id="input26" ref="/root/main/testinfo/tclsscrnnm" class="input_essential" maxlength="120" style="left:108px; top:26px; width:472px; height:19px; "/>
  1715. <button id="button25" class="icon_down" style="left:293px; top:220px; width:10px; height:9px; ">
  1716. <caption/>
  1717. <script type="javascript" ev:event="DOMActivate">
  1718. <![CDATA[
  1719. fBtnMove_Click("down", "/root/main/testinfo/spcacptbarcdprntcnt");
  1720. ]]>
  1721. </script>
  1722. </button>
  1723. <select id="chk_extrtestyn" ref="/root/main/testinfo/extrtestyn" overflow="visible" appearance="full" style="left:110px; top:184px; width:175px; height:16px; border-style:none; ">
  1724. <choices>
  1725. <item>
  1726. <label>위탁검사 여부</label>
  1727. <value>Y</value>
  1728. </item>
  1729. </choices>
  1730. <script type="javascript" ev:event="xforms-value-changed">
  1731. <![CDATA[
  1732. fSetCheckYN("extrtestyn", chk_extrtestyn.value);
  1733. fextrtest();
  1734. ]]>
  1735. </script>
  1736. </select>
  1737. <input id="input28" ref="/root/main/testinfo/tclsprntnm" class="input_default" maxlength="20" style="left:438px; top:51px; width:142px; height:19px; "/>
  1738. <button id="button26" class="icon_down" style="left:192px; top:220px; width:10px; height:9px; ">
  1739. <caption/>
  1740. <script type="javascript" ev:event="DOMActivate">
  1741. <![CDATA[
  1742. fBtnMove_Click("down", "/root/main/testinfo/bcollbarcdprntcnt");
  1743. ]]>
  1744. </script>
  1745. </button>
  1746. <input id="input41" ref="/root/main/testinfo/bcollbarcdprntcnt" class="input_essential" style="left:157px; top:209px; width:35px; height:19px; "/>
  1747. <button id="button27" class="icon_up" style="left:403px; top:209px; width:10px; height:9px; ">
  1748. <caption/>
  1749. <script type="javascript" ev:event="DOMActivate">
  1750. <![CDATA[
  1751. fBtnMove_Click("up", "/root/main/testinfo/microbarcdprntcnt");
  1752. ]]>
  1753. </script>
  1754. </button>
  1755. <button id="button28" class="icon_down" style="left:403px; top:220px; width:10px; height:9px; ">
  1756. <caption/>
  1757. <script type="javascript" ev:event="DOMActivate">
  1758. <![CDATA[
  1759. fBtnMove_Click("down", "/root/main/testinfo/microbarcdprntcnt");
  1760. ]]>
  1761. </script>
  1762. </button>
  1763. <select1 id="combo20" ref="/root/main/testinfo/spclrsltkind" class="combo_default" appearance="minimal" style="left:108px; top:157px; width:140px; height:19px; ">
  1764. <choices>
  1765. <item>
  1766. <label>일반</label>
  1767. <value>-</value>
  1768. </item>
  1769. <item>
  1770. <label>판독결과</label>
  1771. <value>1</value>
  1772. </item>
  1773. <item>
  1774. <label>이미지결과</label>
  1775. <value>2</value>
  1776. </item>
  1777. <item>
  1778. <label>판독/이미지결과</label>
  1779. <value>3</value>
  1780. </item>
  1781. </choices>
  1782. </select1>
  1783. <select1 id="combo21" ref="/root/main/testinfo/aprvfrmcd" class="combo_default" appearance="minimal" style="left:108px; top:378px; width:225px; height:19px; ">
  1784. <choices>
  1785. <itemset nodeset="/root/init/LB0137">
  1786. <label ref="nm"/>
  1787. <value ref="cd"/>
  1788. </itemset>
  1789. </choices>
  1790. </select1>
  1791. <select id="checkbox3" ref="/root/main/testinfo/tatappyn" visibility="hidden" overflow="visible" appearance="full" style="left:560px; top:279px; width:101px; height:15px; border-style:none; ">
  1792. <choices>
  1793. <item>
  1794. <label>TAT 사용여부</label>
  1795. <value>Y</value>
  1796. </item>
  1797. </choices>
  1798. <script type="javascript" ev:event="xforms-value-changed">
  1799. <![CDATA[
  1800. fSetCheckYN("tatappyn", checkbox3.value);
  1801. ]]>
  1802. </script>
  1803. </select>
  1804. <!--
  1805. <caption id="caption118" class="tit_2" style="left:10px; top:471px; width:118px; height:13px; ">TAT 정보</caption>
  1806. <line id="line48" class="line_1" style="x1:5px; y1:486px; x2:660px; y2:486px; "/>
  1807. <datagrid id="datagrid7" nodeset="/root/main/tatlist" caption="^구분^TAT 시작 시점^TAT 종료 시점^일반시간^응급시간^알람여부" colsep="^" colwidth="40, 80, 130, 130, 80, 80, 80" dataheight="23" defaultrows="1" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:5px; top:491px; width:655px; height:80px; ">
  1808. <col checkvalue="Y,N" ref="chk" type="checkbox"/>
  1809. <col ref="flag" format="yyyy-mm-dd"/>
  1810. <col ref="starttm" format="yyyy-mm-dd hh:nn"/>
  1811. <col ref="endtm" format="999999-9999999"/>
  1812. <col ref="tm" type="input"/>
  1813. <col ref="ertm" type="input"/>
  1814. <col ref="alarm" type="checkbox"/>
  1815. </datagrid>
  1816. -->
  1817. <caption id="caption70" class="cell_1" style="left:306px; top:208px; width:60px; height:23px; font-weight:bold; vertical-align:middle; ">[미생물]</caption>
  1818. <caption id="caption72" class="cell_1" style="left:5px; top:325px; width:100px; height:48px; vertical-align:middle; ">채혈시 주의사항</caption>
  1819. <caption id="caption83" class="cell_1" style="left:5px; top:181px; width:100px; height:23px; vertical-align:middle; ">위탁검사 여부</caption>
  1820. <caption id="caption62" class="cell_1" style="left:336px; top:155px; width:100px; height:23px; vertical-align:middle; ">미생물검사 유형</caption>
  1821. <caption id="caption51" class="cell_1" style="left:336px; top:181px; width:100px; height:23px; vertical-align:middle; ">위탁기관명</caption>
  1822. <caption id="caption117" class="cell_1" style="left:5px; top:299px; width:100px; height:23px; vertical-align:middle; ">실시요일</caption>
  1823. <caption id="caption74" class="cell_1" style="left:5px; top:77px; width:100px; height:23px; vertical-align:middle; ">검사명(라벨)</caption>
  1824. <caption id="caption64" class="cell_1" style="left:108px; top:208px; width:47px; height:23px; vertical-align:middle; ">[채혈]</caption>
  1825. <caption id="caption75" class="cell_1" style="left:5px; top:207px; width:100px; height:23px; vertical-align:middle; ">바코드 출력수</caption>
  1826. <caption id="caption65" class="cell_1" style="left:336px; top:129px; width:100px; height:23px; vertical-align:middle; ">용량/단위</caption>
  1827. <caption id="caption77" class="cell_1" style="left:336px; top:77px; width:100px; height:23px; vertical-align:middle; ">기본검체</caption>
  1828. <input id="ipt_basespccd" ref="/root/main/testinfo/basespccd" class="input_default" style="left:439px; top:79px; width:51px; height:19px; "/>
  1829. <select1 id="cmb_basespc" ref="/root/main/testinfo/basespcnm" class="combo_default" appearance="minimal" itemcount="20" style="left:492px; top:79px; width:173px; height:19px; ">
  1830. <choices>
  1831. <itemset nodeset="/root/main/basespclist">
  1832. <label ref="spcnm"/>
  1833. <value ref="spccd"/>
  1834. </itemset>
  1835. </choices>
  1836. <script type="javascript" ev:event="xforms-select">
  1837. <![CDATA[
  1838. fSetBaseSpccd();
  1839. ]]>
  1840. </script>
  1841. </select1>
  1842. <caption id="caption78" class="cell_1" style="left:5px; top:129px; width:100px; height:23px; font-weight:bold; vertical-align:middle; ">용기명</caption>
  1843. <caption id="caption68" class="cell_1" style="left:207px; top:208px; width:48px; height:23px; vertical-align:middle; ">[접수]</caption>
  1844. <caption id="caption79" class="cell_1" style="left:5px; top:155px; width:100px; height:23px; vertical-align:middle; ">특수결과 유형</caption>
  1845. <caption id="caption69" class="cell_1" style="left:5px; top:25px; width:100px; height:23px; vertical-align:middle; ">검사명(화면)</caption>
  1846. <select1 id="cmb_tsectcd" ref="/root/main/testinfo/tsectcd" class="combo_essential" appearance="minimal" style="left:68px; top:105px; width:130px; height:19px; ">
  1847. <choices>
  1848. <itemset nodeset="/root/init/LB0106">
  1849. <label ref="nm"/>
  1850. <value ref="cd"/>
  1851. </itemset>
  1852. </choices>
  1853. <script type="javascript" ev:event="xforms-value-changed">
  1854. <![CDATA[
  1855. //외부검사 관리 부서 콤보
  1856. fSetOutertestmngt();
  1857. ]]>
  1858. </script>
  1859. </select1>
  1860. <output id="out_tube" ref="/root/main/testinfo/tubevol" class="output_fix" appearance="output" style="left:439px; top:131px; width:130px; height:19px; "/>
  1861. <select id="chk_prcp" ref="/root/main/testinfo/prcppossyn" overflow="visible" appearance="full" style="left:5px; top:235px; width:110px; height:18px; text-align:center; border-style:none; ">
  1862. <choices>
  1863. <item>
  1864. <label>처방가능여부</label>
  1865. <value>Y</value>
  1866. </item>
  1867. </choices>
  1868. <script type="javascript" ev:event="xforms-value-changed">
  1869. <![CDATA[
  1870. fSetCheckYN("prcppossyn", chk_prcp.value);
  1871. ]]>
  1872. </script>
  1873. </select>
  1874. <select id="chk_cont" ref="/root/main/testinfo/conttestyn" overflow="visible" appearance="full" style="left:525px; top:235px; width:96px; height:15px; border-style:none; ">
  1875. <choices>
  1876. <item>
  1877. <label>연속검사여부</label>
  1878. <value>Y</value>
  1879. </item>
  1880. </choices>
  1881. <script type="javascript" ev:event="xforms-value-changed">
  1882. <![CDATA[
  1883. fSetCheckYN("conttestyn", chk_cont.value);
  1884. ]]>
  1885. </script>
  1886. </select>
  1887. <select id="chk_sngl" ref="/root/main/testinfo/snglspcyn" overflow="visible" appearance="full" style="left:5px; top:258px; width:105px; height:16px; font-weight:bold; border-style:none; ">
  1888. <choices>
  1889. <item>
  1890. <label>*단독검체여부</label>
  1891. <value>Y</value>
  1892. </item>
  1893. </choices>
  1894. <script type="javascript" ev:event="xforms-value-changed">
  1895. <![CDATA[
  1896. fSetCheckYN("snglspcyn", chk_sngl.value);
  1897. ]]>
  1898. </script>
  1899. </select>
  1900. <select id="chk_diff" ref="/root/main/testinfo/diffcntyn" overflow="visible" appearance="full" style="left:127px; top:258px; width:105px; height:16px; border-style:none; ">
  1901. <choices>
  1902. <item>
  1903. <label>Diff Count 여부</label>
  1904. <value>Y</value>
  1905. </item>
  1906. </choices>
  1907. <script type="javascript" ev:event="xforms-value-changed">
  1908. <![CDATA[
  1909. fSetCheckYN("diffcntyn", chk_diff.value);
  1910. ]]>
  1911. </script>
  1912. </select>
  1913. <select id="chk_parent" ref="/root/main/testinfo/parentrsltinptyn" overflow="visible" appearance="full" style="left:254px; top:258px; width:134px; height:15px; border-style:none; ">
  1914. <choices>
  1915. <item>
  1916. <label>Parent 결과입력여부</label>
  1917. <value>Y</value>
  1918. </item>
  1919. </choices>
  1920. <script type="javascript" ev:event="xforms-value-changed">
  1921. <![CDATA[
  1922. fSetCheckYN("parentrsltinptyn", chk_parent.value);
  1923. ]]>
  1924. </script>
  1925. </select>
  1926. <select id="chk_child" ref="/root/main/testinfo/childessnrsltyn" overflow="visible" appearance="full" style="left:401px; top:258px; width:105px; height:15px; border-style:none; ">
  1927. <choices>
  1928. <item>
  1929. <label>Child 필수여부</label>
  1930. <value>Y</value>
  1931. </item>
  1932. </choices>
  1933. <script type="javascript" ev:event="xforms-value-changed">
  1934. <![CDATA[
  1935. fSetCheckYN("childessnrsltyn", chk_child.value);
  1936. ]]>
  1937. </script>
  1938. </select>
  1939. <select id="chk_addprcp" ref="/root/main/testinfo/addprcpyn" overflow="visible" appearance="full" style="left:127px; top:235px; width:110px; height:18px; text-align:center; border-style:none; ">
  1940. <choices>
  1941. <item>
  1942. <label>추가검사여부</label>
  1943. <value>Y</value>
  1944. </item>
  1945. </choices>
  1946. <script type="javascript" ev:event="xforms-value-changed">
  1947. <![CDATA[
  1948. fSetCheckYN("addprcpyn", chk_addprcp.value);
  1949. ]]>
  1950. </script>
  1951. </select>
  1952. <select id="chk_erprcp" ref="/root/main/testinfo/erprcpyn" overflow="visible" appearance="full" style="left:254px; top:235px; width:110px; height:18px; text-align:center; border-style:none; ">
  1953. <choices>
  1954. <item>
  1955. <label>응급검사여부</label>
  1956. <value>Y</value>
  1957. </item>
  1958. </choices>
  1959. <script type="javascript" ev:event="xforms-value-changed">
  1960. <![CDATA[
  1961. fSetCheckYN("erprcpyn", chk_erprcp.value);
  1962. ]]>
  1963. </script>
  1964. </select>
  1965. <select id="chk_fasttest" ref="/root/main/testinfo/fasttestyn" overflow="visible" appearance="full" style="left:401px; top:235px; width:110px; height:18px; text-align:center; border-style:none; ">
  1966. <choices>
  1967. <item>
  1968. <label>금식검사여부</label>
  1969. <value>Y</value>
  1970. </item>
  1971. </choices>
  1972. <script type="javascript" ev:event="xforms-value-changed">
  1973. <![CDATA[
  1974. fSetCheckYN("fasttestyn", chk_fasttest.value);
  1975. ]]>
  1976. </script>
  1977. </select>
  1978. <!--
  1979. <select id="chk_stat" ref="/root/main/testinfo/statyn" disabled="true" overflow="visible" appearance="full" style="left:525px; top:222px; width:70px; height:16px; border-style:none; ">
  1980. <choices>
  1981. <item>
  1982. <label>통계여부</label>
  1983. <value>Y</value>
  1984. </item>
  1985. </choices>
  1986. <script type="javascript" ev:event="xforms-value-changed">
  1987. <![CDATA[
  1988. fSetCheckYN("statyn", chk_stat.value);
  1989. ]]>
  1990. </script>
  1991. </select>-->
  1992. <input id="ipt_tubecd" ref="/root/main/testinfo/tubecd" class="input_s_essential" style="left:108px; top:131px; width:70px; height:19px; "/>
  1993. <select1 id="cmb_tube" ref="/root/main/testinfo/tubenm" class="combo_s_essential" appearance="minimal" itemcount="20" style="left:181px; top:131px; width:150px; height:19px; ">
  1994. <choices>
  1995. <itemset nodeset="/root/init/LB0107">
  1996. <label ref="nm"/>
  1997. <value ref="cd"/>
  1998. </itemset>
  1999. </choices>
  2000. <script type="javascript" ev:event="xforms-select">
  2001. <![CDATA[
  2002. fSetTubecd();
  2003. ]]>
  2004. </script>
  2005. </select1>
  2006. <button id="button29" class="btn2_letter2" style="left:112px; top:301px; width:42px; height:19px; ">
  2007. <caption>매일</caption>
  2008. <script type="javascript" ev:event="DOMActivate">
  2009. <![CDATA[
  2010. fSetAllCheck();
  2011. ]]>
  2012. </script>
  2013. </button>
  2014. <group id="grp_week" style="left:162px; top:303px; width:400px; height:18px; ">
  2015. <select id="chk_a" ref="/root/hidden/execdw/a1" overflow="visible" appearance="full" style="left:5px; top:0px; width:35px; height:15px; border-style:none; ">
  2016. <choices>
  2017. <item>
  2018. <label>월</label>
  2019. <value>Y</value>
  2020. </item>
  2021. </choices>
  2022. <script type="javascript" ev:event="xforms-value-changed">
  2023. <![CDATA[
  2024. fSetexecdw(chk_a.value, "a1");
  2025. ]]>
  2026. </script>
  2027. </select>
  2028. <select id="chk_b" ref="/root/hidden/execdw/a2" overflow="visible" appearance="full" style="left:61px; top:0px; width:35px; height:15px; border-style:none; ">
  2029. <choices>
  2030. <item>
  2031. <label>화</label>
  2032. <value>Y</value>
  2033. </item>
  2034. </choices>
  2035. <script type="javascript" ev:event="xforms-value-changed">
  2036. <![CDATA[
  2037. fSetexecdw(chk_b.value, "a2");
  2038. ]]>
  2039. </script>
  2040. </select>
  2041. <select id="chk_c" ref="/root/hidden/execdw/a3" overflow="visible" appearance="full" style="left:117px; top:0px; width:35px; height:15px; border-style:none; ">
  2042. <choices>
  2043. <item>
  2044. <label>수</label>
  2045. <value>Y</value>
  2046. </item>
  2047. </choices>
  2048. <script type="javascript" ev:event="xforms-value-changed">
  2049. <![CDATA[
  2050. fSetexecdw(chk_c.value, "a3");
  2051. ]]>
  2052. </script>
  2053. </select>
  2054. <select id="chk_d" ref="/root/hidden/execdw/a4" overflow="visible" appearance="full" style="left:173px; top:0px; width:35px; height:15px; border-style:none; ">
  2055. <choices>
  2056. <item>
  2057. <label>목</label>
  2058. <value>Y</value>
  2059. </item>
  2060. </choices>
  2061. <script type="javascript" ev:event="xforms-value-changed">
  2062. <![CDATA[
  2063. fSetexecdw(chk_d.value, "a4");
  2064. ]]>
  2065. </script>
  2066. </select>
  2067. <select id="chk_e" ref="/root/hidden/execdw/a5" overflow="visible" appearance="full" style="left:229px; top:0px; width:35px; height:15px; border-style:none; ">
  2068. <choices>
  2069. <item>
  2070. <label>금</label>
  2071. <value>Y</value>
  2072. </item>
  2073. </choices>
  2074. <script type="javascript" ev:event="xforms-value-changed">
  2075. <![CDATA[
  2076. fSetexecdw(chk_e.value, "a5");
  2077. ]]>
  2078. </script>
  2079. </select>
  2080. <select id="chk_f" ref="/root/hidden/execdw/a6" overflow="visible" appearance="full" style="left:285px; top:0px; width:35px; height:15px; border-style:none; ">
  2081. <choices>
  2082. <item>
  2083. <label>토</label>
  2084. <value>Y</value>
  2085. </item>
  2086. </choices>
  2087. <script type="javascript" ev:event="xforms-value-changed">
  2088. <![CDATA[
  2089. fSetexecdw(chk_f.value, "a6");
  2090. ]]>
  2091. </script>
  2092. </select>
  2093. <select id="chk_g" ref="/root/hidden/execdw/a7" overflow="visible" appearance="full" style="left:341px; top:0px; width:35px; height:15px; border-style:none; ">
  2094. <choices>
  2095. <item>
  2096. <label>일</label>
  2097. <value>Y</value>
  2098. </item>
  2099. </choices>
  2100. <script type="javascript" ev:event="xforms-value-changed">
  2101. <![CDATA[
  2102. fSetexecdw(chk_g.value, "a7");
  2103. ]]>
  2104. </script>
  2105. </select>
  2106. </group>
  2107. <caption id="caption34" class="cell_1" style="left:416px; top:208px; width:49px; height:23px; font-weight:bold; vertical-align:middle; ">[배지]</caption>
  2108. <button id="button2" class="icon_up" style="left:504px; top:209px; width:10px; height:9px; ">
  2109. <caption/>
  2110. <script type="javascript" ev:event="DOMActivate">
  2111. <![CDATA[
  2112. fBtnMove_Click("up", "/root/main/testinfo/mdiabarcdprntcnt");
  2113. ]]>
  2114. </script>
  2115. </button>
  2116. <button id="button4" class="icon_down" style="left:504px; top:220px; width:10px; height:9px; ">
  2117. <caption/>
  2118. <script type="javascript" ev:event="DOMActivate">
  2119. <![CDATA[
  2120. fBtnMove_Click("down", "/root/main/testinfo/mdiabarcdprntcnt");
  2121. ]]>
  2122. </script>
  2123. </button>
  2124. <input id="input9" ref="/root/main/testinfo/mdiabarcdprntcnt" class="input_s_essential" style="left:470px; top:209px; width:35px; height:19px; "/>
  2125. <button id="button7" class="btn2_letter7" style="left:518px; top:209px; width:97px; height:19px; font-weight:bold; ">
  2126. <caption>배지그룹정보</caption>
  2127. <script type="javascript" ev:event="DOMActivate">
  2128. <![CDATA[
  2129. fSetMdiaOpen();
  2130. ]]>
  2131. </script>
  2132. </button>
  2133. <output id="output6" ref="/root/main/testinfo/mdiagrupcd" style="left:618px; top:208px; width:44px; height:19px; border-color:#808080; border-style:solid; "/>
  2134. <input id="ipt_extrcd" ref="/root/main/testinfo/extrtestinstcd" class="input_default" style="left:439px; top:183px; width:77px; height:19px; "/>
  2135. <select1 id="cmb_extrnm" ref="/root/main/testinfo/extrtestinstnm" class="combo_default" appearance="minimal" style="left:518px; top:183px; width:140px; height:19px; ">
  2136. <choices>
  2137. <itemset nodeset="/root/init/LB0110">
  2138. <label ref="nm"/>
  2139. <value ref="cd"/>
  2140. </itemset>
  2141. </choices>
  2142. <script type="javascript" ev:event="xforms-select">
  2143. <![CDATA[
  2144. fExtrInstSelect();
  2145. ]]>
  2146. </script>
  2147. </select1>
  2148. <select id="chk_poct" ref="/root/main/testinfo/poctyn" overflow="visible" appearance="full" style="left:5px; top:279px; width:95px; height:16px; border-style:none; ">
  2149. <choices>
  2150. <item>
  2151. <label>현장검사 여부</label>
  2152. <value>Y</value>
  2153. </item>
  2154. </choices>
  2155. <script type="javascript" ev:event="xforms-value-changed">
  2156. <![CDATA[
  2157. fSetCheckYN("poctyn", chk_poct.value);
  2158. ]]>
  2159. </script>
  2160. </select>
  2161. <caption id="caption82" class="cell_1" style="left:5px; top:103px; width:60px; height:23px; vertical-align:middle; ">시행부서</caption>
  2162. <caption id="caption48" class="cell_1" style="left:335px; top:103px; width:100px; height:23px; vertical-align:middle; ">검사구분</caption>
  2163. <select1 id="cmb_tclskind" ref="/root/main/testinfo/tclskind" appearance="minimal" style="left:439px; top:105px; width:130px; height:19px; ">
  2164. <choices>
  2165. <item>
  2166. <label>Group</label>
  2167. <value>0</value>
  2168. </item>
  2169. <item>
  2170. <label>Panel</label>
  2171. <value>1</value>
  2172. </item>
  2173. <item>
  2174. <label>Single</label>
  2175. <value>2</value>
  2176. </item>
  2177. <item>
  2178. <label>Parent</label>
  2179. <value>3</value>
  2180. </item>
  2181. <item>
  2182. <label>Child</label>
  2183. <value>4</value>
  2184. </item>
  2185. <item>
  2186. <label>Abnormal</label>
  2187. <value>5</value>
  2188. </item>
  2189. <item>
  2190. <label>성분제제</label>
  2191. <value>6</value>
  2192. </item>
  2193. </choices>
  2194. <script type="javascript" ev:event="xforms-select">
  2195. <![CDATA[
  2196. fSetChildAbnormal();
  2197. ]]>
  2198. </script>
  2199. </select1>
  2200. <caption id="caption49" style="left:240px; top:79px; width:95px; height:20px; font-size:8pt; color:#000080; ">※ 영문20자리까지</caption>
  2201. <caption id="caption50" style="left:590px; top:50px; width:75px; height:20px; font-size:8pt; color:#000080; ">※ 20자리까지</caption>
  2202. <select id="chk_medi" ref="/root/main/testinfo/medispclyn" overflow="visible" appearance="full" style="left:127px; top:279px; width:109px; height:15px; border-style:none; ">
  2203. <choices>
  2204. <item>
  2205. <label>전문의확인여부</label>
  2206. <value>Y</value>
  2207. </item>
  2208. </choices>
  2209. <script type="javascript" ev:event="xforms-value-changed">
  2210. <![CDATA[
  2211. fSetCheckYN("medispclyn", chk_medi.value);
  2212. ]]>
  2213. </script>
  2214. </select>
  2215. <select id="chk_ordspcextryn" ref="/root/main/testinfo/ordspcextryn" overflow="visible" appearance="full" style="left:254px; top:279px; width:141px; height:15px; font-weight:bold; border-style:none; ">
  2216. <choices>
  2217. <item>
  2218. <label>*진료실검체채취여부</label>
  2219. <value>Y</value>
  2220. </item>
  2221. </choices>
  2222. <script type="javascript" ev:event="xforms-value-changed">
  2223. <![CDATA[
  2224. fSetCheckYN("ordspcextryn", chk_ordspcextryn.value);
  2225. ]]>
  2226. </script>
  2227. </select>
  2228. <select1 id="cmb_inettestreq" ref="/root/main/testinfo/inettestreq" class="combo_default" appearance="minimal" style="left:109px; top:430px; width:146px; height:19px; ">
  2229. <choices>
  2230. <item>
  2231. <label>의뢰안함</label>
  2232. <value>1</value>
  2233. </item>
  2234. <item>
  2235. <label>사람</label>
  2236. <value>2</value>
  2237. </item>
  2238. <item>
  2239. <label>검체+사람</label>
  2240. <value>3</value>
  2241. </item>
  2242. </choices>
  2243. </select1>
  2244. <!--
  2245. <caption id="caption5" class="cell_1" style="left:5px; top:391px; width:100px; height:23px; vertical-align:middle; ">구코드여부</caption>
  2246. <select id="chk_oldcdyn" ref="/root/main/testinfo/oldcdyn" overflow="visible" appearance="full" style="left:109px; top:392px; width:81px; height:20px; border-style:none; ">
  2247. <choices>
  2248. <item>
  2249. <label>구코드여부</label>
  2250. <value>Y</value>
  2251. </item>
  2252. </choices>
  2253. <script type="javascript" ev:event="xforms-value-changed">
  2254. <![CDATA[
  2255. //fSetCheckYN("oldcdyn", chk_oldcdyn.value);
  2256. //fOldCdCheck();
  2257. ]]>
  2258. </script>
  2259. </select>-->
  2260. <input id="ipt_oldcd" ref="/root/main/testinfo/oldcd" class="input_default" disabled="true" style="left:337px; top:430px; width:125px; height:19px; "/>
  2261. <select1 id="cmb_spclreptformcd" ref="/root/main/testinfo/spclreptformcd" class="combo_default" appearance="minimal" style="left:449px; top:404px; width:210px; height:19px; ">
  2262. <choices>
  2263. <itemset nodeset="/root/init/LB9992">
  2264. <label ref="nm"/>
  2265. <value ref="cd"/>
  2266. </itemset>
  2267. </choices>
  2268. </select1>
  2269. <select id="chk_sytsrsltdispyn" ref="/root/main/testinfo/sytsrsltdispyn" overflow="visible" appearance="full" style="left:401px; top:279px; width:130px; height:15px; border-style:none; ">
  2270. <choices>
  2271. <item>
  2272. <label>통합결과표시여부</label>
  2273. <value>Y</value>
  2274. </item>
  2275. </choices>
  2276. <script type="javascript" ev:event="xforms-value-changed">
  2277. <![CDATA[
  2278. fSetCheckYN("sytsrsltdispyn", chk_sytsrsltdispyn.value);
  2279. ]]>
  2280. </script>
  2281. </select>
  2282. <select id="chk_prcpspcpossyn" ref="/root/main/testinfo/prcpspcpossyn" disabled="true" overflow="visible" appearance="full" style="left:525px; top:258px; width:130px; height:15px; font-weight:bold; color:#ff0000; border-style:none; ">
  2283. <choices>
  2284. <item>
  2285. <label>*처방검체가능여부</label>
  2286. <value>Y</value>
  2287. </item>
  2288. </choices>
  2289. <script type="javascript" ev:event="xforms-value-changed">
  2290. <![CDATA[
  2291. fSetCheckYN("prcpspcpossyn", chk_prcpspcpossyn.value);
  2292. ]]>
  2293. </script>
  2294. </select>
  2295. <textarea id="tar_noti" ref="/root/main/testinfo/noti" disabled="true" style="left:108px; top:482px; width:225px; height:44px; "/>
  2296. <input id="ipt_oldtclscd" ref="/root/main/testinfo/oldtclscd" class="input_default" disabled="true" style="left:543px; top:430px; width:116px; height:19px; "/>
  2297. <select1 id="combo24" ref="/root/main/testinfo/spclrsltformkind" class="combo_default" appearance="minimal" style="left:113px; top:404px; width:220px; height:19px; ">
  2298. <choices>
  2299. <itemset nodeset="/root/init/LB9991">
  2300. <label ref="nm"/>
  2301. <value ref="cd"/>
  2302. </itemset>
  2303. </choices>
  2304. </select1>
  2305. <line id="line21" class="line_2" style="x1:5px; y1:75px; x2:660px; y2:75px; "/>
  2306. <caption id="caption71" class="cell_1" style="left:5px; top:51px; width:100px; height:23px; vertical-align:middle; ">검사명(약어)</caption>
  2307. <caption id="caption52" style="left:239px; top:52px; width:95px; height:20px; font-size:8pt; color:#000080; ">※ 영문20자리까지</caption>
  2308. <input id="input27" ref="/root/main/testinfo/tclsabbrnm" class="input_default" maxlength="20" style="left:108px; top:52px; width:130px; height:19px; "/>
  2309. <caption id="caption57" class="cell_1" style="left:335px; top:51px; width:100px; height:23px; vertical-align:middle; ">검사명(출력)</caption>
  2310. <caption id="caption63" class="cell_1" style="left:5px; top:376px; width:100px; height:23px; vertical-align:middle; ">동의서서식</caption>
  2311. <caption id="caption21" class="cell_1" style="left:5px; top:402px; width:105px; height:23px; vertical-align:middle; ">특수결과입력유형</caption>
  2312. <caption id="cap_spclreptformcd" class="cell_1" style="left:336px; top:402px; width:110px; height:23px; vertical-align:middle; ">특수결과서식유형</caption>
  2313. <caption id="caption67" class="cell_1" style="left:336px; top:376px; width:110px; height:23px; vertical-align:middle; ">의뢰서서식</caption>
  2314. <caption id="caption5" class="cell_1" style="left:5px; top:480px; width:100px; height:48px; vertical-align:middle; ">메모</caption>
  2315. <caption id="caption7" class="cell_1" style="left:465px; top:428px; width:75px; height:23px; vertical-align:middle; ">구검사코드</caption>
  2316. <caption id="cap_inettestreq" class="cell_1" style="left:5px; top:428px; width:100px; height:23px; vertical-align:middle; ">인터넷검사의뢰</caption>
  2317. <caption id="caption9" class="cell_1" style="left:260px; top:428px; width:75px; height:23px; vertical-align:middle; ">구코드번호</caption>
  2318. <line id="line19" class="line_3" style="x1:5px; y1:555px; x2:660px; y2:555px; "/>
  2319. <caption id="caption58" style="left:5px; top:560px; width:632px; height:50px; text-align:left; ">
  2320. <![CDATA[※참고 - 검체별로 지정 가능한 항목
  2321. 1) 용기명 2) 미생물바코드갯수 3) 배지바코드갯수 4) 배지그룹정보
  2322. 5) 단독검체여부 6) 처방검체가능여부 7) 진료실검체채취여부 ]]>
  2323. </caption>
  2324. <caption id="caption59" class="cell_1" style="left:5px; top:454px; width:100px; height:23px; vertical-align:middle; ">통계</caption>
  2325. <input id="ipt_stscnt" ref="/root/main/testinfo/stscnt" class="input_essential" style="left:260px; top:456px; width:35px; height:19px; "/>
  2326. <caption id="caption61" class="cell_1" style="left:108px; top:454px; width:147px; height:23px; vertical-align:middle; ">[통계 건당 카운트 숫자]</caption>
  2327. <button id="button10" class="icon_up" style="left:294px; top:456px; width:10px; height:9px; ">
  2328. <caption/>
  2329. <script type="javascript" ev:event="DOMActivate">
  2330. <![CDATA[
  2331. fBtnMove_Click("up", "/root/main/testinfo/stscnt");
  2332. ]]>
  2333. </script>
  2334. </button>
  2335. <button id="button11" class="icon_down" style="left:294px; top:466px; width:10px; height:9px; ">
  2336. <caption/>
  2337. <script type="javascript" ev:event="DOMActivate">
  2338. <![CDATA[
  2339. fBtnMove_Click("down", "/root/main/testinfo/stscnt");
  2340. ]]>
  2341. </script>
  2342. </button>
  2343. <select id="chk_stsyn" ref="/root/main/testinfo/stsyn" overflow="visible" appearance="full" style="left:310px; top:455px; width:100px; height:15px; border-style:none; ">
  2344. <choices>
  2345. <item>
  2346. <label>통계 포함 여부</label>
  2347. <value>Y</value>
  2348. </item>
  2349. </choices>
  2350. <script type="javascript" ev:event="xforms-value-changed">
  2351. <![CDATA[
  2352. fSetCheckYN("stsyn", chk_stsyn.value);
  2353. ]]>
  2354. </script>
  2355. </select>
  2356. <select id="chk_stspoyn" ref="/root/main/testinfo/stspoyn" overflow="visible" appearance="full" style="left:415px; top:455px; width:125px; height:15px; border-style:none; ">
  2357. <choices>
  2358. <item>
  2359. <label>통계 건진 제외 여부</label>
  2360. <value>Y</value>
  2361. </item>
  2362. </choices>
  2363. <script type="javascript" ev:event="xforms-value-changed">
  2364. <![CDATA[
  2365. fSetCheckYN("stspoyn", chk_stspoyn.value);
  2366. ]]>
  2367. </script>
  2368. </select>
  2369. <select id="chk_stspancntyn" ref="/root/main/testinfo/stspancntyn" overflow="visible" appearance="full" style="left:550px; top:455px; width:110px; height:15px; border-style:none; ">
  2370. <choices>
  2371. <item>
  2372. <label>카운트를 판넬로</label>
  2373. <value>Y</value>
  2374. </item>
  2375. </choices>
  2376. <script type="javascript" ev:event="xforms-value-changed">
  2377. <![CDATA[
  2378. fSetCheckYN("stspancntyn", chk_stspancntyn.value);
  2379. ]]>
  2380. </script>
  2381. </select>
  2382. <line id="line5" class="line_2" style="x1:5px; y1:127px; x2:660px; y2:127px; "/>
  2383. <line id="line8" class="line_2" style="x1:5px; y1:153px; x2:660px; y2:153px; "/>
  2384. <line id="line22" class="line_2" style="x1:5px; y1:179px; x2:660px; y2:179px; "/>
  2385. <line id="line23" class="line_2" style="x1:5px; y1:205px; x2:660px; y2:205px; "/>
  2386. <line id="line24" class="line_2" style="x1:5px; y1:231px; x2:660px; y2:231px; "/>
  2387. <line id="line30" class="line_2" style="x1:5px; y1:255px; x2:660px; y2:255px; "/>
  2388. <line id="line33" class="line_2" style="x1:5px; y1:276px; x2:660px; y2:276px; "/>
  2389. <line id="line34" class="line_2" style="x1:5px; y1:297px; x2:660px; y2:297px; "/>
  2390. <line id="line35" class="line_2" style="x1:5px; y1:323px; x2:660px; y2:323px; "/>
  2391. <line id="line36" class="line_2" style="x1:5px; y1:374px; x2:660px; y2:374px; "/>
  2392. <line id="line37" class="line_2" style="x1:5px; y1:400px; x2:660px; y2:400px; "/>
  2393. <line id="line38" class="line_2" style="x1:5px; y1:426px; x2:660px; y2:426px; "/>
  2394. <line id="line40" class="line_2" style="x1:5px; y1:452px; x2:660px; y2:452px; "/>
  2395. <line id="line41" class="line_2" style="x1:5px; y1:478px; x2:660px; y2:478px; "/>
  2396. <line id="line42" class="line_2" style="x1:5px; y1:529px; x2:660px; y2:529px; "/>
  2397. <caption id="caption73" class="cell_1" style="left:5px; top:531px; width:100px; height:23px; vertical-align:middle; ">시작/종료일자</caption>
  2398. <input id="ipt_tclscdfromdd" ref="/root/main/testinfo/tclscdfromdd" class="input_s_essential" disabled="true" inputtype="date" style="left:108px; top:533px; width:91px; height:19px; "/>
  2399. <input id="ipt_tclstodd" ref="/root/main/testinfo/tclstodd" class="input_s_essential" disabled="true" inputtype="date" style="left:218px; top:533px; width:91px; height:19px; "/>
  2400. <caption id="caption76" class="search_no_b" style="left:201px; top:534px; width:15px; height:17px; ">~</caption>
  2401. <button id="button12" class="btn2_letter7" disabled="true" style="left:312px; top:532px; width:97px; height:19px; ">
  2402. <caption>종료일자 당일</caption>
  2403. <script type="javascript" ev:event="DOMActivate">
  2404. <![CDATA[
  2405. //버튼 클릭시 종료일자가 오늘날짜로 셋팅
  2406. //model.getValue("/root/main/tclscdlist["+grd_tclscdlist.row+"]/tclscd")
  2407. var msgRsltValue = messageBox("종료일자를 오늘날짜로 선택했습니다.","Q003"); //메세지에서 선택한 값. - 계속 진행하시겠습니까? 예-6, 아니오-7
  2408. //예
  2409. if(msgRsltValue == "6"){
  2410. model.setValue("/root/main/testinfo/tclstodd", getCurrentDate());
  2411. ipt_tclstodd.refresh();
  2412. }
  2413. ]]>
  2414. </script>
  2415. </button>
  2416. <select1 id="cmb_outertestmngttsectcd" ref="/root/main/testinfo/outertestmngttsectcd" class="combo_essential" visibility="hidden" appearance="minimal" style="left:202px; top:105px; width:130px; height:19px; ">
  2417. <choices>
  2418. <itemset nodeset="/root/init/LB0106">
  2419. <label ref="nm"/>
  2420. <value ref="cd"/>
  2421. </itemset>
  2422. </choices>
  2423. </select1>
  2424. <input id="ipt_ntat" ref="/root/main/testinfo/lstreptterm" class="input_default" visibility="visible" maxlength="3" format="999" style="left:448px; top:483px; width:57px; height:19px; "/>
  2425. <caption id="cap_ntat" visibility="visible" style="left:505px; top:481px; width:55px; height:23px; ">시간</caption>
  2426. <select1 id="combo3" ref="/root/main/testinfo/fiximedispclid" class="combo_default" appearance="minimal" style="left:448px; top:483px; width:210px; height:19px; ">
  2427. <choices>
  2428. <itemset nodeset="/root/init/LB9996">
  2429. <label ref="nm"/>
  2430. <value ref="cd"/>
  2431. </itemset>
  2432. </choices>
  2433. </select1>
  2434. <caption id="caption2" class="cell_1" style="left:335px; top:481px; width:110px; height:23px; vertical-align:middle; ">TAT 기준시간</caption>
  2435. <caption id="caption3" class="cell_1" style="left:335px; top:481px; width:110px; height:23px; vertical-align:middle; ">전문의</caption>
  2436. </case>
  2437. <case id="case5">
  2438. <caption id="caption84" class="tit_2" style="left:10px; top:28px; width:118px; height:13px; ">세부검사리스트</caption>
  2439. <line id="line51" class="line_1" style="x1:5px; y1:43px; x2:335px; y2:43px; "/>
  2440. <line id="line52" class="line_1" style="x1:370px; y1:43px; x2:660px; y2:43px; "/>
  2441. <caption id="caption85" class="tit_2" style="left:375px; top:28px; width:118px; height:13px; ">검사항목 리스트</caption>
  2442. <select id="chk_detlallspccd" ref="/root/hidden/detlallspccd" overflow="visible" appearance="full" style="left:490px; top:26px; width:75px; height:15px; border-style:none; ">
  2443. <choices>
  2444. <item>
  2445. <label>모든검체</label>
  2446. <value>1</value>
  2447. </item>
  2448. </choices>
  2449. <script type="javascript" ev:event="xforms-value-changed">
  2450. <![CDATA[
  2451. var vSpccd = model.getValue("/root/main/spclist["+grd_spccdlist.row+"]/spccd");
  2452. fSetDetlTclslist(vSpccd);
  2453. ]]>
  2454. </script>
  2455. </select>
  2456. <button id="button102" class="icon_left" style="left:340px; top:305px; width:26px; height:19px; ">
  2457. <caption/>
  2458. <script type="javascript" ev:event="DOMActivate">
  2459. <![CDATA[
  2460. fSetTestCopy();
  2461. ]]>
  2462. </script>
  2463. </button>
  2464. <button id="button18" class="btn2_letter3" style="left:282px; top:22px; width:53px; height:19px; ">
  2465. <caption>행삭제</caption>
  2466. <script type="javascript" ev:event="DOMActivate">
  2467. <![CDATA[
  2468. fSetDelRow();
  2469. ]]>
  2470. </script>
  2471. </button>
  2472. <caption id="caption26" class="hand" style="left:2px; top:5px; width:356px; height:14px; vertical-align:middle; ">Group 또는 Pannel Code의 세부검사를 설정합니다.</caption>
  2473. <datagrid id="grd_testitem" nodeset="/root/main/detltest/testitemlist" caption="검사코드^검체코드^검사명^필수" colsep="^" colwidth="60, 70, 120, 0" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:370px; top:48px; width:290px; height:556px; ">
  2474. <col ref="tclscd" format="yyyy-mm-dd"/>
  2475. <col ref="spccd" format="yyyy-mm-dd hh:nn"/>
  2476. <col ref="tclsnm"/>
  2477. <col ref="essntestyn"/>
  2478. <script type="javascript" ev:event="ondblclick">
  2479. <![CDATA[
  2480. if(grd_testitem.isCell(event.target) && grd_testitem.row >= grd_testitem.fixedRows){
  2481. fSetTestCopy();
  2482. }
  2483. ]]>
  2484. </script>
  2485. <script type="javascript" ev:event="onaftersort">
  2486. <![CDATA[
  2487. grd_testitem.gridToInstance();
  2488. ]]>
  2489. </script>
  2490. </datagrid>
  2491. <datagrid id="grd_detltest" nodeset="/root/main/detltest/detltestlist" caption="검사코드^검체코드^검사명^필수^사용시작일^사용종료일" colsep="^" colwidth="60, 70, 120, 40, 80, 80" dataheight="23" defaultrows="1" ellipsis="true" extendlastcol="scroll" fixedcols="0" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="23" rowsep="|" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:5px; top:48px; width:330px; height:556px; ">
  2492. <col ref="tclscd"/>
  2493. <col ref="spccd"/>
  2494. <col ref="tclsnm" format="999999-9999999"/>
  2495. <col checkvalue="Y,N" ref="essntestyn" type="checkbox" visibility="hidden"/>
  2496. <col ref="detltclsfromdd" format="yyyy-mm-dd"/>
  2497. <col ref="detltclstodd" format="yyyy-mm-dd"/>
  2498. <script type="javascript" ev:event="xforms-value-changed">
  2499. <![CDATA[
  2500. if(grd_detltest.rowStatus(grd_detltest.row) != "0"
  2501. && grd_detltest.rowStatus(grd_detltest.row) != "1"
  2502. && grd_detltest.rowStatus(grd_detltest.row) != "3"){
  2503. grd_detltest.rowStatus(grd_detltest.row) = 2;
  2504. }
  2505. ]]>
  2506. </script>
  2507. </datagrid>
  2508. <caption id="caption45" class="cell_1" style="left:370px; top:3px; width:100px; height:23px; vertical-align:middle; ">중분류</caption>
  2509. <select1 id="cmb_detlmdl" ref="/root/hidden/detlmdlcd" appearance="minimal" itemcount="20" style="left:475px; top:5px; width:185px; height:19px; ">
  2510. <choices>
  2511. <itemset nodeset="/root/init/LB0102">
  2512. <label ref="nm"/>
  2513. <value ref="cd"/>
  2514. </itemset>
  2515. </choices>
  2516. <script type="javascript" ev:event="xforms-value-changed">
  2517. <![CDATA[
  2518. fGetTestItemList(model.getValue("/root/hidden/detlmdlcd"));
  2519. ]]>
  2520. </script>
  2521. </select1>
  2522. <select id="chk_dtcl" ref="/root/hidden/dtclrefflag" overflow="visible" appearance="full" style="left:125px; top:26px; width:100px; height:15px; border-style:none; ">
  2523. <choices>
  2524. <item>
  2525. <label>전체자료</label>
  2526. <value>Y</value>
  2527. </item>
  2528. </choices>
  2529. <script type="javascript" ev:event="xforms-value-changed">
  2530. <![CDATA[
  2531. fGetDetlTest();
  2532. ]]>
  2533. </script>
  2534. </select>
  2535. <button id="button3" class="btn2_letter2" style="left:238px; top:22px; width:42px; height:19px; ">
  2536. <caption>종료</caption>
  2537. <script type="javascript" ev:event="DOMActivate">
  2538. <![CDATA[
  2539. if(grd_detltest.rowStatus(grd_detltest.row) == 1){
  2540. messageBox("신규로 추가된 항목은 종료할 수 없습니다", "E");
  2541. return;
  2542. }else{
  2543. model.setValue("/root/main/detltest/detltestlist[" + grd_detltest.row+"]/detltclstodd", getCurrentDate());
  2544. grd_detltest.rowStatus(grd_detltest.row) = 2;
  2545. }
  2546. ]]>
  2547. </script>
  2548. </button>
  2549. </case>
  2550. <case id="case6">
  2551. <caption id="caption10" class="tit_2" style="left:10px; top:5px; width:118px; height:14px; ">참고치 정보</caption>
  2552. <output id="opt_lastnm2" ref="/root/main/ref/refinfo/lastupdtdtt" class="output_fix" visibility="hidden" format="yyyy-mm-dd hh:nn:ss" style="left:510px; top:337px; width:150px; height:19px; "/>
  2553. <output id="opt_lastdt2" ref="/root/main/ref/refinfo/lastupdtnmt" class="output_fix" visibility="hidden" style="left:428px; top:337px; width:80px; height:19px; "/>
  2554. <line id="line9" class="line_1" style="x1:5px; y1:20px; x2:660px; y2:20px; "/>
  2555. <select1 id="radio1" ref="/root/main/ref/refinfo/testrsltkind" appearance="full" cols="2" overflow="visible" style="left:64px; top:28px; width:180px; height:14px; border-style:none; ">
  2556. <choices>
  2557. <item>
  2558. <label>문자+숫자혼합</label>
  2559. <value>0</value>
  2560. </item>
  2561. <item>
  2562. <label>숫자만허용</label>
  2563. <value>1</value>
  2564. </item>
  2565. </choices>
  2566. </select1>
  2567. <caption id="caption11" class="cell_1" style="left:337px; top:49px; width:55px; height:23px; vertical-align:middle; ">결과단위</caption>
  2568. <select id="checkbox4" ref="/root/main/ref/refinfo/nvalrsltlimyn" overflow="visible" appearance="full" style="left:263px; top:28px; width:120px; height:15px; border-style:none; ">
  2569. <choices>
  2570. <item>
  2571. <label>숫자결과제한허용</label>
  2572. <value>Y</value>
  2573. </item>
  2574. </choices>
  2575. <script type="javascript" ev:event="xforms-value-changed">
  2576. <![CDATA[
  2577. fSetRefCheck(checkbox4.value, "nvalrsltlimyn");
  2578. ]]>
  2579. </script>
  2580. </select>
  2581. <caption id="caption12" class="cell_1" style="left:5px; top:49px; width:55px; height:23px; vertical-align:middle; ">정수크기</caption>
  2582. <caption id="caption13" class="cell_1" style="left:104px; top:49px; width:55px; height:23px; vertical-align:middle; ">소수크기</caption>
  2583. <caption id="caption14" class="cell_1" style="left:203px; top:49px; width:70px; height:23px; vertical-align:middle; ">반올림유형</caption>
  2584. <select1 id="combo1" ref="/root/main/ref/refinfo/rsltintsize" class="combo_default" appearance="minimal" style="left:62px; top:50px; width:40px; height:19px; ">
  2585. <choices>
  2586. <item>
  2587. <label>-</label>
  2588. <value>-</value>
  2589. </item>
  2590. <item>
  2591. <label>0</label>
  2592. <value>0</value>
  2593. </item>
  2594. <item>
  2595. <label>1</label>
  2596. <value>1</value>
  2597. </item>
  2598. <item>
  2599. <label>2</label>
  2600. <value>2</value>
  2601. </item>
  2602. <item>
  2603. <label>3</label>
  2604. <value>3</value>
  2605. </item>
  2606. <item>
  2607. <label>4</label>
  2608. <value>4</value>
  2609. </item>
  2610. <item>
  2611. <label>5</label>
  2612. <value>5</value>
  2613. </item>
  2614. <item>
  2615. <label>6</label>
  2616. <value>6</value>
  2617. </item>
  2618. <item>
  2619. <label>7</label>
  2620. <value>7</value>
  2621. </item>
  2622. <item>
  2623. <label>8</label>
  2624. <value>8</value>
  2625. </item>
  2626. <item>
  2627. <label>9</label>
  2628. <value>9</value>
  2629. </item>
  2630. <item>
  2631. <label>10</label>
  2632. <value>10</value>
  2633. </item>
  2634. </choices>
  2635. </select1>
  2636. <select1 id="combo2" ref="/root/main/ref/refinfo/rsltdcmlsize" class="combo_default" appearance="minimal" style="left:161px; top:50px; width:40px; height:19px; ">
  2637. <choices>
  2638. <item>
  2639. <label>-</label>
  2640. <value>-</value>
  2641. </item>
  2642. <item>
  2643. <label>0</label>
  2644. <value>0</value>
  2645. </item>
  2646. <item>
  2647. <label>1</label>
  2648. <value>1</value>
  2649. </item>
  2650. <item>
  2651. <label>2</label>
  2652. <value>2</value>
  2653. </item>
  2654. <item>
  2655. <label>3</label>
  2656. <value>3</value>
  2657. </item>
  2658. <item>
  2659. <label>4</label>
  2660. <value>4</value>
  2661. </item>
  2662. <item>
  2663. <label>5</label>
  2664. <value>5</value>
  2665. </item>
  2666. <item>
  2667. <label>6</label>
  2668. <value>6</value>
  2669. </item>
  2670. <item>
  2671. <label>7</label>
  2672. <value>7</value>
  2673. </item>
  2674. <item>
  2675. <label>8</label>
  2676. <value>8</value>
  2677. </item>
  2678. <item>
  2679. <label>9</label>
  2680. <value>9</value>
  2681. </item>
  2682. <item>
  2683. <label>10</label>
  2684. <value>10</value>
  2685. </item>
  2686. </choices>
  2687. </select1>
  2688. <select1 id="combo6" ref="/root/main/ref/refinfo/rundkind" class="combo_default" appearance="minimal" style="left:275px; top:50px; width:60px; height:19px; ">
  2689. <choices>
  2690. <item>
  2691. <label>-</label>
  2692. <value>-</value>
  2693. </item>
  2694. <item>
  2695. <label>반올림</label>
  2696. <value>1</value>
  2697. </item>
  2698. <item>
  2699. <label>올림</label>
  2700. <value>2</value>
  2701. </item>
  2702. <item>
  2703. <label>내림</label>
  2704. <value>3</value>
  2705. </item>
  2706. </choices>
  2707. </select1>
  2708. <input id="input3" ref="/root/main/ref/refinfo/rsltunit" class="input_default" autonext="false" maxlength="10" style="left:394px; top:50px; width:70px; height:19px; "/>
  2709. <button id="button5" class="btn2_letter3" style="left:607px; top:76px; width:53px; height:19px; ">
  2710. <caption>행삭제</caption>
  2711. <script type="javascript" ev:event="DOMActivate">
  2712. <![CDATA[
  2713. fSetAgeDelRow();
  2714. ]]>
  2715. </script>
  2716. </button>
  2717. <button id="button6" class="btn2_letter3" style="left:551px; top:76px; width:53px; height:19px; ">
  2718. <caption>행추가</caption>
  2719. <script type="javascript" ev:event="DOMActivate">
  2720. <![CDATA[
  2721. fSetAgeAddRow();
  2722. ]]>
  2723. </script>
  2724. </button>
  2725. <select1 id="radio2" ref="/root/main/ref/refinfo/rvalflag" appearance="full" cellspacing="10" cols="4" overflow="visible" style="left:107px; top:80px; width:230px; height:14px; border-style:none; ">
  2726. <choices>
  2727. <item>
  2728. <label>없음</label>
  2729. <value>0</value>
  2730. </item>
  2731. <item>
  2732. <label>숫자</label>
  2733. <value>1</value>
  2734. </item>
  2735. <item>
  2736. <label>문자</label>
  2737. <value>2</value>
  2738. </item>
  2739. <item>
  2740. <label>서술형</label>
  2741. <value>3</value>
  2742. </item>
  2743. </choices>
  2744. </select1>
  2745. <caption id="caption15" class="tit_2" style="left:10px; top:82px; width:93px; height:13px; ">참고치 유형</caption>
  2746. <line id="line12" class="line_1" style="x1:5px; y1:97px; x2:660px; y2:97px; "/>
  2747. <line id="line16" class="line_1" style="x1:5px; y1:237px; x2:660px; y2:237px; "/>
  2748. <caption id="caption18" class="tit_2" style="left:10px; top:222px; width:93px; height:13px; ">판정 유형</caption>
  2749. <line id="line20" class="line_1" style="x1:5px; y1:357px; x2:660px; y2:357px; "/>
  2750. <caption id="caption19" class="tit_2" style="left:10px; top:342px; width:93px; height:13px; ">구분</caption>
  2751. <select1 id="combo7" ref="/root/main/ref/refinfo/panicflag" class="combo_default" appearance="minimal" style="left:83px; top:363px; width:159px; height:19px; ">
  2752. <choices>
  2753. <item>
  2754. <label>[0] 사용안함</label>
  2755. <value>0</value>
  2756. </item>
  2757. <item>
  2758. <label>[1] Panic하한만사용</label>
  2759. <value>1</value>
  2760. </item>
  2761. <item>
  2762. <label>[2] Panic상한만사용</label>
  2763. <value>2</value>
  2764. </item>
  2765. <item>
  2766. <label>[3] 모두사용</label>
  2767. <value>3</value>
  2768. </item>
  2769. <!--
  2770. <item>
  2771. <label>[4] Panic하한만 사용 (Grade)</label>
  2772. <value>4</value>
  2773. </item>
  2774. <item>
  2775. <label>[5] Panic상한만 사용 (Grade)</label>
  2776. <value>5</value>
  2777. </item>
  2778. <item>
  2779. <label>[6] 모두 사용 (Grade)</label>
  2780. <value>6</value>
  2781. </item>-->
  2782. </choices>
  2783. </select1>
  2784. <select1 id="combo8" ref="/root/main/ref/refinfo/criticalflag" class="combo_default" appearance="minimal" style="left:83px; top:387px; width:159px; height:19px; ">
  2785. <choices>
  2786. <item>
  2787. <label>[0] 사용안함</label>
  2788. <value>0</value>
  2789. </item>
  2790. <item>
  2791. <label>[1] Critical하한만 사용</label>
  2792. <value>1</value>
  2793. </item>
  2794. <item>
  2795. <label>[2] Critical상한만 사용</label>
  2796. <value>2</value>
  2797. </item>
  2798. <item>
  2799. <label>[3] 모두사용</label>
  2800. <value>3</value>
  2801. </item>
  2802. <!--
  2803. <item>
  2804. <label>[4] Critical하한만 사용 (Grade)</label>
  2805. <value>4</value>
  2806. </item>
  2807. <item>
  2808. <label>[5] Critical상한만 사용 (Grade)</label>
  2809. <value>5</value>
  2810. </item>
  2811. <item>
  2812. <label>[6] 모두사용 (Grade)</label>
  2813. <value>6</value>
  2814. </item>-->
  2815. </choices>
  2816. </select1>
  2817. <select1 id="combo9" ref="/root/main/ref/refinfo/alertflag" class="combo_default" appearance="minimal" style="left:83px; top:411px; width:159px; height:19px; ">
  2818. <choices>
  2819. <item>
  2820. <label>[0] 사용안함</label>
  2821. <value>0</value>
  2822. </item>
  2823. <item>
  2824. <label>[1] Alert하한만 사용</label>
  2825. <value>1</value>
  2826. </item>
  2827. <item>
  2828. <label>[2] Alert상한만 사용</label>
  2829. <value>2</value>
  2830. </item>
  2831. <item>
  2832. <label>[3] 모두사용</label>
  2833. <value>3</value>
  2834. </item>
  2835. <item>
  2836. <label>[7] GradeZone(하한, 상한모두입력)</label>
  2837. <value>7</value>
  2838. </item>
  2839. <!--
  2840. <item>
  2841. <label>[4] Alert하한만 사용 (Grade)</label>
  2842. <value>4</value>
  2843. </item>
  2844. <item>
  2845. <label>[5] Alert상한만 사용 (Grade)</label>
  2846. <value>5</value>
  2847. </item>
  2848. <item>
  2849. <label>[6] 사용안함 (Grade)</label>
  2850. <value>6</value>
  2851. </item>-->
  2852. </choices>
  2853. </select1>
  2854. <select1 id="combo11" ref="/root/main/ref/refinfo/panicminvalsinq" class="combo_default" appearance="minimal" style="left:328px; top:363px; width:40px; height:19px; ">
  2855. <choices>
  2856. <item>
  2857. <label>
  2858. <![CDATA[<=]]>
  2859. </label>
  2860. <value>1</value>
  2861. </item>
  2862. <item>
  2863. <label>
  2864. <![CDATA[<]]>
  2865. </label>
  2866. <value>0</value>
  2867. </item>
  2868. </choices>
  2869. </select1>
  2870. <input id="input1" ref="/root/main/ref/refinfo/panicminval" class="input_default" style="left:371px; top:363px; width:80px; height:19px; "/>
  2871. <input id="input4" ref="/root/main/ref/refinfo/panicmaxval" class="input_default" style="left:580px; top:363px; width:80px; height:19px; "/>
  2872. <select1 id="combo12" ref="/root/main/ref/refinfo/panicmaxvalsinq" class="combo_default" appearance="minimal" style="left:537px; top:363px; width:40px; height:19px; ">
  2873. <choices>
  2874. <item>
  2875. <label>
  2876. <![CDATA[>=]]>
  2877. </label>
  2878. <value>3</value>
  2879. </item>
  2880. <item>
  2881. <label>
  2882. <![CDATA[>]]>
  2883. </label>
  2884. <value>2</value>
  2885. </item>
  2886. </choices>
  2887. </select1>
  2888. <caption id="caption24" class="cell_1" style="left:5px; top:458px; width:75px; height:23px; vertical-align:middle; ">Delta 구분</caption>
  2889. <select1 id="combo13" ref="/root/main/ref/refinfo/deltaflag" class="combo_default" appearance="minimal" style="left:83px; top:459px; width:159px; height:19px; ">
  2890. <choices>
  2891. <item>
  2892. <label>[0] 사용안함</label>
  2893. <value>0</value>
  2894. </item>
  2895. <item>
  2896. <label>[1] 변화차 = 현재결과 - 이전결과</label>
  2897. <value>1</value>
  2898. </item>
  2899. <item>
  2900. <label>[2] 변화비율 = 변화차/이전결과 * 100</label>
  2901. <value>2</value>
  2902. </item>
  2903. <item>
  2904. <label>[3] 기간당변화차 = 변화차/기간</label>
  2905. <value>3</value>
  2906. </item>
  2907. <item>
  2908. <label>[4] 기간당변화비율 = 변화비율/기간</label>
  2909. <value>4</value>
  2910. </item>
  2911. <item>
  2912. <label>[5] 절대변화비율 = 변화차/이전결과</label>
  2913. <value>5</value>
  2914. </item>
  2915. <!--
  2916. <item>
  2917. <label>[6] Grade Delta = 현재Grade - 이전Grade</label>
  2918. <value>6</value>
  2919. </item>-->
  2920. </choices>
  2921. </select1>
  2922. <input id="input5" ref="/root/main/ref/refinfo/criticalminval" class="input_default" style="left:371px; top:387px; width:80px; height:19px; "/>
  2923. <select1 id="combo14" ref="/root/main/ref/refinfo/criticalminvalsinq" class="combo_default" appearance="minimal" style="left:328px; top:387px; width:40px; height:19px; ">
  2924. <choices>
  2925. <item>
  2926. <label>
  2927. <![CDATA[<=]]>
  2928. </label>
  2929. <value>1</value>
  2930. </item>
  2931. <item>
  2932. <label>
  2933. <![CDATA[<]]>
  2934. </label>
  2935. <value>0</value>
  2936. </item>
  2937. </choices>
  2938. </select1>
  2939. <select1 id="combo15" ref="/root/main/ref/refinfo/criticalmaxvalsinq" class="combo_default" appearance="minimal" style="left:537px; top:387px; width:40px; height:19px; ">
  2940. <choices>
  2941. <item>
  2942. <label>
  2943. <![CDATA[>=]]>
  2944. </label>
  2945. <value>3</value>
  2946. </item>
  2947. <item>
  2948. <label>
  2949. <![CDATA[>]]>
  2950. </label>
  2951. <value>2</value>
  2952. </item>
  2953. </choices>
  2954. </select1>
  2955. <input id="input6" ref="/root/main/ref/refinfo/criticalmaxval" class="input_default" style="left:580px; top:387px; width:80px; height:19px; "/>
  2956. <input id="input7" ref="/root/main/ref/refinfo/alertminval" class="input_default" style="left:371px; top:411px; width:80px; height:19px; "/>
  2957. <select1 id="combo22" ref="/root/main/ref/refinfo/alertminvalsinq" class="combo_default" appearance="minimal" style="left:328px; top:411px; width:40px; height:19px; ">
  2958. <choices>
  2959. <item>
  2960. <label>
  2961. <![CDATA[<=]]>
  2962. </label>
  2963. <value>1</value>
  2964. </item>
  2965. <item>
  2966. <label>
  2967. <![CDATA[<]]>
  2968. </label>
  2969. <value>0</value>
  2970. </item>
  2971. <item>
  2972. <label>
  2973. <![CDATA[>=(GradeZone)]]>
  2974. </label>
  2975. <value>7</value>
  2976. </item>
  2977. </choices>
  2978. </select1>
  2979. <input id="input8" ref="/root/main/ref/refinfo/alertmaxval" class="input_default" style="left:580px; top:411px; width:80px; height:19px; "/>
  2980. <select1 id="combo23" ref="/root/main/ref/refinfo/alertmaxvalsinq" class="combo_default" appearance="minimal" style="left:537px; top:411px; width:40px; height:19px; ">
  2981. <choices>
  2982. <item>
  2983. <label>
  2984. <![CDATA[>=]]>
  2985. </label>
  2986. <value>3</value>
  2987. </item>
  2988. <item>
  2989. <label>
  2990. <![CDATA[>]]>
  2991. </label>
  2992. <value>2</value>
  2993. </item>
  2994. <item>
  2995. <label>
  2996. <![CDATA[<=(GradeZone)]]>
  2997. </label>
  2998. <value>7</value>
  2999. </item>
  3000. </choices>
  3001. </select1>
  3002. <input id="input11" ref="/root/main/ref/refinfo/deltaminval" class="input_default" style="left:371px; top:459px; width:80px; height:19px; "/>
  3003. <input id="input12" ref="/root/main/ref/refinfo/deltamaxval" class="input_default" style="left:580px; top:459px; width:80px; height:19px; "/>
  3004. <caption id="caption36" class="cell_1" style="left:454px; top:458px; width:80px; height:23px; vertical-align:middle; ">Delta 상한(-)</caption>
  3005. <caption id="caption37" class="cell_1" style="left:245px; top:458px; width:80px; height:23px; vertical-align:middle; ">Delta 하한(-)</caption>
  3006. <select1 id="combo27" ref="/root/main/ref/refinfo/deltaminvalsinq" class="combo_default" appearance="minimal" style="left:328px; top:459px; width:40px; height:19px; ">
  3007. <choices>
  3008. <item>
  3009. <label>
  3010. <![CDATA[<=]]>
  3011. </label>
  3012. <value>1</value>
  3013. </item>
  3014. <item>
  3015. <label>
  3016. <![CDATA[<]]>
  3017. </label>
  3018. <value>0</value>
  3019. </item>
  3020. </choices>
  3021. </select1>
  3022. <select1 id="combo28" ref="/root/main/ref/refinfo/deltamaxvalsinq" class="combo_default" appearance="minimal" style="left:537px; top:459px; width:40px; height:19px; ">
  3023. <choices>
  3024. <item>
  3025. <label>
  3026. <![CDATA[>=]]>
  3027. </label>
  3028. <value>3</value>
  3029. </item>
  3030. <item>
  3031. <label>
  3032. <![CDATA[>]]>
  3033. </label>
  3034. <value>2</value>
  3035. </item>
  3036. </choices>
  3037. </select1>
  3038. <caption id="caption38" class="cell_1" style="left:5px; top:541px; width:75px; height:23px; vertical-align:middle; ">허용 구분</caption>
  3039. <caption id="caption39" class="cell_1" style="left:186px; top:565px; width:60px; height:23px; vertical-align:middle; ">상한</caption>
  3040. <select1 id="combo30" ref="/root/main/ref/refinfo/alimitmaxvalsinq" class="combo_default" appearance="minimal" style="left:248px; top:566px; width:40px; height:19px; ">
  3041. <choices>
  3042. <item>
  3043. <label>
  3044. <![CDATA[>=]]>
  3045. </label>
  3046. <value>3</value>
  3047. </item>
  3048. <item>
  3049. <label>
  3050. <![CDATA[>]]>
  3051. </label>
  3052. <value>2</value>
  3053. </item>
  3054. </choices>
  3055. </select1>
  3056. <input id="input13" ref="/root/main/ref/refinfo/alimitmaxval" class="input_default" style="left:290px; top:566px; width:80px; height:19px; "/>
  3057. <caption id="caption40" class="cell_1" style="left:372px; top:565px; width:85px; height:23px; vertical-align:middle; ">결과처리방법</caption>
  3058. <select1 id="combo31" ref="/root/main/ref/refinfo/alimitmaxdispkind" class="combo_default" appearance="minimal" style="left:460px; top:566px; width:200px; height:19px; ">
  3059. <choices>
  3060. <item>
  3061. <label>[0] 없음</label>
  3062. <value>0</value>
  3063. </item>
  3064. <item>
  3065. <label>[1] 결과를 '허용상한수치로'로 : 예) 20</label>
  3066. <value>1</value>
  3067. </item>
  3068. <item>
  3069. <label>
  3070. <![CDATA[[2] 결과를 '>허용상한수치로'로 : 예) > 20]]>
  3071. </label>
  3072. <value>2</value>
  3073. </item>
  3074. <item>
  3075. <label>[3] 결과를 '허용상한수치 이상으로'로 : 예) 20이상</label>
  3076. <value>3</value>
  3077. </item>
  3078. <item>
  3079. <label>[4] 결과를 '허용상한수치 초과로'로 : 예) 20초과</label>
  3080. <value>4</value>
  3081. </item>
  3082. <item>
  3083. <label>[5] 결과를 '재검중'로 : 예) 재검중</label>
  3084. <value>5</value>
  3085. </item>
  3086. <item>
  3087. <label>[6] 결과를 '측정불가'로 : 예) 측정불가</label>
  3088. <value>6</value>
  3089. </item>
  3090. </choices>
  3091. </select1>
  3092. <line id="line25" class="line_2" style="x1:5px; y1:47px; x2:464px; y2:47px; "/>
  3093. <line id="line26" class="line_3" style="x1:5px; y1:71px; x2:660px; y2:71px; "/>
  3094. <textarea id="textarea1" ref="/root/main/ref/refinfo/descrval" style="left:466px; top:25px; width:194px; height:45px; "/>
  3095. <line id="line27" class="line_3" style="x1:5px; y1:510px; x2:660px; y2:510px; "/>
  3096. <caption id="caption31" class="cell_1" style="left:454px; top:386px; width:80px; height:23px; vertical-align:middle; ">Critical 상한</caption>
  3097. <caption id="caption20" class="cell_1" style="left:5px; top:410px; width:75px; height:23px; vertical-align:middle; ">Alert 구분</caption>
  3098. <caption id="caption32" class="cell_1" style="left:454px; top:410px; width:80px; height:23px; vertical-align:middle; ">Alert 상한</caption>
  3099. <caption id="caption33" class="cell_1" style="left:245px; top:410px; width:80px; height:23px; vertical-align:middle; ">Alert 하한</caption>
  3100. <caption id="caption22" class="cell_1" style="left:245px; top:362px; width:80px; height:23px; vertical-align:middle; ">Panic 하한</caption>
  3101. <caption id="caption23" class="cell_1" style="left:454px; top:362px; width:80px; height:23px; vertical-align:middle; ">Panic 상한</caption>
  3102. <caption id="caption28" class="cell_1" style="left:245px; top:386px; width:80px; height:23px; vertical-align:middle; ">Critical 하한</caption>
  3103. <caption id="caption35" class="cell_1" style="left:5px; top:362px; width:75px; height:23px; vertical-align:middle; ">Panic 구분</caption>
  3104. <caption id="caption41" class="cell_1" style="left:5px; top:386px; width:75px; height:23px; vertical-align:middle; ">Critical 구분</caption>
  3105. <caption id="caption42" class="cell_1" style="left:404px; top:25px; width:60px; height:23px; vertical-align:middle; ">
  3106. <![CDATA[서술형->]]>
  3107. </caption>
  3108. <caption id="caption43" class="cell_1" style="left:5px; top:25px; width:55px; height:23px; vertical-align:middle; ">결과유형</caption>
  3109. <select1 id="combo32" ref="/root/main/ref/refinfo/alimitflag" class="combo_default" appearance="minimal" style="left:83px; top:542px; width:100px; height:19px; ">
  3110. <choices>
  3111. <item>
  3112. <label>[0] 사용안함</label>
  3113. <value>0</value>
  3114. </item>
  3115. <item>
  3116. <label>[1] 허용하한만사용</label>
  3117. <value>1</value>
  3118. </item>
  3119. <item>
  3120. <label>[2] 허용상한만사용</label>
  3121. <value>2</value>
  3122. </item>
  3123. <item>
  3124. <label>[3] 모두사용</label>
  3125. <value>3</value>
  3126. </item>
  3127. </choices>
  3128. </select1>
  3129. <input id="input14" ref="/root/main/ref/refinfo/alimitminval" class="input_default" style="left:290px; top:542px; width:80px; height:19px; "/>
  3130. <select1 id="combo29" ref="/root/main/ref/refinfo/alimitminvalsinq" class="combo_default" appearance="minimal" style="left:248px; top:542px; width:40px; height:19px; ">
  3131. <choices>
  3132. <item>
  3133. <label>
  3134. <![CDATA[<=]]>
  3135. </label>
  3136. <value>1</value>
  3137. </item>
  3138. <item>
  3139. <label>
  3140. <![CDATA[<]]>
  3141. </label>
  3142. <value>0</value>
  3143. </item>
  3144. </choices>
  3145. </select1>
  3146. <line id="line28" class="line_1" style="x1:5px; y1:536px; x2:660px; y2:536px; "/>
  3147. <caption id="caption44" class="tit_2" style="left:10px; top:521px; width:93px; height:13px; ">허용구분</caption>
  3148. <line id="line29" class="line_2" style="x1:5px; y1:563px; x2:660px; y2:563px; "/>
  3149. <line id="line31" class="line_3" style="x1:5px; y1:587px; x2:660px; y2:587px; "/>
  3150. <select1 id="combo33" ref="/root/main/ref/refinfo/alimitmindispkind" class="combo_default" appearance="minimal" style="left:460px; top:542px; width:200px; height:19px; ">
  3151. <choices>
  3152. <item>
  3153. <label>[0] 없음</label>
  3154. <value>0</value>
  3155. </item>
  3156. <item>
  3157. <label>[1] 결과를 '허용하한수치로'로 : 예) 20</label>
  3158. <value>1</value>
  3159. </item>
  3160. <item>
  3161. <label>
  3162. <![CDATA[[2] 결과를 '<허용하한수치로'로 : 예) < 20]]>
  3163. </label>
  3164. <value>2</value>
  3165. </item>
  3166. <item>
  3167. <label>[3] 결과를 '허용하한수치 이하로'로 : 예) 20이하</label>
  3168. <value>3</value>
  3169. </item>
  3170. <item>
  3171. <label>[4] 결과를 '허용하한수치 미만으로'로 : 예) 20미만</label>
  3172. <value>4</value>
  3173. </item>
  3174. <item>
  3175. <label>[5] 결과를 '재검중'로 : 예) 재검중</label>
  3176. <value>5</value>
  3177. </item>
  3178. <item>
  3179. <label>[6] 결과를 '측정불가'로 : 예) 측정불가</label>
  3180. <value>6</value>
  3181. </item>
  3182. </choices>
  3183. </select1>
  3184. <col ref="fromagesinq" type="combo">
  3185. <choices>
  3186. <item>
  3187. <label>
  3188. <![CDATA[<]]>
  3189. </label>
  3190. <value>0</value>
  3191. </item>
  3192. <item>
  3193. <label>
  3194. <![CDATA[<=]]>
  3195. </label>
  3196. <value>1</value>
  3197. </item>
  3198. <item>
  3199. <label>&gt;</label>
  3200. <value>2</value>
  3201. </item>
  3202. <item>
  3203. <label>&gt;=</label>
  3204. <value>3</value>
  3205. </item>
  3206. </choices>
  3207. </col>
  3208. <datagrid id="grd_refage" nodeset="/root/main/ref/refageinfo" caption="시작일자^종료일자^YMD^Start Age^~^~^End Age^하한(M)^하한(M)^상한(M)^상한(M)^하한(F)^하한(F)^상한(F)^상한(F)^참고치문자^결과단위^seqno^최종수정자^최종수정일" colsep="^" colwidth="70, 70, 50, 58, 28, 28, 58, 28, 52, 28, 52, 28, 52, 28, 52, 75, 70, 0, 80, 100" dataheight="25" defaultrows="0" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:102px; width:655px; height:108px; ">
  3209. <col ref="rvalfromdd" visibility="hidden" format="yyyy-mm-dd"/>
  3210. <col ref="rvaltodd" visibility="hidden" format="yyyy-mm-dd"/>
  3211. <col ref="ymd" type="combo">
  3212. <choices>
  3213. <item>
  3214. <label>day</label>
  3215. <value>D</value>
  3216. </item>
  3217. <item>
  3218. <label>month</label>
  3219. <value>M</value>
  3220. </item>
  3221. <item>
  3222. <label>year</label>
  3223. <value>Y</value>
  3224. </item>
  3225. </choices>
  3226. </col>
  3227. <col ref="fromage" type="input"/>
  3228. <col ref="fromagesinq" type="combo">
  3229. <choices>
  3230. <item>
  3231. <label>
  3232. <![CDATA[<]]>
  3233. </label>
  3234. <value>0</value>
  3235. </item>
  3236. <item>
  3237. <label>
  3238. <![CDATA[<=]]>
  3239. </label>
  3240. <value>1</value>
  3241. </item>
  3242. <!--<item>
  3243. <label>
  3244. <![CDATA[>]]>
  3245. </label>
  3246. <value>2</value>
  3247. </item>
  3248. <item>
  3249. <label>
  3250. <![CDATA[>=]]>
  3251. </label>
  3252. <value>3</value>
  3253. </item>-->
  3254. </choices>
  3255. </col>
  3256. <col ref="toagesinq" type="combo">
  3257. <choices>
  3258. <item>
  3259. <label>
  3260. <![CDATA[<]]>
  3261. </label>
  3262. <value>0</value>
  3263. </item>
  3264. <item>
  3265. <label>
  3266. <![CDATA[<=]]>
  3267. </label>
  3268. <value>1</value>
  3269. </item>
  3270. <!--<item>
  3271. <label>
  3272. <![CDATA[>]]>
  3273. </label>
  3274. <value>2</value>
  3275. </item>
  3276. <item>
  3277. <label>
  3278. <![CDATA[>=]]>
  3279. </label>
  3280. <value>3</value>
  3281. </item>-->
  3282. </choices>
  3283. </col>
  3284. <col ref="toage" type="input"/>
  3285. <col ref="malerefminvalsinq" type="combo">
  3286. <choices>
  3287. <item>
  3288. <label>
  3289. <![CDATA[<]]>
  3290. </label>
  3291. <value>0</value>
  3292. </item>
  3293. <item>
  3294. <label>
  3295. <![CDATA[<=]]>
  3296. </label>
  3297. <value>1</value>
  3298. </item>
  3299. <!--<item>
  3300. <label>
  3301. <![CDATA[>]]>
  3302. </label>
  3303. <value>2</value>
  3304. </item>
  3305. <item>
  3306. <label>
  3307. <![CDATA[>=]]>
  3308. </label>
  3309. <value>3</value>
  3310. </item>-->
  3311. </choices>
  3312. </col>
  3313. <col ref="malerefminval" type="input"/>
  3314. <col ref="malerefmaxvalsinq" type="combo">
  3315. <choices>
  3316. <item>
  3317. <label>
  3318. <![CDATA[>]]>
  3319. </label>
  3320. <value>0</value>
  3321. </item>
  3322. <item>
  3323. <label>
  3324. <![CDATA[>=]]>
  3325. </label>
  3326. <value>1</value>
  3327. </item>
  3328. <!--
  3329. <item>
  3330. <label>
  3331. <![CDATA[<]]>
  3332. </label>
  3333. <value>0</value>
  3334. </item>
  3335. <item>
  3336. <label>
  3337. <![CDATA[<=]]>
  3338. </label>
  3339. <value>1</value>
  3340. </item>
  3341. <item>
  3342. <label>
  3343. <![CDATA[>]]>
  3344. </label>
  3345. <value>2</value>
  3346. </item>
  3347. <item>
  3348. <label>
  3349. <![CDATA[>=]]>
  3350. </label>
  3351. <value>3</value>
  3352. </item>-->
  3353. </choices>
  3354. </col>
  3355. <col ref="malerefmaxval" type="input"/>
  3356. <col ref="femalerefminvalsinq" type="combo">
  3357. <choices>
  3358. <item>
  3359. <label>
  3360. <![CDATA[<]]>
  3361. </label>
  3362. <value>0</value>
  3363. </item>
  3364. <item>
  3365. <label>
  3366. <![CDATA[<=]]>
  3367. </label>
  3368. <value>1</value>
  3369. </item>
  3370. <!--<item>
  3371. <label>
  3372. <![CDATA[>]]>
  3373. </label>
  3374. <value>2</value>
  3375. </item>
  3376. <item>
  3377. <label>
  3378. <![CDATA[>=]]>
  3379. </label>
  3380. <value>3</value>
  3381. </item>-->
  3382. </choices>
  3383. </col>
  3384. <col ref="femalerefminval" type="input"/>
  3385. <col ref="femalerefmaxvalsinq" type="combo">
  3386. <choices>
  3387. <item>
  3388. <label>
  3389. <![CDATA[>]]>
  3390. </label>
  3391. <value>0</value>
  3392. </item>
  3393. <item>
  3394. <label>
  3395. <![CDATA[>=]]>
  3396. </label>
  3397. <value>1</value>
  3398. </item>
  3399. <!--
  3400. <item>
  3401. <label>
  3402. <![CDATA[<]]>
  3403. </label>
  3404. <value>0</value>
  3405. </item>
  3406. <item>
  3407. <label>
  3408. <![CDATA[<=]]>
  3409. </label>
  3410. <value>1</value>
  3411. </item>
  3412. <item>
  3413. <label>
  3414. <![CDATA[>]]>
  3415. </label>
  3416. <value>2</value>
  3417. </item>
  3418. <item>
  3419. <label>
  3420. <![CDATA[>=]]>
  3421. </label>
  3422. <value>3</value>
  3423. </item>-->
  3424. </choices>
  3425. </col>
  3426. <col ref="femalerefmaxval" type="input"/>
  3427. <col ref="charrval" type="input"/>
  3428. <col ref="rsltunit" type="input"/>
  3429. <col ref="rvalseqno"/>
  3430. <col ref="lastupdnm"/>
  3431. <col ref="lastupdtdt"/>
  3432. </datagrid>
  3433. <input id="input10" ref="/root/main/ref/refinfo/amrminval" class="input_default" style="left:371px; top:435px; width:80px; height:19px; "/>
  3434. <input id="input15" ref="/root/main/ref/refinfo/amrmaxval" class="input_default" style="left:580px; top:435px; width:80px; height:19px; "/>
  3435. <select1 id="combo10" ref="/root/main/ref/refinfo/amrminvalsinq" class="combo_default" appearance="minimal" style="left:328px; top:435px; width:40px; height:19px; ">
  3436. <choices>
  3437. <item>
  3438. <label>
  3439. <![CDATA[<=]]>
  3440. </label>
  3441. <value>1</value>
  3442. </item>
  3443. <item>
  3444. <label>
  3445. <![CDATA[<]]>
  3446. </label>
  3447. <value>0</value>
  3448. </item>
  3449. </choices>
  3450. </select1>
  3451. <select1 id="combo18" ref="/root/main/ref/refinfo/amrmaxvalsinq" class="combo_default" appearance="minimal" style="left:537px; top:435px; width:40px; height:19px; ">
  3452. <choices>
  3453. <item>
  3454. <label>
  3455. <![CDATA[>=]]>
  3456. </label>
  3457. <value>3</value>
  3458. </item>
  3459. <item>
  3460. <label>
  3461. <![CDATA[>]]>
  3462. </label>
  3463. <value>2</value>
  3464. </item>
  3465. </choices>
  3466. </select1>
  3467. <select1 id="combo19" ref="/root/main/ref/refinfo/amrflag" class="combo_default" appearance="minimal" style="left:83px; top:435px; width:159px; height:19px; ">
  3468. <choices>
  3469. <item>
  3470. <label>[0] 사용안함</label>
  3471. <value>0</value>
  3472. </item>
  3473. <item>
  3474. <label>[1] Alert하한만 사용</label>
  3475. <value>1</value>
  3476. </item>
  3477. <item>
  3478. <label>[2] Alert상한만 사용</label>
  3479. <value>2</value>
  3480. </item>
  3481. <item>
  3482. <label>[3] 모두사용</label>
  3483. <value>3</value>
  3484. </item>
  3485. <!--
  3486. <item>
  3487. <label>[4] Alert하한만 사용 (Grade)</label>
  3488. <value>4</value>
  3489. </item>
  3490. <item>
  3491. <label>[5] Alert상한만 사용 (Grade)</label>
  3492. <value>5</value>
  3493. </item>
  3494. <item>
  3495. <label>[6] 사용안함 (Grade)</label>
  3496. <value>6</value>
  3497. </item>-->
  3498. </choices>
  3499. </select1>
  3500. <line id="line32" class="line_2" style="x1:5px; y1:507px; x2:660px; y2:507px; "/>
  3501. <caption id="caption46" class="cell_1" style="left:454px; top:434px; width:80px; height:23px; vertical-align:middle; ">AMR 상한</caption>
  3502. <caption id="caption47" class="cell_1" style="left:5px; top:434px; width:75px; height:23px; vertical-align:middle; ">AMR 구분</caption>
  3503. <caption id="caption53" class="cell_1" style="left:245px; top:434px; width:80px; height:23px; vertical-align:middle; ">AMR 하한</caption>
  3504. <caption id="caption54" class="cell_1" style="left:372px; top:541px; width:85px; height:23px; vertical-align:middle; ">결과처리방법</caption>
  3505. <caption id="caption55" class="cell_1" style="left:186px; top:541px; width:60px; height:23px; vertical-align:middle; ">하한</caption>
  3506. <datagrid id="grd_panjung" nodeset="/root/hidden/grdjudg" caption="판정문자^결과처리방법" colsep="^" colwidth="200, 400" dataheight="25" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:242px; width:655px; height:94px; ">
  3507. <col ref="judgit" type="input"/>
  3508. <col ref="judgrslt" type="combo">
  3509. <choices>
  3510. <item>
  3511. <label>
  3512. <![CDATA[[0] 판정문자는 판정으로만 : 결과 -> 결과1]]>
  3513. </label>
  3514. <value>0</value>
  3515. </item>
  3516. <item>
  3517. <label>
  3518. <![CDATA[[1] 판정문자를 결과에 대체 : 결과 -> 판정문]]>
  3519. </label>
  3520. <value>1</value>
  3521. </item>
  3522. <item>
  3523. <label>
  3524. <![CDATA[[2] 판정문자를 결과에 포함 : 결과 -> 판정문자 (결과)]]>
  3525. </label>
  3526. <value>2</value>
  3527. </item>
  3528. <item>
  3529. <label>
  3530. <![CDATA[[3] 판정문자를 결과에 포함 : 결과 -> 판정문자 결과]]>
  3531. </label>
  3532. <value>3</value>
  3533. </item>
  3534. <item>
  3535. <label>
  3536. <![CDATA[[4] 판정문자를 결과에 포함 : 결과 -> 결과 판정문자]]>
  3537. </label>
  3538. <value>4</value>
  3539. </item>
  3540. </choices>
  3541. </col>
  3542. </datagrid>
  3543. <select1 id="rdo_panjung" ref="/root/main/ref/refinfo/judgkind" appearance="full" cellspacing="8" cols="4" overflow="visible" style="left:102px; top:220px; width:418px; height:14px; border-style:none; ">
  3544. <choices>
  3545. <item>
  3546. <label>판정안함</label>
  3547. <value>0</value>
  3548. </item>
  3549. <item>
  3550. <label>Low/High</label>
  3551. <value>1</value>
  3552. </item>
  3553. <item>
  3554. <label>사용자정의 2단계</label>
  3555. <value>2</value>
  3556. </item>
  3557. <item>
  3558. <label>사용자정의 3단계</label>
  3559. <value>3</value>
  3560. </item>
  3561. </choices>
  3562. <script type="javascript" ev:event="xforms-select">
  3563. <![CDATA[
  3564. // 판정유형 콤보 선택시 add rows
  3565. fSetPanJungRows();
  3566. ]]>
  3567. </script>
  3568. </select1>
  3569. <caption id="caption56" class="cell_1" style="left:5px; top:482px; width:75px; height:23px; vertical-align:middle; ">Delta 기간일</caption>
  3570. <input id="input16" ref="/root/main/ref/refinfo/deltaterm" class="input_default" style="left:83px; top:483px; width:80px; height:19px; "/>
  3571. <select id="checkbox1" ref="/root/send/allrvalyn" overflow="visible" appearance="full" style="left:200px; top:3px; width:100px; height:15px; border-style:none; ">
  3572. <choices>
  3573. <item>
  3574. <label>전체자료조회</label>
  3575. <value>Y</value>
  3576. </item>
  3577. </choices>
  3578. <script type="javascript" ev:event="xforms-value-changed">
  3579. <![CDATA[
  3580. fGetRefSetting();
  3581. ]]>
  3582. </script>
  3583. </select>
  3584. <button id="button1" class="btn2_letter3" style="left:494px; top:76px; width:53px; height:19px; ">
  3585. <caption>변 경</caption>
  3586. <script type="javascript" ev:event="DOMActivate">
  3587. <![CDATA[
  3588. if(grd_refage.row == -1){
  3589. messageBox("변경할 항목을 선택하세요", "I");
  3590. return;
  3591. }
  3592. if(model.getValue("/root/main/ref/refageinfo[" + grd_refage.row + "]/rvaltodd") <= getCurrentDate()){
  3593. messageBox("사용종료된 항목은 종료일을 변경 할 수 없습니다", "I");
  3594. return;
  3595. }
  3596. //선택된 row 종료일 오늘날짜로 넣기
  3597. model.setValue("/root/main/ref/refageinfo[" + grd_refage.row + "]/rvaltodd", getCurrentDate());
  3598. grd_refage.addStatus(grd_refage.row, "update");//U
  3599. //행추가 후 시작 종료일자 셋팅
  3600. grd_refage.addRow(false);
  3601. model.setValue("/root/main/ref/refageinfo[" + (grd_refage.rows -1 ) + "]/rvaltodd", "99991231");
  3602. model.setValue("/root/main/ref/refageinfo[" + (grd_refage.rows -1 ) + "]/rvalfromdd", getCurrentDate().toDate("YYYYMMDD").getAddDate(1).getDateFormat("YYYYMMDD"));
  3603. grd_refage.bottomRow = grd_refage.rows;
  3604. ]]>
  3605. </script>
  3606. </button>
  3607. </case>
  3608. </switch>
  3609. <button id="btn_rval" class="btn_sw" group="tab" selected="false" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:715px; top:107px; width:100px; height:22px; ">
  3610. <caption>참고치설정</caption>
  3611. <script type="javascript" ev:event="DOMActivate">
  3612. <![CDATA[
  3613. fSelectToggle("2");
  3614. //model.toggle("case6");
  3615. //fGetRefSetting();
  3616. ]]>
  3617. </script>
  3618. </button>
  3619. <datagrid id="grd_spccdlist" nodeset="/root/main/spclist" caption="검체^검체명^" colsep="^" colwidth="42, 90,20" ellipsis="true" focuscolor="#cc99ff" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" tooltip="true" style="left:315px; top:75px; width:195px; height:665px; ">
  3620. <col ref="spccd"/>
  3621. <col ref="spcnm"/>
  3622. <col ref="prcpspcpossyn"/>
  3623. <script type="javascript" ev:event="onclick">
  3624. <![CDATA[
  3625. // 검체코드 선택
  3626. if(grd_spccdlist.isCell(event.target) && grd_spccdlist.row >= grd_spccdlist.fixedRows){
  3627. //fGetTestInfo();
  3628. fGetTclscdSelect();
  3629. }
  3630. ]]>
  3631. </script>
  3632. </datagrid>
  3633. <datagrid id="grd_tclscdlist" nodeset="/root/main/tclscdlist" caption="분류^코드^검사명^검사구분^시작일자^종료일자^처방가능여부" colsep="^" colwidth="37, 65, 130, 70, 100, 100, 100" dataheight="23" defaultrows="1" ellipsis="true" explorerbar="sortshow" fixedcols="0" focuscolor="#cc99ff" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" tooltip="true" fixed.background-image="../../../com/commonweb/images/grid_bg.gif" style="left:0px; top:75px; width:310px; height:665px; ">
  3634. <col ref="testmdlcd" style="text-align:center; "/>
  3635. <col ref="tclscd" format="yyyy-mm-dd"/>
  3636. <col ref="tclsnm"/>
  3637. <col disabled="true" ref="tclskind" type="combo">
  3638. <choices>
  3639. <item>
  3640. <label>Group</label>
  3641. <value>0</value>
  3642. </item>
  3643. <item>
  3644. <label>Panel</label>
  3645. <value>1</value>
  3646. </item>
  3647. <item>
  3648. <label>Single</label>
  3649. <value>2</value>
  3650. </item>
  3651. <item>
  3652. <label>Parent</label>
  3653. <value>3</value>
  3654. </item>
  3655. <item>
  3656. <label>Child</label>
  3657. <value>4</value>
  3658. </item>
  3659. <item>
  3660. <label>Abnormal</label>
  3661. <value>5</value>
  3662. </item>
  3663. <item>
  3664. <label>성분제제</label>
  3665. <value>6</value>
  3666. </item>
  3667. </choices>
  3668. </col>
  3669. <col ref="tclscdfromdd" format="yyyy-mm-dd"/>
  3670. <col ref="tclstodd" format="yyyy-mm-dd"/>
  3671. <col ref="prcppossyn"/>
  3672. <script type="javascript" ev:event="onclick">
  3673. <![CDATA[
  3674. // 검사코드 선택시
  3675. if(grd_tclscdlist.isCell(event.target) && grd_tclscdlist.row >= grd_tclscdlist.fixedRows){
  3676. fGetAllSpcList();
  3677. }
  3678. ]]>
  3679. </script>
  3680. <script type="javascript" ev:event="onaftersort">
  3681. <![CDATA[
  3682. grd_tclscdlist.gridToInstance();
  3683. ]]>
  3684. </script>
  3685. </datagrid>
  3686. <select id="chk_allspccd" ref="/root/hidden/allspccd" overflow="visible" appearance="full" style="left:630px; top:54px; width:75px; height:15px; border-style:none; ">
  3687. <choices>
  3688. <item>
  3689. <label>모든검체</label>
  3690. <value>1</value>
  3691. </item>
  3692. </choices>
  3693. </select>
  3694. <button id="btn_addtcls" class="btn2_letter6" disabled="true" style="left:359px; top:49px; width:86px; height:19px; ">
  3695. <caption>검사코드추가</caption>
  3696. <script type="javascript" ev:event="DOMActivate">
  3697. <![CDATA[
  3698. open("SPLLF90800", 50, 50, 100);
  3699. ]]>
  3700. </script>
  3701. </button>
  3702. <button id="button14" class="btn2_letter4" visibility="visible" style="left:447px; top:49px; width:64px; height:19px; ">
  3703. <caption>검체추가</caption>
  3704. <script type="javascript" ev:event="DOMActivate">
  3705. <![CDATA[
  3706. // 정은 수정중
  3707. fExeAddSpccd();
  3708. ]]>
  3709. </script>
  3710. </button>
  3711. <select id="chk_tclscdendyn" ref="/root/hidden/tclscdendyn" visibility="hidden" overflow="visible" appearance="full" style="left:20px; top:40px; width:80px; height:20px; font-weight:bold; color:#0000ff; background-color:transparent; border-style:none; ">
  3712. <choices>
  3713. <item>
  3714. <label>모두 조회</label>
  3715. <value>Y</value>
  3716. </item>
  3717. </choices>
  3718. </select>
  3719. <button id="btn_excel" class="btn2_letter2" style="left:267px; top:49px; width:42px; height:19px; ">
  3720. <caption>엑셀</caption>
  3721. <script type="javascript" ev:event="DOMActivate">
  3722. <![CDATA[
  3723. var select01 = cmb_select01.value;
  3724. var select02 = cmb_select02.value;
  3725. var select03 = cmb_select03.value;
  3726. var saveName = "";
  3727. if(select01 != "" && select01 != "00"){
  3728. saveName += cmb_select01.label;
  3729. }
  3730. if(select02 != "" && select02 != "00"){
  3731. if(saveName.getTrim() != ""){
  3732. saveName += "_";
  3733. }
  3734. saveName += cmb_select02.label;
  3735. }
  3736. if(select03 != "" && select03 != "00"){
  3737. if(saveName.getTrim() != ""){
  3738. saveName += "_";
  3739. }
  3740. saveName += cmb_select03.label;
  3741. }
  3742. if(saveName.getTrim() != ""){
  3743. saveName += "_";
  3744. }
  3745. saveName += "검사코드";
  3746. var filename = window.fileDialog("save",",",false,saveName,"xls","All File(*.*)|*.*|Excel File(*.xls)|*.xls");
  3747. if(filename != "") {
  3748. grd_tclscdlist.saveExcel(filename);
  3749. }
  3750. ]]>
  3751. </script>
  3752. </button>
  3753. <select id="chkPrcppossyn" ref="/root/hidden/lisprcppossyn" overflow="visible" appearance="full" style="left:150px; top:50px; width:100px; height:20px; border-style:none; ">
  3754. <choices>
  3755. <item>
  3756. <label>처방가능종목</label>
  3757. <value>Y</value>
  3758. </item>
  3759. </choices>
  3760. </select>
  3761. <textarea id="textarea6" ref="/root/main/testinfo/prcphelp" disabled="false" visibility="hidden" style="left:323px; top:675px; width:210px; height:44px; "/>
  3762. <caption id="caption60" class="cell_1" visibility="hidden" style="left:210px; top:674px; width:110px; height:48px; vertical-align:middle; ">처방 Help</caption>
  3763. </group>
  3764. <script type="javascript" ev:event="onkeypress">
  3765. <![CDATA[
  3766. fKeyEvent();
  3767. ]]>
  3768. </script>
  3769. </xhtml:body>
  3770. </xhtml:html>