SMASI01300_법정전염병신고대상자조회.xfdl 258 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMASI01300" position="absolute 0 0 1196 792" titletext="법정감염병신고대상자조회" oninit="SMASI01300_oninit" onload="SMASI01300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="line4" linetype="horizontal" class="line_3" position="absolute 1 761 1196 767" anchor="left right bottom"/>
  8. <Shape id="line2" linetype="vertical" class="line_1" position="absolute 0 114 1195 115"/>
  9. <Button id="btn_excel" taborder="3" text="엑셀" class="btn7" position="absolute 1143 87 1195 109" onclick="btn_excel_onclick" anchor="top right"/>
  10. <Static id="caption11" text="법정감염병신고대상자" class="tit_2" position="absolute 0 93 173 112"/>
  11. <Static id="caption6" text="법정감염병 신고대상자조회" class="tit_1" position="absolute 0 0 196 25"/>
  12. <Div id="grp_sea" anchor="left top right" taborder="4" style="align:center top;" class="div_SA" position="absolute 0 25 1195 85">
  13. <Layouts>
  14. <Layout width="1188" height="67">
  15. <Static id="caption3" text="대상자종류" class="search_name" position="absolute 8 9 95 29" anchor="default"/>
  16. <Static id="caption5" text="작성일" class="search_name" position="absolute 8 32 84 52" anchor="default"/>
  17. <Static id="caption2" text="환자명 : " class="search_name" position="absolute 316 32 387 52" anchor="default"/>
  18. <Static id="caption9" text="진료의 : " class="search_name" position="absolute 717 32 790 52" anchor="default"/>
  19. <Static id="caption7" text="신고상태 : " class="search_name" position="absolute 516 9 599 29" anchor="default"/>
  20. <Combo id="cmb_trgtmankind" taborder="21" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="grp_sea_cmb_trgtmankind_onitemchanged" position="absolute 86 9 254 29" anchor="default" class="combo_search">
  21. <Dataset id="innerdataset">
  22. <ColumnInfo>
  23. <Column id="codecolumn" size="256"/>
  24. <Column id="datacolumn" size="256"/>
  25. </ColumnInfo>
  26. <Rows>
  27. <Row>
  28. <Col id="codecolumn">00</Col>
  29. <Col id="datacolumn">전체</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">01</Col>
  33. <Col id="datacolumn">법정감염병의심환자</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">02</Col>
  37. <Col id="datacolumn">결핵의심환자</Col>
  38. </Row>
  39. <Row>
  40. <Col id="codecolumn">03</Col>
  41. <Col id="datacolumn">간염의심환자</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">04</Col>
  45. <Col id="datacolumn">선천성매독의심환자</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">05</Col>
  49. <Col id="datacolumn">성병의심환자</Col>
  50. </Row>
  51. <Row>
  52. <Col id="codecolumn">06</Col>
  53. <Col id="datacolumn">크로이츠펠트-야콥병의심환자</Col>
  54. </Row>
  55. <Row>
  56. <Col id="codecolumn">07</Col>
  57. <Col id="datacolumn">인플루인자의심환자</Col>
  58. </Row>
  59. <Row>
  60. <Col id="codecolumn">09</Col>
  61. <Col id="datacolumn">HIV-AIDS의심환자</Col>
  62. </Row>
  63. <Row>
  64. <Col id="codecolumn">10</Col>
  65. <Col id="datacolumn">수족구병의심환자</Col>
  66. </Row>
  67. <Row>
  68. <Col id="codecolumn">11</Col>
  69. <Col id="datacolumn">해외유입 기생충 감염증</Col>
  70. </Row>
  71. <Row>
  72. <Col id="codecolumn">99</Col>
  73. <Col id="datacolumn">결핵사망환자</Col>
  74. </Row>
  75. <Row>
  76. <Col id="codecolumn">13</Col>
  77. <Col id="datacolumn">검체시험의뢰서(일반)</Col>
  78. </Row>
  79. <Row>
  80. <Col id="codecolumn">14</Col>
  81. <Col id="datacolumn">검체시험의뢰서(메르스)</Col>
  82. </Row>
  83. <Row>
  84. <Col id="codecolumn">15</Col>
  85. <Col id="datacolumn">검체시험의뢰서(지카)</Col>
  86. </Row>
  87. </Rows>
  88. </Dataset>
  89. </Combo>
  90. <Combo id="cmb_reptstat" taborder="22" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_search" position="absolute 595 9 700 29" anchor="default">
  91. <Dataset id="innerdataset">
  92. <ColumnInfo>
  93. <Column id="codecolumn" size="256"/>
  94. <Column id="datacolumn" size="256"/>
  95. </ColumnInfo>
  96. <Rows>
  97. <Row>
  98. <Col id="codecolumn"/>
  99. <Col id="datacolumn">전체</Col>
  100. </Row>
  101. <Row>
  102. <Col id="codecolumn">R</Col>
  103. <Col id="datacolumn">신고</Col>
  104. </Row>
  105. <Row>
  106. <Col id="codecolumn">M</Col>
  107. <Col id="datacolumn">미신고</Col>
  108. </Row>
  109. <Row>
  110. <Col id="codecolumn">E</Col>
  111. <Col id="datacolumn">제외자</Col>
  112. </Row>
  113. </Rows>
  114. </Dataset>
  115. </Combo>
  116. <Button id="btn_search" taborder="23" text="조회" onclick="btn_search_onclick" class="btn1" position="absolute 1128 20 1184 40" anchor="top right"/>
  117. <CheckBox id="chk" taborder="24" value="N" truevalue="Y" falsevalue="N" position="absolute 841 9 857 29" anchor="default"/>
  118. <Static id="caption1" text="삭제 신고서 포함 : " class="search_name" position="absolute 717 9 842 29" anchor="default"/>
  119. <Static id="caption04" text="등록번호 : " class="search_name" position="absolute 316 9 401 29" anchor="default"/>
  120. <Edit id="ipt_patcd" taborder="26" position="absolute 391 9 486 29" anchor="default" onkeydown="grp_sea_ipt_patcd_onkeydown"/>
  121. <Static id="caption06" text="진료과 : " class="search_name" position="absolute 517 32 582 52" anchor="default"/>
  122. <Edit id="ipt_patnm" taborder="27" onkeydown="grp_sea_ipt_patnm_onkeydown" position="absolute 391 32 486 52" anchor="default"/>
  123. <Combo id="cmb_orddept" taborder="28" innerdataset="@ds_hidden_orddeptlist" codecolumn="deptcd" datacolumn="depthngnm" class="combo_search" position="absolute 595 32 700 52" anchor="default" onitemchanged="grp_sea_cmb_orddept_onitemchanged"/>
  124. <Combo id="cmb_orddr" taborder="29" innerdataset="@ds_hidden_userlist" codecolumn="userid" datacolumn="usernm" class="combo_search" position="absolute 778 32 883 52" anchor="default"/>
  125. <Button id="btn_pid" taborder="30" onclick="grp_sea_btn_pid_onclick" class="icon_search" position="absolute 485 9 510 29" anchor="default"/>
  126. <Button id="btn_pname" taborder="31" onclick="grp_sea_btn_pname_onclick" class="icon_search" position="absolute 485 32 510 52" anchor="default"/>
  127. <Calendar id="cal_fromdd" taborder="33" position="absolute 85 32 186 52" anchor="default"/>
  128. <Calendar id="cal_todd" taborder="34" position="absolute 202 32 302 52" anchor="default"/>
  129. <Shape id="line14" linetype="vertical" class="line_4" position="absolute 1113 14 1119 49" anchor="top right"/>
  130. <CheckBox id="bool1" taborder="35" value="N" truevalue="Y" falsevalue="N" position="absolute 258 9 306 29" text="종료" onclick="grp_sea_bool1_onclick" anchor="default"/>
  131. <Static id="caption00" text="검체의뢰서 전체 조회 : " class="search_name" position="absolute 895 9 1051 29" anchor="default"/>
  132. <CheckBox id="chk_clinicspec" taborder="36" value="false" truevalue="true" falsevalue="false" position="absolute 1046 9 1062 29" anchor="default"/>
  133. </Layout>
  134. </Layouts>
  135. </Div>
  136. <Grid id="grd_lglydisrepttrgtman" taborder="5" binddataset="ds_grd_lglydisrepttrgtmaninfo" useinputpanel="false" cellsizingtype="col" onrbuttonup="grd_lglydisrepttrgtman_onrbuttonup" style="align:center middle;" onbuttondown="grd_lglydisrepttrgtman_onbuttondown" ondbclick="grd_lglydisrepttrgtman_ondbclick" position="absolute 0 114 1195 762" positiontype="position" anchor="all">
  137. <Formats>
  138. <Format id="default">
  139. <Columns>
  140. <Column size="27"/>
  141. <Column size="24"/>
  142. <Column size="110"/>
  143. <Column size="70"/>
  144. <Column size="68"/>
  145. <Column size="0"/>
  146. <Column size="75"/>
  147. <Column size="75"/>
  148. <Column size="75"/>
  149. <Column size="0"/>
  150. <Column size="67"/>
  151. <Column size="67"/>
  152. <Column size="30"/>
  153. <Column size="30"/>
  154. <Column size="75"/>
  155. <Column size="0"/>
  156. <Column size="95"/>
  157. <Column size="52"/>
  158. <Column size="52"/>
  159. <Column size="75"/>
  160. <Column size="0"/>
  161. <Column size="0"/>
  162. <Column size="108"/>
  163. <Column size="66"/>
  164. <Column size="50"/>
  165. <Column size="75"/>
  166. <Column size="80"/>
  167. <Column size="0"/>
  168. <Column size="0"/>
  169. <Column size="0"/>
  170. <Column size="0"/>
  171. <Column size="0"/>
  172. <Column size="0"/>
  173. <Column size="0"/>
  174. <Column size="0"/>
  175. <Column size="0"/>
  176. <Column size="0"/>
  177. <Column size="0"/>
  178. <Column size="0"/>
  179. <Column size="0"/>
  180. <Column size="0"/>
  181. <Column size="0"/>
  182. <Column size="0"/>
  183. <Column size="0"/>
  184. <Column size="0"/>
  185. <Column size="0"/>
  186. <Column size="0"/>
  187. <Column size="0"/>
  188. <Column size="0"/>
  189. <Column size="0"/>
  190. <Column size="0"/>
  191. <Column size="0"/>
  192. <Column size="0"/>
  193. <Column size="0"/>
  194. <Column size="0"/>
  195. <Column size="0"/>
  196. <Column size="0"/>
  197. <Column size="0"/>
  198. <Column size="0"/>
  199. <Column size="0"/>
  200. <Column size="0"/>
  201. <Column size="0"/>
  202. <Column size="0"/>
  203. <Column size="0"/>
  204. <Column size="0"/>
  205. <Column size="0"/>
  206. <Column size="0"/>
  207. <Column size="0"/>
  208. <Column size="0"/>
  209. <Column size="0"/>
  210. <Column size="0"/>
  211. <Column size="0"/>
  212. <Column size="0"/>
  213. <Column size="0"/>
  214. <Column size="0"/>
  215. <Column size="0"/>
  216. <Column size="0"/>
  217. <Column size="0"/>
  218. <Column size="0"/>
  219. <Column size="0"/>
  220. <Column size="0"/>
  221. <Column size="0"/>
  222. <Column size="0"/>
  223. <Column size="0"/>
  224. <Column size="0"/>
  225. <Column size="0"/>
  226. <Column size="0"/>
  227. <Column size="0"/>
  228. <Column size="0"/>
  229. <Column size="0"/>
  230. <Column size="0"/>
  231. <Column size="0"/>
  232. </Columns>
  233. <Rows>
  234. <Row size="24" band="head"/>
  235. <Row size="24"/>
  236. </Rows>
  237. <Band id="head">
  238. <Cell/>
  239. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  240. <Cell col="2" text="대상자종류"/>
  241. <Cell col="3" text="발생신고"/>
  242. <Cell col="4" text="사망신고"/>
  243. <Cell col="5" text="신고상태"/>
  244. <Cell col="6" text="발병일자"/>
  245. <Cell col="7" text="진단일자"/>
  246. <Cell col="8" text="신고일자"/>
  247. <Cell col="9"/>
  248. <Cell col="10" text="등록번호"/>
  249. <Cell col="11" text="성명"/>
  250. <Cell col="12" text="성별"/>
  251. <Cell col="13" text="나이"/>
  252. <Cell col="14" text="진료일"/>
  253. <Cell col="15" text="진료과코드"/>
  254. <Cell col="16" text="진료과"/>
  255. <Cell col="17" text="진료의"/>
  256. <Cell col="18" text="작성자"/>
  257. <Cell col="19" text="작성일자"/>
  258. <Cell col="20" text="상병명"/>
  259. <Cell col="21" text="법정전염병코드"/>
  260. <Cell col="22" text="법정감염병명"/>
  261. <Cell col="23" text="병동"/>
  262. <Cell col="24" text="병실"/>
  263. <Cell col="25" text="입원일"/>
  264. <Cell col="26" text="퇴원일"/>
  265. <Cell col="27" text="wrtedt"/>
  266. <Cell col="28" text="seqno"/>
  267. <Cell col="29" text="ioflag"/>
  268. <Cell col="30" text="cretno"/>
  269. <Cell col="31" text="iseqno"/>
  270. <Cell col="32" text="2"/>
  271. <Cell col="33" text="3"/>
  272. <Cell col="34" text="4"/>
  273. <Cell col="35" text="5"/>
  274. <Cell col="36" text="6"/>
  275. <Cell col="37" text="7"/>
  276. <Cell col="38" text="8"/>
  277. <Cell col="39" text="9"/>
  278. <Cell col="40" text="10"/>
  279. <Cell col="41" text="11"/>
  280. <Cell col="42" text="12"/>
  281. <Cell col="43" text="13"/>
  282. <Cell col="44" text="14"/>
  283. <Cell col="45" text="15"/>
  284. <Cell col="46" text="16"/>
  285. <Cell col="47" text="17"/>
  286. <Cell col="48" text="18"/>
  287. <Cell col="49" text="19"/>
  288. <Cell col="50" text="20"/>
  289. <Cell col="51" text="21"/>
  290. <Cell col="52" text="22"/>
  291. <Cell col="53" text="23"/>
  292. <Cell col="54" text="24"/>
  293. <Cell col="55" text="25"/>
  294. <Cell col="56" text="26"/>
  295. <Cell col="57" text="27"/>
  296. <Cell col="58" text="28"/>
  297. <Cell col="59" text="29"/>
  298. <Cell col="60" text="30"/>
  299. <Cell col="61" text="31"/>
  300. <Cell col="62" text="32"/>
  301. <Cell col="63" text="33"/>
  302. <Cell col="64" text="34"/>
  303. <Cell col="65" text="35"/>
  304. <Cell col="66" text="치료약제"/>
  305. <Cell col="67" text="37"/>
  306. <Cell col="68" text="38"/>
  307. <Cell col="69" text="39"/>
  308. <Cell col="70" text="40"/>
  309. <Cell col="71" text="41"/>
  310. <Cell col="72" text="42"/>
  311. <Cell col="73" text="신원미상"/>
  312. <Cell col="74" text="caption1"/>
  313. <Cell col="75" text="caption3"/>
  314. <Cell col="76" text="caption4"/>
  315. <Cell col="77" text="caption5"/>
  316. <Cell col="78" text="caption6"/>
  317. <Cell col="79" text="caption7"/>
  318. <Cell col="80" text="caption8"/>
  319. <Cell col="81" text="caption11"/>
  320. <Cell col="82" text="caption9"/>
  321. <Cell col="83" text="caption10"/>
  322. <Cell col="84" text="cnclyn"/>
  323. <Cell col="85" text="state"/>
  324. <Cell col="86" text="psnflag"/>
  325. <Cell col="87" text="reptflag"/>
  326. <Cell col="88" text="reptdtnm"/>
  327. <Cell col="89" text="reptyear"/>
  328. <Cell col="90" text="reptmonth"/>
  329. <Cell col="91" text="reptday"/>
  330. </Band>
  331. <Band id="body">
  332. <Cell celltype="head" text="expr:currow+1"/>
  333. <Cell col="1" displaytype="checkbox" edittype="checkbox" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:chk" expr="expr:(chk==&quot;Y&quot;||chk==1)?1:0" suppressedit="false"/>
  334. <Cell col="2" displaytype="combo" text="bind:reptflag" combodataset="ds_reptflag" combocodecol="cdid" combodatacol="cdnm"/>
  335. <Cell col="3" displaytype="combo" edittype="combo" style="color:EXPR(cnclyn=='Y'?'#C0C0C0':'#000000');color2:EXPR(cnclyn=='Y'?'#C0C0C0':'#000000');" text="bind:reptstat" combodataset="ds_reptstat" combocodecol="cdid" combodatacol="cdnm"/>
  336. <Cell col="4" displaytype="combo" edittype="combo" style="color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:dethreptstat" combodataset="ds_reptstat" combocodecol="cdid" combodatacol="cdnm"/>
  337. <Cell col="5" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:reptdtnm" editscrollbar="hidden"/>
  338. <Cell col="6" displaytype="date" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:attackdd" calendardisplaynulltype="none"/>
  339. <Cell col="7" displaytype="date" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:diagdd" calendardisplaynulltype="none"/>
  340. <Cell col="8" displaytype="date" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:reptdt" calendardisplaynulltype="none"/>
  341. <Cell col="9" style="color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:reptdtnm"/>
  342. <Cell col="10" displaytype="text" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:pid"/>
  343. <Cell col="11" style="align:left middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:name"/>
  344. <Cell col="12" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:sex"/>
  345. <Cell col="13" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:age"/>
  346. <Cell col="14" displaytype="date" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:orddd" calendardisplaynulltype="none"/>
  347. <Cell col="15" style="color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:deptcd"/>
  348. <Cell col="16" style="align:left;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:deptnm"/>
  349. <Cell col="17" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:orddr"/>
  350. <Cell col="18" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:specdr"/>
  351. <Cell col="19" displaytype="date" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:wrtedt" calendardisplaynulltype="none"/>
  352. <Cell col="20" style="color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:snwnm"/>
  353. <Cell col="21" style="color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:lglydiscd"/>
  354. <Cell col="22" style="align:left;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:lglydisnm"/>
  355. <Cell col="23" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:wardcd"/>
  356. <Cell col="24" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:roomcd"/>
  357. <Cell col="25" displaytype="date" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:indd" calendardisplaynulltype="none"/>
  358. <Cell col="26" displaytype="expr:utlf_isNull(trim(dschdd)) ? &quot;none&quot; : &quot;date&quot;" style="align:center middle;color:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grd_lglydisrepttrgtmaninfo.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:dschdd" calendardisplaynulltype="none"/>
  359. <Cell col="27" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:wrtedt"/>
  360. <Cell col="28" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:seqno"/>
  361. <Cell col="29" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:ioflag"/>
  362. <Cell col="30" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:cretno"/>
  363. <Cell col="31" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:iseqno"/>
  364. <Cell col="32" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:rrgstno1"/>
  365. <Cell col="33" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:rrgstno2"/>
  366. <Cell col="34" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:patflag"/>
  367. <Cell col="35" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:preinochstflag"/>
  368. <Cell col="36" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:brthdd"/>
  369. <Cell col="37" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:procernm"/>
  370. <Cell col="38" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:naticd"/>
  371. <Cell col="39" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:ecntrydd"/>
  372. <Cell col="40" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:jobcd"/>
  373. <Cell col="41" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:pastcureflag"/>
  374. <Cell col="42" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:cureterm"/>
  375. <Cell col="43" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:pastcurecnt"/>
  376. <Cell col="44" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:bisiziflag"/>
  377. <Cell col="45" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:bisiziinocmthd"/>
  378. <Cell col="46" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:sputumdm"/>
  379. <Cell col="47" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:sputumby"/>
  380. <Cell col="48" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:sputumodm"/>
  381. <Cell col="49" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:sputumoby"/>
  382. <Cell col="50" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:tisstestlag"/>
  383. <Cell col="51" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:etctestflag"/>
  384. <Cell col="52" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:rayrsltflag"/>
  385. <Cell col="53" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:tooberrsltsize"/>
  386. <Cell col="54" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:diagcd"/>
  387. <Cell col="55" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curefromdd"/>
  388. <Cell col="56" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd"/>
  389. <Cell col="57" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd01"/>
  390. <Cell col="58" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd02"/>
  391. <Cell col="59" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd03"/>
  392. <Cell col="60" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd04"/>
  393. <Cell col="61" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd05"/>
  394. <Cell col="62" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd06"/>
  395. <Cell col="63" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd07"/>
  396. <Cell col="64" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd08"/>
  397. <Cell col="65" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd09"/>
  398. <Cell col="66" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curedrugcd"/>
  399. <Cell col="67" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curetodd"/>
  400. <Cell col="68" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:curersltflag"/>
  401. <Cell col="69" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:zipcd1"/>
  402. <Cell col="70" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:zipcd2"/>
  403. <Cell col="71" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:hometel"/>
  404. <Cell col="72" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:residncflag"/>
  405. <Cell col="73" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:idflag"/>
  406. <Cell col="74" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:detladdr"/>
  407. <Cell col="75" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:cnfsnwtstrslt"/>
  408. <Cell col="76" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:dethyn"/>
  409. <Cell col="77" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:estminfcpath"/>
  410. <Cell col="78" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:estminfcareacd"/>
  411. <Cell col="79" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:estminfcareanaticd"/>
  412. <Cell col="80" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:stayterm"/>
  413. <Cell col="81" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:staytermday"/>
  414. <Cell col="82" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:chngreptkind"/>
  415. <Cell col="83" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:updtreptcnts"/>
  416. <Cell col="84" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:cnclyn"/>
  417. <Cell col="85" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:state"/>
  418. <Cell col="86" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:psnflag"/>
  419. <Cell col="87" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:reptflag"/>
  420. <Cell col="88" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:reptdtnm"/>
  421. <Cell col="89" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:reptyear"/>
  422. <Cell col="90" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:reptmonth"/>
  423. <Cell col="91" style="color:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');color2:EXPR(ds_grid_grd_lglydisrepttrgtman.getColumn(currow, &quot;cnclyn&quot;)=='Y'?'#C0C0C0':'#000000');" text="bind:reptday"/>
  424. <Cell col="92"/>
  425. <Cell col="93"/>
  426. <Cell col="94"/>
  427. <Cell col="95"/>
  428. </Band>
  429. </Format>
  430. </Formats>
  431. </Grid>
  432. <Div id="grp_ordbtn" taborder="7" position="absolute 0 763 1196 790" anchor="left right bottom">
  433. <Layouts>
  434. <Layout>
  435. <Button id="button5" taborder="5" text="초기화" class="btn4" position="absolute 1127 3 1195 25" anchor="top right" onclick="grp_ordbtn_button5_onclick"/>
  436. <Button id="button6" taborder="6" text="삭제" class="btn4" position="absolute 82 3 138 25" anchor="default" onclick="grp_ordbtn_button6_onclick"/>
  437. <Button id="btn_preview" taborder="7" text="(재)출력" onclick="grp_btn3_button8_onclick" class="btn6" position="absolute 0 3 80 25" anchor="default"/>
  438. </Layout>
  439. </Layouts>
  440. </Div>
  441. <Div id="grp_btn3" taborder="8" position="absolute 0 763 1196 790" anchor="left right bottom">
  442. <Layouts>
  443. <Layout>
  444. <Button id="button7" taborder="7" text="초기화" class="btn4" position="absolute 1127 3 1195 25" anchor="top right"/>
  445. <Button id="button8" taborder="8" text="미리보기" class="btn6" position="absolute 0 3 72 25" anchor="default" onclick="grp_btn3_button8_onclick"/>
  446. <Button id="button9" taborder="9" text="출력" class="btn6" position="absolute 755 3 811 25" anchor="top right" onclick="grp_btn3_button9_onclick"/>
  447. </Layout>
  448. </Layouts>
  449. </Div>
  450. <Div id="grp_btn" taborder="9" position="absolute 0 763 1196 790" anchor="top right bottom">
  451. <Layouts>
  452. <Layout width="1195" height="27">
  453. <Button id="btn_init" taborder="1" text="초기화" class="btn4" position="absolute 1127 3 1195 25" anchor="top right" onclick="grp_btn_btn_init_onclick"/>
  454. <Button id="btn_preview" taborder="2" text="(재)출력" class="btn6" position="absolute 0 3 80 25" anchor="default" onclick="grp_btn3_button8_onclick"/>
  455. <Button id="button4" taborder="3" text="신고(출력)" class="btn4" position="absolute 749 3 845 25" anchor="top right" onclick="grp_btn_button4_onclick"/>
  456. <Button id="button3" taborder="4" text="신고취소" class="btn4" position="absolute 847 3 927 25" anchor="top right" onclick="grp_btn_button3_onclick"/>
  457. <Button id="button2" taborder="5" text="삭제" class="btn4" position="absolute 1069 3 1125 25" anchor="top right" onclick="grp_btn_button2_onclick"/>
  458. <Button id="button10" taborder="6" text="제외" class="btn4" position="absolute 929 3 985 25" anchor="top right" onclick="grp_btn_button10_onclick"/>
  459. <Button id="button11" taborder="7" text="제외취소" class="btn4" position="absolute 987 3 1067 25" anchor="top right" onclick="grp_btn_button11_onclick"/>
  460. </Layout>
  461. </Layouts>
  462. </Div>
  463. <Static id="caption5" text="~" class="search_no_b" position="absolute 190 59 202 76"/>
  464. <Shape id="line6" class="line_10" position="absolute 0 110 1194 114" anchor="left top right"/>
  465. </Layout>
  466. </Layouts>
  467. <Objects>
  468. <Dataset id="ds_init_cmb_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  469. <ColumnInfo>
  470. <Column id="depthngnm" type="STRING"/>
  471. <Column id="deptcd" type="STRING"/>
  472. </ColumnInfo>
  473. </Dataset>
  474. <Dataset id="ds_init_cmb_orddr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  475. <ColumnInfo>
  476. <Column id="usernm" type="STRING"/>
  477. <Column id="userid" type="STRING"/>
  478. </ColumnInfo>
  479. </Dataset>
  480. <Dataset id="ds_grd_lglydisrepttrgtmaninfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  481. <ColumnInfo>
  482. <Column id="select" type="STRING" size="256" sumtext="select"/>
  483. <Column id="reptdt" type="STRING" size="256" sumtext="출력일자"/>
  484. <Column id="reptstat" type="STRING" size="256" sumtext="상태"/>
  485. <Column id="reptdtnm" type="STRING" size="256" sumtext="출력상태"/>
  486. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  487. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  488. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  489. <Column id="sex1" type="STRING" size="256" sumtext="성별"/>
  490. <Column id="sex2" type="STRING" size="256" sumtext="성별"/>
  491. <Column id="rrgstno1" type="STRING" size="256" sumtext="성별"/>
  492. <Column id="rrgstno2" type="STRING" size="256" sumtext="성별"/>
  493. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  494. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  495. <Column id="deptcd" type="STRING" size="256" sumtext="임상과코드"/>
  496. <Column id="deptnm" type="STRING" size="256" sumtext="임상과이름"/>
  497. <Column id="specdr" type="STRING" size="256" sumtext="특진의"/>
  498. <Column id="orddr" type="STRING" size="256" sumtext="진료의"/>
  499. <Column id="licnsno" type="STRING" size="256" sumtext="진료의 면허번호"/>
  500. <Column id="lglydiscd" type="STRING" size="256" sumtext="법정전염병코드"/>
  501. <Column id="lglydisnm" type="STRING" size="256" sumtext="법정전염병명"/>
  502. <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
  503. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  504. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  505. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  506. <Column id="wrtedt" type="STRING" size="256" sumtext="작성일자"/>
  507. <Column id="seqno" type="STRING" size="256" sumtext="법정일련번호"/>
  508. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  509. <Column id="iseqno" type="STRING" size="256" sumtext="입원seqno"/>
  510. <Column id="upwrtedt" type="STRING" size="256" sumtext="작성일시"/>
  511. <Column id="jobcd" type="STRING" size="256" sumtext="직업코드"/>
  512. <Column id="jobnm" type="STRING" size="256" sumtext="직업코드"/>
  513. <!-- 공통 -->
  514. <Column id="reptyear" type="STRING" size="256" sumtext="보고일"/>
  515. <Column id="reptmonth" type="STRING" size="256" sumtext="년"/>
  516. <Column id="reptday" type="STRING" size="256" sumtext="월"/>
  517. <Column id="diagdd" type="STRING" size="256" sumtext="진단일"/>
  518. <Column id="diagyear" type="STRING" size="256" sumtext="년"/>
  519. <Column id="diagmonth" type="STRING" size="256" sumtext="월"/>
  520. <Column id="diagday" type="STRING" size="256" sumtext="일"/>
  521. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  522. <Column id="brthyear" type="STRING" size="256" sumtext="년"/>
  523. <Column id="brthmonth" type="STRING" size="256" sumtext="월"/>
  524. <Column id="brthday" type="STRING" size="256" sumtext="일"/>
  525. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  526. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞"/>
  527. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤"/>
  528. <Column id="patflag1" type="STRING" size="256" sumtext="환자구분"/>
  529. <Column id="patflag2" type="STRING" size="256" sumtext="환자구분"/>
  530. <Column id="patflag3" type="STRING" size="256" sumtext="환자구분"/>
  531. <Column id="procernm" type="STRING" size="256" sumtext="보호자성명"/>
  532. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호"/>
  533. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호"/>
  534. <Column id="hometel" type="STRING" size="256" sumtext="전화번호"/>
  535. <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰번호"/>
  536. <Column id="detladdr" type="STRING" size="256" sumtext="주소"/>
  537. <Column id="specdrlicnsno" type="STRING" size="256" sumtext="특진의 면허번호"/>
  538. <Column id="hospnm" type="STRING" size="256" sumtext="병원명"/>
  539. <Column id="reprtel1" type="STRING" size="256" sumtext="전화?호"/>
  540. <Column id="hosaddr1" type="STRING" size="256" sumtext="병원주소"/>
  541. <Column id="hosaddr2" type="STRING" size="256" sumtext="병원주소"/>
  542. <Column id="hoszipcd" type="STRING" size="256" sumtext="병원주소"/>
  543. <Column id="proccorpcd" type="STRING" size="256" sumtext="요양기관번호"/>
  544. <Column id="shthospnm" type="STRING" size="256" sumtext="요양기관번호"/>
  545. <Column id="reprfaxno" type="STRING" size="256" sumtext="요양기관번호"/>
  546. <Column id="etcdetlnm" type="STRING" size="256" sumtext="감염관리실 담당자"/>
  547. <Column id="etcdeptnm" type="STRING" size="256" sumtext="법정전염병신고담당부서"/>
  548. <Column id="attackdd" type="STRING" size="256" sumtext="발병일자"/>
  549. <Column id="etcnts1" type="STRING" size="256" sumtext="질환명"/>
  550. <Column id="etcnts2" type="STRING" size="256" sumtext="질환명"/>
  551. <Column id="etcnts3" type="STRING" size="256" sumtext="질환명"/>
  552. <Column id="cnclyn" type="STRING" size="256" sumtext="삭제여부(20091113 JJE 추가)"/>
  553. <Column id="state" type="STRING" size="256" sumtext="상태(20091113 JJE 추가)"/>
  554. <Column id="psnflag" type="STRING" size="256" sumtext="IO구분(20091113 JJE 추가)"/>
  555. <Column id="reptflag" type="STRING" size="256" sumtext="신고서종류(20091113 JJE 추가)"/>
  556. <!-- 법정전염병 -->
  557. <Column id="residncflag" type="STRING" size="256" sumtext="거주지불명"/>
  558. <Column id="idflag" type="STRING" size="256" sumtext="신원미상"/>
  559. <Column id="tlglydiscd101" type="STRING" size="256" sumtext="전염병명"/>
  560. <Column id="tlglydiscd102" type="STRING" size="256" sumtext="전염병명"/>
  561. <Column id="tlglydiscd103" type="STRING" size="256" sumtext="전염병명"/>
  562. <Column id="tlglydiscd104" type="STRING" size="256" sumtext="전염병명"/>
  563. <Column id="tlglydiscd105" type="STRING" size="256" sumtext="전염병명"/>
  564. <Column id="tlglydiscd106" type="STRING" size="256" sumtext="전염병명"/>
  565. <Column id="tlglydiscd107" type="STRING" size="256" sumtext="전염병명"/>
  566. <Column id="tlglydiscd201" type="STRING" size="256" sumtext="전염병명"/>
  567. <Column id="tlglydiscd202" type="STRING" size="256" sumtext="전염병명"/>
  568. <Column id="tlglydiscd203" type="STRING" size="256" sumtext="전염병명"/>
  569. <Column id="tlglydiscd204" type="STRING" size="256" sumtext="전염병명"/>
  570. <Column id="tlglydiscd205" type="STRING" size="256" sumtext="전염병명"/>
  571. <Column id="tlglydiscd206" type="STRING" size="256" sumtext="전염병명"/>
  572. <Column id="tlglydiscd207" type="STRING" size="256" sumtext="전염병명"/>
  573. <Column id="tlglydiscd208" type="STRING" size="256" sumtext="전염병명"/>
  574. <Column id="tlglydiscd209" type="STRING" size="256" sumtext="전염병명"/>
  575. <Column id="tlglydiscd210" type="STRING" size="256" sumtext="전염병명"/>
  576. <Column id="tlglydiscd211" type="STRING" size="256" sumtext="전염병명"/>
  577. <Column id="tlglydiscd212" type="STRING" size="256" sumtext="전염병명"/>
  578. <Column id="tlglydiscd301" type="STRING" size="256" sumtext="전염병명"/>
  579. <Column id="tlglydiscd302" type="STRING" size="256" sumtext="전염병명"/>
  580. <Column id="tlglydiscd303" type="STRING" size="256" sumtext="전염병명"/>
  581. <Column id="tlglydiscd304" type="STRING" size="256" sumtext="전염병명"/>
  582. <Column id="tlglydiscd305" type="STRING" size="256" sumtext="전염병명"/>
  583. <Column id="tlglydiscd306" type="STRING" size="256" sumtext="전염병명"/>
  584. <Column id="tlglydiscd307" type="STRING" size="256" sumtext="전염병명"/>
  585. <Column id="tlglydiscd308" type="STRING" size="256" sumtext="전염병명"/>
  586. <Column id="tlglydiscd309" type="STRING" size="256" sumtext="전염병명"/>
  587. <Column id="tlglydiscd310" type="STRING" size="256" sumtext="전염병명"/>
  588. <Column id="tlglydiscd311" type="STRING" size="256" sumtext="전염병명"/>
  589. <Column id="tlglydiscd312" type="STRING" size="256" sumtext="전염병명"/>
  590. <Column id="tlglydiscd313" type="STRING" size="256" sumtext="전염병명"/>
  591. <Column id="tlglydiscd314" type="STRING" size="256" sumtext="전염병명"/>
  592. <Column id="tlglydiscd315" type="STRING" size="256" sumtext="전염병명"/>
  593. <Column id="tlglydiscd316" type="STRING" size="256" sumtext="전염병명"/>
  594. <Column id="tlglydiscd317" type="STRING" size="256" sumtext="전염병명"/>
  595. <Column id="tlglydiscd318" type="STRING" size="256" sumtext="전염병명"/>
  596. <Column id="tlglydiscd319" type="STRING" size="256" sumtext="전염병명"/>
  597. <Column id="tlglydiscd320" type="STRING" size="256" sumtext="전염병명"/>
  598. <Column id="tlglydiscd321" type="STRING" size="256" sumtext="전염병명"/>
  599. <Column id="tlglydiscd401" type="STRING" size="256" sumtext="전염병명"/>
  600. <Column id="tlglydiscd402" type="STRING" size="256" sumtext="전염병명"/>
  601. <Column id="tlglydiscd403" type="STRING" size="256" sumtext="전염병명"/>
  602. <Column id="tlglydiscd404" type="STRING" size="256" sumtext="전염병명"/>
  603. <Column id="tlglydiscd405" type="STRING" size="256" sumtext="전염병명"/>
  604. <Column id="tlglydiscd406" type="STRING" size="256" sumtext="전염병명"/>
  605. <Column id="tlglydiscd407" type="STRING" size="256" sumtext="전염병명"/>
  606. <Column id="tlglydiscd408" type="STRING" size="256" sumtext="전염병명"/>
  607. <Column id="tlglydiscd409" type="STRING" size="256" sumtext="전염병명"/>
  608. <Column id="tlglydiscd410" type="STRING" size="256" sumtext="전염병명"/>
  609. <Column id="tlglydiscd411" type="STRING" size="256" sumtext="전염병명"/>
  610. <Column id="tlglydiscd412" type="STRING" size="256" sumtext="전염병명"/>
  611. <Column id="tlglydiscd413" type="STRING" size="256" sumtext="전염병명"/>
  612. <Column id="tlglydiscd414" type="STRING" size="256" sumtext="전염병명"/>
  613. <Column id="tlglydiscd415" type="STRING" size="256" sumtext="전염병명"/>
  614. <Column id="tlglydiscd416" type="STRING" size="256" sumtext="전염병명"/>
  615. <Column id="tlglydiscd417" type="STRING" size="256" sumtext="전염병명"/>
  616. <Column id="tlglydiscd418" type="STRING" size="256" sumtext="전염병명"/>
  617. <Column id="tlglydiscd419" type="STRING" size="256" sumtext="전염병명"/>
  618. <Column id="tlglydiscd420" type="STRING" size="256" sumtext="전염병명"/>
  619. <Column id="tlglydiscd421" type="STRING" size="256" sumtext="전염병명"/>
  620. <Column id="tlglydiscd422" type="STRING" size="256" sumtext="전염병명"/>
  621. <Column id="tlglydiscd423" type="STRING" size="256" sumtext="전염병명"/>
  622. <Column id="tlglydiscd424" type="STRING" size="256" sumtext="전염병명"/>
  623. <Column id="tlglydiscd425" type="STRING" size="256" sumtext="전염병명"/>
  624. <Column id="tlglydiscd426" type="STRING" size="256" sumtext="전염병명"/>
  625. <Column id="tlglydiscd499" type="STRING" size="256" sumtext="전염병명"/>
  626. <Column id="tlglydiscd502" type="STRING" size="256" sumtext="전염병명"/>
  627. <Column id="tlglydiscd503" type="STRING" size="256" sumtext="전염병명"/>
  628. <Column id="tlglydiscd504" type="STRING" size="256" sumtext="전염병명"/>
  629. <Column id="tlglydiscd505" type="STRING" size="256" sumtext="전염병명"/>
  630. <Column id="tlglydiscd506" type="STRING" size="256" sumtext="전염병명"/>
  631. <Column id="tlglydiscd507" type="STRING" size="256"/>
  632. <Column id="tlglydiscd508" type="STRING" size="256"/>
  633. <Column id="tlglydiscd509" type="STRING" size="256"/>
  634. <Column id="symp" type="STRING" size="256" sumtext="신종전염병증후군(증상 및 징후)"/>
  635. <Column id="tlglydiscd999" type="STRING" size="256" sumtext="전염병명(지정)"/>
  636. <Column id="diagnm" type="STRING" size="256" sumtext="지정명"/>
  637. <Column id="attackyear" type="STRING" size="256" sumtext="발병일"/>
  638. <Column id="attackmonth" type="STRING" size="256" sumtext="발병일"/>
  639. <Column id="attackday" type="STRING" size="256" sumtext="발병일"/>
  640. <Column id="cnfsnwtstrslt1" type="STRING" size="256" sumtext="확진검사결과"/>
  641. <Column id="cnfsnwtstrslt2" type="STRING" size="256" sumtext="확진검사결과"/>
  642. <Column id="cnfsnwtstrslt3" type="STRING" size="256" sumtext="확진검사결과"/>
  643. <Column id="cnfsnwtstrslt9" type="STRING" size="256" sumtext="확진검사결과"/>
  644. <Column id="dethn" type="STRING" size="256" sumtext="사망여부"/>
  645. <Column id="dethy" type="STRING" size="256" sumtext="사망여부"/>
  646. <Column id="estminfcpath1" type="STRING" size="256" sumtext="추정감염경로"/>
  647. <Column id="estminfcpath2" type="STRING" size="256" sumtext="추정감염경로"/>
  648. <Column id="estminfcpath3" type="STRING" size="256" sumtext="추정감염경로"/>
  649. <Column id="estminfcpath4" type="STRING" size="256" sumtext="추정감염경로"/>
  650. <Column id="estminfcareacdh" type="STRING" size="256" sumtext="추정감염지역"/>
  651. <Column id="estminfcareacdo" type="STRING" size="256" sumtext="추정감염지역"/>
  652. <Column id="estminfcareanaticd" type="STRING" size="256" sumtext="국명"/>
  653. <Column id="stayterm" type="STRING" size="256" sumtext="체류기간(개월)"/>
  654. <Column id="staytermday" type="STRING" size="256" sumtext="체류기간(일)"/>
  655. <Column id="chngreptkind1" type="STRING" size="256" sumtext="변경신고"/>
  656. <Column id="chngreptkind2" type="STRING" size="256" sumtext="변경신고"/>
  657. <Column id="chngreptkind3" type="STRING" size="256" sumtext="변경신고"/>
  658. <Column id="chngreptkind4" type="STRING" size="256" sumtext="변경신고"/>
  659. <Column id="updtreptcnts" type="STRING" size="256" sumtext="주소변경"/>
  660. <!-- 결핵 -->
  661. <Column id="naticd" type="STRING" size="256" sumtext="국적코드"/>
  662. <Column id="ecntryear" type="STRING" size="256" sumtext="입국일자"/>
  663. <Column id="ecntrymonth" type="STRING" size="256" sumtext="입국일자"/>
  664. <Column id="ecntryday" type="STRING" size="256" sumtext="입국일자"/>
  665. <Column id="residncflag" type="STRING" size="256" sumtext="거주지불명"/>
  666. <Column id="pastcureflagy" type="STRING" size="256" sumtext="과거치료력"/>
  667. <Column id="pastcureflagn" type="STRING" size="256" sumtext="과거치료력"/>
  668. <Column id="cureterm1" type="STRING" size="256" sumtext="치료기간"/>
  669. <Column id="cureterm2" type="STRING" size="256" sumtext="치료기간"/>
  670. <Column id="pastcurecnt1" type="STRING" size="256" sumtext="과거 결핵치료횟수"/>
  671. <Column id="pastcurecnt2" type="STRING" size="256" sumtext="과거 결핵치료횟수"/>
  672. <Column id="bisiziflagy" type="STRING" size="256" sumtext="비시지반흔"/>
  673. <Column id="bisiziflagn" type="STRING" size="256" sumtext="비시지반흔"/>
  674. <Column id="bisiziinocmthd1" type="STRING" size="256" sumtext="비시지접종법"/>
  675. <Column id="bisiziinocmthd2" type="STRING" size="256" sumtext="비시지접종법"/>
  676. <Column id="bisiziinocmthd3" type="STRING" size="256" sumtext="비시지접종법"/>
  677. <Column id="sputumdm1" type="STRING" size="256" sumtext="객담도말검사"/>
  678. <Column id="sputumdm2" type="STRING" size="256" sumtext="객담도말검사"/>
  679. <Column id="sputumdm3" type="STRING" size="256" sumtext="객담도말검사"/>
  680. <Column id="sputumdm4" type="STRING" size="256" sumtext="객담도말검사"/>
  681. <Column id="sputumdm5" type="STRING" size="256" sumtext="객담도말검사"/>
  682. <Column id="sputumby1" type="STRING" size="256" sumtext="객담배양검사"/>
  683. <Column id="sputumby2" type="STRING" size="256" sumtext="객담배양검사"/>
  684. <Column id="sputumby3" type="STRING" size="256" sumtext="객담배양검사"/>
  685. <Column id="sputumby4" type="STRING" size="256" sumtext="객담배양검사"/>
  686. <Column id="sputumby5" type="STRING" size="256" sumtext="객담배양검사"/>
  687. <Column id="sputumodm1" type="STRING" size="256" sumtext="도말검사"/>
  688. <Column id="sputumodm2" type="STRING" size="256" sumtext="도말검사"/>
  689. <Column id="sputumodm3" type="STRING" size="256" sumtext="도말검사"/>
  690. <Column id="sputumodm4" type="STRING" size="256" sumtext="도말검사"/>
  691. <Column id="sputumodm5" type="STRING" size="256" sumtext="도말검사"/>
  692. <Column id="sputumoby1" type="STRING" size="256" sumtext="배양검사"/>
  693. <Column id="sputumoby2" type="STRING" size="256" sumtext="배양검사"/>
  694. <Column id="sputumoby3" type="STRING" size="256" sumtext="배양검사"/>
  695. <Column id="sputumoby4" type="STRING" size="256" sumtext="배양검사"/>
  696. <Column id="sputumoby5" type="STRING" size="256" sumtext="배양검사"/>
  697. <Column id="tisstestlag1" type="STRING" size="256" sumtext="조직검사"/>
  698. <Column id="tisstestlag2" type="STRING" size="256" sumtext="조직검사"/>
  699. <Column id="tisstestlag3" type="STRING" size="256" sumtext="조직검사"/>
  700. <Column id="tisstestlag4" type="STRING" size="256" sumtext="조직검사"/>
  701. <Column id="tisstestlag5" type="STRING" size="256" sumtext="조직검사"/>
  702. <Column id="etctestflag1" type="STRING" size="256" sumtext="TB-PCR검사"/>
  703. <Column id="etctestflag2" type="STRING" size="256" sumtext="TB-PCR검사"/>
  704. <Column id="etctestflag3" type="STRING" size="256" sumtext="TB-PCR검사"/>
  705. <Column id="etctestflag4" type="STRING" size="256" sumtext="TB-PCR검사"/>
  706. <Column id="etctestflag5" type="STRING" size="256" sumtext="TB-PCR검사"/>
  707. <Column id="rayrsltflag1" type="STRING" size="256" sumtext="흉부X선"/>
  708. <Column id="rayrsltflag2" type="STRING" size="256" sumtext="흉부X선"/>
  709. <Column id="rayrsltflag3" type="STRING" size="256" sumtext="흉부X선"/>
  710. <Column id="rayrsltflag4" type="STRING" size="256" sumtext="흉부X선"/>
  711. <Column id="rayrsltflag5" type="STRING" size="256" sumtext="흉부X선"/>
  712. <Column id="tooberrsltsize1" type="STRING" size="256" sumtext="병명"/>
  713. <Column id="solidsize" type="STRING" size="256" sumtext="병명"/>
  714. <Column id="tooberrsltsize9" type="STRING" size="256" sumtext="병명"/>
  715. <Column id="diagcd" type="STRING" size="256" sumtext="병명"/>
  716. <Column id="tpatflag1" type="STRING" size="256" sumtext="환자구분"/>
  717. <Column id="tpatflag2" type="STRING" size="256" sumtext="환자구분"/>
  718. <Column id="tpatflag3" type="STRING" size="256" sumtext="환자구분"/>
  719. <Column id="tpatflag4" type="STRING" size="256" sumtext="환자구분"/>
  720. <Column id="tpatflag5" type="STRING" size="256" sumtext="환자구분"/>
  721. <Column id="tpatflag6" type="STRING" size="256" sumtext="환자구분"/>
  722. <Column id="tpatflag9" type="STRING" size="256" sumtext="환자구분"/>
  723. <Column id="curefyear" type="STRING" size="256" sumtext="치료시작일"/>
  724. <Column id="curefmonth" type="STRING" size="256" sumtext="치료시작일"/>
  725. <Column id="curefday" type="STRING" size="256" sumtext="치료시작일"/>
  726. <Column id="curetyear" type="STRING" size="256" sumtext="치료종결일"/>
  727. <Column id="curetmonth" type="STRING" size="256" sumtext="치료종결일"/>
  728. <Column id="curetday" type="STRING" size="256" sumtext="치료종결일"/>
  729. <Column id="curersltflag01" type="STRING" size="256" sumtext="치료결과"/>
  730. <Column id="curersltflag02" type="STRING" size="256" sumtext="치료결과"/>
  731. <Column id="curersltflag03" type="STRING" size="256" sumtext="치료결과"/>
  732. <Column id="curersltflag04" type="STRING" size="256" sumtext="치료결과"/>
  733. <Column id="curersltflag05" type="STRING" size="256" sumtext="치료결과"/>
  734. <Column id="curersltflag06" type="STRING" size="256" sumtext="치료결과"/>
  735. <Column id="curersltflag07" type="STRING" size="256" sumtext="치료결과"/>
  736. <Column id="curersltflag08" type="STRING" size="256" sumtext="치료결과"/>
  737. <Column id="curersltflag99" type="STRING" size="256" sumtext="치료결과"/>
  738. <Column id="curedrugcd01" type="STRING" size="256" sumtext="약코드"/>
  739. <Column id="curedrugcd02" type="STRING" size="256" sumtext="약코드"/>
  740. <Column id="curedrugcd03" type="STRING" size="256" sumtext="약코드"/>
  741. <Column id="curedrugcd04" type="STRING" size="256" sumtext="약코드"/>
  742. <Column id="curedrugcd05" type="STRING" size="256" sumtext="약코드"/>
  743. <Column id="curedrugcd06" type="STRING" size="256" sumtext="약코드"/>
  744. <Column id="curedrugcd07" type="STRING" size="256" sumtext="약코드"/>
  745. <Column id="curedrugcd08" type="STRING" size="256" sumtext="약코드"/>
  746. <Column id="curedrugcd09" type="STRING" size="256" sumtext="약코드"/>
  747. <Column id="curedrugcd10" type="STRING" size="256" sumtext="약코드"/>
  748. <Column id="curedrugcd11" type="STRING" size="256" sumtext="약코드"/>
  749. <Column id="curedrugcd12" type="STRING" size="256" sumtext="약코드"/>
  750. <Column id="curedrugcd13" type="STRING" size="256" sumtext="약코드"/>
  751. <Column id="curedrugcd14" type="STRING" size="256" sumtext="약코드"/>
  752. <Column id="curedrugcd15" type="STRING" size="256" sumtext="약코드"/>
  753. <Column id="curedrugcd16" type="STRING" size="256" sumtext="약코드"/>
  754. <Column id="etccnts" type="STRING" size="256" sumtext="약코드"/>
  755. <Column id="tmpcol11" type="STRING" size="256" sumtext="IGRA검사"/>
  756. <Column id="tmpcol21" type="STRING" size="256" sumtext="IGRA검사"/>
  757. <Column id="tmpcol12" type="STRING" size="256" sumtext="IGRA검사"/>
  758. <Column id="tmpcol22" type="STRING" size="256" sumtext="IGRA검사"/>
  759. <Column id="tmpcol13" type="STRING" size="256" sumtext="IGRA검사"/>
  760. <Column id="tmpcol23" type="STRING" size="256" sumtext="IGRA검사"/>
  761. <Column id="tmpcol14" type="STRING" size="256" sumtext="IGRA검사"/>
  762. <Column id="tmpcol31" type="STRING" size="256" sumtext="질병구분"/>
  763. <Column id="tmpcol32" type="STRING" size="256" sumtext="질병구분"/>
  764. <Column id="rayrsltdd" type="STRING" size="256" sumtext="흉부X선 검사일자"/>
  765. <Column id="sputumdmdd" type="STRING" size="256" sumtext="도말검사일자"/>
  766. <Column id="sputumbydd" type="STRING" size="256" sumtext="배양검사일자"/>
  767. <Column id="etctestflagdd" type="STRING" size="256" sumtext="TB-PCR검사일자"/>
  768. <Column id="tisstestlagdd" type="STRING" size="256" sumtext="조직검사일자"/>
  769. <Column id="rayrsltkind" type="STRING" size="256" sumtext="흉부X선 검사 검체종류"/>
  770. <Column id="sputumdmkind" type="STRING" size="256" sumtext="도말검사 검체종류"/>
  771. <Column id="sputumbykind" type="STRING" size="256" sumtext="배양검사 검체종류"/>
  772. <Column id="etctestflagkind" type="STRING" size="256" sumtext="TB-PCR검사 검체종류"/>
  773. <Column id="tisstestlagkind" type="STRING" size="256" sumtext="조직검사 검체종류"/>
  774. <!-- 간염 -->
  775. <Column id="lglydiscd1" type="STRING" size="256" sumtext="질환명"/>
  776. <Column id="lglydiscd2" type="STRING" size="256" sumtext="질환명"/>
  777. <Column id="lglydiscd3" type="STRING" size="256" sumtext="질환명"/>
  778. <Column id="lglydiscd4" type="STRING" size="256" sumtext="질환명"/>
  779. <Column id="lglydiscd5" type="STRING" size="256" sumtext="질환명"/>
  780. <Column id="preinochstflags" type="STRING" size="256" sumtext="예방접종내력"/>
  781. <Column id="preinochstflagf" type="STRING" size="256" sumtext="예방접종내력"/>
  782. <Column id="preinochstflagn" type="STRING" size="256" sumtext="예방접종내력"/>
  783. <Column id="preinochstflagk" type="STRING" size="256" sumtext="예방접종내력"/>
  784. <!-- 선청성매독 -->
  785. <Column id="diagmthd01" type="STRING" size="256" sumtext="진단방법"/>
  786. <Column id="diagmthd02" type="STRING" size="256" sumtext="진단방법"/>
  787. <Column id="diagmthd03" type="STRING" size="256" sumtext="진단방법"/>
  788. <Column id="diagmthd04" type="STRING" size="256" sumtext="진단방법"/>
  789. <Column id="diagmthd05" type="STRING" size="256" sumtext="진단방법"/>
  790. <Column id="diagmthd06" type="STRING" size="256" sumtext="진단방법"/>
  791. <Column id="diagmthd99" type="STRING" size="256" sumtext="진단방법"/>
  792. <!-- 성병 -->
  793. <Column id="slglydiscd01" type="STRING" size="256" sumtext="질환명"/>
  794. <Column id="slglydiscd02" type="STRING" size="256" sumtext="질환명"/>
  795. <Column id="slglydiscd03" type="STRING" size="256" sumtext="질환명"/>
  796. <Column id="slglydiscd04" type="STRING" size="256" sumtext="질환명"/>
  797. <Column id="slglydiscd05" type="STRING" size="256" sumtext="질환명"/>
  798. <Column id="slglydiscd06" type="STRING" size="256" sumtext="질환명"/>
  799. <Column id="slglydiscd07" type="STRING" size="256" sumtext="질환명"/>
  800. <Column id="slglydiscd08" type="STRING" size="256" sumtext="질환명"/>
  801. <Column id="slglydiscd09" type="STRING" size="256" sumtext="질환명"/>
  802. <Column id="slglydiscd10" type="STRING" size="256" sumtext="질환명"/>
  803. <Column id="slglydiscd11" type="STRING" size="256" sumtext="질환명"/>
  804. <Column id="slglydiscd12" type="STRING" size="256" sumtext="질환명"/>
  805. <Column id="uniqgenetic" type="STRING" size="256" sumtext="질환명"/>
  806. <!-- 크로이츠펠트-야콥병 -->
  807. <Column id="patflag21" type="STRING" size="256" sumtext="질환명"/>
  808. <Column id="patflag22" type="STRING" size="256" sumtext="질환명"/>
  809. <Column id="dethflag01" type="STRING" size="256" sumtext="질환명"/>
  810. <Column id="dethflag02" type="STRING" size="256" sumtext="질환명"/>
  811. <Column id="dethflag03" type="STRING" size="256" sumtext="질환명"/>
  812. <Column id="dethflag04" type="STRING" size="256" sumtext="질환명"/>
  813. <Column id="lglykindcd01" type="STRING" size="256" sumtext="질환명"/>
  814. <Column id="lglykindcd02" type="STRING" size="256" sumtext="질환명"/>
  815. <Column id="lglykindcd03" type="STRING" size="256" sumtext="질환명"/>
  816. <Column id="lglykindcd04" type="STRING" size="256" sumtext="질환명"/>
  817. <Column id="lglykindcd05" type="STRING" size="256" sumtext="질환명"/>
  818. <Column id="tisstestlagy" type="STRING" size="256" sumtext="질환명"/>
  819. <Column id="tisstestlagn" type="STRING" size="256" sumtext="질환명"/>
  820. <Column id="testpartcd01" type="STRING" size="256" sumtext="질환명"/>
  821. <Column id="testpartcd02" type="STRING" size="256" sumtext="질환명"/>
  822. <Column id="testpartcd99" type="STRING" size="256" sumtext="질환명"/>
  823. <Column id="testmthdcd01" type="STRING" size="256" sumtext="질환명"/>
  824. <Column id="testmthdcd02" type="STRING" size="256" sumtext="질환명"/>
  825. <Column id="plaqflagcd01" type="STRING" size="256" sumtext="질환명"/>
  826. <Column id="plaqflagcd02" type="STRING" size="256" sumtext="질환명"/>
  827. <Column id="brwavetestflagy" type="STRING" size="256" sumtext="질환명"/>
  828. <Column id="brwavetestflagn" type="STRING" size="256" sumtext="질환명"/>
  829. <Column id="raytestflagy" type="STRING" size="256" sumtext="질환명"/>
  830. <Column id="raytestflagn" type="STRING" size="256" sumtext="질환명"/>
  831. <Column id="crbrfldtestflagy" type="STRING" size="256" sumtext="질환명"/>
  832. <Column id="crbrfldtestflagn" type="STRING" size="256" sumtext="질환명"/>
  833. <Column id="prnpagenetestflagy" type="STRING" size="256" sumtext="질환명"/>
  834. <Column id="prnpagenetestflagn" type="STRING" size="256" sumtext="질환명"/>
  835. <Column id="codonflag01" type="STRING" size="256" sumtext="질환명"/>
  836. <Column id="codonflag02" type="STRING" size="256" sumtext="질환명"/>
  837. <Column id="codonflag03" type="STRING" size="256" sumtext="질환명"/>
  838. <Column id="codonflag201" type="STRING" size="256" sumtext="질환명"/>
  839. <Column id="codonflag202" type="STRING" size="256" sumtext="질환명"/>
  840. <Column id="codonflag203" type="STRING" size="256" sumtext="질환명"/>
  841. <Column id="dngrcascd01" type="STRING" size="256" sumtext="질환명"/>
  842. <Column id="dngrcascd02" type="STRING" size="256" sumtext="질환명"/>
  843. <Column id="dngrcascd03" type="STRING" size="256" sumtext="질환명"/>
  844. <Column id="dngrcascd04" type="STRING" size="256" sumtext="질환명"/>
  845. <Column id="dngrcascd05" type="STRING" size="256" sumtext="질환명"/>
  846. <Column id="dngrcascd06" type="STRING" size="256" sumtext="질환명"/>
  847. <Column id="dngrcascd07" type="STRING" size="256" sumtext="질환명"/>
  848. <Column id="dngrcascd08" type="STRING" size="256" sumtext="질환명"/>
  849. <Column id="dngrcascd09" type="STRING" size="256" sumtext="질환명"/>
  850. <Column id="dngrcascd99" type="STRING" size="256" sumtext="질환명"/>
  851. <Column id="estminfcareacdh" type="STRING" size="256" sumtext="질환명"/>
  852. <Column id="estminfcareacdo" type="STRING" size="256" sumtext="질환명"/>
  853. <Column id="dethdd" type="STRING" size="256" sumtext="질환명"/>
  854. <Column id="testpartremcnts" type="STRING" size="256" sumtext="질환명"/>
  855. <Column id="brwavetestcnts" type="STRING" size="256" sumtext="질환명"/>
  856. <Column id="raytestcnts" type="STRING" size="256" sumtext="질환명"/>
  857. <Column id="crbrfldtestcnts" type="STRING" size="256" sumtext="질환명"/>
  858. <Column id="codonnm" type="STRING" size="256" sumtext="질환명"/>
  859. <Column id="codoncnts" type="STRING" size="256" sumtext="질환명"/>
  860. <Column id="lglydiscnts" type="STRING" size="256" sumtext="질환명"/>
  861. <Column id="dngrcasremcnts" type="STRING" size="256" sumtext="질환명"/>
  862. <Column id="ecntrytodd" type="STRING" size="256" sumtext="질환명"/>
  863. <Column id="ecntrydd" type="STRING" size="256" sumtext="질환명"/>
  864. <Column id="infcnts" type="STRING" size="256" sumtext="질환명"/>
  865. <Column id="stayterm" type="STRING" size="256" sumtext="체류기간(개월)"/>
  866. <Column id="staytermday" type="STRING" size="256" sumtext="체류기간(일)"/>
  867. <!-- 인플루엔자
  868. <column id="lglydiscd1" ref="lglydisrepttrgtmanlist.lglydiscd1" desc="질환명"/>
  869. <column id="lglydiscd2" ref="lglydisrepttrgtmanlist.lglydiscd2" desc="질환명"/>
  870. -->
  871. <Column id="preinochstflagy" type="STRING" size="256" sumtext="질환명"/>
  872. <Column id="preinochstflagn" type="STRING" size="256" sumtext="질환명"/>
  873. <Column id="preinochstflagk" type="STRING" size="256" sumtext="질환명"/>
  874. <!-- 산모B형간염 -->
  875. <Column id="preinochstflags" type="STRING" size="256" sumtext="질환명"/>
  876. <Column id="preinochstflagf" type="STRING" size="256" sumtext="질환명"/>
  877. <Column id="preinochstflagn" type="STRING" size="256" sumtext="질환명"/>
  878. <Column id="preinochstflagk" type="STRING" size="256" sumtext="질환명"/>
  879. <!-- HIV-AIDS -->
  880. <Column id="fstdiagdd" type="STRING" size="256" sumtext="질환명"/>
  881. <Column id="matrno" type="STRING" size="256" sumtext="질환명"/>
  882. <Column id="etctestflag01" type="STRING" size="256" sumtext="질환명"/>
  883. <Column id="etctestflag02" type="STRING" size="256" sumtext="질환명"/>
  884. <Column id="etctestflag03" type="STRING" size="256" sumtext="질환명"/>
  885. <Column id="testrslt1" type="STRING" size="256" sumtext="질환명"/>
  886. <Column id="testrslt2" type="STRING" size="256" sumtext="질환명"/>
  887. <Column id="cnfmtestinstcd01" type="STRING" size="256" sumtext="질환명"/>
  888. <Column id="cnfmtestinstcd02" type="STRING" size="256" sumtext="질환명"/>
  889. <Column id="cnfmtestinstnm" type="STRING" size="256" sumtext="질환명"/>
  890. <Column id="estminfcpath01" type="STRING" size="256" sumtext="질환명"/>
  891. <Column id="estminfcpath02" type="STRING" size="256" sumtext="질환명"/>
  892. <Column id="estminfcpath03" type="STRING" size="256" sumtext="질환명"/>
  893. <Column id="estminfcpath04" type="STRING" size="256" sumtext="질환명"/>
  894. <Column id="estminfcpath05" type="STRING" size="256" sumtext="질환명"/>
  895. <Column id="estminfcpath06" type="STRING" size="256" sumtext="질환명"/>
  896. <Column id="estminfcpath99" type="STRING" size="256" sumtext="질환명"/>
  897. <Column id="estminfcpathremcnts" type="STRING" size="256" sumtext="질환명"/>
  898. <Column id="dethyn" type="STRING" size="256" sumtext="질환명"/>
  899. <Column id="diagcd" type="STRING" size="256" sumtext="질환명"/>
  900. <Column id="diagnm" type="STRING" size="256" sumtext="질환명"/>
  901. <Column id="dethdd" type="STRING" size="256" sumtext="질환명"/>
  902. <Column id="relyn" type="STRING" size="256" sumtext="질환명"/>
  903. <Column id="symp01" type="STRING" size="256" sumtext="질환명"/>
  904. <Column id="symp02" type="STRING" size="256" sumtext="질환명"/>
  905. <Column id="symp03" type="STRING" size="256" sumtext="질환명"/>
  906. <Column id="symp04" type="STRING" size="256" sumtext="질환명"/>
  907. <Column id="symp05" type="STRING" size="256" sumtext="질환명"/>
  908. <Column id="symp06" type="STRING" size="256" sumtext="질환명"/>
  909. <Column id="symp07" type="STRING" size="256" sumtext="질환명"/>
  910. <Column id="symp08" type="STRING" size="256" sumtext="질환명"/>
  911. <Column id="symp09" type="STRING" size="256" sumtext="질환명"/>
  912. <Column id="symp10" type="STRING" size="256" sumtext="질환명"/>
  913. <Column id="symp11" type="STRING" size="256" sumtext="질환명"/>
  914. <Column id="symp12" type="STRING" size="256" sumtext="질환명"/>
  915. <Column id="symp13" type="STRING" size="256" sumtext="질환명"/>
  916. <Column id="symp14" type="STRING" size="256" sumtext="질환명"/>
  917. <Column id="symp15" type="STRING" size="256" sumtext="질환명"/>
  918. <Column id="symp16" type="STRING" size="256" sumtext="질환명"/>
  919. <Column id="symp17" type="STRING" size="256" sumtext="질환명"/>
  920. <Column id="symp18" type="STRING" size="256" sumtext="질환명"/>
  921. <Column id="symp19" type="STRING" size="256" sumtext="질환명"/>
  922. <Column id="symp20" type="STRING" size="256" sumtext="질환명"/>
  923. <Column id="symp21" type="STRING" size="256" sumtext="질환명"/>
  924. <Column id="symp22" type="STRING" size="256" sumtext="질환명"/>
  925. <Column id="symp23" type="STRING" size="256" sumtext="질환명"/>
  926. <Column id="symp24" type="STRING" size="256" sumtext="질환명"/>
  927. <Column id="symp99" type="STRING" size="256" sumtext="질환명"/>
  928. <Column id="sympremcnts" type="STRING" size="256" sumtext="질환명"/>
  929. <!-- 수족구병 추가 -->
  930. <Column id="mdiag" type="STRING" size="256" sumtext="주요진단"/>
  931. <Column id="sdiag" type="STRING" size="256" sumtext="동반진단"/>
  932. <Column id="sdiagetc" type="STRING" size="256" sumtext="동반진단기타"/>
  933. <Column id="symp" type="STRING" size="256" sumtext="주요증상"/>
  934. <Column id="sympetc" type="STRING" size="256" sumtext="주요증상기타"/>
  935. <Column id="testcnts" type="STRING" size="256" sumtext="뇌막염환자척수액소견"/>
  936. <Column id="estminfcpath1" type="STRING" size="256" sumtext="추정감염경로"/>
  937. <Column id="estminfcpath2" type="STRING" size="256" sumtext="추정감염경로"/>
  938. <Column id="estminfcpath3" type="STRING" size="256" sumtext="추정감염경로"/>
  939. <Column id="estminfcpath4" type="STRING" size="256" sumtext="추정감염경로"/>
  940. <Column id="estminfcareacdh" type="STRING" size="256" sumtext="추정감염지역"/>
  941. <Column id="estminfcareacdo" type="STRING" size="256" sumtext="추정감염지역"/>
  942. <Column id="estminfcareanaticd" type="STRING" size="256" sumtext="국명"/>
  943. <Column id="stayterm" type="STRING" size="256" sumtext="체류기간(개월)"/>
  944. <Column id="staytermday" type="STRING" size="256" sumtext="체류기간(일)"/>
  945. <Column id="tisstestlagy" type="STRING" size="256" sumtext="검체채취유무"/>
  946. <Column id="tisstestlagn" type="STRING" size="256" sumtext="검체채취유무"/>
  947. <Column id="tisstestdd" type="STRING" size="256" sumtext="검체채취일"/>
  948. <Column id="matrno" type="STRING" size="256" sumtext="가검물명"/>
  949. <Column id="matrnoetc" type="STRING" size="256" sumtext="가검물명기타"/>
  950. <Column id="usremail" type="STRING" size="256" sumtext="EMAIL"/>
  951. <Column id="ioflag" type="STRING" size="256" sumtext="ioflag"/>
  952. <!-- 결핵 사망시 추가 -->
  953. <Column id="dethcascd" type="STRING" size="256" sumtext="dethcascd"/>
  954. <Column id="dethdd" type="STRING" size="256" sumtext="dethdd"/>
  955. <Column id="dethresn" type="STRING" size="256" sumtext="dethresn"/>
  956. <Column id="dethreptstat" type="STRING" size="256" sumtext="사망신고상태"/>
  957. <Column id="anotheryn" type="STRING" size="256" sumtext="사망신고상태"/>
  958. <Column id="faclt" type="STRING" size="256"/>
  959. <Column id="facltaddr" type="STRING" size="256"/>
  960. <Column id="tbclkindcd" type="STRING" size="256"/>
  961. <Column id="cureenddd" type="STRING" size="256"/>
  962. <Column id="curersltflagdiag" type="STRING" size="256"/>
  963. <Column id="antutbclrslt" type="STRING" size="256"/>
  964. <Column id="antutbclrsltdetl" type="STRING" size="256"/>
  965. <Column id="antutbclrsltdetldesc" type="STRING" size="256"/>
  966. <Column id="antutbclmthd" type="STRING" size="256"/>
  967. <Column id="antutbclcd" type="STRING" size="256"/>
  968. <Column id="xpert" type="STRING" size="256"/>
  969. <Column id="xpertdd" type="STRING" size="256"/>
  970. <Column id="xpertkind" type="STRING" size="256"/>
  971. <Column id="curedrugcdtxt" type="STRING" size="256"/>
  972. <Column id="spcacptdt" type="STRING" size="256"/>
  973. <Column id="antutbcldrug" type="STRING" size="256"/>
  974. <Column id="antutbcldrugtxt" type="STRING" size="256"/>
  975. <Column id="tbclkindcd02" type="STRING" size="256"/>
  976. <Column id="tbclkindcd03" type="STRING" size="256"/>
  977. <Column id="clispeaoccurdate" type="STRING" size="256"/>
  978. <Column id="clispeagatherdate" type="STRING" size="256"/>
  979. <Column id="clispeaname" type="STRING" size="256"/>
  980. <Column id="clispeagathercount" type="STRING" size="256"/>
  981. <Column id="clispeaopinion" type="STRING" size="256"/>
  982. <Column id="clamprsdnm" type="STRING" size="256"/>
  983. <Column id="clispebtype" type="STRING" size="256"/>
  984. <Column id="clispebtypeetc" type="STRING" size="256"/>
  985. <Column id="clispebtravel" type="STRING" size="256"/>
  986. <Column id="clispebsymptom" type="STRING" size="256"/>
  987. <Column id="clispebsymptometc" type="STRING" size="256"/>
  988. <Column id="clispebcontact" type="STRING" size="256"/>
  989. <Column id="clispebcontactetc" type="STRING" size="256"/>
  990. <Column id="clispebcontactafter" type="STRING" size="256"/>
  991. <Column id="clispecpregnancy" type="STRING" size="256"/>
  992. <Column id="clispecpregnancyweek" type="STRING" size="256"/>
  993. <Column id="clispectravelperiodstart" type="STRING" size="256"/>
  994. <Column id="clispectravelperiodend" type="STRING" size="256"/>
  995. <Column id="clispecvaccine" type="STRING" size="256"/>
  996. <Column id="tpatflag7" type="STRING" size="256" sumtext="환자구분"/>
  997. <Column id="tpatflag8" type="STRING" size="256" sumtext="환자구분"/>
  998. <Column id="clispealglyetcdisnm" type="STRING" size="256" sumtext="검체시험의뢰서 감염병명 기타"/>
  999. <Column id="clispealglytest" type="STRING" size="256" sumtext="검체시험의뢰서 시험항목"/>
  1000. <Column id="tlglydiscd108" type="STRING" size="256"/>
  1001. <Column id="tlglydiscd109" type="STRING" size="256"/>
  1002. <Column id="tlglydiscd110" type="STRING" size="256"/>
  1003. <Column id="tlglydiscd111" type="STRING" size="256"/>
  1004. <Column id="tlglydiscd112" type="STRING" size="256"/>
  1005. <Column id="tlglydiscd113" type="STRING" size="256"/>
  1006. <Column id="tlglydiscd213" type="STRING" size="256"/>
  1007. <Column id="tlglydiscd214" type="STRING" size="256"/>
  1008. <Column id="tlglydiscd323" type="STRING" size="256"/>
  1009. </ColumnInfo>
  1010. <Rows>
  1011. <Row/>
  1012. </Rows>
  1013. </Dataset>
  1014. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1015. <ColumnInfo>
  1016. <Column id="trgtmankind" type="STRING" size="256"/>
  1017. <Column id="reptstat" type="STRING" size="256"/>
  1018. <Column id="fromdd" type="STRING" size="256"/>
  1019. <Column id="todd" type="STRING" size="256"/>
  1020. <Column id="orddept" type="STRING" size="256"/>
  1021. <Column id="orddr" type="STRING" size="256"/>
  1022. <Column id="instcd" type="STRING" size="256"/>
  1023. <Column id="delyn" type="STRING" size="256"/>
  1024. <Column id="pid" type="STRING" size="256"/>
  1025. <Column id="hngnm" type="STRING" size="256"/>
  1026. <Column id="orddrid" type="STRING" size="256"/>
  1027. <Column id="slglydiscd" type="STRING" size="256"/>
  1028. <Column id="name" type="STRING" size="256"/>
  1029. <Column id="wrtedt" type="STRING" size="256"/>
  1030. <Column id="seqno" type="STRING" size="256"/>
  1031. <Column id="trgtmankind02flag" type="STRING" size="256"/>
  1032. </ColumnInfo>
  1033. <Rows>
  1034. <Row>
  1035. <Col id="trgtmankind">00</Col>
  1036. <Col id="reptstat">M</Col>
  1037. <Col id="delyn">N</Col>
  1038. </Row>
  1039. </Rows>
  1040. </Dataset>
  1041. <Dataset id="ds_main_sortcond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1042. <ColumnInfo>
  1043. <Column id="sort1" type="STRING" size="256"/>
  1044. <Column id="cond1" type="STRING" size="256"/>
  1045. <Column id="cond2" type="STRING" size="256"/>
  1046. <Column id="sort2" type="STRING" size="256"/>
  1047. <Column id="cond3" type="STRING" size="256"/>
  1048. <Column id="cond4" type="STRING" size="256"/>
  1049. <Column id="sort3" type="STRING" size="256"/>
  1050. <Column id="cond5" type="STRING" size="256"/>
  1051. <Column id="cond6" type="STRING" size="256"/>
  1052. <Column id="sort4" type="STRING" size="256"/>
  1053. <Column id="cond7" type="STRING" size="256"/>
  1054. <Column id="cond8" type="STRING" size="256"/>
  1055. <Column id="sort5" type="STRING" size="256"/>
  1056. <Column id="cond9" type="STRING" size="256"/>
  1057. <Column id="cond10" type="STRING" size="256"/>
  1058. </ColumnInfo>
  1059. <Rows>
  1060. <Row>
  1061. <Col id="sort1">1</Col>
  1062. <Col id="cond1">0</Col>
  1063. <Col id="cond2">_</Col>
  1064. <Col id="sort2">2</Col>
  1065. <Col id="cond3">0</Col>
  1066. <Col id="cond4">-</Col>
  1067. <Col id="sort3">3</Col>
  1068. <Col id="cond5">0</Col>
  1069. <Col id="cond6">-</Col>
  1070. <Col id="sort4">4</Col>
  1071. <Col id="cond7">0</Col>
  1072. <Col id="cond8">-</Col>
  1073. <Col id="sort5">5</Col>
  1074. <Col id="cond9">0</Col>
  1075. <Col id="cond10">-</Col>
  1076. </Row>
  1077. </Rows>
  1078. </Dataset>
  1079. <Dataset id="ds_main_paminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1080. <Dataset id="ds_main_userinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1081. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1082. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1083. <Dataset id="ds_send_searchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1084. <Dataset id="ds_hidden_tmplists" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1085. <Dataset id="ds_hidden_lglydisrepttrgtmaninfo_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1086. <Dataset id="ds_init_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1087. <Dataset id="ds_temp_reptrsltinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1088. <Dataset id="ds_temp_getlglydisinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1089. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1090. <Dataset id="ds_hidden_orddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1091. <ColumnInfo>
  1092. <Column id="deptcd" type="STRING" size="256"/>
  1093. <Column id="depthngnm" type="STRING" size="256"/>
  1094. </ColumnInfo>
  1095. </Dataset>
  1096. <Dataset id="ds_hidden_userlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1097. <ColumnInfo>
  1098. <Column id="userid" type="STRING" size="256"/>
  1099. <Column id="usernm" type="STRING" size="256"/>
  1100. </ColumnInfo>
  1101. </Dataset>
  1102. <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1103. <Dataset id="ds_init_infcmasterdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1104. <Dataset id="ds_hidden_searchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1105. <Dataset id="ds_reptstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1106. <ColumnInfo>
  1107. <Column id="cdid" type="STRING" size="256"/>
  1108. <Column id="cdnm" type="STRING" size="256"/>
  1109. </ColumnInfo>
  1110. <Rows>
  1111. <Row>
  1112. <Col id="cdid">R</Col>
  1113. <Col id="cdnm">신고</Col>
  1114. </Row>
  1115. <Row>
  1116. <Col id="cdid">M</Col>
  1117. <Col id="cdnm">미신고</Col>
  1118. </Row>
  1119. <Row>
  1120. <Col id="cdid">E</Col>
  1121. <Col id="cdnm">제외</Col>
  1122. </Row>
  1123. <Row>
  1124. <Col id="cdid"/>
  1125. <Col id="cdnm"/>
  1126. </Row>
  1127. </Rows>
  1128. </Dataset>
  1129. <Dataset id="ds_main_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1130. <Dataset id="ds_temp_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1131. <ColumnInfo>
  1132. <Column id="srchcond" type="STRING" size="256"/>
  1133. <Column id="hngnm" type="STRING" size="256"/>
  1134. <Column id="pid" type="STRING" size="256"/>
  1135. </ColumnInfo>
  1136. <Rows>
  1137. <Row/>
  1138. </Rows>
  1139. </Dataset>
  1140. <Dataset id="ds_temp_lgly" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1141. <Dataset id="ds_temp_lglydisrepttrgtmaninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  1142. <ColumnInfo>
  1143. <Column id="select" type="STRING" size="256" sumtext="select"/>
  1144. <Column id="reptdt" type="STRING" size="256" sumtext="출력일자"/>
  1145. <Column id="reptstat" type="STRING" size="256" sumtext="상태"/>
  1146. <Column id="reptdtnm" type="STRING" size="256" sumtext="출력상태"/>
  1147. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  1148. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  1149. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  1150. <Column id="sex1" type="STRING" size="256" sumtext="성별"/>
  1151. <Column id="sex2" type="STRING" size="256" sumtext="성별"/>
  1152. <Column id="rrgstno1" type="STRING" size="256" sumtext="성별"/>
  1153. <Column id="rrgstno2" type="STRING" size="256" sumtext="성별"/>
  1154. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  1155. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  1156. <Column id="deptcd" type="STRING" size="256" sumtext="임상과코드"/>
  1157. <Column id="deptnm" type="STRING" size="256" sumtext="임상과이름"/>
  1158. <Column id="specdr" type="STRING" size="256" sumtext="특진의"/>
  1159. <Column id="orddr" type="STRING" size="256" sumtext="진료의"/>
  1160. <Column id="lglydiscd" type="STRING" size="256" sumtext="법정전염병코드"/>
  1161. <Column id="lglydisnm" type="STRING" size="256" sumtext="법정전염병명"/>
  1162. <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
  1163. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  1164. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  1165. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일자"/>
  1166. <Column id="wrtedt" type="STRING" size="256" sumtext="작성일자"/>
  1167. <Column id="seqno" type="STRING" size="256" sumtext="법정일련번호"/>
  1168. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  1169. <Column id="iseqno" type="STRING" size="256" sumtext="입원seqno"/>
  1170. <Column id="upwrtedt" type="STRING" size="256" sumtext="작성일시"/>
  1171. <Column id="jobcd" type="STRING" size="256" sumtext="직업코드"/>
  1172. <Column id="jobnm" type="STRING" size="256" sumtext="직업코드"/>
  1173. <!-- 공통 -->
  1174. <Column id="reptyear" type="STRING" size="256" sumtext="보고일"/>
  1175. <Column id="reptmonth" type="STRING" size="256" sumtext="년"/>
  1176. <Column id="reptday" type="STRING" size="256" sumtext="월"/>
  1177. <Column id="diagdd" type="STRING" size="256" sumtext="진단일"/>
  1178. <Column id="diagyear" type="STRING" size="256" sumtext="년"/>
  1179. <Column id="diagmonth" type="STRING" size="256" sumtext="월"/>
  1180. <Column id="diagday" type="STRING" size="256" sumtext="일"/>
  1181. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  1182. <Column id="brthyear" type="STRING" size="256" sumtext="년"/>
  1183. <Column id="brthmonth" type="STRING" size="256" sumtext="월"/>
  1184. <Column id="brthday" type="STRING" size="256" sumtext="일"/>
  1185. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  1186. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞"/>
  1187. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤"/>
  1188. <Column id="patflag1" type="STRING" size="256" sumtext="환자구분"/>
  1189. <Column id="patflag2" type="STRING" size="256" sumtext="환자구분"/>
  1190. <Column id="patflag3" type="STRING" size="256" sumtext="환자구분"/>
  1191. <Column id="procernm" type="STRING" size="256" sumtext="보호자성명"/>
  1192. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호"/>
  1193. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호"/>
  1194. <Column id="hometel" type="STRING" size="256" sumtext="전화번호"/>
  1195. <Column id="mpphontel" type="STRING" size="256" sumtext="핸드폰번호"/>
  1196. <Column id="detladdr" type="STRING" size="256" sumtext="주소"/>
  1197. <Column id="licnsno" type="STRING" size="256" sumtext="면허번호"/>
  1198. <Column id="hospnm" type="STRING" size="256" sumtext="병원명"/>
  1199. <Column id="reprtel1" type="STRING" size="256" sumtext="전화?호"/>
  1200. <Column id="hosaddr1" type="STRING" size="256" sumtext="병원주소"/>
  1201. <Column id="hosaddr2" type="STRING" size="256" sumtext="병원주소"/>
  1202. <Column id="hoszipcd" type="STRING" size="256" sumtext="병원주소"/>
  1203. <Column id="proccorpcd" type="STRING" size="256" sumtext="요양기관번호"/>
  1204. <Column id="shthospnm" type="STRING" size="256" sumtext="요양기관번호"/>
  1205. <Column id="reprfaxno" type="STRING" size="256" sumtext="요양기관번호"/>
  1206. <Column id="etcdetlnm" type="STRING" size="256" sumtext="감염관리실 담당자"/>
  1207. <Column id="etcdeptnm" type="STRING" size="256" sumtext="법정전염병신고담당부서"/>
  1208. <Column id="attackdd" type="STRING" size="256" sumtext="발병일자"/>
  1209. <Column id="etcnts1" type="STRING" size="256" sumtext="질환명"/>
  1210. <Column id="etcnts2" type="STRING" size="256" sumtext="질환명"/>
  1211. <Column id="etcnts3" type="STRING" size="256" sumtext="질환명"/>
  1212. <Column id="cnclyn" type="STRING" size="256" sumtext="삭제여부(20091113 JJE 추가)"/>
  1213. <Column id="state" type="STRING" size="256" sumtext="상태(20091113 JJE 추가)"/>
  1214. <Column id="psnflag" type="STRING" size="256" sumtext="IO구분(20091113 JJE 추가)"/>
  1215. <Column id="reptflag" type="STRING" size="256" sumtext="신고서종류(20091113 JJE 추가)"/>
  1216. <!-- 법정전염병 -->
  1217. <Column id="residncflag" type="STRING" size="256" sumtext="거주지불명"/>
  1218. <Column id="idflag" type="STRING" size="256" sumtext="신원미상"/>
  1219. <Column id="tlglydiscd101" type="STRING" size="256" sumtext="전염병명"/>
  1220. <Column id="tlglydiscd102" type="STRING" size="256" sumtext="전염병명"/>
  1221. <Column id="tlglydiscd103" type="STRING" size="256" sumtext="전염병명"/>
  1222. <Column id="tlglydiscd104" type="STRING" size="256" sumtext="전염병명"/>
  1223. <Column id="tlglydiscd105" type="STRING" size="256" sumtext="전염병명"/>
  1224. <Column id="tlglydiscd106" type="STRING" size="256" sumtext="전염병명"/>
  1225. <Column id="tlglydiscd107" type="STRING" size="256" sumtext="전염병명"/>
  1226. <Column id="tlglydiscd201" type="STRING" size="256" sumtext="전염병명"/>
  1227. <Column id="tlglydiscd202" type="STRING" size="256" sumtext="전염병명"/>
  1228. <Column id="tlglydiscd203" type="STRING" size="256" sumtext="전염병명"/>
  1229. <Column id="tlglydiscd204" type="STRING" size="256" sumtext="전염병명"/>
  1230. <Column id="tlglydiscd205" type="STRING" size="256" sumtext="전염병명"/>
  1231. <Column id="tlglydiscd206" type="STRING" size="256" sumtext="전염병명"/>
  1232. <Column id="tlglydiscd207" type="STRING" size="256" sumtext="전염병명"/>
  1233. <Column id="tlglydiscd208" type="STRING" size="256" sumtext="전염병명"/>
  1234. <Column id="tlglydiscd209" type="STRING" size="256" sumtext="전염병명"/>
  1235. <Column id="tlglydiscd210" type="STRING" size="256" sumtext="전염병명"/>
  1236. <Column id="tlglydiscd211" type="STRING" size="256" sumtext="전염병명"/>
  1237. <Column id="tlglydiscd212" type="STRING" size="256" sumtext="전염병명"/>
  1238. <Column id="tlglydiscd301" type="STRING" size="256" sumtext="전염병명"/>
  1239. <Column id="tlglydiscd302" type="STRING" size="256" sumtext="전염병명"/>
  1240. <Column id="tlglydiscd303" type="STRING" size="256" sumtext="전염병명"/>
  1241. <Column id="tlglydiscd304" type="STRING" size="256" sumtext="전염병명"/>
  1242. <Column id="tlglydiscd305" type="STRING" size="256" sumtext="전염병명"/>
  1243. <Column id="tlglydiscd306" type="STRING" size="256" sumtext="전염병명"/>
  1244. <Column id="tlglydiscd307" type="STRING" size="256" sumtext="전염병명"/>
  1245. <Column id="tlglydiscd308" type="STRING" size="256" sumtext="전염병명"/>
  1246. <Column id="tlglydiscd309" type="STRING" size="256" sumtext="전염병명"/>
  1247. <Column id="tlglydiscd310" type="STRING" size="256" sumtext="전염병명"/>
  1248. <Column id="tlglydiscd311" type="STRING" size="256" sumtext="전염병명"/>
  1249. <Column id="tlglydiscd312" type="STRING" size="256" sumtext="전염병명"/>
  1250. <Column id="tlglydiscd313" type="STRING" size="256" sumtext="전염병명"/>
  1251. <Column id="tlglydiscd314" type="STRING" size="256" sumtext="전염병명"/>
  1252. <Column id="tlglydiscd315" type="STRING" size="256" sumtext="전염병명"/>
  1253. <Column id="tlglydiscd316" type="STRING" size="256" sumtext="전염병명"/>
  1254. <Column id="tlglydiscd317" type="STRING" size="256" sumtext="전염병명"/>
  1255. <Column id="tlglydiscd318" type="STRING" size="256" sumtext="전염병명"/>
  1256. <Column id="tlglydiscd319" type="STRING" size="256" sumtext="전염병명"/>
  1257. <Column id="tlglydiscd320" type="STRING" size="256" sumtext="전염병명"/>
  1258. <Column id="tlglydiscd321" type="STRING" size="256" sumtext="전염병명"/>
  1259. <Column id="tlglydiscd401" type="STRING" size="256" sumtext="전염병명"/>
  1260. <Column id="tlglydiscd402" type="STRING" size="256" sumtext="전염병명"/>
  1261. <Column id="tlglydiscd403" type="STRING" size="256" sumtext="전염병명"/>
  1262. <Column id="tlglydiscd404" type="STRING" size="256" sumtext="전염병명"/>
  1263. <Column id="tlglydiscd405" type="STRING" size="256" sumtext="전염병명"/>
  1264. <Column id="tlglydiscd406" type="STRING" size="256" sumtext="전염병명"/>
  1265. <Column id="tlglydiscd407" type="STRING" size="256" sumtext="전염병명"/>
  1266. <Column id="tlglydiscd408" type="STRING" size="256" sumtext="전염병명"/>
  1267. <Column id="tlglydiscd409" type="STRING" size="256" sumtext="전염병명"/>
  1268. <Column id="tlglydiscd410" type="STRING" size="256" sumtext="전염병명"/>
  1269. <Column id="tlglydiscd411" type="STRING" size="256" sumtext="전염병명"/>
  1270. <Column id="tlglydiscd412" type="STRING" size="256" sumtext="전염병명"/>
  1271. <Column id="tlglydiscd413" type="STRING" size="256" sumtext="전염병명"/>
  1272. <Column id="tlglydiscd414" type="STRING" size="256" sumtext="전염병명"/>
  1273. <Column id="tlglydiscd415" type="STRING" size="256" sumtext="전염병명"/>
  1274. <Column id="tlglydiscd416" type="STRING" size="256" sumtext="전염병명"/>
  1275. <Column id="tlglydiscd417" type="STRING" size="256" sumtext="전염병명"/>
  1276. <Column id="tlglydiscd418" type="STRING" size="256" sumtext="전염병명"/>
  1277. <Column id="tlglydiscd419" type="STRING" size="256" sumtext="전염병명"/>
  1278. <Column id="tlglydiscd420" type="STRING" size="256" sumtext="전염병명"/>
  1279. <Column id="tlglydiscd421" type="STRING" size="256" sumtext="전염병명"/>
  1280. <Column id="tlglydiscd422" type="STRING" size="256" sumtext="전염병명"/>
  1281. <Column id="tlglydiscd423" type="STRING" size="256" sumtext="전염병명"/>
  1282. <Column id="tlglydiscd424" type="STRING" size="256" sumtext="전염병명"/>
  1283. <Column id="tlglydiscd425" type="STRING" size="256" sumtext="전염병명"/>
  1284. <Column id="tlglydiscd426" type="STRING" size="256" sumtext="전염병명"/>
  1285. <Column id="tlglydiscd499" type="STRING" size="256" sumtext="전염병명"/>
  1286. <Column id="tlglydiscd502" type="STRING" size="256" sumtext="전염병명"/>
  1287. <Column id="tlglydiscd503" type="STRING" size="256" sumtext="전염병명"/>
  1288. <Column id="tlglydiscd504" type="STRING" size="256" sumtext="전염병명"/>
  1289. <Column id="symp" type="STRING" size="256" sumtext="신종전염병증후군(증상 및 징후)"/>
  1290. <Column id="tlglydiscd999" type="STRING" size="256" sumtext="전염병명(지정)"/>
  1291. <Column id="diagnm" type="STRING" size="256" sumtext="지정명"/>
  1292. <Column id="attackyear" type="STRING" size="256" sumtext="발병일"/>
  1293. <Column id="attackmonth" type="STRING" size="256" sumtext="발병일"/>
  1294. <Column id="attackday" type="STRING" size="256" sumtext="발병일"/>
  1295. <Column id="cnfsnwtstrslt1" type="STRING" size="256" sumtext="확진검사결과"/>
  1296. <Column id="cnfsnwtstrslt2" type="STRING" size="256" sumtext="확진검사결과"/>
  1297. <Column id="cnfsnwtstrslt3" type="STRING" size="256" sumtext="확진검사결과"/>
  1298. <Column id="cnfsnwtstrslt9" type="STRING" size="256" sumtext="확진검사결과"/>
  1299. <Column id="dethn" type="STRING" size="256" sumtext="사망여부"/>
  1300. <Column id="dethy" type="STRING" size="256" sumtext="사망여부"/>
  1301. <Column id="estminfcpath1" type="STRING" size="256" sumtext="추정감염경로"/>
  1302. <Column id="estminfcpath2" type="STRING" size="256" sumtext="추정감염경로"/>
  1303. <Column id="estminfcpath3" type="STRING" size="256" sumtext="추정감염경로"/>
  1304. <Column id="estminfcpath4" type="STRING" size="256" sumtext="추정감염경로"/>
  1305. <Column id="estminfcareacdh" type="STRING" size="256" sumtext="추정감염지역"/>
  1306. <Column id="estminfcareacdo" type="STRING" size="256" sumtext="추정감염지역"/>
  1307. <Column id="estminfcareanaticd" type="STRING" size="256" sumtext="국명"/>
  1308. <Column id="stayterm" type="STRING" size="256" sumtext="체류기간(개월)"/>
  1309. <Column id="staytermday" type="STRING" size="256" sumtext="체류기간(일)"/>
  1310. <Column id="chngreptkind1" type="STRING" size="256" sumtext="변경신고"/>
  1311. <Column id="chngreptkind2" type="STRING" size="256" sumtext="변경신고"/>
  1312. <Column id="chngreptkind3" type="STRING" size="256" sumtext="변경신고"/>
  1313. <Column id="chngreptkind4" type="STRING" size="256" sumtext="변경신고"/>
  1314. <Column id="updtreptcnts" type="STRING" size="256" sumtext="주소변경"/>
  1315. <!-- 결핵 -->
  1316. <Column id="naticd" type="STRING" size="256" sumtext="국적코드"/>
  1317. <Column id="ecntryear" type="STRING" size="256" sumtext="입국일자"/>
  1318. <Column id="ecntrymonth" type="STRING" size="256" sumtext="입국일자"/>
  1319. <Column id="ecntryday" type="STRING" size="256" sumtext="입국일자"/>
  1320. <Column id="residncflag" type="STRING" size="256" sumtext="거주지불명"/>
  1321. <Column id="pastcureflagy" type="STRING" size="256" sumtext="과거치료력"/>
  1322. <Column id="pastcureflagn" type="STRING" size="256" sumtext="과거치료력"/>
  1323. <Column id="cureterm1" type="STRING" size="256" sumtext="치료기간"/>
  1324. <Column id="cureterm2" type="STRING" size="256" sumtext="치료기간"/>
  1325. <Column id="pastcurecnt1" type="STRING" size="256" sumtext="과거 결핵치료횟수"/>
  1326. <Column id="pastcurecnt2" type="STRING" size="256" sumtext="과거 결핵치료횟수"/>
  1327. <Column id="bisiziflagy" type="STRING" size="256" sumtext="비시지반흔"/>
  1328. <Column id="bisiziflagn" type="STRING" size="256" sumtext="비시지반흔"/>
  1329. <Column id="bisiziinocmthd1" type="STRING" size="256" sumtext="비시지접종법"/>
  1330. <Column id="bisiziinocmthd2" type="STRING" size="256" sumtext="비시지접종법"/>
  1331. <Column id="bisiziinocmthd3" type="STRING" size="256" sumtext="비시지접종법"/>
  1332. <Column id="sputumdm1" type="STRING" size="256" sumtext="객담도말검사"/>
  1333. <Column id="sputumdm2" type="STRING" size="256" sumtext="객담도말검사"/>
  1334. <Column id="sputumdm3" type="STRING" size="256" sumtext="객담도말검사"/>
  1335. <Column id="sputumdm4" type="STRING" size="256" sumtext="객담도말검사"/>
  1336. <Column id="sputumdm5" type="STRING" size="256" sumtext="객담도말검사"/>
  1337. <Column id="sputumby1" type="STRING" size="256" sumtext="객담배양검사"/>
  1338. <Column id="sputumby2" type="STRING" size="256" sumtext="객담배양검사"/>
  1339. <Column id="sputumby3" type="STRING" size="256" sumtext="객담배양검사"/>
  1340. <Column id="sputumby4" type="STRING" size="256" sumtext="객담배양검사"/>
  1341. <Column id="sputumby5" type="STRING" size="256" sumtext="객담배양검사"/>
  1342. <Column id="sputumodm1" type="STRING" size="256" sumtext="도말검사"/>
  1343. <Column id="sputumodm2" type="STRING" size="256" sumtext="도말검사"/>
  1344. <Column id="sputumodm3" type="STRING" size="256" sumtext="도말검사"/>
  1345. <Column id="sputumodm4" type="STRING" size="256" sumtext="도말검사"/>
  1346. <Column id="sputumodm5" type="STRING" size="256" sumtext="도말검사"/>
  1347. <Column id="sputumoby1" type="STRING" size="256" sumtext="배양검사"/>
  1348. <Column id="sputumoby2" type="STRING" size="256" sumtext="배양검사"/>
  1349. <Column id="sputumoby3" type="STRING" size="256" sumtext="배양검사"/>
  1350. <Column id="sputumoby4" type="STRING" size="256" sumtext="배양검사"/>
  1351. <Column id="sputumoby5" type="STRING" size="256" sumtext="배양검사"/>
  1352. <Column id="tisstestlag1" type="STRING" size="256" sumtext="조직검사"/>
  1353. <Column id="tisstestlag2" type="STRING" size="256" sumtext="조직검사"/>
  1354. <Column id="tisstestlag3" type="STRING" size="256" sumtext="조직검사"/>
  1355. <Column id="tisstestlag4" type="STRING" size="256" sumtext="조직검사"/>
  1356. <Column id="tisstestlag5" type="STRING" size="256" sumtext="조직검사"/>
  1357. <Column id="etctestflag1" type="STRING" size="256" sumtext="TB-PCR검사"/>
  1358. <Column id="etctestflag2" type="STRING" size="256" sumtext="TB-PCR검사"/>
  1359. <Column id="etctestflag3" type="STRING" size="256" sumtext="TB-PCR검사"/>
  1360. <Column id="etctestflag4" type="STRING" size="256" sumtext="TB-PCR검사"/>
  1361. <Column id="etctestflag5" type="STRING" size="256" sumtext="TB-PCR검사"/>
  1362. <Column id="rayrsltflag1" type="STRING" size="256" sumtext="흉부X선"/>
  1363. <Column id="rayrsltflag2" type="STRING" size="256" sumtext="흉부X선"/>
  1364. <Column id="rayrsltflag3" type="STRING" size="256" sumtext="흉부X선"/>
  1365. <Column id="rayrsltflag4" type="STRING" size="256" sumtext="흉부X선"/>
  1366. <Column id="rayrsltflag5" type="STRING" size="256" sumtext="흉부X선"/>
  1367. <Column id="tooberrsltsize1" type="STRING" size="256" sumtext="병명"/>
  1368. <Column id="solidsize" type="STRING" size="256" sumtext="병명"/>
  1369. <Column id="tooberrsltsize9" type="STRING" size="256" sumtext="병명"/>
  1370. <Column id="diagcd" type="STRING" size="256" sumtext="병명"/>
  1371. <Column id="tpatflag1" type="STRING" size="256" sumtext="환자구분"/>
  1372. <Column id="tpatflag2" type="STRING" size="256" sumtext="환자구분"/>
  1373. <Column id="tpatflag3" type="STRING" size="256" sumtext="환자구분"/>
  1374. <Column id="tpatflag4" type="STRING" size="256" sumtext="환자구분"/>
  1375. <Column id="tpatflag5" type="STRING" size="256" sumtext="환자구분"/>
  1376. <Column id="tpatflag6" type="STRING" size="256" sumtext="환자구분"/>
  1377. <Column id="tpatflag9" type="STRING" size="256" sumtext="환자구분"/>
  1378. <Column id="curefyear" type="STRING" size="256" sumtext="치료시작일"/>
  1379. <Column id="curefmonth" type="STRING" size="256" sumtext="치료시작일"/>
  1380. <Column id="curefday" type="STRING" size="256" sumtext="치료시작일"/>
  1381. <Column id="curetyear" type="STRING" size="256" sumtext="치료종결일"/>
  1382. <Column id="curetmonth" type="STRING" size="256" sumtext="치료종결일"/>
  1383. <Column id="curetday" type="STRING" size="256" sumtext="치료종결일"/>
  1384. <Column id="curersltflag01" type="STRING" size="256" sumtext="치료결과"/>
  1385. <Column id="curersltflag02" type="STRING" size="256" sumtext="치료결과"/>
  1386. <Column id="curersltflag03" type="STRING" size="256" sumtext="치료결과"/>
  1387. <Column id="curersltflag04" type="STRING" size="256" sumtext="치료결과"/>
  1388. <Column id="curersltflag05" type="STRING" size="256" sumtext="치료결과"/>
  1389. <Column id="curersltflag06" type="STRING" size="256" sumtext="치료결과"/>
  1390. <Column id="curersltflag07" type="STRING" size="256" sumtext="치료결과"/>
  1391. <Column id="curersltflag08" type="STRING" size="256" sumtext="치료결과"/>
  1392. <Column id="curersltflag99" type="STRING" size="256" sumtext="치료결과"/>
  1393. <Column id="curedrugcd01" type="STRING" size="256" sumtext="약코드"/>
  1394. <Column id="curedrugcd02" type="STRING" size="256" sumtext="약코드"/>
  1395. <Column id="curedrugcd03" type="STRING" size="256" sumtext="약코드"/>
  1396. <Column id="curedrugcd04" type="STRING" size="256" sumtext="약코드"/>
  1397. <Column id="curedrugcd05" type="STRING" size="256" sumtext="약코드"/>
  1398. <Column id="curedrugcd06" type="STRING" size="256" sumtext="약코드"/>
  1399. <Column id="curedrugcd07" type="STRING" size="256" sumtext="약코드"/>
  1400. <Column id="curedrugcd08" type="STRING" size="256" sumtext="약코드"/>
  1401. <Column id="curedrugcd09" type="STRING" size="256" sumtext="약코드"/>
  1402. <Column id="curedrugcd10" type="STRING" size="256" sumtext="약코드"/>
  1403. <Column id="curedrugcd11" type="STRING" size="256" sumtext="약코드"/>
  1404. <Column id="curedrugcd12" type="STRING" size="256" sumtext="약코드"/>
  1405. <Column id="curedrugcd13" type="STRING" size="256" sumtext="약코드"/>
  1406. <Column id="curedrugcd14" type="STRING" size="256" sumtext="약코드"/>
  1407. <Column id="curedrugcd15" type="STRING" size="256" sumtext="약코드"/>
  1408. <Column id="curedrugcd16" type="STRING" size="256" sumtext="약코드"/>
  1409. <Column id="etccnts" type="STRING" size="256" sumtext="약코드"/>
  1410. <Column id="tmpcol11" type="STRING" size="256" sumtext="IGRA검사"/>
  1411. <Column id="tmpcol21" type="STRING" size="256" sumtext="IGRA검사"/>
  1412. <Column id="tmpcol12" type="STRING" size="256" sumtext="IGRA검사"/>
  1413. <Column id="tmpcol22" type="STRING" size="256" sumtext="IGRA검사"/>
  1414. <Column id="tmpcol13" type="STRING" size="256" sumtext="IGRA검사"/>
  1415. <Column id="tmpcol23" type="STRING" size="256" sumtext="IGRA검사"/>
  1416. <Column id="tmpcol14" type="STRING" size="256" sumtext="IGRA검사"/>
  1417. <Column id="tmpcol31" type="STRING" size="256" sumtext="질병구분"/>
  1418. <Column id="tmpcol32" type="STRING" size="256" sumtext="질병구분"/>
  1419. <Column id="rayrsltdd" type="STRING" size="256" sumtext="흉부X선 검사일자"/>
  1420. <Column id="sputumdmdd" type="STRING" size="256" sumtext="도말검사일자"/>
  1421. <Column id="sputumbydd" type="STRING" size="256" sumtext="배양검사일자"/>
  1422. <Column id="etctestflagdd" type="STRING" size="256" sumtext="TB-PCR검사일자"/>
  1423. <Column id="tisstestlagdd" type="STRING" size="256" sumtext="조직검사일자"/>
  1424. <Column id="rayrsltkind" type="STRING" size="256" sumtext="흉부X선 검사 검체종류"/>
  1425. <Column id="sputumdmkind" type="STRING" size="256" sumtext="도말검사 검체종류"/>
  1426. <Column id="sputumbykind" type="STRING" size="256" sumtext="배양검사 검체종류"/>
  1427. <Column id="etctestflagkind" type="STRING" size="256" sumtext="TB-PCR검사 검체종류"/>
  1428. <Column id="tisstestlagkind" type="STRING" size="256" sumtext="조직검사 검체종류"/>
  1429. <!-- 간염 -->
  1430. <Column id="lglydiscd1" type="STRING" size="256" sumtext="질환명"/>
  1431. <Column id="lglydiscd2" type="STRING" size="256" sumtext="질환명"/>
  1432. <Column id="lglydiscd3" type="STRING" size="256" sumtext="질환명"/>
  1433. <Column id="lglydiscd4" type="STRING" size="256" sumtext="질환명"/>
  1434. <Column id="lglydiscd5" type="STRING" size="256" sumtext="질환명"/>
  1435. <Column id="preinochstflags" type="STRING" size="256" sumtext="예방접종내력"/>
  1436. <Column id="preinochstflagf" type="STRING" size="256" sumtext="예방접종내력"/>
  1437. <Column id="preinochstflagn" type="STRING" size="256" sumtext="예방접종내력"/>
  1438. <Column id="preinochstflagk" type="STRING" size="256" sumtext="예방접종내력"/>
  1439. <!-- 선청성매독 -->
  1440. <Column id="diagmthd01" type="STRING" size="256" sumtext="진단방법"/>
  1441. <Column id="diagmthd02" type="STRING" size="256" sumtext="진단방법"/>
  1442. <Column id="diagmthd03" type="STRING" size="256" sumtext="진단방법"/>
  1443. <Column id="diagmthd04" type="STRING" size="256" sumtext="진단방법"/>
  1444. <Column id="diagmthd05" type="STRING" size="256" sumtext="진단방법"/>
  1445. <Column id="diagmthd06" type="STRING" size="256" sumtext="진단방법"/>
  1446. <Column id="diagmthd99" type="STRING" size="256" sumtext="진단방법"/>
  1447. <!-- 성병 -->
  1448. <Column id="slglydiscd01" type="STRING" size="256" sumtext="질환명"/>
  1449. <Column id="slglydiscd02" type="STRING" size="256" sumtext="질환명"/>
  1450. <Column id="slglydiscd03" type="STRING" size="256" sumtext="질환명"/>
  1451. <Column id="slglydiscd04" type="STRING" size="256" sumtext="질환명"/>
  1452. <Column id="slglydiscd05" type="STRING" size="256" sumtext="질환명"/>
  1453. <Column id="slglydiscd06" type="STRING" size="256" sumtext="질환명"/>
  1454. <Column id="slglydiscd07" type="STRING" size="256" sumtext="질환명"/>
  1455. <Column id="slglydiscd08" type="STRING" size="256" sumtext="질환명"/>
  1456. <Column id="slglydiscd09" type="STRING" size="256" sumtext="질환명"/>
  1457. <Column id="slglydiscd10" type="STRING" size="256" sumtext="질환명"/>
  1458. <Column id="slglydiscd11" type="STRING" size="256" sumtext="질환명"/>
  1459. <Column id="slglydiscd12" type="STRING" size="256" sumtext="질환명"/>
  1460. <Column id="uniqgenetic" type="STRING" size="256" sumtext="질환명"/>
  1461. <!-- 크로이츠펠트-야콥병 -->
  1462. <Column id="patflag21" type="STRING" size="256" sumtext="질환명"/>
  1463. <Column id="patflag22" type="STRING" size="256" sumtext="질환명"/>
  1464. <Column id="dethflag01" type="STRING" size="256" sumtext="질환명"/>
  1465. <Column id="dethflag02" type="STRING" size="256" sumtext="질환명"/>
  1466. <Column id="dethflag03" type="STRING" size="256" sumtext="질환명"/>
  1467. <Column id="dethflag04" type="STRING" size="256" sumtext="질환명"/>
  1468. <Column id="lglykindcd01" type="STRING" size="256" sumtext="질환명"/>
  1469. <Column id="lglykindcd02" type="STRING" size="256" sumtext="질환명"/>
  1470. <Column id="lglykindcd03" type="STRING" size="256" sumtext="질환명"/>
  1471. <Column id="lglykindcd04" type="STRING" size="256" sumtext="질환명"/>
  1472. <Column id="lglykindcd05" type="STRING" size="256" sumtext="질환명"/>
  1473. <Column id="tisstestlagy" type="STRING" size="256" sumtext="질환명"/>
  1474. <Column id="tisstestlagn" type="STRING" size="256" sumtext="질환명"/>
  1475. <Column id="testpartcd01" type="STRING" size="256" sumtext="질환명"/>
  1476. <Column id="testpartcd02" type="STRING" size="256" sumtext="질환명"/>
  1477. <Column id="testpartcd99" type="STRING" size="256" sumtext="질환명"/>
  1478. <Column id="testmthdcd01" type="STRING" size="256" sumtext="질환명"/>
  1479. <Column id="testmthdcd02" type="STRING" size="256" sumtext="질환명"/>
  1480. <Column id="plaqflagcd01" type="STRING" size="256" sumtext="질환명"/>
  1481. <Column id="plaqflagcd02" type="STRING" size="256" sumtext="질환명"/>
  1482. <Column id="brwavetestflagy" type="STRING" size="256" sumtext="질환명"/>
  1483. <Column id="brwavetestflagn" type="STRING" size="256" sumtext="질환명"/>
  1484. <Column id="raytestflagy" type="STRING" size="256" sumtext="질환명"/>
  1485. <Column id="raytestflagn" type="STRING" size="256" sumtext="질환명"/>
  1486. <Column id="crbrfldtestflagy" type="STRING" size="256" sumtext="질환명"/>
  1487. <Column id="crbrfldtestflagn" type="STRING" size="256" sumtext="질환명"/>
  1488. <Column id="prnpagenetestflagy" type="STRING" size="256" sumtext="질환명"/>
  1489. <Column id="prnpagenetestflagn" type="STRING" size="256" sumtext="질환명"/>
  1490. <Column id="codonflag01" type="STRING" size="256" sumtext="질환명"/>
  1491. <Column id="codonflag02" type="STRING" size="256" sumtext="질환명"/>
  1492. <Column id="codonflag03" type="STRING" size="256" sumtext="질환명"/>
  1493. <Column id="codonflag201" type="STRING" size="256" sumtext="질환명"/>
  1494. <Column id="codonflag202" type="STRING" size="256" sumtext="질환명"/>
  1495. <Column id="codonflag203" type="STRING" size="256" sumtext="질환명"/>
  1496. <Column id="dngrcascd01" type="STRING" size="256" sumtext="질환명"/>
  1497. <Column id="dngrcascd02" type="STRING" size="256" sumtext="질환명"/>
  1498. <Column id="dngrcascd03" type="STRING" size="256" sumtext="질환명"/>
  1499. <Column id="dngrcascd04" type="STRING" size="256" sumtext="질환명"/>
  1500. <Column id="dngrcascd05" type="STRING" size="256" sumtext="질환명"/>
  1501. <Column id="dngrcascd06" type="STRING" size="256" sumtext="질환명"/>
  1502. <Column id="dngrcascd07" type="STRING" size="256" sumtext="질환명"/>
  1503. <Column id="dngrcascd08" type="STRING" size="256" sumtext="질환명"/>
  1504. <Column id="dngrcascd09" type="STRING" size="256" sumtext="질환명"/>
  1505. <Column id="dngrcascd99" type="STRING" size="256" sumtext="질환명"/>
  1506. <Column id="estminfcareacdh" type="STRING" size="256" sumtext="질환명"/>
  1507. <Column id="estminfcareacdo" type="STRING" size="256" sumtext="질환명"/>
  1508. <Column id="dethdd" type="STRING" size="256" sumtext="질환명"/>
  1509. <Column id="testpartremcnts" type="STRING" size="256" sumtext="질환명"/>
  1510. <Column id="brwavetestcnts" type="STRING" size="256" sumtext="질환명"/>
  1511. <Column id="raytestcnts" type="STRING" size="256" sumtext="질환명"/>
  1512. <Column id="crbrfldtestcnts" type="STRING" size="256" sumtext="질환명"/>
  1513. <Column id="codonnm" type="STRING" size="256" sumtext="질환명"/>
  1514. <Column id="codoncnts" type="STRING" size="256" sumtext="질환명"/>
  1515. <Column id="lglydiscnts" type="STRING" size="256" sumtext="질환명"/>
  1516. <Column id="dngrcasremcnts" type="STRING" size="256" sumtext="질환명"/>
  1517. <Column id="ecntrytodd" type="STRING" size="256" sumtext="질환명"/>
  1518. <Column id="ecntrydd" type="STRING" size="256" sumtext="질환명"/>
  1519. <Column id="infcnts" type="STRING" size="256" sumtext="질환명"/>
  1520. <Column id="stayterm" type="STRING" size="256" sumtext="체류기간(개월)"/>
  1521. <Column id="staytermday" type="STRING" size="256" sumtext="체류기간(일)"/>
  1522. <!-- 인플루엔자
  1523. <column id="lglydiscd1" ref="lglydisrepttrgtmanlist.lglydiscd1" desc="질환명"/>
  1524. <column id="lglydiscd2" ref="lglydisrepttrgtmanlist.lglydiscd2" desc="질환명"/>
  1525. -->
  1526. <Column id="preinochstflagy" type="STRING" size="256" sumtext="질환명"/>
  1527. <Column id="preinochstflagn" type="STRING" size="256" sumtext="질환명"/>
  1528. <Column id="preinochstflagk" type="STRING" size="256" sumtext="질환명"/>
  1529. <!-- 산모B형간염 -->
  1530. <Column id="preinochstflags" type="STRING" size="256" sumtext="질환명"/>
  1531. <Column id="preinochstflagf" type="STRING" size="256" sumtext="질환명"/>
  1532. <Column id="preinochstflagn" type="STRING" size="256" sumtext="질환명"/>
  1533. <Column id="preinochstflagk" type="STRING" size="256" sumtext="질환명"/>
  1534. <!-- HIV-AIDS -->
  1535. <Column id="fstdiagdd" type="STRING" size="256" sumtext="질환명"/>
  1536. <Column id="matrno" type="STRING" size="256" sumtext="질환명"/>
  1537. <Column id="etctestflag01" type="STRING" size="256" sumtext="질환명"/>
  1538. <Column id="etctestflag02" type="STRING" size="256" sumtext="질환명"/>
  1539. <Column id="etctestflag03" type="STRING" size="256" sumtext="질환명"/>
  1540. <Column id="testrslt1" type="STRING" size="256" sumtext="질환명"/>
  1541. <Column id="testrslt2" type="STRING" size="256" sumtext="질환명"/>
  1542. <Column id="cnfmtestinstcd01" type="STRING" size="256" sumtext="질환명"/>
  1543. <Column id="cnfmtestinstcd02" type="STRING" size="256" sumtext="질환명"/>
  1544. <Column id="cnfmtestinstnm" type="STRING" size="256" sumtext="질환명"/>
  1545. <Column id="estminfcpath01" type="STRING" size="256" sumtext="질환명"/>
  1546. <Column id="estminfcpath02" type="STRING" size="256" sumtext="질환명"/>
  1547. <Column id="estminfcpath03" type="STRING" size="256" sumtext="질환명"/>
  1548. <Column id="estminfcpath04" type="STRING" size="256" sumtext="질환명"/>
  1549. <Column id="estminfcpath05" type="STRING" size="256" sumtext="질환명"/>
  1550. <Column id="estminfcpath06" type="STRING" size="256" sumtext="질환명"/>
  1551. <Column id="estminfcpath99" type="STRING" size="256" sumtext="질환명"/>
  1552. <Column id="estminfcpathremcnts" type="STRING" size="256" sumtext="질환명"/>
  1553. <Column id="dethyn" type="STRING" size="256" sumtext="질환명"/>
  1554. <Column id="diagcd" type="STRING" size="256" sumtext="질환명"/>
  1555. <Column id="diagnm" type="STRING" size="256" sumtext="질환명"/>
  1556. <Column id="dethdd" type="STRING" size="256" sumtext="질환명"/>
  1557. <Column id="relyn" type="STRING" size="256" sumtext="질환명"/>
  1558. <Column id="symp01" type="STRING" size="256" sumtext="질환명"/>
  1559. <Column id="symp02" type="STRING" size="256" sumtext="질환명"/>
  1560. <Column id="symp03" type="STRING" size="256" sumtext="질환명"/>
  1561. <Column id="symp04" type="STRING" size="256" sumtext="질환명"/>
  1562. <Column id="symp05" type="STRING" size="256" sumtext="질환명"/>
  1563. <Column id="symp06" type="STRING" size="256" sumtext="질환명"/>
  1564. <Column id="symp07" type="STRING" size="256" sumtext="질환명"/>
  1565. <Column id="symp08" type="STRING" size="256" sumtext="질환명"/>
  1566. <Column id="symp09" type="STRING" size="256" sumtext="질환명"/>
  1567. <Column id="symp10" type="STRING" size="256" sumtext="질환명"/>
  1568. <Column id="symp11" type="STRING" size="256" sumtext="질환명"/>
  1569. <Column id="symp12" type="STRING" size="256" sumtext="질환명"/>
  1570. <Column id="symp13" type="STRING" size="256" sumtext="질환명"/>
  1571. <Column id="symp14" type="STRING" size="256" sumtext="질환명"/>
  1572. <Column id="symp15" type="STRING" size="256" sumtext="질환명"/>
  1573. <Column id="symp16" type="STRING" size="256" sumtext="질환명"/>
  1574. <Column id="symp17" type="STRING" size="256" sumtext="질환명"/>
  1575. <Column id="symp18" type="STRING" size="256" sumtext="질환명"/>
  1576. <Column id="symp19" type="STRING" size="256" sumtext="질환명"/>
  1577. <Column id="symp20" type="STRING" size="256" sumtext="질환명"/>
  1578. <Column id="symp21" type="STRING" size="256" sumtext="질환명"/>
  1579. <Column id="symp22" type="STRING" size="256" sumtext="질환명"/>
  1580. <Column id="symp23" type="STRING" size="256" sumtext="질환명"/>
  1581. <Column id="symp24" type="STRING" size="256" sumtext="질환명"/>
  1582. <Column id="symp99" type="STRING" size="256" sumtext="질환명"/>
  1583. <Column id="sympremcnts" type="STRING" size="256" sumtext="질환명"/>
  1584. <!-- 수족구병 추가 -->
  1585. <Column id="mdiag" type="STRING" size="256" sumtext="주요진단"/>
  1586. <Column id="sdiag" type="STRING" size="256" sumtext="동반진단"/>
  1587. <Column id="sdiagetc" type="STRING" size="256" sumtext="동반진단기타"/>
  1588. <Column id="symp" type="STRING" size="256" sumtext="주요증상"/>
  1589. <Column id="sympetc" type="STRING" size="256" sumtext="주요증상기타"/>
  1590. <Column id="testcnts" type="STRING" size="256" sumtext="뇌막염환자척수액소견"/>
  1591. <Column id="estminfcpath1" type="STRING" size="256" sumtext="추정감염경로"/>
  1592. <Column id="estminfcpath2" type="STRING" size="256" sumtext="추정감염경로"/>
  1593. <Column id="estminfcpath3" type="STRING" size="256" sumtext="추정감염경로"/>
  1594. <Column id="estminfcpath4" type="STRING" size="256" sumtext="추정감염경로"/>
  1595. <Column id="estminfcareacdh" type="STRING" size="256" sumtext="추정감염지역"/>
  1596. <Column id="estminfcareacdo" type="STRING" size="256" sumtext="추정감염지역"/>
  1597. <Column id="estminfcareanaticd" type="STRING" size="256" sumtext="국명"/>
  1598. <Column id="stayterm" type="STRING" size="256" sumtext="체류기간(개월)"/>
  1599. <Column id="staytermday" type="STRING" size="256" sumtext="체류기간(일)"/>
  1600. <Column id="tisstestlagy" type="STRING" size="256" sumtext="검체채취유무"/>
  1601. <Column id="tisstestlagn" type="STRING" size="256" sumtext="검체채취유무"/>
  1602. <Column id="tisstestdd" type="STRING" size="256" sumtext="검체채취일"/>
  1603. <Column id="matrno" type="STRING" size="256" sumtext="가검물명"/>
  1604. <Column id="matrnoetc" type="STRING" size="256" sumtext="가검물명기타"/>
  1605. <Column id="usremail" type="STRING" size="256" sumtext="EMAIL"/>
  1606. <Column id="ioflag" type="STRING" size="256" sumtext="ioflag"/>
  1607. <!-- 결핵 사망시 추가 -->
  1608. <Column id="dethcascd" type="STRING" size="256" sumtext="dethcascd"/>
  1609. <Column id="dethdd" type="STRING" size="256" sumtext="dethdd"/>
  1610. <Column id="dethresn" type="STRING" size="256" sumtext="dethresn"/>
  1611. <Column id="dethreptstat" type="STRING" size="256" sumtext="사망신고상태"/>
  1612. <Column id="anotheryn" type="STRING" size="256" sumtext="사망신고상태"/>
  1613. <Column id="faclt" type="STRING" size="256"/>
  1614. <Column id="facltaddr" type="STRING" size="256"/>
  1615. <Column id="tbclkindcd" type="STRING" size="256"/>
  1616. <Column id="cureenddd" type="STRING" size="256"/>
  1617. <Column id="curersltflagdiag" type="STRING" size="256"/>
  1618. <Column id="antutbclrslt" type="STRING" size="256"/>
  1619. <Column id="antutbclrsltdetl" type="STRING" size="256"/>
  1620. <Column id="antutbclrsltdetldesc" type="STRING" size="256"/>
  1621. <Column id="antutbclmthd" type="STRING" size="256"/>
  1622. <Column id="antutbclcd" type="STRING" size="256"/>
  1623. <Column id="xpert" type="STRING" size="256"/>
  1624. <Column id="xpertdd" type="STRING" size="256"/>
  1625. <Column id="xpertkind" type="STRING" size="256"/>
  1626. <Column id="curedrugcdtxt" type="STRING" size="256"/>
  1627. <Column id="spcacptdt" type="STRING" size="256"/>
  1628. <Column id="antutbcldrug" type="STRING" size="256"/>
  1629. <Column id="antutbcldrugtxt" type="STRING" size="256"/>
  1630. <Column id="tbclkindcd02" type="STRING" size="256"/>
  1631. <Column id="tbclkindcd03" type="STRING" size="256"/>
  1632. <Column id="clispeaoccurdate" type="STRING" size="256" sumtext="검체시험의뢰서 발병일"/>
  1633. <Column id="clispeagatherdate" type="STRING" size="256" sumtext="검체시험의뢰서 검체채취일"/>
  1634. <Column id="clispeaname" type="STRING" size="256" sumtext="검체시험의뢰서 검체명"/>
  1635. <Column id="clispeagathercount" type="STRING" size="256" sumtext="검체시험의뢰서 검체채취구분"/>
  1636. <Column id="clispeaopinion" type="STRING" size="256" sumtext="검체시험의뢰서 소견서"/>
  1637. <Column id="clamprsdnm" type="STRING" size="256" sumtext="병원장 명"/>
  1638. <Column id="clispebtype" type="STRING" size="256" sumtext="검체시험의뢰서 환자/접촉자 분류"/>
  1639. <Column id="clispebtypeetc" type="STRING" size="256" sumtext="검체시험의뢰서 환자/접촉자 기타"/>
  1640. <Column id="clispebtravel" type="STRING" size="256" sumtext="검체시험의뢰서 여행"/>
  1641. <Column id="clispebsymptom" type="STRING" size="256" sumtext="검체시험의뢰서 증상"/>
  1642. <Column id="clispebsymptometc" type="STRING" size="256" sumtext="검체시험의뢰서 증상 기타"/>
  1643. <Column id="clispebcontact" type="STRING" size="256" sumtext="검체시험의뢰서 접촉자"/>
  1644. <Column id="clispebcontactetc" type="STRING" size="256" sumtext="검체시험의뢰서 접촉자 기타"/>
  1645. <Column id="clispebcontactafter" type="STRING" size="256" sumtext="검체시험의뢰서 발병이후 접촉자"/>
  1646. <Column id="clispecpregnancy" type="STRING" size="256" sumtext="검체시험의뢰서 임신여부"/>
  1647. <Column id="clispecpregnancyweek" type="STRING" size="256" sumtext="검체시험의뢰서 임신주수"/>
  1648. <Column id="clispectravelperiodstart" type="STRING" size="256" sumtext="검체시험의뢰서 여행 시작 날짜"/>
  1649. <Column id="clispectravelperiodend" type="STRING" size="256" sumtext="검체시험의뢰서 여행 종료 날짜"/>
  1650. <Column id="clispecvaccine" type="STRING" size="256" sumtext="검체시험의뢰서 백신"/>
  1651. <Column id="tpatflag7" type="STRING" size="256" sumtext="환자구분"/>
  1652. <Column id="tpatflag8" type="STRING" size="256" sumtext="환자구분"/>
  1653. <Column id="specdrlicnsno" type="STRING" size="256" sumtext="의사면허번호"/>
  1654. <Column id="clispealglytest" type="STRING" size="256"/>
  1655. <Column id="clispealglyetcdisnm" type="STRING" size="256" sumtext="검체시험의뢰서 감염병명 기타"/>
  1656. <Column id="tlglydiscd505" type="STRING" size="256" sumtext="전염병명"/>
  1657. <Column id="tlglydiscd506" type="STRING" size="256" sumtext="전염병명"/>
  1658. <Column id="tlglydiscd507" type="STRING" size="256"/>
  1659. <Column id="tlglydiscd508" type="STRING" size="256"/>
  1660. <Column id="tlglydiscd509" type="STRING" size="256"/>
  1661. <Column id="tlglydiscd108" type="STRING" size="256"/>
  1662. <Column id="tlglydiscd109" type="STRING" size="256"/>
  1663. <Column id="tlglydiscd110" type="STRING" size="256"/>
  1664. <Column id="tlglydiscd111" type="STRING" size="256"/>
  1665. <Column id="tlglydiscd112" type="STRING" size="256"/>
  1666. <Column id="tlglydiscd113" type="STRING" size="256"/>
  1667. <Column id="tlglydiscd213" type="STRING" size="256"/>
  1668. <Column id="tlglydiscd214" type="STRING" size="256"/>
  1669. <Column id="tlglydiscd323" type="STRING" size="256"/>
  1670. </ColumnInfo>
  1671. <Rows>
  1672. <Row/>
  1673. </Rows>
  1674. </Dataset>
  1675. <Dataset id="ds_hidden_lglydisrepttrgtmaninfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1676. <Dataset id="ds_hidden_reptrsltinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1677. <Dataset id="ds_reptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1678. <ColumnInfo>
  1679. <Column id="cdid" type="STRING" size="256"/>
  1680. <Column id="cdnm" type="STRING" size="256"/>
  1681. </ColumnInfo>
  1682. <Rows>
  1683. <Row>
  1684. <Col id="cdid">01</Col>
  1685. <Col id="cdnm">법정감염병</Col>
  1686. </Row>
  1687. <Row>
  1688. <Col id="cdid">02</Col>
  1689. <Col id="cdnm">결핵</Col>
  1690. </Row>
  1691. <Row>
  1692. <Col id="cdid">06</Col>
  1693. <Col id="cdnm">크로이츠펠트-아콥병</Col>
  1694. </Row>
  1695. <Row>
  1696. <Col id="cdid">07</Col>
  1697. <Col id="cdnm">인플루엔자</Col>
  1698. </Row>
  1699. <Row>
  1700. <Col id="cdid">08</Col>
  1701. <Col id="cdnm">산모B형간염</Col>
  1702. </Row>
  1703. <Row>
  1704. <Col id="cdid">09</Col>
  1705. <Col id="cdnm">HIV-AIDS</Col>
  1706. </Row>
  1707. <Row>
  1708. <Col id="cdid">10</Col>
  1709. <Col id="cdnm">수족구병</Col>
  1710. </Row>
  1711. <Row>
  1712. <Col id="cdid">11</Col>
  1713. <Col id="cdnm">해외유입기생충감염</Col>
  1714. </Row>
  1715. <Row>
  1716. <Col id="cdid">12</Col>
  1717. <Col id="cdnm">의료관련감염병</Col>
  1718. </Row>
  1719. <Row>
  1720. <Col id="cdid">13</Col>
  1721. <Col id="cdnm">검체의뢰서(일반)</Col>
  1722. </Row>
  1723. <Row>
  1724. <Col id="cdid">14</Col>
  1725. <Col id="cdnm">검체의뢰서(메르스)</Col>
  1726. </Row>
  1727. <Row>
  1728. <Col id="cdid">15</Col>
  1729. <Col id="cdnm">검체의뢰서(지카)</Col>
  1730. </Row>
  1731. </Rows>
  1732. </Dataset>
  1733. </Objects>
  1734. <Bind>
  1735. <BindItem id="item0" compid="grp_sea.cmb_trgtmankind" propid="value" datasetid="ds_main_cond" columnid="trgtmankind"/>
  1736. <BindItem id="item1" compid="grp_sea.cmb_reptstat" propid="value" datasetid="ds_main_cond" columnid="reptstat"/>
  1737. <BindItem id="item2" compid="grp_sea.cmb_orddept" propid="value" datasetid="ds_main_cond" columnid="orddept"/>
  1738. <BindItem id="item3" compid="grp_sea.cmb_orddr" propid="value" datasetid="ds_main_cond" columnid="orddr"/>
  1739. <BindItem id="item4" compid="grp_sea.chk" propid="value" datasetid="ds_main_cond" columnid="delyn"/>
  1740. <BindItem id="item5" compid="grp_sea.cal_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  1741. <BindItem id="item6" compid="grp_sea.cal_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  1742. <BindItem id="item7" compid="grp_sea.ipt_patcd" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  1743. <BindItem id="item8" compid="grp_sea.ipt_patnm" propid="value" datasetid="ds_main_cond" columnid="hngnm"/>
  1744. <BindItem id="item27" compid="grp_sea.bool1" propid="value" datasetid="ds_main_cond" columnid="trgtmankind02flag"/>
  1745. </Bind>
  1746. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1747. * System Name :
  1748. * Job Name :
  1749. * Creator :
  1750. * Make Date : 2015-08-28
  1751. * Description :
  1752. *---------------------------------------------------------------------------------------
  1753. * Modify Date Modifier Modify Description
  1754. *---------------------------------------------------------------------------------------
  1755. * 2015-08-28 Live Converter TF->XP
  1756. *
  1757. *---------------------------------------------------------------------------------------
  1758. ****************************************************************************************/
  1759. include "com_commonxp::comm_main.xjs";
  1760. include "ast_infcmngtxp::SMASB00100.xjs";
  1761. include "ast_infcmngtxp::SMASI01200.xjs"; // 법정전염병신고 공통함수
  1762. include "com_commodulexp::SMZFS00501.xjs"; // 기준자료 조회 함수
  1763. include "emr_prcpmngtxp::MMO001.xjs";
  1764. include "emr_dschanalyxp::SMMRD02000.xjs"
  1765. var arErrorCode = new HashArray();
  1766. var pos = -1;
  1767. var pos1 = -1;
  1768. /******************************************************************
  1769. * Argument :
  1770. * Description : 초기화
  1771. ******************************************************************/
  1772. function SMASI01300_oninit(obj:Form, e:InitEventInfo)
  1773. {
  1774. frmf_initForm(obj);
  1775. }
  1776. function SMASI01300_onload(obj:Form, e:LoadEventInfo)
  1777. {
  1778. grp_sea.bool1.visible = false;
  1779. var pid = sysf_getUserId();
  1780. ds_send_reqdata.addColumn("pid", "string", 256);
  1781. ds_send_reqdata.setColumn(0, "pid", pid);
  1782. //trace("%s", pid);
  1783. var oParam = {};
  1784. oParam.id = "TRASI01302";
  1785. oParam.service = "infcmngtapp.LglyDisMngt";
  1786. oParam.method = "reqGetAuthYN";
  1787. oParam.inds = "req=ds_send_reqdata";
  1788. oParam.outds = "ds_hidden_tmplists=tmplist";
  1789. oParam.async = false;
  1790. //oParam.callback = "cf_TRASI01302";
  1791. tranf_submit(oParam);
  1792. // Grid 툴팁 세팅
  1793. grdf_setToolTipBind(grd_lglydisrepttrgtman);
  1794. grdf_setGridSort(grd_lglydisrepttrgtman);
  1795. // 공통코드 호출
  1796. fInitialize();
  1797. // 그리드 우클릭 팝업
  1798. frmf_createPopupMenu("pmn_popupMenu_01", "fLglyDisReptPopup", [{id: "01", level: "0", title: "법정감염병신고서"}, {id: "02", level: "0", title: "질병관리본부신고"}, {id: "03", level: "0", title: "법정감염병신고서_OLD"}]);
  1799. frmf_createPopupMenu("pmn_popupMenu_02", "fHptsReptPopup", [{id: "03", level: "0", title: "간염표본감시결과신고서"}]);
  1800. frmf_createPopupMenu("pmn_popupMenu_03", "fVenReptPopup", [{id: "05", level: "0", title: "성병표본감시결과신고서"}]);
  1801. frmf_createPopupMenu("pmn_popupMenu_04", "fSyphReptPopup", [{id: "04", level: "0", title: "선천성매독표본감시결과신고서"}]);
  1802. frmf_createPopupMenu("pmn_popupMenu_05", "fTbReptPopup", [{id: "05", level: "0", title: "결핵환자신고서"}]);
  1803. frmf_createPopupMenu("pmn_popupMenu_06", "f06ReptPopup", [{id: "06", level: "0", title: "크로이츠펠트-야콥병신고서"}]);
  1804. frmf_createPopupMenu("pmn_popupMenu_07", "f07ReptPopup", [{id: "07", level: "0", title: "인플루엔자신고서"}]);
  1805. frmf_createPopupMenu("pmn_popupMenu_08", "f08ReptPopup", [{id: "08", level: "0", title: "산모B형간염신고서"}]);
  1806. frmf_createPopupMenu("pmn_popupMenu_09", "f09ReptPopup", [{id: "09", level: "0", title: "HIV-AIDS신고서"}]);
  1807. frmf_createPopupMenu("pmn_popupMenu_10", "f10ReptPopup", [{id: "10", level: "0", title: "수족구병감시결과신고서"}]);
  1808. frmf_createPopupMenu("pmn_popupMenu_11", "f11ReptPopup", [{id: "11", level: "0", title: "해외유입 기생충 감염증"}]);
  1809. //20161214 이돈희 추가 : 검체시험의뢰서 A 추가
  1810. frmf_createPopupMenu("pmn_popupMenu_13", "f13ReptPopup", [{id: "13", level: "0", title: "검체시험의뢰서A"}]);
  1811. frmf_createPopupMenu("pmn_popupMenu_14", "f14ReptPopup", [{id: "14", level: "0", title: "검체시험의뢰서B"}]);
  1812. frmf_createPopupMenu("pmn_popupMenu_15", "f15ReptPopup", [{id: "15", level: "0", title: "검체시험의뢰서C"}]);
  1813. //frmf_createPopupMenu("pmn_popupMenu_16", "fLglyDisCdcReportPopup", [{id: "16", level: "0", title: "질병관리본부신고"}]);
  1814. //frmf_createPopupMenu("pmn_popupMenu_20", "fTbReptEndPopup", [{id: "20", level: "0", title: "결핵치료종료환자"}]);
  1815. //frmf_createPopupMenu("pmn_popupMenu_99", "f99ReptPopup", [{id: "99", level: "0", title: "결핵사망신고서"}]);
  1816. //@@@@진료메뉴에서 호출시 하단의 미리보기, 출력버튼이 보이지 않도록함
  1817. asbfGetHardCodeInfoNm("C1", "ds_init_hardcd");
  1818. var userdeptcd = sysf_getUserInfo( "dutplcecd" );
  1819. //trace("%s",userdeptcd);
  1820. var chk = 0;
  1821. for( var j=1; j <= ds_init_hardcd.rowcount; j++ ){
  1822. if( userdeptcd == ds_init_hardcd.getColumn(j, "hardcdnm") ){
  1823. chk++;
  1824. }
  1825. }
  1826. //의료질 관리팀이 아닌 경우
  1827. if( chk == "0" ){
  1828. ds_temp.addColumn("menuParam", "string", 256);
  1829. var row = ds_temp.addRow();
  1830. ds_temp.setColumn(row, "menuParam", "OrdCall");
  1831. grp_ordbtn.visible = true; //삭제, 초기화 true
  1832. grp_btn.visible = false;
  1833. grp_btn3.visible = false;
  1834. grp_sea.cmb_orddept.enable = false;
  1835. //@@@@로그인정보가져오기
  1836. var userid = sysf_getUserInfo( "userid" );
  1837. var usernm = sysf_getUserInfo( "usernm" );
  1838. var deptcd = sysf_getUserInfo( "dutplcecd" );
  1839. var deptnm = sysf_getUserInfo( "dutplcenm" );
  1840. //실제 사용할부분
  1841. ds_hidden_orddeptlist.setColumn(0, "deptcd", deptcd);
  1842. ds_hidden_orddeptlist.setColumn(0, "depthngnm", deptnm);
  1843. grp_sea.cmb_orddept.setFocus();
  1844. grp_sea.cmb_orddept.index = 0;
  1845. for( var i = 1; i <= ds_hidden_userlist.rowcount; i++ ){
  1846. if( userid == ds_hidden_userlist.getColumn(i, "userid") ){
  1847. ds_hidden_userlist.setColumn(i, "userid", userid);
  1848. ds_hidden_userlist.setColumn(i, "usernm", usernm);
  1849. grp_sea.cmb_orddr.setFocus();
  1850. grp_sea.cmb_orddr.index = i;
  1851. break;
  1852. }else{
  1853. ds_hidden_userlist.setColumn(i, "userid", "");
  1854. ds_hidden_userlist.setColumn(i, "usernm", "전체");
  1855. grp_sea.cmb_orddr.setFocus();
  1856. grp_sea.cmb_orddr.index = 0;
  1857. }
  1858. }
  1859. //진료에서 호출시 바로 조회
  1860. ds_send_cond.clearData();
  1861. ds_send_cond.copyData(ds_main_cond);
  1862. //법정전염병신고대상자조회 리스트를 조회
  1863. var oParam = {};
  1864. oParam.id = "TRASI01301";
  1865. oParam.service = "infcmngtapp.LglyDisMngt";
  1866. oParam.method = "reqGetLglyDisReptTrgtmanList";
  1867. oParam.inds = "req=ds_send_cond";
  1868. oParam.outds = "ds_grd_lglydisrepttrgtmaninfo=lglydisrepttrgtmanlist";
  1869. oParam.async = true;
  1870. oParam.callback = "cf_TRASI01301";
  1871. tranf_submit(oParam);
  1872. } else {
  1873. //by sonjy 20100413 master 부서 관리 추가
  1874. asbfGetHardCodeInfoNm("C2", "ds_init_infcmasterdept");
  1875. if( ds_init_infcmasterdept.rowcount > 0 ){
  1876. grp_ordbtn.visible = false;
  1877. grp_btn.visible = true;
  1878. grp_btn3.visible = false;
  1879. } else { //감염관리실, 진료가 아닌경우.
  1880. grp_ordbtn.visible = false;
  1881. grp_btn3.visible=true;
  1882. frmf_setParameter("LglyDeptChk", "N"); //신고서 호출시 삭제버튼 불활성화
  1883. }
  1884. }
  1885. fDisplayInit();
  1886. }
  1887. /******************************************************************
  1888. * Argument :
  1889. * Description : 공통코드 호출
  1890. ******************************************************************/
  1891. function fInitialize(){
  1892. var instcd = sysf_getUserInfo("dutplceinstcd");
  1893. var standard_yn = "orduseyn";
  1894. var ord_deptflag = 'D';
  1895. var rslt_ref = "ds_hidden_orddeptlist";
  1896. var sort_field = "depthngnm";
  1897. var sort_method = "asc";
  1898. appf_getDeptCodeList(instcd, standard_yn, ord_deptflag, sort_field, sort_method, "", "", "", rslt_ref, false, ""); //부서코드목록 조회
  1899. //20161221 이돈희 추가 : 진료과 항목에 전체가 없어서 추가
  1900. dsf_addDsItem(ds_hidden_orddeptlist,"deptcd","depthngnm","전체","");
  1901. lf_mmbfGetUserComboList(ds_hidden_userlist, sysf_getUserInfo("dutplcecd"), "0330", "", "M", "","", "P"); //진료과 의사콤보 조회
  1902. dsf_addDsItem(ds_hidden_userlist,"userid","usernm","전체","");
  1903. //ds_hidden_userlist.copyData(ds_init_cmb_orddr); //ds_hidden_userlist
  1904. dsf_addDsItem( ds_init_cmb_orddept, "deptcd", "depthngnm", "", "", "above");
  1905. var getCurrentDate = utlf_getCurrentDate();
  1906. var idate = new Date();
  1907. var frDate = idate.getAddDate(-1, "M"); //한달 전 설정
  1908. ds_main_cond.setColumn(0, "fromdd", frDate.getDateFormat());
  1909. ds_main_cond.setColumn(0, "todd", getCurrentDate);
  1910. var dutplceinstcd = sysf_getUserInfo("dutplceinstcd");
  1911. if( dutplceinstcd == "013" ){
  1912. ds_main_cond.setColumn(0, "instcd", "Y");
  1913. } else {
  1914. ds_main_cond.setColumn(0, "instcd", "N");
  1915. }
  1916. //checkBox 전체 체크
  1917. grdf_setAllCheck(grd_lglydisrepttrgtman);
  1918. }
  1919. /******************************************************************
  1920. * Argument :
  1921. * Description : 각종 신고서 호출 전 파라메터 설정 (공통으로 사용토록 함수 분리 (2009.11.13 JJE)
  1922. ******************************************************************/
  1923. function fSetupParameters(){
  1924. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  1925. //trace("fSetupParameters iRow =");
  1926. //trace("%s", iRow);
  1927. frmf_setParameter("wrtedt", ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "wrtedt")); //작성일
  1928. frmf_setParameter("seqno", ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "seqno")); //법정일
  1929. frmf_setParameter("pid", ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "pid"));
  1930. frmf_setParameter("indd", ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "indd")); //입원일
  1931. frmf_setParameter("psnflag", ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "ioflag"));
  1932. frmf_setParameter("lglydiscd", ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "lglydiscd"));//법정전
  1933. frmf_setParameter("state", "S");
  1934. //2012/11/20 Start 원무키 파라미터로 추가
  1935. frmf_setParameter("cretno", ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cretno"));//생성번
  1936. //2012/12/27 Start 레포트 번호 파라미터로 추가
  1937. frmf_setParameter("reptflag", ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "reptflag"));//신고서 구분
  1938. //진료에서 호출시
  1939. var usercdok = ds_init_hardcd.getColumn(0, "hardcdnm");
  1940. var userdeptcd = sysf_getUserInfo( "dutplcecd" );
  1941. //trace("usercdok =");
  1942. //trace("%s", usercdok)
  1943. //trace("userdeptcd =");
  1944. //trace("%s", userdeptcd)
  1945. if( usercdok != userdeptcd ){
  1946. frmf_setParameter("menuparam", ds_temp.getColumn(0, "menuParam"));
  1947. }
  1948. //(start) 파라메터 추가 (2009.11.13 JJE)
  1949. var wrdt = ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "wrtedt").substring(0, 8);
  1950. var wrDate = wrdt.toDate("YYYYMMDD");
  1951. var valiDT = wrDate.getAddDate(1, "Y").getDateFormat("YYYYMMDD hhmmss");
  1952. var curDT = utlf_getCurrentDateTime();
  1953. var rpDT = "";
  1954. if( valiDT < curDT ){
  1955. var reptyn = "Y";
  1956. } else {
  1957. var reptyn = "N";
  1958. }
  1959. frmf_setParameter("reptdt", wrdt);
  1960. frmf_setParameter("reptyn", reptyn);
  1961. frmf_setParameter("chgyn", "N");
  1962. if( utlf_isNull(ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "reptdt")) ){
  1963. rpDT = "99991231";
  1964. } else {
  1965. rpDT = ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "reptdt").substring(0, 8);
  1966. }
  1967. frmf_setParameter("prt_reptdt", rpDT);
  1968. //진료에서 신고상태 신고일 경우 disable시킴
  1969. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(ds_grd_lglydisrepttrgtmaninfo.rowposition, "reptdtnm") == "신고" ){
  1970. frmf_setParameter("DisabledChk", "Y");
  1971. }
  1972. }
  1973. /******************************************************************
  1974. * Argument :
  1975. * Description : 법정전염병
  1976. ******************************************************************/
  1977. function fLglyDisReptPopup(obj:PopupMenu, e:MenuClickEventInfo){
  1978. fSetupParameters();
  1979. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  1980. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  1981. sysf_messageBox("삭제된 신고서", "I009");
  1982. return;
  1983. }
  1984. if(e.id == "01") { // 법정전염병신고서
  1985. frmf_open("SPASI01500", "SPASI01500", null, null, null, null, null, null, null, null, null, null, "M");
  1986. } else if(e.id == "02") { // 질병관리본부 신고
  1987. frmf_modal("SPASI09100", "SPASI09100", null, null, null, null, null, null, null, null, null, null, "M");
  1988. btn_search_onclick();
  1989. } else if(e.id == "03") { // 질병관리본부 신고
  1990. frmf_modal("SPASI01510", "SPASI01510", null, null, null, null, null, null, null, null, null, null, "M");
  1991. }
  1992. //btn_search.dispatch("DOMActivate");
  1993. }
  1994. /******************************************************************
  1995. * Argument :
  1996. * Description : 간염표본감시
  1997. ******************************************************************/
  1998. function fHptsReptPopup(){
  1999. fSetupParameters();
  2000. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2001. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2002. sysf_messageBox("삭제된 신고서", "I009");
  2003. return;
  2004. }
  2005. frmf_open("SPASI01600", "SPASI01600", null, null, null, null, null, null, null, null, null, null, "M");
  2006. //btn_search.dispatch("DOMActivate");
  2007. }
  2008. /******************************************************************
  2009. * Argument :
  2010. * Description : 성병표본감시
  2011. ******************************************************************/
  2012. function fVenReptPopup(){
  2013. fSetupParameters();
  2014. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2015. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2016. sysf_messageBox("삭제된 신고서", "I009");
  2017. return;
  2018. }
  2019. frmf_open("SPASI01700", "SPASI01700", null, null, null, null, null, null, null, null, null, null, "M");
  2020. //btn_search.dispatch("DOMActivate");
  2021. }
  2022. /******************************************************************
  2023. * Argument :
  2024. * Description : 선천성매독
  2025. ******************************************************************/
  2026. function fSyphReptPopup(){
  2027. fSetupParameters();
  2028. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2029. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2030. sysf_messageBox("삭제된 신고서", "I009");
  2031. return;
  2032. }
  2033. frmf_open("SPASI01900", "SPASI01900", null, null, null, null, null, null, null, null, null, null, "M");
  2034. //btn_search.dispatch("DOMActivate");
  2035. }
  2036. /******************************************************************
  2037. * Argument :
  2038. * Description : 결핵환자
  2039. ******************************************************************/
  2040. function fTbReptPopup(){
  2041. //trace("fTbReptPopup 1");
  2042. fSetupParameters();
  2043. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2044. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2045. sysf_messageBox("삭제된 신고서", "I009");
  2046. return;
  2047. }
  2048. frmf_open("SPASI01800", "SPASI01800", null, null, null, null, null, null, null, null, null, null, "M");
  2049. //btn_search.dispatch("DOMActivate");
  2050. }
  2051. /******************************************************************
  2052. * Argument :
  2053. * Description : 결핵치료종료환자
  2054. ******************************************************************/
  2055. function fTbReptEndPopup(){
  2056. fSetupParameters();
  2057. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2058. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2059. sysf_messageBox("삭제된 신고서", "I009");
  2060. return;
  2061. }
  2062. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2063. frmf_setParameter("reptflag", ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "reptflag"));
  2064. frmf_open("SPASI01800", "SPASI01800", null, null, null, null, null, null, null, null, null, null, "M");
  2065. //btn_search.dispatch("DOMActivate");
  2066. }
  2067. /******************************************************************
  2068. * Argument :
  2069. * Description : 크로이츠펠트-야콥병신고서
  2070. ******************************************************************/
  2071. function f06ReptPopup(){
  2072. fSetupParameters();
  2073. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2074. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2075. sysf_messageBox("삭제된 신고서", "I009");
  2076. return;
  2077. }
  2078. frmf_open("SPASI03400", "SPASI03400", null, null, null, null, null, null, null, null, null, null, "M");
  2079. //btn_search.dispatch("DOMActivate");
  2080. }
  2081. /******************************************************************
  2082. * Argument :
  2083. * Description : 인플루엔자신고서
  2084. ******************************************************************/
  2085. function f07ReptPopup(){
  2086. fSetupParameters();
  2087. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2088. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2089. sysf_messageBox("삭제된 신고서", "I009");
  2090. return;
  2091. }
  2092. frmf_open("SPASI03500", "SPASI03500", null, null, null, null, null, null, null, null, null, null, "M");
  2093. //btn_search.dispatch("DOMActivate");
  2094. }
  2095. /******************************************************************
  2096. * Argument :
  2097. * Description : 산모B형간염신고서
  2098. ******************************************************************/
  2099. function f08ReptPopup(){
  2100. fSetupParameters();
  2101. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2102. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2103. sysf_messageBox("삭제된 신고서", "I009");
  2104. return;
  2105. }
  2106. frmf_open("SPASI03600", "SPASI03600", null, null, null, null, null, null, null, null, null, null, "M");
  2107. //btn_search.dispatch("DOMActivate");
  2108. }
  2109. /******************************************************************
  2110. * Argument :
  2111. * Description : HIV-AIDS신고서
  2112. ******************************************************************/
  2113. function f09ReptPopup(){
  2114. fSetupParameters();
  2115. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2116. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2117. sysf_messageBox("삭제된 신고서", "I009");
  2118. return;
  2119. }
  2120. frmf_open("SPASI03300", "SPASI03300", null, null, null, null, null, null, null, null, null, null, "M");
  2121. //btn_search.dispatch("DOMActivate");
  2122. }
  2123. /******************************************************************
  2124. * Argument :
  2125. * Description : 수족구병감시결과신고서
  2126. ******************************************************************/
  2127. function f10ReptPopup(){
  2128. fSetupParameters();
  2129. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2130. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2131. sysf_messageBox("삭제된 신고서", "I009");
  2132. return;
  2133. }
  2134. frmf_open("SPASI03700", "SPASI03700", null, null, null, null, null, null, null, null, null, null, "M");
  2135. //btn_search.dispatch("DOMActivate");
  2136. }
  2137. /******************************************************************
  2138. * Argument :
  2139. * Description : 해외유입 기생충 감염증
  2140. ******************************************************************/
  2141. function f11ReptPopup(){
  2142. fSetupParameters();
  2143. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2144. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2145. sysf_messageBox("삭제된 신고서", "I009");
  2146. return;
  2147. }
  2148. frmf_open("SPASI04100", "SPASI04100", null, null, null, null, null, null, null, null, null, null, "M");
  2149. //btn_search.dispatch("DOMActivate");
  2150. }
  2151. //20161214 이돈희 추가
  2152. function f13ReptPopup()
  2153. {
  2154. fSetupParameters();
  2155. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2156. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2157. sysf_messageBox("삭제된 신고서", "I009");
  2158. return;
  2159. }
  2160. frmf_open("SPASI05000", "SPASI05000", null, null, null, null, null, null, null, null, null, null, "M");
  2161. }
  2162. function f14ReptPopup()
  2163. {
  2164. //trace("f14ReptPopup");
  2165. fSetupParameters();
  2166. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2167. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2168. sysf_messageBox("삭제된 신고서", "I009");
  2169. return;
  2170. }
  2171. frmf_open("SPASI06000", "SPASI06000", null, null, null, null, null, null, null, null, null, null, "M");
  2172. }
  2173. function f15ReptPopup()
  2174. {
  2175. fSetupParameters();
  2176. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2177. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cnclyn") == "Y" ){
  2178. sysf_messageBox("삭제된 신고서", "I009");
  2179. return;
  2180. }
  2181. frmf_open("SPASI07000", "SPASI07000", null, null, null, null, null, null, null, null, null, null, "M");
  2182. }
  2183. /******************************************************************
  2184. * Argument :
  2185. * Description : 상단정보설정
  2186. ******************************************************************/
  2187. function fUpInfo(){
  2188. var sessionPID = appf_getPatientId();
  2189. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2190. if( sessionPID != ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "Pid") ){
  2191. fReqOpPatPamInfo();
  2192. }
  2193. }
  2194. function fReqOpPatPamInfo(){
  2195. var iRow = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2196. var tioflag = ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "ioflag");
  2197. if( tioflag == "I" || tioflag == "E" ){
  2198. var ioflag = tioflag;
  2199. var pid = ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "pid");
  2200. var indd = ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "indd");
  2201. var cretno = ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cretno");
  2202. var seqno = ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "iseqno");
  2203. var instcd = sysf_getUserInfo("dutplceinstcd");
  2204. var srchdd = utlf_getCurrentDate();
  2205. var param = ioflag + "▦" + pid + "▦" + indd + "▦" + cretno + "▦" + instcd + "▦" + srchdd;
  2206. frmf_setParameter("condparam", param);
  2207. } else if( tioflag == "O" ){
  2208. var ioflag = "O";
  2209. var pid = ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "pid");
  2210. var orddd = ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "indd");
  2211. var cretno = ds_grd_lglydisrepttrgtmaninfo.getColumn(iRow, "cretno");
  2212. var srchdd = utlf_getCurrentDate();
  2213. var param = ioflag + "▦" + pid + "▦" + orddd + "▦" + cretno + "▦" + instcd;
  2214. frmf_setParameter("condparam", param);
  2215. }
  2216. appf_initPatientInfo(param);
  2217. //frmf_modal("SPMMO08900", "SPMMO08900", null, null, null, null, null, null, null, null, null, null, "M");
  2218. }
  2219. /******************************************************************
  2220. * Argument :
  2221. * Description : 조회
  2222. ******************************************************************/
  2223. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  2224. {
  2225. trace("btn_search_onclick");
  2226. if( ds_main_cond.getColumn(0, "trgtmankind") == "" ){
  2227. sysf_messageBox("대상자종류를", "C002");
  2228. return;
  2229. }
  2230. if( ds_main_cond.getColumn(0, "fromdd") == "" || ds_main_cond.getColumn(0, "todd") == "" ){
  2231. sysf_messageBox("일자는", "I003");
  2232. return;
  2233. }
  2234. //trace("orddept = " + ds_main_cond.getColumn(0,"orddept"));
  2235. ds_send_cond.clearData();
  2236. ds_send_cond.copyData(ds_main_cond);
  2237. var oParam = {};
  2238. oParam.id = "TRASI01301";
  2239. oParam.service = "infcmngtapp.LglyDisMngt";
  2240. oParam.method = "reqGetLglyDisReptTrgtmanList";
  2241. oParam.inds = "req=ds_send_cond";
  2242. oParam.outds = "ds_grd_lglydisrepttrgtmaninfo=lglydisrepttrgtmanlist";
  2243. oParam.async = true;
  2244. oParam.callback = "cf_TRASI01301";
  2245. tranf_submit(oParam);
  2246. //20161222 이돈희 수정 : 삭제된 환자의 경우 회색 표현으로 Script에서 주석처리 후
  2247. //Grid 속성에서 표현식으로 색 변경 수정
  2248. // if( arErrorCode.pop("TRASI01301") > -1 )
  2249. // {
  2250. //전체선택 초기화 by sonjy 20100413
  2251. //chkall.selected = false;
  2252. //삭제 포함으로 조회한 경우, 삭제 신고서의 색상을 회색으로 표현 (2009.11.13 JJE 추가)
  2253. // trace("Del 1");
  2254. // if( ds_send_cond.getColumn(0, "delyn") == "Y" )
  2255. // {
  2256. // trace("Del 2 : " + ds_grd_lglydisrepttrgtmaninfo.rowcount);
  2257. // for( var i=1; i < ds_grd_lglydisrepttrgtmaninfo.rowcount; i++ ){
  2258. // if( ds_grd_lglydisrepttrgtmaninfo.getColumn(i, "cnclyn") == "Y" )
  2259. // {
  2260. // trace("Del 3 : " + i*20+3);
  2261. //
  2262. // //grd_lglydisrepttrgtman.setRowProperty("body", i, "color", "#C0C0C0")
  2263. // //grd_lglydisrepttrgtman.setCellProperty("body", i*20+3 , "color", "#C0C0C0");
  2264. // //grd_lglydisrepttrgtman.setFormatRowProperty(1, "color", "#C0C0C0");
  2265. // }
  2266. // else
  2267. // {
  2268. // //grd_lglydisrepttrgtman.setCellProperty("body", i, "color", "##000000")
  2269. // //grd_lglydisrepttrgtman.setCellProperty("body", i*20+3, "color", "##000000");
  2270. // //grd_lglydisrepttrgtman.setFormatRowProperty(2, "color", "##000000");
  2271. // }
  2272. // }
  2273. // }
  2274. // }
  2275. //model.makeNode("/root/hidden/searchlist");
  2276. }
  2277. function cf_TRASI01301(sSvcId, nErrorCode, sErrorMsg) {
  2278. if(nErrorCode < 0) return;
  2279. dsf_setDefaultVal(ds_grd_lglydisrepttrgtmaninfo, "chk");
  2280. //20170206 이돈희 추가 : 조회조건에 검체의뢰서 전체 조회 추가
  2281. //요청번호 20170120011
  2282. var vaCheckClinicSpec = grp_sea.chk_clinicspec.value;
  2283. //20170206 이돈희 추가 : 조회조건에 검체의뢰서 전체 조회 추가
  2284. //검체의뢰서 전체 조회 체크시 reptflag 13, 14, 15 만 표시
  2285. //요청번호 20170120011
  2286. if(vaCheckClinicSpec == 'true')
  2287. {
  2288. ds_grd_lglydisrepttrgtmaninfo.filter("reptflag == '13' || reptflag == '14' || reptflag == '15'");
  2289. }
  2290. ds_hidden_searchlist.copyData(ds_grd_lglydisrepttrgtmaninfo);
  2291. //20200302_AYS_우측클릭 작업 후 재조회 시 기존 클릭 위치로 이동(박윤정 쌤 요청)
  2292. //ds_grd_lglydisrepttrgtmaninfo.clearSelect();
  2293. ds_grd_lglydisrepttrgtmaninfo.rowposition = pos;
  2294. ds_grd_lglydisrepttrgtmaninfo.selectRow(pos);
  2295. grd_lglydisrepttrgtman.vscrollbar.pos = pos1;
  2296. pos = -1;
  2297. pos1 = -1;
  2298. //20200302_AYS_우측클릭 작업 후 재조회 시 기존 클릭 위치로 이동(박윤정 쌤 요청)
  2299. }
  2300. /******************************************************************
  2301. * Argument :
  2302. * Description : 대상자종류 onClick Event
  2303. ******************************************************************/
  2304. function grp_sea_cmb_trgtmankind_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2305. {
  2306. if(ds_main_cond.getColumn(0, "trgtmankind") == "02"){
  2307. grp_sea.bool1.visible = true;
  2308. }else{
  2309. grp_sea.bool1.visible = false;
  2310. ds_main_cond.setColumn(0, "trgtmankind02flag", "");
  2311. }
  2312. var ev = new ClickEventInfo;
  2313. frmf_inputEnterKey("grp_sea.btn_search", "onclick", ev );
  2314. }
  2315. /******************************************************************
  2316. * Argument :
  2317. * Description : 등록번호 조회
  2318. ******************************************************************/
  2319. function grp_sea_ipt_patcd_onkeydown(obj:Edit, e:KeyEventInfo)
  2320. {
  2321. if( e.keycode == 13 ){
  2322. ds_send_cond.clearData();
  2323. ds_main_cond.setColumn(0, "pid", grp_sea.ipt_patcd.value);
  2324. ds_send_cond.copyData(ds_main_cond);
  2325. //ds_send_cond.getColumn(0,"")
  2326. var oParam = {};
  2327. oParam.id = "TRASI01303";
  2328. oParam.service = "infcmngtapp.LglyDisMngt";
  2329. oParam.method = "reqGetLglyDisReptTrgtmanList";
  2330. oParam.inds = "req=ds_send_cond";
  2331. oParam.outds = "ds_grd_lglydisrepttrgtmaninfo=lglydisrepttrgtmanlist";
  2332. oParam.async = true;
  2333. oParam.callback = "cf_TRASI01303";
  2334. tranf_submit(oParam);
  2335. }
  2336. }
  2337. function cf_TRASI01303(sSvcId, nErrorCode, sErrorMsg)
  2338. {
  2339. if(nErrorCode < 0) return;
  2340. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(0, "delyn") == "Y" )
  2341. {
  2342. for( var i=1; i < ds_grd_lglydisrepttrgtmaninfo.rowcount(); i++ )
  2343. {
  2344. if( ds_grd_lglydisrepttrgtmaninfo.getColumn(i, "cnclyn") == "Y" )
  2345. {
  2346. grd_lglydisrepttrgtman.setCellProperty("data", i, "color", "#C0C0C0")
  2347. }
  2348. else
  2349. {
  2350. grd_lglydisrepttrgtman.setCellProperty("data", i, "color", "##000000")
  2351. }
  2352. }
  2353. }
  2354. ds_hidden_searchlist.clearData();
  2355. ds_hidden_searchlist.copyData(ds_grd_lglydisrepttrgtmaninfo);
  2356. }
  2357. /******************************************************************
  2358. * Argument :
  2359. * Description : 등록번호 조회(돋보기)
  2360. ******************************************************************/
  2361. function grp_sea_btn_pid_onclick(obj:Button, e:ClickEventInfo)
  2362. {
  2363. var inPid = grp_sea.ipt_patcd.value;
  2364. ds_temp_patinfo.setColumn(0, "srchcond", "1");
  2365. ds_temp_patinfo.setColumn(0, "pid", inPid);
  2366. var objArg = new Object();
  2367. objArg.arg_ds_send = ds_temp_patinfo;
  2368. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
  2369. var sPid = ds_patinfolist.getColumn(0, "pid");
  2370. var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
  2371. ds_main_cond.setColumn(0, "pid", sPid);
  2372. ds_main_cond.setColumn(0, "hngnm", sHngnm);
  2373. }
  2374. /******************************************************************
  2375. * Argument :
  2376. * Description : 환자명 조회(돋보기)
  2377. ******************************************************************/
  2378. function grp_sea_btn_pname_onclick(obj:Button, e:ClickEventInfo)
  2379. {
  2380. //trace("grp_sea_btn_pname_onclick");
  2381. var hName = grp_sea.ipt_patnm.value;
  2382. ds_temp_patinfo.setColumn(0, "srchcond", "2");
  2383. ds_temp_patinfo.setColumn(0, "hngnm", hName);
  2384. var objArg = new Object();
  2385. objArg.arg_ds_send = ds_temp_patinfo;
  2386. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
  2387. var sPid = ds_patinfolist.getColumn(0, "pid");
  2388. var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
  2389. //trace("pid = %s",sPid);
  2390. //trace("sHngnm = %s",sHngnm);
  2391. ds_main_cond.setColumn(0, "pid", sPid);
  2392. ds_main_cond.setColumn(0, "hngnm", sHngnm);
  2393. }
  2394. /******************************************************************
  2395. * Argument :
  2396. * Description : 환자명 조회
  2397. ******************************************************************/
  2398. function grp_sea_ipt_patnm_onkeydown(obj:Edit, e:KeyEventInfo)
  2399. {
  2400. if( e.keycode == 13 ){
  2401. var hName = grp_sea.ipt_patnm.value;
  2402. ds_temp_patinfo.setColumn(0, "srchcond", "2");
  2403. ds_temp_patinfo.setColumn(0, "hngnm", hName);
  2404. var objArg = new Object();
  2405. objArg.arg_ds_send = ds_temp_patinfo;
  2406. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
  2407. var sPid = ds_patinfolist.getColumn(0, "pid");
  2408. var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
  2409. //trace("pid = %s",sPid);
  2410. //trace("sHngnm = %s",sHngnm);
  2411. ds_main_cond.setColumn(0, "pid", sPid);
  2412. ds_main_cond.setColumn(0, "hngnm", sHngnm);
  2413. }
  2414. }
  2415. /******************************************************************
  2416. * Argument :
  2417. * Description : 마우스 오른쪽버튼
  2418. ******************************************************************/
  2419. function grd_lglydisrepttrgtman_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  2420. {
  2421. if(obj.rowcount > e.row && e.row > -1){
  2422. // var objDs = eval(obj.binddataset);
  2423. // objDs.rowposition = e.row;
  2424. grdf_setSelectedCell(obj, e);
  2425. pos = ds_grd_lglydisrepttrgtmaninfo.rowposition;
  2426. pos1 = grd_lglydisrepttrgtman.vscrollbar.pos;
  2427. var reptdoc = ds_main_cond.getColumn(0, "trgtmankind");
  2428. switch( reptdoc ){
  2429. case '00' :
  2430. var reptdoc = ds_grd_lglydisrepttrgtmaninfo.getColumn(e.row, "reptflag");
  2431. //trace("reptdoc"+reptdoc);
  2432. switch( reptdoc ){
  2433. case '01' : pmn_popupMenu_01.trackPopup(e.screenX,e.screenY); break; //법정전염병신고서, 질병관리본부 신고
  2434. case '02' : pmn_popupMenu_05.trackPopup(e.screenX,e.screenY); break; //결핵환자신고서
  2435. case '03' : pmn_popupMenu_02.trackPopup(e.screenX,e.screenY); break; //간염표본감시신고서
  2436. case '04' : pmn_popupMenu_04.trackPopup(e.screenX,e.screenY); break; //선천성매독표본감시신고서
  2437. case '05' : pmn_popupMenu_03.trackPopup(e.screenX,e.screenY); break; //성병표본감시신고서
  2438. case '06' : pmn_popupMenu_06.trackPopup(e.screenX,e.screenY); break; //크로이츠펠트야콥병신고서
  2439. case '07' : pmn_popupMenu_07.trackPopup(e.screenX,e.screenY); break; //인플루엔자신고서
  2440. case '08' : pmn_popupMenu_08.trackPopup(e.screenX,e.screenY); break; //산모B형간염신고서
  2441. case '09' : pmn_popupMenu_09.trackPopup(e.screenX,e.screenY); break; //HIV-AIDS신고서
  2442. case '10' : pmn_popupMenu_10.trackPopup(e.screenX,e.screenY); break; //수족구병신고서
  2443. case '11' : pmn_popupMenu_11.trackPopup(e.screenX,e.screenY); break; //해외유입기생충감염증
  2444. case '13' : pmn_popupMenu_13.trackPopup(e.screenX,e.screenY); break; //검체시험의뢰서 A서식
  2445. case '14' : pmn_popupMenu_14.trackPopup(e.screenX,e.screenY); break; //검체시험의뢰서 B서식
  2446. case '15' : pmn_popupMenu_15.trackPopup(e.screenX,e.screenY); break; //검체시험의뢰서 C서식
  2447. case '99' : pmn_popupMenu_99.trackPopup(e.screenX,e.screenY); break; //결핵사망신고서
  2448. }
  2449. break;
  2450. case '01' : pmn_popupMenu_01.trackPopup(e.screenX,e.screenY); break; //법정전염병신고서, 질병관리본부 신고
  2451. case '02' : pmn_popupMenu_05.trackPopup(e.screenX,e.screenY); break; //결핵환자신고서
  2452. case '03' : pmn_popupMenu_02.trackPopup(e.screenX,e.screenY); break; //간염표본감시신고서
  2453. case '04' : pmn_popupMenu_04.trackPopup(e.screenX,e.screenY); break; //선천성매독표본감시신고서
  2454. case '05' : pmn_popupMenu_03.trackPopup(e.screenX,e.screenY); break; //성병표본감시신고서
  2455. case '06' : pmn_popupMenu_06.trackPopup(e.screenX,e.screenY); break; //크로이츠펠트야콥병신고서
  2456. case '07' : pmn_popupMenu_07.trackPopup(e.screenX,e.screenY); break; //인플루엔자신고서
  2457. case '08' : pmn_popupMenu_08.trackPopup(e.screenX,e.screenY); break; //산모B형간염신고서
  2458. case '09' : pmn_popupMenu_09.trackPopup(e.screenX,e.screenY); break; //HIV-AIDS신고서
  2459. case '10' : pmn_popupMenu_10.trackPopup(e.screenX,e.screenY); break; //수족구병신고서
  2460. case '11' : pmn_popupMenu_11.trackPopup(e.screenX,e.screenY); break; //해외유입기생충감염증
  2461. case '13' : pmn_popupMenu_13.trackPopup(e.screenX,e.screenY); break; //검체시험의뢰서 A서식
  2462. case '14' : pmn_popupMenu_14.trackPopup(e.screenX,e.screenY); break; //검체시험의뢰서 B서식
  2463. case '15' : pmn_popupMenu_15.trackPopup(e.screenX,e.screenY); break; //검체시험의뢰서 C서식
  2464. case '99' : pmn_popupMenu_99.trackPopup(e.screenX,e.screenY); break; //결핵사망신고서
  2465. }
  2466. }
  2467. return true;
  2468. }
  2469. /******************************************************************
  2470. * Argument :
  2471. * Description : 삭제
  2472. ******************************************************************/
  2473. function grp_ordbtn_button6_onclick(obj:Button, e:ClickEventInfo)
  2474. {
  2475. fn_setDelete();
  2476. }
  2477. function grp_btn_button2_onclick(obj:Button, e:ClickEventInfo)
  2478. {
  2479. fn_setDelete();
  2480. }
  2481. function fn_setDelete(){
  2482. ds_temp_lgly.clear();
  2483. ds_temp_lgly.copyData(ds_grd_lglydisrepttrgtmaninfo);
  2484. ds_temp_lgly.filter("chk=='1'");
  2485. if( ds_temp_lgly.rowcount < 1 ){
  2486. sysf_messageBox("선택된 환자가", "I004");
  2487. return;
  2488. }
  2489. //20170109 이윤주선생님 요청으로 ㄴ다중 건 신청 막기
  2490. if( ds_temp_lgly.rowcount > 1 ){
  2491. sysf_messageBox("선택된 건이 2건 이상입니다", "I999");
  2492. return;
  2493. }
  2494. //전체선택시 한종류만 출력 가능 091127 PYJ
  2495. var trgtmankind = ds_main_cond.getColumn(0, "trgtmankind");
  2496. if( trgtmankind == "00" && ds_temp_lgly.rowcount > 1 ){
  2497. sysf_messageBox("전체조회시 한명의 환자만 선택 가능합니다", "I");
  2498. return;
  2499. }
  2500. //20171230 이돈희 수정 : 여러명 선택후 삭제시 마지막 선택 환자만 삭제 되는 현상
  2501. //=> for 문 안에 ds_send_savedata.clearData(); 가 존재하여 컬럼 ADD와 함께 for 문 밖으로 뺌
  2502. ds_send_savedata.clearData();
  2503. ds_send_savedata.addColumn("state", "string", 256);
  2504. ds_send_savedata.addColumn("reptflag", "string", 256);
  2505. ds_send_savedata.addColumn("psnflag", "string", 256);
  2506. ds_send_savedata.addColumn("wrtedt", "string", 256);
  2507. ds_send_savedata.addColumn("reptdt", "string", 256);
  2508. ds_send_savedata.addColumn("seqno", "string", 256);
  2509. ds_send_savedata.addColumn("pid", "string", 256);
  2510. ds_send_savedata.addColumn("indd", "string", 256);
  2511. ds_send_savedata.addColumn("cretno", "string", 256);
  2512. ds_send_savedata.addColumn("lglydiscd", "string", 256);
  2513. ds_send_savedata.addColumn("reptflag", "string", 256);
  2514. for(var i=0; i < ds_temp_lgly.rowcount; i++)
  2515. {
  2516. var pid = ds_temp_lgly.getColumn(i, "pid");
  2517. var name = ds_temp_lgly.getColumn(i, "name");
  2518. var reptDt = ds_temp_lgly.getColumn(i, "reptdt");
  2519. var cnclYN = ds_temp_lgly.getColumn(i, "cnclyn");
  2520. var psnflag = ds_temp_lgly.getColumn(i, "psnflag");
  2521. var ioflag = ds_temp_lgly.getColumn(i, "ioflag");
  2522. var state = ds_temp_lgly.getColumn(i, "state");
  2523. var reptflag = ds_temp_lgly.getColumn(i, "reptflag");
  2524. var dethreptstat = ds_grd_lglydisrepttrgtmaninfo.getColumn(i, "dethreptstat");
  2525. if( !utlf_isNull(reptDt) || reptDt == "99991231" || dethreptstat == "R" )
  2526. {
  2527. sysf_messageBox(name + "(" + pid + ")" + "의 신고서는 이미 출력되어\n삭제할 수", "I004");
  2528. return;
  2529. }
  2530. else if(cnclYN == "Y")
  2531. {
  2532. sysf_messageBox(name + "(" + pid + ")" + "의 신고서는 이미 삭제되어\n삭제할 수", "I004");
  2533. return;
  2534. }
  2535. if( ds_temp_lgly.getColumn(i, "chk") == "1" )
  2536. {
  2537. var rows = ds_send_savedata.addRow();
  2538. ds_send_savedata.setColumn(rows, "state", ds_temp_lgly.getColumn(i, "state"));
  2539. ds_send_savedata.setColumn(rows, "reptflag", ds_temp_lgly.getColumn(i, "reptflag"));
  2540. ds_send_savedata.setColumn(rows, "psnflag", ds_temp_lgly.getColumn(i, "ioflag"));
  2541. ds_send_savedata.setColumn(rows, "wrtedt", ds_temp_lgly.getColumn(i, "wrtedt"));
  2542. ds_send_savedata.setColumn(rows, "reptdt", ds_temp_lgly.getColumn(i, "reptdt"));
  2543. ds_send_savedata.setColumn(rows, "seqno", ds_temp_lgly.getColumn(i, "seqno"));
  2544. ds_send_savedata.setColumn(rows, "pid", ds_temp_lgly.getColumn(i, "pid"));
  2545. ds_send_savedata.setColumn(rows, "indd", ds_temp_lgly.getColumn(i, "indd"));
  2546. ds_send_savedata.setColumn(rows, "cretno", ds_temp_lgly.getColumn(i, "cretno"));
  2547. ds_send_savedata.setColumn(rows, "lglydiscd", ds_temp_lgly.getColumn(i, "lglydiscd"));
  2548. ds_send_savedata.setColumn(rows, "reptflag", ds_temp_lgly.getColumn(i, "reptflag"));
  2549. }
  2550. }
  2551. if (sysf_messageBox("","Q001") == "7"){
  2552. sysf_messageBox("삭제가 취소되었습니다","I");
  2553. return;
  2554. }
  2555. dsf_setTypeFormat(ds_send_savedata, "seqno:INT");
  2556. var oParam = {};
  2557. oParam.id = "TXASI01302";
  2558. oParam.service = "infcmngtapp.LglyDisMngt";
  2559. oParam.method = "reqExeCnclLglyDisRec";
  2560. oParam.inds = "req=ds_send_savedata";
  2561. oParam.outds = "ds_temp_getlglydisinfo=info";
  2562. oParam.async = false;
  2563. oParam.callback = "cf_TXASI01302";
  2564. tranf_submit(oParam);
  2565. if( arErrorCode.pop("TXASI01302") > -1 ){
  2566. sysf_messageBox("삭제","I001");
  2567. grp_sea.btn_search.click();
  2568. }
  2569. }
  2570. function cf_TXASI01302(sSvcId, nErrorCode, sErrorMsg) {
  2571. arErrorCode.push(sSvcId, nErrorCode);
  2572. }
  2573. /******************************************************************
  2574. * Argument :
  2575. * Description : 엑셀다운로드
  2576. ******************************************************************/
  2577. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  2578. {
  2579. //20161220 이돈희 수정 getRowCount를 rowcount로 수정
  2580. if( ds_grd_lglydisrepttrgtmaninfo.rowcount > 0 ){
  2581. grdf_exportExcel(grd_lglydisrepttrgtman, "법정전염병신고대상자", "법정전염병신고대상자", false, "", "user", false);
  2582. } else {
  2583. sysf_messageBox("조회된 데이터가 ", "I004");
  2584. }
  2585. }
  2586. /******************************************************************
  2587. * Argument :
  2588. * Description : 초기화
  2589. ******************************************************************/
  2590. function grp_ordbtn_button5_onclick(obj:Button, e:ClickEventInfo)
  2591. {
  2592. SMASI01300_oninit();
  2593. }
  2594. /******************************************************************
  2595. * Argument :
  2596. * Description : 미리보기
  2597. ******************************************************************/
  2598. function grp_btn3_button8_onclick(obj:Button, e:ClickEventInfo)
  2599. {
  2600. fn_ReportFreeView();
  2601. }
  2602. function grp_btn_btn_preview_onclick(obj:Button, e:ClickEventInfo)
  2603. {
  2604. fn_ReportFreeView();
  2605. }
  2606. function fn_ReportFreeView(){
  2607. // 선택된 데이터만 필터링해서 복사
  2608. ds_temp_lgly.clear();
  2609. ds_temp_lgly.copyData(ds_grd_lglydisrepttrgtmaninfo);
  2610. ds_temp_lgly.filter("chk=='1'");
  2611. if( ds_temp_lgly.rowcount < 1 ){
  2612. sysf_messageBox("선택된 환자가", "I004");
  2613. return;
  2614. }
  2615. var cnclRows = ds_temp_lgly.findRowExpr("chk=='1' && cnclyn=='Y'");
  2616. if( cnclRows > 0){
  2617. sysf_messageBox("선택된 환자 중 삭제 신고서가 존재합니다.\n삭제 신고서는 출력할 수", "I004");
  2618. return;
  2619. }
  2620. //전체선택시 한종류만 출력 가능 091127 PYJ
  2621. var trgtmankind = ds_main_cond.getColumn(0, "trgtmankind");
  2622. if( trgtmankind == "00" && ds_temp_lgly.rowcount > 1 ){
  2623. sysf_messageBox("전체조회시 한명의 환자만 선택 가능합니다", "I");
  2624. return;
  2625. }
  2626. //Data Set Clear
  2627. ds_temp_lglydisrepttrgtmaninfo.clearData();
  2628. ds_send_savedata.clearData();
  2629. ds_send_searchdata.clearData();
  2630. ds_hidden_reptrsltinfo.copyData(ds_temp_lgly);
  2631. ds_temp_reptrsltinfo.copyData(ds_temp_lgly);
  2632. ds_hidden_reptrsltinfo.clearData();
  2633. ds_temp_reptrsltinfo.clearData();
  2634. dsf_createDs("ds_send_savedata",
  2635. [{col:"m", type:"string", size:256}
  2636. ,{col:"select", type:"string", size:256}
  2637. ,{col:"pid", type:"string", size:256}
  2638. ,{col:"wrtedt", type:"string", size:256}
  2639. ,{col:"seqno", type:"string", size:256}],true);
  2640. //미신고 조회시 출력에 보이지 않는 문제 09.11.25
  2641. var getReptstat = ds_send_cond.getColumn(0, "reptstat");
  2642. trace("fn_ReportFreeView 1");
  2643. for( var i = 0; i < ds_temp_lgly.rowcount; i++ ){
  2644. var getChk = ds_temp_lgly.getColumn(i, "chk");
  2645. if( getChk == "1" ){
  2646. trace("fn_ReportFreeView 2");
  2647. //전체("00")일때 출력 091126 PYJ
  2648. var reptdoc = ds_send_cond.getColumn(0, "trgtmankind");
  2649. //if( reptdoc == "00" ){ //20161114 전체 아닐때 레포트 출력 오류 수정
  2650. //ds_hidden_lglydisrepttrgtmaninfo.copyData(ds_temp_lgly);
  2651. var Rreptflag = ds_temp_lgly.getColumn(i, "reptflag");
  2652. var sLglydiscd = ds_temp_lgly.getColumn(i, "lglydiscd");
  2653. ds_main_cond.setColumn(0, "trgtmankind", Rreptflag);
  2654. ds_main_cond.setColumn(0, "slglydiscd", sLglydiscd);
  2655. ds_main_cond.setColumn(0, "pid", ds_temp_lgly.getColumn(i, "pid"));
  2656. ds_main_cond.setColumn(0, "name", ds_temp_lgly.getColumn(i, "name"));
  2657. ds_main_cond.setColumn(0, "wrtedt", ds_temp_lgly.getColumn(i, "wrtedt"));
  2658. ds_main_cond.setColumn(0, "seqno", ds_temp_lgly.getColumn(i, "seqno"));
  2659. ds_main_cond.setColumn(0, "reptstat", "");
  2660. ds_send_cond.copyData(ds_main_cond);
  2661. //전체조건에서 환자를 조회
  2662. ds_main_cond.setColumn(0, "reptstat", "");
  2663. ds_hidden_lglydisrepttrgtmaninfo_temp.clearData();
  2664. var oParam = {};
  2665. oParam.id = "TRASI01305";
  2666. oParam.service = "infcmngtapp.LglyDisMngt";
  2667. oParam.method = "reqGetLglyDisReptTrgtmanList";
  2668. oParam.inds = "req=ds_send_cond";
  2669. oParam.outds = "ds_hidden_lglydisrepttrgtmaninfo_temp=lglydisrepttrgtmanlist";
  2670. oParam.async = false;
  2671. //oParam.callback = "cf_TRASI01305";
  2672. tranf_submit(oParam);
  2673. //조건을 원상태로 복귀
  2674. ds_main_cond.setColumn(0, "reptstat", getReptstat);
  2675. ds_send_cond.setColumn(0, "reptstat", getReptstat);
  2676. //초기화
  2677. ds_main_cond.setColumn(0, "pid", "");
  2678. ds_main_cond.setColumn(0, "name", "");
  2679. ds_main_cond.setColumn(0, "wrtedt", "");
  2680. ds_main_cond.setColumn(0, "seqno", "");
  2681. //}
  2682. //저장 후 조회해온 데이터를 출력해주도록 변경 (2009.07.17 JJE)
  2683. var select;
  2684. if( getChk == "1" ) select = "true"; else select = "false";
  2685. var nSendRow = ds_send_savedata.addRow();
  2686. ds_send_savedata.setColumn(nSendRow, "m", "u");
  2687. ds_send_savedata.setColumn(nSendRow, "select", select);
  2688. ds_send_savedata.setColumn(nSendRow, "pid", ds_temp_lgly.getColumn(i, "pid"));
  2689. ds_send_savedata.setColumn(nSendRow, "wrtedt", ds_temp_lgly.getColumn(i, "wrtedt"));
  2690. ds_send_savedata.setColumn(nSendRow, "seqno", ds_temp_lgly.getColumn(i, "seqno"));
  2691. //박유진 091125 미신고시 변수 임시저장
  2692. if( getReptstat == "M" ){
  2693. trace("fn_ReportFreeView 3");
  2694. var dateCur = utlf_getCurrentDate();
  2695. var year = dateCur.substr(0,4);
  2696. var mon = dateCur.substr(4,2);
  2697. var day = dateCur.substr(6,2);
  2698. var dateCurtime = utlf_getCurrentDateTime();
  2699. //전체조건 조회시
  2700. if( reptdoc != "00" ){
  2701. trace("fn_ReportFreeView 4");
  2702. //var nRow = ds_hidden_reptrsltinfo.addRow();//20161114 전체 아닐때 레포트 출력 오류 수정
  2703. //ds_hidden_reptrsltinfo.copyRow(nRow, ds_temp_lgly, i); //20161114 전체 아닐때 레포트 출력 오류 수정
  2704. dsf_copyDs(ds_hidden_reptrsltinfo, ds_hidden_lglydisrepttrgtmaninfo_temp, "after");
  2705. } else {
  2706. trace("fn_ReportFreeView 5");
  2707. dsf_copyDs(ds_hidden_reptrsltinfo, ds_hidden_lglydisrepttrgtmaninfo_temp, "after");
  2708. }
  2709. } else { //미신고가 아닌경우
  2710. trace("fn_ReportFreeView 6");
  2711. if( reptdoc != "00" ){
  2712. trace("fn_ReportFreeView 7");
  2713. //var nRow = ds_hidden_reptrsltinfo.addRow();//20161114 전체 아닐때 레포트 출력 오류 수정
  2714. //ds_hidden_reptrsltinfo.copyRow(nRow, ds_temp_lgly, i);//20161114 전체 아닐때 레포트 출력 오류 수정
  2715. dsf_copyDs(ds_temp_reptrsltinfo, ds_hidden_lglydisrepttrgtmaninfo_temp, "after");
  2716. trace("ds_temp_reptrsltinfo = " + ds_temp_reptrsltinfo.getColumn(0,1));
  2717. trace("ds_hidden_lglydisrepttrgtmaninfo_temp = " + ds_hidden_lglydisrepttrgtmaninfo_temp.getColumn(0,1));
  2718. //trace("ds_temp_reptrsltinfo = " + ds_temp_reptrsltinfo.getColumn(0,"clispeaopinion"));
  2719. //trace("ds_hidden_lglydisrepttrgtmaninfo_temp = " + ds_hidden_lglydisrepttrgtmaninfo_temp.getColumn(0,"clispeaopinion"));
  2720. } else {
  2721. trace("fn_ReportFreeView 8");
  2722. dsf_copyDs(ds_temp_reptrsltinfo, ds_hidden_lglydisrepttrgtmaninfo_temp, "after");
  2723. }
  2724. }
  2725. }
  2726. }
  2727. dsf_createDsRow("ds_send_searchdata",
  2728. [{col:"trgtmankind", type:"string", size:256, val:ds_main_cond.getColumn(0, "trgtmankind")}
  2729. ,{col:"reptstat", type:"string", size:256, val:ds_main_cond.getColumn(0, "reptstat")}
  2730. ,{col:"fromdd", type:"string", size:256, val:ds_main_cond.getColumn(0, "fromdd")}
  2731. ,{col:"todd", type:"string", size:256, val:ds_main_cond.getColumn(0, "todd")}
  2732. ,{col:"orddept", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddept")}
  2733. ,{col:"orddr", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddr")}],true);
  2734. //미신고 데이터 신고시 출력데이터 보이지 않는 문제 해결 09.11.25 PYJ
  2735. if( getReptstat == "M" ){
  2736. trace("fn_ReportFreeView 9");
  2737. for( var i = 0; i < ds_hidden_reptrsltinfo.rowcount; i++ ){
  2738. var nRow = ds_temp_reptrsltinfo.addRow();
  2739. ds_temp_reptrsltinfo.copyRow(nRow, ds_hidden_reptrsltinfo, i);
  2740. }
  2741. }
  2742. ds_temp_lglydisrepttrgtmaninfo.clearData();
  2743. if( !utlf_isNull(ds_temp_reptrsltinfo.getColumn(0, "pid")) && trgtmankind == "00" ){
  2744. trace("fn_ReportFreeView 10");
  2745. //전체조회시 복사된 노드가하나이므로
  2746. //dsf_copyDs(ds_temp_lglydisrepttrgtmaninfo, ds_temp_reptrsltinfo, "after");
  2747. ds_temp_lglydisrepttrgtmaninfo.copyData(ds_temp_reptrsltinfo);
  2748. } else if( !utlf_isNull(ds_temp_reptrsltinfo.getColumn(0, "pid")) && trgtmankind != "00" ){
  2749. trace("fn_ReportFreeView 11");
  2750. //20161114 전체 아닐때 레포트 출력 오류 수정 : ds_hidden_searchlist -> ds_temp_reptrsltinfo
  2751. for( var i = 0; i < ds_temp_reptrsltinfo.rowcount; i++ ){
  2752. var hPid = ds_temp_reptrsltinfo.getColumn(i, "pid");
  2753. var hWrtedt = ds_temp_reptrsltinfo.getColumn(i, "wrtedt");
  2754. var hSeqno = ds_temp_reptrsltinfo.getColumn(i, "seqno");
  2755. var hReptdt = ds_temp_reptrsltinfo.getColumn(i, "reptdt");
  2756. //레포트 호출
  2757. for( var j = 0; j < ds_send_savedata.rowcount; j++ ){
  2758. var sSelect = ds_send_savedata.getColumn(j, "select");
  2759. var sPid = ds_send_savedata.getColumn(j, "pid");
  2760. var sWrtedt = ds_send_savedata.getColumn(j, "wrtedt");
  2761. var sSeqno = ds_send_savedata.getColumn(j, "seqno");
  2762. if( sSelect == "true" && hPid == sPid && hWrtedt == sWrtedt && hSeqno == sSeqno ){
  2763. trace("fn_ReportFreeView 11-1");
  2764. var nRow = ds_temp_lglydisrepttrgtmaninfo.addRow();
  2765. ds_temp_lglydisrepttrgtmaninfo.copyRow(nRow, ds_temp_reptrsltinfo, i);
  2766. //trace("ds_temp_reptrsltinfo = " + ds_temp_reptrsltinfo.getColumn(nRow,"clispeaopinion"));
  2767. //trace("ds_temp_lglydisrepttrgtmaninfo = " + ds_temp_lglydisrepttrgtmaninfo.getColumn(nRow,"clispeaopinion"));
  2768. }
  2769. }
  2770. }
  2771. }
  2772. //전체조회시 reptdoc가 00이므로
  2773. var objDOM = rptf_createDOM();
  2774. var reptdoc = ds_temp_lglydisrepttrgtmaninfo.getColumn(0, "reptflag");
  2775. //20161223 이돈희 수정 : 검체시험의뢰서를 위한 추가 정보를 추가
  2776. var valglydisrepttrgtmaninfoRowcount = ds_temp_lglydisrepttrgtmaninfo.rowcount;//출력을 위해 선택한 Row 개수
  2777. switch(reptdoc)
  2778. {
  2779. case '13':
  2780. fClinicalSpecimenAAdditionalData(valglydisrepttrgtmaninfoRowcount);// 검체시험의뢰서 A를 위한 추가 정보 구성
  2781. break;
  2782. case '14':
  2783. fClinicalSpecimenBAdditionalData(valglydisrepttrgtmaninfoRowcount);// 검체시험의뢰서 B를 위한 추가 정보 구성
  2784. break;
  2785. case '15':
  2786. fClinicalSpecimenCAdditionalData(valglydisrepttrgtmaninfoRowcount);// 검체시험의뢰서 C를 위한 추가 정보 구성
  2787. break;
  2788. default:
  2789. break;
  2790. }
  2791. rptf_setNodeListToDOM(objDOM, "/root/temp/lglydisrepttrgtmaninfo/lglydisrepttrgtmanlist", ds_temp_lglydisrepttrgtmaninfo); // 데이터셋 1
  2792. var objParam = new Object();
  2793. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  2794. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  2795. var sPrntPram = fInfectionReportSpilt();
  2796. switch(reptdoc){
  2797. //case '01': rptf_exeReportPreview30(["RPASI01500"],[objParam], option); break; // 법정전염병신고서
  2798. case '01': rptf_exeReportPreview30([sPrntPram],[objParam], option); break; // RPASI01800_결핵정보관리보고서
  2799. case '02': rptf_exeReportPreview30(["RPASI01800"],[objParam], option); break; // RPASI01800_결핵정보관리보고서
  2800. case '03': rptf_exeReportPreview30(["RPASI01600"],[objParam], option); break; // RPASI01600_간염표본감시신고서
  2801. case '04': rptf_exeReportPreview30(["RPASI01900"],[objParam], option); break; // RPASI01900_선천성매독표본감시신고서
  2802. case '05': rptf_exeReportPreview30(["RPASI01700"],[objParam], option); break; // RPASI01700_성병표본감시신고서
  2803. case '06': rptf_exeReportPreview30(["RPASI03400"],[objParam], option); break; // RPASI03400_크로이츠펠트야콥병신고서
  2804. case '07': rptf_exeReportPreview30(["RPASI03500"],[objParam], option); break; // RPASI03500_인플루엔자신고서
  2805. case '08': rptf_exeReportPreview30(["RPASI03600"],[objParam], option); break; // RPASI03600_산모B형간염신고서
  2806. case '09': rptf_exeReportPreview30(["RPASI03300"],[objParam], option); break; // RPASI03300_HIV-AIDS신고서
  2807. case '10': rptf_exeReportPreview30(["RPASI03700"],[objParam], option); break; // RPASI03700_수족구병신고서
  2808. case '11': rptf_exeReportPreview30(["RPASI04100"],[objParam], option); break; // RPASI04100_해외유입기생충감염증
  2809. case '13':
  2810. rptf_exeReportPreview30(["RPASI05000"],[objParam], option);
  2811. break; // RPASI05000_검체시험의뢰서 A
  2812. case '14':
  2813. rptf_exeReportPreview30(["RPASI06000"],[objParam], option);
  2814. break; // RPASI06000_검체시험의뢰서 B
  2815. case '15':
  2816. rptf_exeReportPreview30(["RPASI07000"],[objParam], option);
  2817. break;// RPASI07000_검체시험의뢰서 C
  2818. }
  2819. //대상자종류가 전체일때 초기화 091126 PYJ
  2820. if( trgtmankind == "00" ){
  2821. ds_main_cond.setColumn(0, "trgtmankind", "00");
  2822. ds_send_cond.setColumn(0, "trgtmankind", "00");
  2823. }
  2824. }
  2825. /******************************************************************
  2826. * Argument :
  2827. * Description : 출력
  2828. ******************************************************************/
  2829. function grp_btn3_button9_onclick(obj:Button, e:ClickEventInfo)
  2830. {
  2831. fn_print();
  2832. }
  2833. function grp_btn_button4_onclick(obj:Button, e:ClickEventInfo)
  2834. {
  2835. fn_print();
  2836. }
  2837. function fn_print(){
  2838. //20161221 이돈희 추가: 대상자종류를 전체로 한 후 출력시 출력을 위하여 trgmankind 값을 바꾸므로
  2839. //재조회시 전체로 조회 안되는 현상 수정을 위하여 이전 값 저장
  2840. var vaOriginalTrgtmankind = ds_main_cond.getColumn(0,"trgtmankind");
  2841. // 선택된 데이터만 필터링해서 복사
  2842. ds_temp_lgly.clear();
  2843. ds_temp_lgly.copyData(ds_grd_lglydisrepttrgtmaninfo);
  2844. ds_temp_lgly.filter("chk=='1'");
  2845. if( ds_temp_lgly.rowcount < 1 ){
  2846. sysf_messageBox("선택된 환자가", "I004");
  2847. return;
  2848. }
  2849. //20170109 이윤주선생님 요청으로 다중 건 신청 막기
  2850. if( ds_temp_lgly.rowcount > 1 ){
  2851. sysf_messageBox("선택된 건이 2건 이상입니다", "I999");
  2852. return;
  2853. }
  2854. var cnclRows = ds_temp_lgly.findRowExpr("chk=='1' && fcnclyn=='Y'");
  2855. if( cnclRows > 0){
  2856. sysf_messageBox("선택된 환자 중 삭제 신고서가 존재합니다.\n삭제 신고서는 출력할 수", "I004");
  2857. return;
  2858. }
  2859. //전체선택시 한종류만 출력 가능 091127 PYJ
  2860. var trgtmankind = ds_main_cond.getColumn(0, "trgtmankind");
  2861. if( trgtmankind == "00" && ds_temp_lgly.rowcount > 1 ){
  2862. sysf_messageBox("전체조회시 한명의 환자만 선택 가능합니다", "I");
  2863. return;
  2864. }
  2865. //Data Set Clear
  2866. ds_temp_lglydisrepttrgtmaninfo.clearData();
  2867. ds_send_savedata.clearData();
  2868. ds_send_searchdata.clearData();
  2869. ds_hidden_reptrsltinfo.copyData(ds_temp_lgly);
  2870. ds_temp_reptrsltinfo.copyData(ds_temp_lgly);
  2871. ds_hidden_reptrsltinfo.clearData();
  2872. ds_temp_reptrsltinfo.clearData();
  2873. //trgtmankind : 대상자종류구분
  2874. trace("fn_printf 1");
  2875. if( ds_main_cond.getColumn(0, "trgtmankind") == "99" ){
  2876. trace("fn_printf 2");
  2877. dsf_createDs("ds_send_savedata",
  2878. [{col:"m", type:"string", size:256}
  2879. ,{col:"select", type:"string", size:256}
  2880. ,{col:"pid", type:"string", size:256}
  2881. ,{col:"wrtedt", type:"string", size:256}
  2882. ,{col:"seqno", type:"string", size:256}
  2883. ,{col:"reptstat", type:"string", size:256}
  2884. ,{col:"dethreptstat", type:"string", size:256}],true);
  2885. } else {
  2886. trace("fn_printf 3");
  2887. dsf_createDs("ds_send_savedata",
  2888. [{col:"m", type:"string", size:256}
  2889. ,{col:"select", type:"string", size:256}
  2890. ,{col:"pid", type:"string", size:256}
  2891. ,{col:"wrtedt", type:"string", size:256}
  2892. ,{col:"seqno", type:"string", size:256}
  2893. ,{col:"reptstat", type:"string", size:256}],true);
  2894. }
  2895. //미신고 조회시 출력에 보이지 않는 문제 09.11.25
  2896. var getReptstat = ds_send_cond.getColumn(0, "reptstat");
  2897. ds_hidden_reptrsltinfo.clearData();
  2898. ds_temp_reptrsltinfo.clearData();
  2899. var getKind = ds_main_cond.getColumn(0, "trgtmankind");
  2900. //출력을위한 node 초기화
  2901. ds_temp_lglydisrepttrgtmaninfo.clearData();
  2902. var dateCur = utlf_getCurrentDate();
  2903. var year = dateCur.substr(0, 4);
  2904. var mon = dateCur.substr(4, 2);
  2905. var day = dateCur.substr(6, 2);
  2906. var dateCurtime = utlf_getCurrentDateTime();
  2907. var dateTime = dateCurtime.substr(0,8)+dateCurtime.substr(9,12);
  2908. trace("fn_printf 4");
  2909. for( var i = 0; i < ds_temp_lgly.rowcount; i++ ){
  2910. var getChk = ds_temp_lgly.getColumn(i, "chk");
  2911. if( getChk == "1" ){
  2912. trace("fn_printf 5");
  2913. //전체("00")일때 출력 091126 PYJ
  2914. var reptdoc = ds_send_cond.getColumn(0, "trgtmankind");
  2915. //if( reptdoc == "00" ){ //20161114 전체 아닐때 레포트 출력 오류 수정
  2916. //ds_hidden_lglydisrepttrgtmaninfo.copyData(ds_temp_lgly);
  2917. var Rreptflag = ds_temp_lgly.getColumn(i, "reptflag");
  2918. ds_main_cond.setColumn(0, "trgtmankind", Rreptflag);
  2919. ds_main_cond.setColumn(0, "pid", ds_temp_lgly.getColumn(i, "pid"));
  2920. ds_main_cond.setColumn(0, "name", ds_temp_lgly.getColumn(i, "name"));
  2921. ds_main_cond.setColumn(0, "wrtedt", ds_temp_lgly.getColumn(i, "wrtedt"));
  2922. ds_main_cond.setColumn(0, "seqno", ds_temp_lgly.getColumn(i, "seqno"));
  2923. ds_main_cond.setColumn(0, "reptstat", "");
  2924. ds_send_cond.copyData(ds_main_cond);
  2925. //전체조건에서 환자를 조회
  2926. var reptstat = ds_send_cond.getColumn(0, "reptstat");
  2927. ds_main_cond.setColumn(0, "reptstat", "");
  2928. ds_send_cond.copyData(ds_main_cond);
  2929. ds_hidden_lglydisrepttrgtmaninfo_temp.clearData();
  2930. var oParam = {};
  2931. oParam.id = "TRASI01305";
  2932. oParam.service = "infcmngtapp.LglyDisMngt";
  2933. oParam.method = "reqGetLglyDisReptTrgtmanList";
  2934. oParam.inds = "req=ds_send_cond";
  2935. oParam.outds = "ds_hidden_lglydisrepttrgtmaninfo_temp=lglydisrepttrgtmanlist";
  2936. oParam.async = false;
  2937. //oParam.callback = "cf_TRASI01305";
  2938. tranf_submit(oParam);
  2939. //kimsj 20100222 미신고 처음 출력시 신고일자 출력되지 않는 오류현상 수정
  2940. var cntRow = ds_hidden_lglydisrepttrgtmaninfo_temp.rowcount;
  2941. for( var t = 1; t < cntRow; t++ ){
  2942. ds_hidden_lglydisrepttrgtmaninfo_temp.setColumn(t, "reptdt", dateCur);
  2943. }
  2944. //조건을 원상태로 복귀
  2945. ds_main_cond.setColumn(0, "reptstat", reptstat);
  2946. ds_send_cond.setColumn(0, "reptstat", reptstat);
  2947. //초기화
  2948. ds_main_cond.setColumn(0, "pid", "");
  2949. ds_main_cond.setColumn(0, "name", "");
  2950. ds_main_cond.setColumn(0, "wrtedt", "");
  2951. ds_main_cond.setColumn(0, "seqno", "");
  2952. //}
  2953. //저장 후 조회해온 데이터를 출력해주도록 변경 (2009.07.17 JJE)
  2954. var select;
  2955. if( getChk == "1" ) select = "true"; else select = "false";
  2956. if( ds_main_cond.getColumn(0, "trgtmankind") == "99" )
  2957. {
  2958. trace("fn_printf 6");
  2959. var nSendRow = ds_send_savedata.addRow();
  2960. ds_send_savedata.setColumn(nSendRow, "m", "u");
  2961. ds_send_savedata.setColumn(nSendRow, "select", select);
  2962. ds_send_savedata.setColumn(nSendRow, "pid", ds_temp_lgly.getColumn(i, "pid"));
  2963. ds_send_savedata.setColumn(nSendRow, "wrtedt", ds_temp_lgly.getColumn(i, "wrtedt"));
  2964. ds_send_savedata.setColumn(nSendRow, "seqno", ds_temp_lgly.getColumn(i, "seqno"));
  2965. //20161221 이돈희 수정 : 신고 선택시에 환자의 reptstat가 'M'(미신고)상태로 유지됨
  2966. //신고 시 'R'상태로 변경
  2967. //ds_send_savedata.setColumn(nSendRow, "reptstat", ds_temp_lgly.getColumn(i, "reptstat"));
  2968. ds_send_savedata.setColumn(nSendRow, "reptstat", "R");
  2969. ds_send_savedata.setColumn(nSendRow, "dethreptstat", ds_temp_lgly.getColumn(i, "R"));
  2970. }
  2971. else
  2972. {
  2973. trace("fn_printf 7");
  2974. var nSendRow = ds_send_savedata.addRow();
  2975. ds_send_savedata.setColumn(nSendRow, "m", "u");
  2976. ds_send_savedata.setColumn(nSendRow, "select", select);
  2977. ds_send_savedata.setColumn(nSendRow, "pid", ds_temp_lgly.getColumn(i, "pid"));
  2978. ds_send_savedata.setColumn(nSendRow, "wrtedt", ds_temp_lgly.getColumn(i, "wrtedt"));
  2979. ds_send_savedata.setColumn(nSendRow, "seqno", ds_temp_lgly.getColumn(i, "seqno"));
  2980. //20161221 이돈희 수정 : 신고 선택시에 환자의 reptstat가 'M'(미신고)상태로 유지됨
  2981. //신고 시 'R'상태로 변경
  2982. //ds_send_savedata.setColumn(nSendRow, "reptstat", ds_temp_lgly.getColumn(i, "reptstat"));
  2983. ds_send_savedata.setColumn(nSendRow, "reptstat","R" );
  2984. }
  2985. //박유진 091125 미신고시 변수 임시저장
  2986. if( getReptstat == "M" ){
  2987. if( reptdoc != "00" ){
  2988. trace("fn_printf 8");
  2989. //091203 박유진 미신고시 sort후 출력되지 않는 사항 수정
  2990. //sort 후에는 모든 정보를 가지고 있지 않으므로
  2991. var Spid = ds_temp_lgly.getColumn(i, "pid");
  2992. var Swrtedt = ds_temp_lgly.getColumn(i, "wrtedt");
  2993. var Sseqno = ds_temp_lgly.getColumn(i, "seqno");
  2994. for( var s = 0; s <= ds_hidden_lglydisrepttrgtmaninfo_temp.rowcount; s++ ){
  2995. var Hselect = ds_hidden_searchlist.getColumn(s, "select");
  2996. var Hpid = ds_hidden_searchlist.getColumn(s, "pid");
  2997. var Hwrtedt = ds_hidden_searchlist.getColumn(s, "wrtedt");
  2998. var Hseqno = ds_hidden_searchlist.getColumn(s, "seqno");
  2999. if( Spid == Hpid && Swrtedt == Hwrtedt && Sseqno == Hseqno ){
  3000. ds_hidden_searchlist.setColumn(s, "reptdt", dateCur);
  3001. ds_temp_lglydisrepttrgtmaninfo.copyData(ds_hidden_lglydisrepttrgtmaninfo_temp);
  3002. }
  3003. }
  3004. } else {
  3005. trace("fn_printf 9");
  3006. //출력 가능한 노드로 copy
  3007. dsf_copyDs(ds_temp_lglydisrepttrgtmaninfo, ds_hidden_lglydisrepttrgtmaninfo_temp, "after");
  3008. }
  3009. } else { //미신고가 아닌경우
  3010. if( reptdoc != "00" ){
  3011. trace("fn_printf 10");
  3012. dsf_copyDs(ds_temp_reptrsltinfo, ds_hidden_lglydisrepttrgtmaninfo_temp, "after");
  3013. //20161221 이돈희 추가 : 대상자 종류가 전체가 아닌 경우 ds_temp_lglydisrepttrgtmaninfo.reptflag
  3014. //값이 존재하지않아 미리보기 화면이 안뜨는 현상으로 수정
  3015. dsf_copyDs(ds_temp_lglydisrepttrgtmaninfo, ds_hidden_lglydisrepttrgtmaninfo_temp, "after");
  3016. } else {
  3017. trace("fn_printf 11");
  3018. dsf_copyDs(ds_temp_lglydisrepttrgtmaninfo, ds_hidden_lglydisrepttrgtmaninfo_temp, "after");
  3019. }
  3020. //model.makeValue("/root/main/lglydisrepttrgtmaninfo/lglydisrepttrgtmanlist["+i+"]/reptdtnm","신고");
  3021. }
  3022. // model.makeValue("/root/hidden/reptrsltinfo/lglydisrepttrgtmanlist["+rownum+"]/reptdtnm","신고");
  3023. // model.makeValue("/root/hidden/reptrsltinfo/lglydisrepttrgtmanlist["+rownum+"]/reptyear",year);
  3024. // model.makeValue("/root/hidden/reptrsltinfo/lglydisrepttrgtmanlist["+rownum+"]/reptmonth",mon);
  3025. // model.makeValue("/root/hidden/reptrsltinfo/lglydisrepttrgtmanlist["+rownum+"]/reptday",day);
  3026. // model.makeValue("/root/hidden/reptrsltinfo/lglydisrepttrgtmanlist["+rownum+"]/reptdt",dateTime);
  3027. // //그리드에 보이기
  3028. // model.makeValue("/root/main/lglydisrepttrgtmaninfo/lglydisrepttrgtmanlist["+i+"]/reptdtnm","신고");
  3029. // model.makeValue("/root/main/lglydisrepttrgtmaninfo/lglydisrepttrgtmanlist["+i+"]/reptdt",year+"-"+mon+"-"+day);
  3030. }
  3031. }
  3032. //20161221 이돈희 추가: 대상자종류를 전체로 한 후 출력시 출력을 위하여 trgmankind 값을 바꾸므로
  3033. //재조회시 전체로 조회 안되는 현상 수정을 위하여 이전 값 저장
  3034. ds_main_cond.setColumn(0, "trgtmankind", vaOriginalTrgtmankind);
  3035. dsf_createDsRow("ds_send_searchdata",
  3036. [{col:"trgtmankind", type:"string", size:256, val:ds_main_cond.getColumn(0, "trgtmankind")}
  3037. ,{col:"reptstat", type:"string", size:256, val:ds_main_cond.getColumn(0, "reptstat")}
  3038. ,{col:"fromdd", type:"string", size:256, val:ds_main_cond.getColumn(0, "fromdd")}
  3039. ,{col:"todd", type:"string", size:256, val:ds_main_cond.getColumn(0, "todd")}
  3040. ,{col:"orddept", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddept")}
  3041. ,{col:"orddr", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddr")}],true);
  3042. var oParam = {};
  3043. oParam.id = "TXASI01301";
  3044. oParam.service = "infcmngtapp.LglyDisMngt";
  3045. oParam.method = "reqExeLglyDisReptddUpdt";
  3046. oParam.inds = "req=ds_send_savedata req2=ds_send_searchdata";
  3047. oParam.outds = "ds_temp_reptrsltinfo=lglydisrepttrgtmanlist";
  3048. oParam.async = false;
  3049. oParam.callback = "cf_TXASI01301";
  3050. tranf_submit(oParam);
  3051. //20161226 이돈희 추가 : 프린트하고 데이터를 새로 요청해서 받는 과정에서 기존 체크된것이
  3052. //체크해제되나 헤드에는 체크가 유지되어 강제로 체크 해제함
  3053. grd_lglydisrepttrgtman.setCellProperty("head", 1, "text", "false");
  3054. //20161221 이돈희 추가 : 신고가된 경우 신고가 완료된 경우 재 조회후 리스트 표시해줌
  3055. if( arErrorCode.pop("TXASI01301") > -1 ){
  3056. btn_search_onclick();
  3057. }
  3058. if( arErrorCode.pop("TXASI01301") < -1 ){
  3059. return;
  3060. }
  3061. if( !utlf_isNull(ds_temp_reptrsltinfo.getColumn(0, "pid")) ){
  3062. trace("fn_printf 12");
  3063. } else {
  3064. trace("fn_printf 13");
  3065. var reptdoc = ds_main_cond.getColumn(0, "trgtmankind");
  3066. if( getKind != "00" && getReptstat != "M" ){
  3067. trace("fn_printf 14");
  3068. ds_temp_lglydisrepttrgtmaninfo.clearData();
  3069. for( var i = 0; i < ds_temp_reptrsltinfo.rowcount; i++ ){
  3070. trace("fn_printf 15");
  3071. var hPid = ds_temp_reptrsltinfo.getColumn(i, "pid");
  3072. var hWrtedt = ds_temp_reptrsltinfo.getColumn(i, "wrtedt");
  3073. var hSeqno = ds_temp_reptrsltinfo.getColumn(i, "seqno");
  3074. var hReptdt = ds_temp_reptrsltinfo.getColumn(i, "reptdt");
  3075. //레포트 호출
  3076. for( var j = 0; j < ds_send_savedata.rowcount; j++ ){
  3077. trace("fn_printf 16");
  3078. var sSelect = ds_send_savedata.getColumn(j, "select");
  3079. var sPid = ds_send_savedata.getColumn(j, "pid");
  3080. var sWrtedt = ds_send_savedata.getColumn(j, "wrtedt");
  3081. var sSeqno = ds_send_savedata.getColumn(j, "seqno");
  3082. if( sSelect == "true" && hPid == sPid && hWrtedt == sWrtedt && hSeqno == sSeqno ){
  3083. trace("fn_printf 17");
  3084. var nRow = ds_temp_lglydisrepttrgtmaninfo.addRow();
  3085. ds_temp_lglydisrepttrgtmaninfo.copyRow(nRow, ds_hidden_searchlist, i);
  3086. }
  3087. }
  3088. }
  3089. }
  3090. }
  3091. //전체조회시 reptdoc가 00이므로
  3092. var reptdoc = ds_temp_lglydisrepttrgtmaninfo.getColumn(0, "reptflag");
  3093. //출력 관련 부분////////////////////
  3094. var objDOM = rptf_createDOM();
  3095. //////////////////////////////////////
  3096. //20161223 이돈희 수정 : 검체시험의뢰서를 위한 추가 정보를 추가
  3097. var valglydisrepttrgtmaninfoRowcount = ds_temp_lglydisrepttrgtmaninfo.rowcount;//출력을 위해 선택한 Row 개수
  3098. switch(reptdoc)
  3099. {
  3100. case '13':
  3101. fClinicalSpecimenAAdditionalData(valglydisrepttrgtmaninfoRowcount);// 검체시험의뢰서 A를 위한 추가 정보 구성
  3102. break;
  3103. case '14':
  3104. fClinicalSpecimenBAdditionalData(valglydisrepttrgtmaninfoRowcount);// 검체시험의뢰서 B를 위한 추가 정보 구성
  3105. break;
  3106. case '15':
  3107. fClinicalSpecimenCAdditionalData(valglydisrepttrgtmaninfoRowcount);// 검체시험의뢰서 C를 위한 추가 정보 구성
  3108. break;
  3109. default:
  3110. break;
  3111. }
  3112. //출력 관련 부분////////////////////
  3113. rptf_setNodeListToDOM(objDOM, "/root/temp/lglydisrepttrgtmaninfo/lglydisrepttrgtmanlist", ds_temp_lglydisrepttrgtmaninfo); // 데이터셋 1
  3114. //////////////////////////////////////
  3115. //출력 관련 부분////////////////////
  3116. var objParam = new Object();
  3117. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  3118. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  3119. var sPrntPram = fInfectionReportSpilt();
  3120. //////////////////////////////////////
  3121. //sysf_trace(objDOM.documentElement.source);
  3122. //sysf_trace("+++++++++++++++++++++++++++++++++++++++++++++++++++");
  3123. //sysf_trace(ds_temp_lglydisrepttrgtmaninfo.saveXML());
  3124. //출력 관련 부분////////////////////
  3125. switch(reptdoc){
  3126. //case '01': rptf_exeReportPreview30(["RPASI01500"],[objParam], option); break; // 법정전염병신고서
  3127. case '01': rptf_exeReportPreview30([sPrntPram],[objParam], option); break; // RPASI01800_결핵정보관리보고서
  3128. case '02': rptf_exeReportPreview30(["RPASI01800"],[objParam], option); break; // RPASI01800_결핵정보관리보고서
  3129. case '03': rptf_exeReportPreview30(["RPASI01600"],[objParam], option); break; // RPASI01600_간염표본감시신고서
  3130. case '04': rptf_exeReportPreview30(["RPASI01900"],[objParam], option); break; // RPASI01900_선천성매독표본감시신고서
  3131. case '05': rptf_exeReportPreview30(["RPASI01700"],[objParam], option); break; // RPASI01700_성병표본감시신고서
  3132. case '06': rptf_exeReportPreview30(["RPASI03400"],[objParam], option); break; // RPASI03400_크로이츠펠트야콥병신고서
  3133. case '07': rptf_exeReportPreview30(["RPASI03500"],[objParam], option); break; // RPASI03500_인플루엔자신고서
  3134. case '08': rptf_exeReportPreview30(["RPASI03600"],[objParam], option); break; // RPASI03600_산모B형간염신고서
  3135. case '09': rptf_exeReportPreview30(["RPASI03300"],[objParam], option); break; // RPASI03300_HIV-AIDS신고서
  3136. case '10': rptf_exeReportPreview30(["RPASI03700"],[objParam], option); break; // RPASI03700_수족구병신고서
  3137. case '11': rptf_exeReportPreview30(["RPASI04100"],[objParam], option); break; // RPASI04100_해외유입기생충감염증
  3138. case '13':
  3139. rptf_exeReportPreview30(["RPASI05000"],[objParam], option);
  3140. break; // RPASI05000_검체시험의뢰서 A
  3141. case '14':
  3142. rptf_exeReportPreview30(["RPASI06000"],[objParam], option);
  3143. break; // RPASI06000_검체시험의뢰서 B
  3144. case '15':
  3145. rptf_exeReportPreview30(["RPASI07000"],[objParam], option);
  3146. break;// RPASI07000_검체시험의뢰서 C
  3147. }
  3148. //////////////////////////////////////
  3149. //대상자종류가 전체일때 초기화 091126 PYJ
  3150. if( trgtmankind == "00" ){
  3151. ds_main_cond.setColumn(0, "trgtmankind", "00");
  3152. ds_send_cond.setColumn(0, "trgtmankind", "00");
  3153. }
  3154. }
  3155. //20161223 이돈희 추가 : 검체시험의뢰서A 출력을 위한 추가정보 구성
  3156. function fClinicalSpecimenAAdditionalData(vaData)
  3157. {
  3158. var instcd = sysf_getUserInfo("dutplceinstcd");
  3159. ds_temp_lglydisrepttrgtmaninfo.addColumn("address", "string", 256);
  3160. ds_temp_lglydisrepttrgtmaninfo.addColumn("telnumber", "string", 256);
  3161. ds_temp_lglydisrepttrgtmaninfo.addColumn("currentyear", "string", 10);
  3162. ds_temp_lglydisrepttrgtmaninfo.addColumn("currentmonth", "string", 10);
  3163. ds_temp_lglydisrepttrgtmaninfo.addColumn("currentday", "string", 10);
  3164. ds_temp_lglydisrepttrgtmaninfo.addColumn("lglydiscdname", "string", 256);
  3165. if(instcd =="032"){
  3166. dsf_makeValue(ds_temp_lglydisrepttrgtmaninfo, "insthospdirct", "string", "칠곡경북대학교병원장");
  3167. }else{
  3168. dsf_makeValue(ds_temp_lglydisrepttrgtmaninfo, "insthospdirct", "string", "경북대학교병원장");
  3169. }
  3170. //20170214 이돈희 추가 : 시험항목은 addition1 컬럼에 추가
  3171. ds_temp_lglydisrepttrgtmaninfo.addColumn("addition1", "string", 256);
  3172. for( var iIndex = 0; iIndex < vaData; iIndex++ )
  3173. {
  3174. //주소 구성
  3175. var vaAddress = "";
  3176. vaAddress = utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"hosaddr1"))+" ";
  3177. vaAddress = vaAddress + utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"hosaddr2"))+" ";
  3178. vaAddress = vaAddress + utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"hospnm"))+" ";
  3179. vaAddress = vaAddress + utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"etcdeptnm"));
  3180. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "address", vaAddress);
  3181. //전화번호 및 팩스번호 구성
  3182. var vaTelnumber = "";
  3183. vaTelnumber = "(전화번호 : ";
  3184. vaTelnumber = vaTelnumber + ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"reprtel1");
  3185. vaTelnumber = vaTelnumber + "), (Fax 번호 : ";
  3186. vaTelnumber = vaTelnumber + ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"reprfaxno");
  3187. vaTelnumber = vaTelnumber + ")";
  3188. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "telnumber", vaTelnumber);
  3189. //오늘 날짜 구성
  3190. var vaCurrentyear = utlf_getYear();
  3191. var vaCurrentmonth = utlf_getMonth();
  3192. var vaCurrentday = utlf_getDate();
  3193. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "currentyear", vaCurrentyear);
  3194. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "currentmonth", vaCurrentmonth);
  3195. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "currentday", vaCurrentday);
  3196. //감염병명 추가
  3197. //var vaLglydiscdname = fLglydiscdName(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"lglydiscd"));
  3198. //20170213 이돈희 수정 : 기존에 fLglydiscdName에서 감염병명 가지고오는 것에서 lglydisnm 컬럼사용으로 변경
  3199. var vaLglydiscd = ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"lglydiscd");
  3200. var vaLglydiscdname = "";
  3201. vaLglydiscdname = "(" + ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"lglydisnm") + ") 검체시험의뢰서";
  3202. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "lglydiscdname", vaLglydiscdname);
  3203. //20170214 이돈희 추가 : 시험항목은 addition1 컬럼에 추가
  3204. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "addition1", ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex, "clispealglytest"));
  3205. }
  3206. }
  3207. //20161227 이돈희 추가 : 감염병코드와 감염병명 매칭
  3208. //20170213 이돈희 주석처리 : lglydisnm 에 감염병명이 있으므로 사용
  3209. /*
  3210. function fLglydiscdName(vaNum)
  3211. {
  3212. var vaName = "";
  3213. switch(vaNum)
  3214. {
  3215. case '421':
  3216. vaName = "라임병";
  3217. break;
  3218. case '312':
  3219. vaName = "브루셀라증";
  3220. break;
  3221. case '418':
  3222. vaName = "큐열";
  3223. break;
  3224. case '209':
  3225. vaName = "일본뇌염";
  3226. break;
  3227. case '204':
  3228. vaName = "홍역";
  3229. break;
  3230. case '314':
  3231. vaName = "공수병";
  3232. break;
  3233. case '402':
  3234. vaName = "뎅기열";
  3235. break;
  3236. case '318':
  3237. vaName = "크로이츠펠트야콥병";
  3238. break;
  3239. case '505':
  3240. vaName = "중동호흡기증후군";
  3241. break;
  3242. case '312':
  3243. vaName = "브루셀라증";
  3244. break;
  3245. case '506':
  3246. vaName = "지카바이러스감염증";
  3247. break;
  3248. case '503':
  3249. vaName = "중증열성혈소판감소증후군";
  3250. break;
  3251. case '999':
  3252. vaName = "테스트입니다.";
  3253. break;
  3254. default:
  3255. vaName = "ERROR";
  3256. break;
  3257. }
  3258. vaName = "( " + vaName + " )" + " 검체시험의뢰서";
  3259. return vaName;
  3260. }
  3261. */
  3262. //20161223 이돈희 추가 : 검체시험의뢰서B 출력을 위한 추가정보 구성
  3263. function fClinicalSpecimenBAdditionalData(vaData)
  3264. {
  3265. var instcd = sysf_getUserInfo("dutplceinstcd");
  3266. ds_temp_lglydisrepttrgtmaninfo.addColumn("address", "string", 256);
  3267. ds_temp_lglydisrepttrgtmaninfo.addColumn("telnumber", "string", 256);
  3268. ds_temp_lglydisrepttrgtmaninfo.addColumn("currentyear", "string", 10);
  3269. ds_temp_lglydisrepttrgtmaninfo.addColumn("currentmonth", "string", 10);
  3270. ds_temp_lglydisrepttrgtmaninfo.addColumn("currentday", "string", 10);
  3271. ds_temp_lglydisrepttrgtmaninfo.addColumn("currenttime", "string", 10);
  3272. //20170302 이돈희 추가 : 검체인수인계일 addition2 컬럼에 추가
  3273. ds_temp_lglydisrepttrgtmaninfo.addColumn("addition2", "string", 256);
  3274. //20170302 이돈희 추가 : 진료과 addition3 컬럼에 추가
  3275. ds_temp_lglydisrepttrgtmaninfo.addColumn("addition3", "string", 256);
  3276. if(instcd == "032"){
  3277. dsf_makeValue(ds_temp_lglydisrepttrgtmaninfo, "insthospdirct", "string", "칠곡경북대학교병원장");
  3278. }else{
  3279. dsf_makeValue(ds_temp_lglydisrepttrgtmaninfo, "insthospdirct", "string", "경북대학교병원장");
  3280. }
  3281. for( var iIndex = 0; iIndex < vaData; iIndex++ )
  3282. {
  3283. //주소 구성
  3284. var vaAddress = "";
  3285. vaAddress = utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"hosaddr1"))+" ";
  3286. vaAddress = vaAddress + utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"hosaddr2"))+" ";
  3287. vaAddress = vaAddress + utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"hospnm"))+" ";
  3288. vaAddress = vaAddress + utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"etcdeptnm"));
  3289. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "address", vaAddress);
  3290. //전화번호 및 팩스번호 구성
  3291. var vaTelnumber = "";
  3292. vaTelnumber = "(전화번호 : ";
  3293. vaTelnumber = vaTelnumber + ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"reprtel1");
  3294. vaTelnumber = vaTelnumber + "), (Fax 번호 : ";
  3295. vaTelnumber = vaTelnumber + ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"reprfaxno");
  3296. vaTelnumber = vaTelnumber + ")";
  3297. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "telnumber", vaTelnumber);
  3298. //오늘 날짜 구성
  3299. var vaCurrentyear = utlf_getYear();
  3300. var vaCurrentmonth = utlf_getMonth();
  3301. var vaCurrentday = utlf_getDate();
  3302. var vaCurrentTime = ""
  3303. var sDate = utlf_getNewDate();
  3304. vaCurrentTime = (( sDate.getHours() > 9 ) ? sDate.getHours() : "0" + sDate.getHours());
  3305. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "currentyear", vaCurrentyear);
  3306. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "currentmonth", vaCurrentmonth);
  3307. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "currentday", vaCurrentday);
  3308. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "currenttime", vaCurrentTime);
  3309. //20170302 이돈희 추가 : 검체인수인계일 addition2 컬럼에 추가
  3310. var vaInsertDay = ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex, "wrtedt");
  3311. var vaYear = utlf_mid(vaInsertDay,0,4);
  3312. var vaMonth = utlf_mid(vaInsertDay,5,2);
  3313. var vaDay = utlf_mid(vaInsertDay,7,2);
  3314. var vaHour = utlf_mid(vaInsertDay,9,2);
  3315. var vaPrintDate = " "+vaYear +" 년 " + vaMonth + " 월 " + vaDay + " 월 " + vaHour + " 시";
  3316. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "addition2", vaPrintDate);
  3317. //20170302 이돈희 추가 : 진료과 addition3 컬럼에 추가
  3318. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "addition3", ds_temp_lglydisrepttrgtmaninfo.getColumn(0, "deptnm"));
  3319. }
  3320. //환자/접촉자 정보 분류 체크박스 구성
  3321. fn_getCheckBoxType(vaData);
  3322. //접촉자
  3323. fn_getCheckBoxContact(vaData);
  3324. //주요증상 구성
  3325. fn_getCheckBoxBSymptom(vaData);
  3326. }
  3327. //20161223 이돈희 추가 : 검체시험의뢰서C 출력을 위한 추가정보 구성
  3328. function fClinicalSpecimenCAdditionalData(vaData)
  3329. {
  3330. var instcd = sysf_getUserInfo("dutplceinstcd");
  3331. ds_temp_lglydisrepttrgtmaninfo.addColumn("address", "string", 256);
  3332. ds_temp_lglydisrepttrgtmaninfo.addColumn("telnumber", "string", 256);
  3333. ds_temp_lglydisrepttrgtmaninfo.addColumn("currentyear", "string", 10);
  3334. ds_temp_lglydisrepttrgtmaninfo.addColumn("currentmonth", "string", 10);
  3335. ds_temp_lglydisrepttrgtmaninfo.addColumn("currentday", "string", 10);
  3336. ds_temp_lglydisrepttrgtmaninfo.addColumn("lglydiscdname", "string", 256);
  3337. //20170214 이돈희 추가 : 시험항목은 addition1 컬럼에 추가
  3338. ds_temp_lglydisrepttrgtmaninfo.addColumn("addition1", "string", 256);
  3339. //20170302 이돈희 추가 : 검체인수인계일 addition2 컬럼에 추가
  3340. ds_temp_lglydisrepttrgtmaninfo.addColumn("addition2", "string", 256);
  3341. //20170302 이돈희 추가 : 진료과 addition3 컬럼에 추가
  3342. ds_temp_lglydisrepttrgtmaninfo.addColumn("addition3", "string", 256);
  3343. if(instcd == "032"){
  3344. dsf_makeValue(ds_temp_lglydisrepttrgtmaninfo, "insthospdirct", "string", "칠곡경북대학교병원장");
  3345. }else{
  3346. dsf_makeValue(ds_temp_lglydisrepttrgtmaninfo, "insthospdirct", "string", "경북대학교병원장");
  3347. }
  3348. for( var iIndex = 0; iIndex < vaData; iIndex++ )
  3349. {
  3350. //주소 구성
  3351. var vaAddress = "";
  3352. vaAddress = utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"hosaddr1"))+" ";
  3353. vaAddress = vaAddress + utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"hosaddr2"))+" ";
  3354. vaAddress = vaAddress + utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"hospnm"))+" ";
  3355. vaAddress = vaAddress + utlf_transNullToEmpty(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"etcdeptnm"));
  3356. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "address", vaAddress);
  3357. //전화번호 및 팩스번호 구성
  3358. var vaTelnumber = "";
  3359. vaTelnumber = "(전화번호 : ";
  3360. vaTelnumber = vaTelnumber + ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"reprtel1");
  3361. vaTelnumber = vaTelnumber + "), (Fax 번호 : ";
  3362. vaTelnumber = vaTelnumber + ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"reprfaxno");
  3363. vaTelnumber = vaTelnumber + ")";
  3364. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "telnumber", vaTelnumber);
  3365. //오늘 날짜 구성
  3366. var vaCurrentyear = utlf_getYear();
  3367. var vaCurrentmonth = utlf_getMonth();
  3368. var vaCurrentday = utlf_getDate();
  3369. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "currentyear", vaCurrentyear);
  3370. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "currentmonth", vaCurrentmonth);
  3371. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "currentday", vaCurrentday);
  3372. //감염병명 추가
  3373. //var vaLglydiscdname = fLglydiscdName(ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"lglydiscd"));
  3374. //20170213 이돈희 수정 : 기존에 fLglydiscdName에서 감염병명 가지고오는 것에서 lglydisnm 컬럼사용으로 변경
  3375. var vaLglydiscd = ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"lglydiscd");
  3376. var vaLglydiscdname = "";
  3377. vaLglydiscdname = "(" + ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex,"lglydisnm") + ") 검체시험의뢰서";
  3378. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "lglydiscdname", vaLglydiscdname);
  3379. //20170214 이돈희 추가 : 시험항목은 addition1 컬럼에 추가
  3380. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "addition1", ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex, "clispealglytest"));
  3381. //20170302 이돈희 추가 : 검체인수인계일 addition2 컬럼에 추가
  3382. var vaInsertDay = ds_temp_lglydisrepttrgtmaninfo.getColumn(iIndex, "wrtedt");
  3383. var vaYear = utlf_mid(vaInsertDay,0,4);
  3384. var vaMonth = utlf_mid(vaInsertDay,5,2);
  3385. var vaDay = utlf_mid(vaInsertDay,7,2);
  3386. var vaHour = utlf_mid(vaInsertDay,9,2)
  3387. var vaPrintDate = " "+vaYear +" 년 " + vaMonth + " 월 " + vaDay + " 월 " + vaHour + " 시";
  3388. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "addition2", vaPrintDate);
  3389. //20170302 이돈희 추가 : 진료과 addition3 컬럼에 추가
  3390. ds_temp_lglydisrepttrgtmaninfo.setColumn(iIndex, "addition3", ds_temp_lglydisrepttrgtmaninfo.getColumn(0, "deptnm"));
  3391. }
  3392. //증상
  3393. fn_getCheckBoxCSymptom(vaData);
  3394. //백신
  3395. fn_getCheckBoxVaccine(vaData);
  3396. }
  3397. //20161223 이돈희 추가 : 출력을 위한 체크박스 데이터 생성
  3398. function fn_getCheckBoxVaccine(vaData)
  3399. {
  3400. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispecvaccine1", "string", 1);
  3401. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispecvaccine2", "string", 1);
  3402. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispecvaccine3", "string", 1);
  3403. for( var jIndex = 0; jIndex < vaData; jIndex++ )
  3404. {
  3405. var value = ds_temp_lglydisrepttrgtmaninfo.getColumn(jIndex,"clispecvaccine");
  3406. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispecvaccine1", "0");
  3407. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispecvaccine2", "0");
  3408. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispecvaccine3", "0");
  3409. if(!utlf_isNull(value))
  3410. {
  3411. var iExLoc = 0;
  3412. var tempValue = "";
  3413. for(var iIndex = 0; iIndex < value.length ; iIndex++)
  3414. {
  3415. if(value.charAt(iIndex)== ",")
  3416. {
  3417. tempValue = value.substring(iExLoc, iIndex);
  3418. iExLoc = iIndex+1;
  3419. if(tempValue == "1")
  3420. {
  3421. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispecvaccine1", "1");
  3422. }
  3423. if(tempValue == "2")
  3424. {
  3425. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispecvaccine2", "1");
  3426. }
  3427. if(tempValue == "3")
  3428. {
  3429. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispecvaccine3", "1");
  3430. }
  3431. }
  3432. }
  3433. }
  3434. }
  3435. }
  3436. //20161223 이돈희 추가 : 출력을 위한 체크박스 데이터 생성
  3437. function fn_getCheckBoxCSymptom(vaData)
  3438. {
  3439. //검체시험의뢰서 C 서식의 주요증상
  3440. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom1", "string", 1);
  3441. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom1temp", "string", 10);
  3442. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom2", "string", 1);
  3443. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom3", "string", 1);
  3444. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom4", "string", 1);
  3445. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom5", "string", 1);
  3446. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom6", "string", 1);
  3447. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom7", "string", 1);
  3448. for( var jIndex = 0; jIndex < vaData; jIndex++ )
  3449. {
  3450. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom1", "0");
  3451. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom1temp", "");
  3452. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom2", "0");
  3453. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom3", "0");
  3454. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom4", "0");
  3455. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom5", "0");
  3456. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom6", "0");
  3457. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom7", "0");
  3458. var value = ds_temp_lglydisrepttrgtmaninfo.getColumn(jIndex,"clispebsymptom");
  3459. if(!utlf_isNull(value))
  3460. {
  3461. var iExLoc = 0;
  3462. var tempValue = "";
  3463. for(var iIndex = 0; iIndex < value.length ; iIndex++)
  3464. {
  3465. if(value.charAt(iIndex)== ",")
  3466. {
  3467. tempValue = value.substring(iExLoc, iIndex);
  3468. iExLoc = iIndex+1;
  3469. if(tempValue == "1")
  3470. {
  3471. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom1", "1");
  3472. //발열이 체크된 경우 온도값 입력 처리
  3473. var heatIndex = value.indexOf(",",iExLoc);
  3474. var heatValue = value.substring(iExLoc, heatIndex);
  3475. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom1temp", heatValue);
  3476. iIndex = heatIndex - 1;
  3477. }
  3478. if(tempValue == "2")
  3479. {
  3480. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom2", "1");
  3481. }
  3482. if(tempValue == "3")
  3483. {
  3484. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom3", "1");
  3485. }
  3486. if(tempValue == "4")
  3487. {
  3488. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom4", "1");
  3489. }
  3490. if(tempValue == "5")
  3491. {
  3492. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom5", "1");
  3493. }
  3494. if(tempValue == "6")
  3495. {
  3496. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom6", "1");
  3497. }
  3498. if(tempValue == "7")
  3499. {
  3500. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom7", "1");
  3501. }
  3502. }
  3503. }
  3504. }
  3505. }
  3506. }
  3507. //20161223 이돈희 추가 : 출력을 위한 체크박스 데이터 생성
  3508. function fn_getCheckBoxType(vaData)
  3509. {
  3510. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebtype1", "string", 1);
  3511. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebtype2", "string", 1);
  3512. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebtype3", "string", 1);
  3513. for( var jIndex = 0; jIndex < vaData; jIndex++ )
  3514. {
  3515. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex , "clispebtype1", "0");
  3516. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex , "clispebtype2", "0");
  3517. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex , "clispebtype3", "0");
  3518. var value = ds_temp_lglydisrepttrgtmaninfo.getColumn(jIndex,"clispebtype");
  3519. if(!utlf_isNull(value))
  3520. {
  3521. var iExLoc = 0;
  3522. var tempValue = "";
  3523. for(var iIndex = 0; iIndex < value.length ; iIndex++)
  3524. {
  3525. if(value.charAt(iIndex)== ",")
  3526. {
  3527. tempValue = value.substring(iExLoc, iIndex);
  3528. iExLoc = iIndex+1;
  3529. if(tempValue == "1")
  3530. {
  3531. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebtype1", "1");
  3532. }
  3533. if(tempValue == "2")
  3534. {
  3535. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebtype2", "1");
  3536. }
  3537. if(tempValue == "3")
  3538. {
  3539. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebtype3", "1");
  3540. }
  3541. }
  3542. }
  3543. }
  3544. }
  3545. }
  3546. //20161223 이돈희 추가 : 출력을 위한 체크박스 데이터 생성
  3547. function fn_getCheckBoxContact(vaData)
  3548. {
  3549. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebcontact1", "string", 1);
  3550. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebcontact2", "string", 1);
  3551. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebcontact3", "string", 1);
  3552. for( var jIndex = 0; jIndex < vaData; jIndex++ )
  3553. {
  3554. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebcontact1", "0");
  3555. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebcontact2", "0");
  3556. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebcontact3", "0");
  3557. var value = ds_temp_lglydisrepttrgtmaninfo.getColumn(jIndex,"clispebcontact");
  3558. if(!utlf_isNull(value))
  3559. {
  3560. var iExLoc = 0;
  3561. var tempValue = "";
  3562. for(var iIndex = 0; iIndex < value.length ; iIndex++)
  3563. {
  3564. if(value.charAt(iIndex)== ",")
  3565. {
  3566. tempValue = value.substring(iExLoc, iIndex);
  3567. iExLoc = iIndex+1;
  3568. if(tempValue == "1")
  3569. {
  3570. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebcontact1", "1");
  3571. }
  3572. if(tempValue == "2")
  3573. {
  3574. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebcontact2", "1");
  3575. }
  3576. if(tempValue == "3")
  3577. {
  3578. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebcontact3", "1");
  3579. }
  3580. }
  3581. }
  3582. }
  3583. }
  3584. }
  3585. //20161223 이돈희 추가 : 출력을 위한 체크박스 데이터 생성
  3586. function fn_getCheckBoxBSymptom(vaData)
  3587. {
  3588. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom1", "string", 1);
  3589. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom1temp", "string", 10);
  3590. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom2", "string", 1);
  3591. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom3", "string", 1);
  3592. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom4", "string", 1);
  3593. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom5", "string", 1);
  3594. ds_temp_lglydisrepttrgtmaninfo.addColumn("clispebsymptom6", "string", 1);
  3595. for( var jIndex = 0; jIndex < vaData; jIndex++ )
  3596. {
  3597. var value = ds_temp_lglydisrepttrgtmaninfo.getColumn(jIndex,"clispebsymptom");
  3598. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom1", "0");
  3599. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom1temp", "");
  3600. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom2", "0");
  3601. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom3", "0");
  3602. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom4", "0");
  3603. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom5", "0");
  3604. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom6", "0");
  3605. if(!utlf_isNull(value))
  3606. {
  3607. var iExLoc = 0;
  3608. var tempValue = "";
  3609. for(var iIndex = 0; iIndex < value.length ; iIndex++)
  3610. {
  3611. if(value.charAt(iIndex)== ",")
  3612. {
  3613. tempValue = value.substring(iExLoc, iIndex);
  3614. iExLoc = iIndex+1;
  3615. if(tempValue == "1")
  3616. {
  3617. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom1", "1");
  3618. //발열이 체크된 경우 온도값 입력 처리
  3619. var heatIndex = value.indexOf(",",iExLoc);
  3620. var heatValue = value.substring(iExLoc, heatIndex);
  3621. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom1temp", heatValue);
  3622. iIndex = heatIndex - 1;
  3623. }
  3624. if(tempValue == "2")
  3625. {
  3626. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom2", "1");
  3627. }
  3628. if(tempValue == "3")
  3629. {
  3630. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom3", "1");
  3631. }
  3632. if(tempValue == "4")
  3633. {
  3634. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom4", "1");
  3635. }
  3636. if(tempValue == "5")
  3637. {
  3638. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom5", "1");
  3639. }
  3640. if(tempValue == "6")
  3641. {
  3642. ds_temp_lglydisrepttrgtmaninfo.setColumn(jIndex, "clispebsymptom6", "1");
  3643. }
  3644. }
  3645. }
  3646. }
  3647. }
  3648. }
  3649. function fn_print_(){
  3650. // 선택된 데이터만 필터링해서 복사
  3651. ds_temp_lgly.clear();
  3652. ds_temp_lgly.copyData(ds_grd_lglydisrepttrgtmaninfo);
  3653. ds_temp_lgly.filter("chk=='1'");
  3654. if( ds_temp_lgly.rowcount < 1 ){
  3655. sysf_messageBox("선택된 환자가", "I004");
  3656. return;
  3657. }
  3658. var cnclRows = ds_temp_lgly.findRowExpr("chk=='1' && cnclyn=='Y'");
  3659. if( cnclRows > 0){
  3660. sysf_messageBox("선택된 환자 중 삭제 신고서가 존재합니다.\n삭제 신고서는 출력할 수", "I004");
  3661. return;
  3662. }
  3663. //전체선택시 한종류만 출력 가능 091127 PYJ
  3664. var trgtmankind = ds_main_cond.getColumn(0, "trgtmankind");
  3665. if( trgtmankind == "00" && ds_temp_lgly.rowcount > 1 ){
  3666. sysf_messageBox("전체조회시 한명의 환자만 선택 가능합니다", "I");
  3667. return;
  3668. }
  3669. var selstatus;
  3670. ds_temp_lglydisrepttrgtmaninfo.clearData();
  3671. ds_send_savedata.clearData();
  3672. ds_send_searchdata.clearData();
  3673. //미신고 조회시 출력에 보이지 않는 문제 09.11.25
  3674. var now_reptstat = ds_send_cond.getColumn(0, "reptstat");
  3675. var rownum = 1;
  3676. ds_hidden_reptrsltinfo.clearData();
  3677. ds_temp_reptrsltinfo.clearData();
  3678. var kind = ds_main_cond.getColumn(0, "trgtmankind");
  3679. //출력을위한 node 초기화
  3680. ds_temp_lglydisrepttrgtmaninfo.clearData();
  3681. var dateCur = utlf_getCurrentDate();
  3682. var year = dateCur.substr(0,4);
  3683. var mon = dateCur.substr(4,2);
  3684. var day = dateCur.substr(6,2);
  3685. var dateCurtime = utlf_getCurrentDateTime();
  3686. var dateTime = dateCurtime.substr(0, 8)+dateCurtime.substr(9,12);
  3687. var count = 0;
  3688. for( var i = 0; i < ds_temp_lgly.rowcount; i++ ){
  3689. var getChk = ds_temp_lgly.getColumn(i, "chk");
  3690. if( getChk == "1" ){
  3691. //전체("00")일때 출력 091126 PYJ
  3692. var reptDoc = ds_send_cond.getColumn(0, "trgtmankind");
  3693. if( reptDoc == "00" ){
  3694. var Rreptflag = ds_temp_lgly.getColumn(i, "reptflag");
  3695. ds_main_cond.setColumn(0, "trgtmankind", Rreptflag);
  3696. ds_main_cond.setColumn(0, "pid", ds_temp_lgly.getColumn(i, "pid"));
  3697. ds_main_cond.setColumn(0, "name", ds_temp_lgly.getColumn(i, "name"));
  3698. ds_main_cond.setColumn(0, "wrtedt", ds_temp_lgly.getColumn(i, "wrtedt"));
  3699. ds_main_cond.setColumn(0, "seqno", ds_temp_lgly.getColumn(i, "seqno"));
  3700. //전체조건에서 환자를 조회
  3701. var getReptstat = ds_send_cond.getColumn(i, "reptstat");
  3702. ds_main_cond.setColumn(0, "reptstat", "");
  3703. ds_send_cond.copyData(ds_main_cond);
  3704. ds_hidden_lglydisrepttrgtmaninfo_temp.clearData();
  3705. var oParam = {};
  3706. oParam.id = "TRASI01305";
  3707. oParam.service = "infcmngtapp.LglyDisMngt";
  3708. oParam.method = "reqGetLglyDisReptTrgtmanList";
  3709. oParam.inds = "req=ds_send_cond";
  3710. oParam.outds = "ds_hidden_lglydisrepttrgtmaninfo_temp=lglydisrepttrgtmanlist";
  3711. oParam.async = false;
  3712. //oParam.callback = "cf_TRASI01305";
  3713. tranf_submit(oParam);
  3714. //kimsj 20100222 미신고 처음 출력시 신고일자 출력되지 않는 오류현상 수정
  3715. for( var t = 1; ds_hidden_lglydisrepttrgtmaninfo_temp.rowcount; t++ ){
  3716. ds_hidden_lglydisrepttrgtmaninfo_temp.setColumn(t, "reptdt", dateCur);
  3717. }
  3718. //조건을 원상태로 복귀
  3719. ds_main_cond.setColumn(0, "reptstat", getReptstat);
  3720. ds_send_cond.setColumn(0, "reptstat", getReptstat);
  3721. //초기화
  3722. ds_main_cond.setColumn(0, "pid", "");
  3723. ds_main_cond.setColumn(0, "name", "");
  3724. ds_main_cond.setColumn(0, "wrtedt", "");
  3725. ds_main_cond.setColumn(0, "seqno", "");
  3726. }
  3727. if( ds_main_cond.getColumn(0, "trgtmankind") == "99" ){
  3728. var select;
  3729. if( getChk == "1" ) select = "true"; else select = "false";
  3730. dsf_createDsRow("ds_send_savedata",
  3731. [{col:"m", type:"string", size:256, val:"u"}
  3732. ,{col:"select", type:"string", size:256, val:select}
  3733. ,{col:"pid", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "pid")}
  3734. ,{col:"wrtedt", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "wrtedt")}
  3735. ,{col:"seqno", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "seqno")}
  3736. ,{col:"reptstat", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "reptstat")}
  3737. ,{col:"dethreptstat", type:"string", size:256, val:"R"}],true);
  3738. } else {
  3739. dsf_createDsRow("ds_send_savedata",
  3740. [{col:"m", type:"string", size:256, val:"u"}
  3741. ,{col:"select", type:"string", size:256, val:select}
  3742. ,{col:"pid", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "pid")}
  3743. ,{col:"wrtedt", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "wrtedt")}
  3744. ,{col:"seqno", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "seqno")}
  3745. ,{col:"reptstat", type:"string", size:256, val:"R"}],true);
  3746. }
  3747. if( now_reptstat == "M" ){
  3748. if( reptDoc != "00" ){
  3749. //091203 박유진 미신고시 sort후 출력되지 않는 사항 수정
  3750. //sort 후에는 모든 정보를 가지고 있지 않으므로
  3751. var sPid = ds_temp_lgly.getColumn(i, "pid");
  3752. var sWrtedt = ds_temp_lgly.getColumn(i, "wrtedt");
  3753. var sSeqno = ds_temp_lgly.getColumn(i, "seqno");
  3754. for( var s = 0; s < ds_hidden_searchlist.rowcount; s++ ){
  3755. var hSelect = ds_hidden_searchlist.getColumn(s, "select");
  3756. var hPid = ds_hidden_searchlist.getColumn(s, "pid");
  3757. var hWrtedt = ds_hidden_searchlist.getColumn(s, "wrtedt");
  3758. var hSeqno = ds_hidden_searchlist.getColumn(s, "seqno");
  3759. if( sPid == hPId && sWrtedt == hWrtedt && sSeqno == hSeqno ){
  3760. //kimsj 20100222 미신고 처음 출력시 신고일자가 출력되지 않는 오류현상 수정
  3761. ds_hidden_searchlist.setColumn(s, "reptdt", dateCur);
  3762. // 조회시 복사된 노드와 비교하여 해당 환자를 copy한다.
  3763. // 출력 가능한 노드로 copy
  3764. var nRow = ds_temp_lglydisrepttrgtmaninfo.addRow();
  3765. ds_temp_lglydisrepttrgtmaninfo.copyRow(nRow, ds_hidden_searchlist, s);
  3766. }
  3767. }
  3768. } else {
  3769. //출력 가능한 노드로 copy
  3770. var nRow = ds_temp_lglydisrepttrgtmaninfo.addRow();
  3771. ds_temp_lglydisrepttrgtmaninfo.copyRow(nRow, ds_hidden_lglydisrepttrgtmaninfo_temp, i);
  3772. }
  3773. } else { //미신고가 아닌경우
  3774. if( reptDoc != "00" ){
  3775. ds_temp_reptrsltinfo.copyData(ds_temp_lgly);
  3776. } else {
  3777. //전체출력시 출력노드가 정해졌으므로 출력가능한 노드로 copy
  3778. ds_temp_lglydisrepttrgtmaninfo.copyData(ds_temp_lgly);
  3779. }
  3780. }
  3781. ds_hidden_reptrsltinfo.setColumn(i, "reptdtnm", "신고");
  3782. ds_hidden_reptrsltinfo.setColumn(i, "reptyear", year);
  3783. ds_hidden_reptrsltinfo.setColumn(i, "reptmonth", mon);
  3784. ds_hidden_reptrsltinfo.setColumn(i, "reptday", day);
  3785. ds_hidden_reptrsltinfo.setColumn(i, "reptdt", dateTime);
  3786. }
  3787. }
  3788. dsf_createDsRow("ds_send_searchdata",
  3789. [{col:"trgtmankind", type:"string", size:256, val:ds_main_cond.getColumn(0, "trgtmankind")}
  3790. ,{col:"reptstat", type:"string", size:256, val:ds_main_cond.getColumn(0, "reptstat")}
  3791. ,{col:"fromdd", type:"string", size:256, val:ds_main_cond.getColumn(0, "fromdd")}
  3792. ,{col:"todd", type:"string", size:256, val:ds_main_cond.getColumn(0, "todd")}
  3793. ,{col:"orddept", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddept")}
  3794. ,{col:"orddr", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddr")}],true);
  3795. var oParam = {};
  3796. oParam.id = "TXASI01301";
  3797. oParam.service = "infcmngtapp.LglyDisMngt";
  3798. oParam.method = "reqExeLglyDisReptddUpdt";
  3799. oParam.inds = "req=ds_send_savedata req2=ds_send_searchdata";
  3800. oParam.outds = "ds_temp_reptrsltinfo=lglydisrepttrgtmanlist";
  3801. oParam.async = false;
  3802. oParam.callback = "cf_TXASI01301";
  3803. tranf_submit(oParam);
  3804. if( arErrorCode.pop("TXASI01301") < -1 ){
  3805. return;
  3806. }
  3807. var getReptdoc = ds_main_cond.getColumn(0, "trgtmankind");
  3808. if( !utlf_isNull(ds_temp_reptrsltinfo.getColumn(0, "pid")) && trgtmankind != "00" && now_reptstat != "M" ){
  3809. ds_temp_lglydisrepttrgtmaninfo.clearData();
  3810. for( var i = 0; i < ds_temp_reptrsltinfo.rowcount; i++ ){
  3811. var rPid = ds_temp_reptrsltinfo.getColumn(i, "pid");
  3812. var rWrtedt = ds_temp_reptrsltinfo.getColumn(i, "wrtedt");
  3813. var rSeqno = ds_temp_reptrsltinfo.getColumn(i, "seqno");
  3814. var rReptdt = ds_temp_reptrsltinfo.getColumn(i, "reptdt");
  3815. for( var j = 0; j < ds_send_savedata.rowcount; j++ ){
  3816. var sSelect = ds_send_savedata.getColumn(j, "select");
  3817. var sPid = ds_send_savedata.getColumn(j, "pid");
  3818. var sWrtedt = ds_send_savedata.getColumn(j, "wrtedt");
  3819. var sSeqno = ds_send_savedata.getColumn(j, "seqno");
  3820. if( sSelect == "true" && rPid == sPid && rWrtedt == sWrtedt && rSeqno == sSeqno ){
  3821. var nRow = ds_grd_lglydisrepttrgtmaninfo.findRowExpr("select == 'true' && pid == '"+sPid+"' && wrtedt == '"+sWrtedt+"' && seqno=='"+sSeqno+"'");
  3822. ds_grd_lglydisrepttrgtmaninfo.setColumn(nRow, "reptdt", rReptdt);
  3823. var iRow = ds_temp_lglydisrepttrgtmaninfo.addRow();
  3824. ds_temp_lglydisrepttrgtmaninfo.copyRow(iRow, ds_temp_reptrsltinfo, j);
  3825. }
  3826. }
  3827. }
  3828. }
  3829. //전체조회시 reptdoc가 00이므로
  3830. var objDOM = rptf_createDOM();
  3831. rptf_setNodeListToDOM(objDOM, "/root/temp/lglydisrepttrgtmaninfo/lglydisrepttrgtmanlist", ds_temp_lglydisrepttrgtmaninfo); // 데이터셋 1
  3832. var objParam = new Object();
  3833. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  3834. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  3835. var reptdoc = ds_temp_lglydisrepttrgtmaninfo.getColumn(0, "reptflag");
  3836. var sPrntPram = fInfectionReportSpilt();
  3837. switch(reptdoc){
  3838. //case '01': rptf_exeReportPreview30(["RPASI01500"],[objParam], option); break; // 법정전염병신고서
  3839. case '01': rptf_exeReportPreview30([sPrntPram],[objParam], option); break; // RPASI01800_결핵정보관리보고서
  3840. case '02': rptf_exeReportPreview30(["RPASI01800"],[objParam], option); break; // RPASI01800_결핵정보관리보고서
  3841. case '03': rptf_exeReportPreview30(["RPASI01600"],[objParam], option); break; // RPASI01600_간염표본감시신고서
  3842. case '04': rptf_exeReportPreview30(["RPASI01900"],[objParam], option); break; // RPASI01900_선천성매독표본감시신고서
  3843. case '05': rptf_exeReportPreview30(["RPASI01700"],[objParam], option); break; // RPASI01700_성병표본감시신고서
  3844. case '06': rptf_exeReportPreview30(["RPASI03400"],[objParam], option); break; // RPASI03400_크로이츠펠트야콥병신고서
  3845. case '07': rptf_exeReportPreview30(["RPASI03500"],[objParam], option); break; // RPASI03500_인플루엔자신고서
  3846. case '08': rptf_exeReportPreview30(["RPASI03600"],[objParam], option); break; // RPASI03600_산모B형간염신고서
  3847. case '09': rptf_exeReportPreview30(["RPASI03300"],[objParam], option); break; // RPASI03300_HIV-AIDS신고서
  3848. case '10': rptf_exeReportPreview30(["RPASI03700"],[objParam], option); break; // RPASI03700_수족구병신고서
  3849. case '11': rptf_exeReportPreview30(["RPASI04100"],[objParam], option); break; // RPASI04100_해외유입기생충감염증
  3850. case '99': rptf_exeReportPreview30(["RPASI01899"],[objParam], option); break; //
  3851. }
  3852. }
  3853. function cf_TXASI01301(sSvcId, nErrorCode, sErrorMsg) {
  3854. arErrorCode.push(sSvcId, nErrorCode);
  3855. }
  3856. /******************************************************************
  3857. * Argument :
  3858. * Description : 신고취소
  3859. ******************************************************************/
  3860. //20161221 이돈희 수정 : 법정감염신고대상자 조회에서 여러명 선택 후 신고 취소시
  3861. //제일 마지막에 선택된 환자 정보만 신고 취소되는 현상 수정
  3862. //마지막 환자 정보만 DataSet에 들어가 DB에 취소 요청함
  3863. function grp_btn_button3_onclick(obj:Button, e:ClickEventInfo)
  3864. {
  3865. ds_temp_lgly.clear();
  3866. ds_temp_lgly.copyData(ds_grd_lglydisrepttrgtmaninfo);
  3867. ds_temp_lgly.filter("chk=='1'");
  3868. if( ds_temp_lgly.rowcount < 1 ){
  3869. sysf_messageBox("선택된 환자가", "I004");
  3870. return;
  3871. }
  3872. //20170109 이윤주선생님 요청으로 다중 건 신청 막기
  3873. if( ds_temp_lgly.rowcount > 1 ){
  3874. sysf_messageBox("선택된 건이 2건 이상입니다", "I999");
  3875. return;
  3876. }
  3877. ds_temp_lgly.filter("chk=='1' && cnclyn=='Y'");
  3878. if( ds_temp_lgly.rowcount > 0 ){
  3879. sysf_messageBox("선택된 환자 중 삭제 신고서가 존재합니다.\n삭제 신고서는 취소할 수", "I004");
  3880. return;
  3881. }
  3882. ds_temp_lgly.filter("chk=='1' && reptdtnm=='미신고'");
  3883. if( ds_temp_lgly.rowcount > 0 ){
  3884. sysf_messageBox("선택된 환자 중 미신고 환자가 존재합니다.\n미신고서는 신고취소 할 수", "I004");
  3885. return;
  3886. }
  3887. var result = sysf_messageBox("신고 ","Q007");
  3888. if( result == "7" )
  3889. {
  3890. return;
  3891. }
  3892. else if( result == "6" )
  3893. {
  3894. ds_send_savedata.clearData();
  3895. ds_send_searchdata.clearData();
  3896. ds_hidden_reptrsltinfo.clearData();
  3897. ds_temp_lglydisrepttrgtmaninfo.clearData();
  3898. var now_reptstat = ds_main_cond.getColumn(0, "reptstat");
  3899. //trgtmankind : 조회 항목에서 대상자 종류
  3900. var getTrgtmankind = ds_main_cond.getColumn(0, "trgtmankind");
  3901. // ds_temp_lgly : 법정감염병신고대상자 중 사용자가 체크한 환자만 리스트로 관리
  3902. ds_temp_lgly.copyData(ds_grd_lglydisrepttrgtmaninfo);
  3903. ds_temp_lgly.filter("chk=='1'");
  3904. //20161221 이돈희 추가 : dsf_createDsRow(컬럼 및 값 입력), dsf_addRow(로우 추가 및 값 입력)
  3905. //구분을 위하여 추가
  3906. var vaIsCreateSaveDataSet = false;
  3907. //trace("ds_temp_lgly.rowcount = " + ds_temp_lgly.rowcount);
  3908. for( var i = 0; i < ds_temp_lgly.rowcount; i++ )
  3909. {
  3910. //trace("trgtmankind = " + getTrgtmankind);
  3911. var getChk = ds_temp_lgly.getColumn(i, "chk");
  3912. var select;
  3913. if( getChk == "1" ) select = "true"; else select = "false";
  3914. if( select == "true"){
  3915. if( getTrgtmankind == "99" )
  3916. {
  3917. if(vaIsCreateSaveDataSet == false)
  3918. {
  3919. dsf_createDsRow("ds_send_savedata",
  3920. [{col:"m", type:"string", size:256, val:"u"}
  3921. ,{col:"select", type:"string", size:256, val:select}
  3922. ,{col:"pid", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "pid")}
  3923. ,{col:"wrtedt", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "wrtedt")}
  3924. ,{col:"seqno", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "seqno")}
  3925. ,{col:"reptstat", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "reptstat")}
  3926. ,{col:"dethreptstat", type:"string", size:256, val:"M"}],true);
  3927. vaIsCreateSaveDataSet = true;
  3928. }
  3929. else
  3930. {
  3931. dsf_addRow(ds_send_savedata,
  3932. [{col:"m", type:"string", size:256, val:"u"}
  3933. ,{col:"select", type:"string", size:256, val:select}
  3934. ,{col:"pid", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "pid")}
  3935. ,{col:"wrtedt", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "wrtedt")}
  3936. ,{col:"seqno", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "seqno")}
  3937. ,{col:"reptstat", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "reptstat")}
  3938. ,{col:"dethreptstat", type:"string", size:256, val:"M"}]);
  3939. }
  3940. }
  3941. else
  3942. {
  3943. //trace("pid = " + ds_temp_lgly.getColumn(i, "pid"));
  3944. if(vaIsCreateSaveDataSet == false)
  3945. {
  3946. //trace("vaIsCreateSaveDataSet == false");
  3947. dsf_createDsRow("ds_send_savedata",
  3948. [{col:"m", type:"string", size:256, val:"u"}
  3949. ,{col:"select", type:"string", size:256, val:select}
  3950. ,{col:"pid", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "pid")}
  3951. ,{col:"wrtedt", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "wrtedt")}
  3952. ,{col:"seqno", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "seqno")}
  3953. ,{col:"reptstat", type:"string", size:256, val:"M"}],true);
  3954. vaIsCreateSaveDataSet = true;
  3955. }
  3956. else
  3957. {
  3958. //trace("vaIsCreateSaveDataSet == true");
  3959. dsf_addRow(ds_send_savedata,
  3960. [{col:"m", type:"string", size:256, val:"u"}
  3961. ,{col:"select", type:"string", size:256, val:select}
  3962. ,{col:"pid", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "pid")}
  3963. ,{col:"wrtedt", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "wrtedt")}
  3964. ,{col:"seqno", type:"string", size:256, val:ds_temp_lgly.getColumn(i, "seqno")}
  3965. ,{col:"reptstat", type:"string", size:256, val:"M"}]);
  3966. }
  3967. }
  3968. // ds_grd_lglydisrepttrgtmaninfo.setColumn(i, "reptdtnm", "미신고");
  3969. // ds_grd_lglydisrepttrgtmaninfo.setColumn(i, "reptdt", "");
  3970. //trace("ds_send_savedata.pid = " + ds_send_savedata.getColumn(i, "pid"));
  3971. }
  3972. }
  3973. dsf_createDsRow("ds_send_searchdata",
  3974. [{col:"trgtmankind", type:"string", size:256, val:ds_main_cond.getColumn(0, "trgtmankind")}
  3975. ,{col:"reptstat", type:"string", size:256, val:ds_main_cond.getColumn(0, "reptstat")}
  3976. ,{col:"fromdd", type:"string", size:256, val:ds_main_cond.getColumn(0, "fromdd")}
  3977. ,{col:"todd", type:"string", size:256, val:ds_main_cond.getColumn(0, "todd")}
  3978. ,{col:"orddept", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddept")}
  3979. ,{col:"orddr", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddr")}],true);
  3980. //reptstat : 신고상태
  3981. //fromdd : 진단시작일자
  3982. //todd : 진단종료일자
  3983. //orddept : 진료과
  3984. //orddr : 진료의
  3985. }
  3986. var oParam = {};
  3987. oParam.id = "TXASI01303";
  3988. oParam.service = "infcmngtapp.LglyDisMngt";
  3989. oParam.method = "reqSetLglyDisReptddUpdt";
  3990. oParam.inds = "req=ds_send_savedata req2=ds_send_searchdata";
  3991. oParam.outds = "ds_temp_reptrsltinfo=lglydisrepttrgtmanlist";
  3992. oParam.async = false;
  3993. oParam.callback = "cf_TXASI01303";
  3994. tranf_submit(oParam);
  3995. if( arErrorCode.pop("TXASI01303") > -1 ){
  3996. sysf_messageBox("신고가 취소되었습니다","I");
  3997. btn_search_onclick();
  3998. }
  3999. }
  4000. function cf_TXASI01303(sSvcId, nErrorCode, sErrorMsg) {
  4001. arErrorCode.push(sSvcId, nErrorCode);
  4002. }
  4003. /******************************************************************
  4004. * Argument :
  4005. * Description : 제외
  4006. ******************************************************************/
  4007. function grp_btn_button10_onclick(obj:Button, e:ClickEventInfo)
  4008. {
  4009. ds_temp_lgly.clear();
  4010. ds_temp_lgly.copyData(ds_grd_lglydisrepttrgtmaninfo);
  4011. ds_temp_lgly.filter("chk=='1'");
  4012. if( ds_temp_lgly.rowcount < 1 ){
  4013. sysf_messageBox("선택된 건이", "I004");
  4014. return;
  4015. }
  4016. if( ds_temp_lgly.rowcount > 1 ){
  4017. sysf_messageBox("선택된 건이 2건 이상입니다", "I999");
  4018. return;
  4019. }
  4020. var result = sysf_messageBox("선택된 건을 제외하시겠습니까","Q999");
  4021. if( result == "7" ){
  4022. return;
  4023. }
  4024. ds_send_savedata.clearData();
  4025. ds_send_searchdata.clearData();
  4026. ds_temp_lgly.filter("chk=='1'");
  4027. var reptstat;
  4028. if( ds_main_cond.getColumn(0, "trgtmankind") == "99" ){
  4029. reptstat = ds_temp_lgly.getColumn(0, "dethreptstat");
  4030. } else {
  4031. reptstat = ds_temp_lgly.getColumn(0, "reptstat");
  4032. }
  4033. if( reptstat == "E" ){
  4034. sysf_messageBox("이미 제외된 건입니다","I999");
  4035. return;
  4036. }
  4037. if( reptstat != "M" ){
  4038. sysf_messageBox("미신고 상태만 제외가능합니다","I999");
  4039. return;
  4040. }
  4041. var select = "";
  4042. if( ds_temp_lgly.getColumn(0, "chk") == "1" ){
  4043. select = "true";
  4044. } else {
  4045. select = "false";
  4046. }
  4047. if( ds_main_cond.getColumn(0, "trgtmankind") == "99" ){
  4048. dsf_createDsRow("ds_send_savedata",
  4049. [{col:"m", type:"string", size:256, val:"u"}
  4050. ,{col:"select", type:"string", size:256, val:select}
  4051. ,{col:"pid", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "pid")}
  4052. ,{col:"wrtedt", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "wrtedt")}
  4053. ,{col:"seqno", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "seqno")}
  4054. ,{col:"reptstat", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "reptstat")}
  4055. ,{col:"dethreptstat", type:"string", size:256, val:"E"}],true);
  4056. } else {
  4057. dsf_createDsRow("ds_send_savedata",
  4058. [{col:"m", type:"string", size:256, val:"u"}
  4059. ,{col:"select", type:"string", size:256, val:select}
  4060. ,{col:"pid", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "pid")}
  4061. ,{col:"wrtedt", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "wrtedt")}
  4062. ,{col:"seqno", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "seqno")}
  4063. ,{col:"reptstat", type:"string", size:256, val:"E"}],true);
  4064. }
  4065. dsf_createDsRow("ds_send_searchdata",
  4066. [{col:"trgtmankind", type:"string", size:256, val:ds_main_cond.getColumn(0, "trgtmankind")}
  4067. ,{col:"reptstat", type:"string", size:256, val:ds_main_cond.getColumn(0, "reptstat")}
  4068. ,{col:"fromdd", type:"string", size:256, val:ds_main_cond.getColumn(0, "fromdd")}
  4069. ,{col:"todd", type:"string", size:256, val:ds_main_cond.getColumn(0, "todd")}
  4070. ,{col:"orddept", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddept")}
  4071. ,{col:"orddr", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddr")}],true);
  4072. sysf_trace(ds_send_searchdata.saveXML());
  4073. var oParam = {};
  4074. oParam.id = "TXASI01303";
  4075. oParam.service = "infcmngtapp.LglyDisMngt";
  4076. oParam.method = "reqSetLglyDisReptddUpdt";
  4077. oParam.inds = "req=ds_send_savedata req2=ds_send_searchdata";
  4078. oParam.outds = "ds_temp_reptrsltinfo=lglydisrepttrgtmanlist";
  4079. oParam.async = false;
  4080. oParam.callback = "cf_TXASI01303";
  4081. tranf_submit(oParam);
  4082. if( arErrorCode.pop("TXASI01303") > -1 ){
  4083. btn_search_onclick();
  4084. }
  4085. }
  4086. /******************************************************************
  4087. * Argument :
  4088. * Description : 제외취소
  4089. ******************************************************************/
  4090. function grp_btn_button11_onclick(obj:Button, e:ClickEventInfo)
  4091. {
  4092. ds_temp_lgly.clear();
  4093. ds_temp_lgly.copyData(ds_grd_lglydisrepttrgtmaninfo);
  4094. ds_temp_lgly.filter("chk=='1'");
  4095. if( ds_temp_lgly.rowcount < 1 ){
  4096. sysf_messageBox("선택된 건이", "I004");
  4097. return;
  4098. }
  4099. if( ds_temp_lgly.rowcount > 1 ){
  4100. sysf_messageBox("선택된 건이 2건 이상입니다", "I999");
  4101. return;
  4102. }
  4103. var result = sysf_messageBox("선택된 건을 제외 취소하시겠습니까","Q999");
  4104. if( result == "7" ){
  4105. return;
  4106. }
  4107. var reptstat;
  4108. if( ds_main_cond.getColumn(0, "trgtmankind") == "99" ){
  4109. reptstat = ds_temp_lgly.getColumn(0, "dethreptstat");
  4110. } else {
  4111. reptstat = ds_temp_lgly.getColumn(0, "reptstat");
  4112. }
  4113. if( reptstat != "E" ){
  4114. sysf_messageBox("제외된 건이 아닙니다","I999");
  4115. return;
  4116. }
  4117. var select = "";
  4118. if( ds_temp_lgly.getColumn(0, "chk") == "1" ){
  4119. select = "true";
  4120. } else {
  4121. select = "false";
  4122. }
  4123. if( ds_main_cond.getColumn(0, "trgtmankind") == "99" ){
  4124. dsf_createDsRow("ds_send_savedata",
  4125. [{col:"m", type:"string", size:256, val:"u"}
  4126. ,{col:"select", type:"string", size:256, val:select}
  4127. ,{col:"pid", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "pid")}
  4128. ,{col:"wrtedt", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "wrtedt")}
  4129. ,{col:"seqno", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "seqno")}
  4130. ,{col:"reptstat", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "reptstat")}
  4131. ,{col:"dethreptstat", type:"string", size:256, val:"M"}],true);
  4132. } else {
  4133. dsf_createDsRow("ds_send_savedata",
  4134. [{col:"m", type:"string", size:256, val:"u"}
  4135. ,{col:"select", type:"string", size:256, val:select}
  4136. ,{col:"pid", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "pid")}
  4137. ,{col:"wrtedt", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "wrtedt")}
  4138. ,{col:"seqno", type:"string", size:256, val:ds_temp_lgly.getColumn(0, "seqno")}
  4139. ,{col:"reptstat", type:"string", size:256, val:"M"}],true);
  4140. }
  4141. dsf_createDsRow("ds_send_searchdata",
  4142. [{col:"trgtmankind", type:"string", size:256, val:ds_main_cond.getColumn(0, "trgtmankind")}
  4143. ,{col:"reptstat", type:"string", size:256, val:ds_main_cond.getColumn(0, "reptstat")}
  4144. ,{col:"fromdd", type:"string", size:256, val:ds_main_cond.getColumn(0, "fromdd")}
  4145. ,{col:"todd", type:"string", size:256, val:ds_main_cond.getColumn(0, "todd")}
  4146. ,{col:"orddept", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddept")}
  4147. ,{col:"orddr", type:"string", size:256, val:ds_main_cond.getColumn(0, "orddr")}],true);
  4148. var oParam = {};
  4149. oParam.id = "TXASI01303";
  4150. oParam.service = "infcmngtapp.LglyDisMngt";
  4151. oParam.method = "reqSetLglyDisReptddUpdt";
  4152. oParam.inds = "req=ds_send_savedata req2=ds_send_searchdata";
  4153. oParam.outds = "ds_temp_reptrsltinfo=lglydisrepttrgtmanlist";
  4154. oParam.async = false;
  4155. oParam.callback = "cf_TXASI01303";
  4156. tranf_submit(oParam);
  4157. if( arErrorCode.pop("TXASI01303") > -1 ){
  4158. btn_search_onclick();
  4159. }
  4160. }
  4161. function grp_sea_bool1_onclick(obj:CheckBox, e:ClickEventInfo)
  4162. {
  4163. var ev = new ClickEventInfo;
  4164. frmf_inputEnterKey("grp_sea.btn_search", "onclick", ev );
  4165. }
  4166. function grp_btn_btn_init_onclick(obj:Button, e:ClickEventInfo)
  4167. {
  4168. fDisplayInit();
  4169. }
  4170. function fDisplayInit()
  4171. {
  4172. grp_sea.cmb_trgtmankind.index = 0;
  4173. grp_sea.cmb_orddept.index = 0;
  4174. grp_sea.cmb_reptstat.index = 0;
  4175. grp_sea.cmb_orddr.value = 0;
  4176. grp_sea.ipt_patcd.value = "";
  4177. grp_sea.ipt_patnm.value = ""
  4178. grp_sea.chk.value = 0;
  4179. ds_grd_lglydisrepttrgtmaninfo.clearData();
  4180. }
  4181. function grp_sea_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  4182. {
  4183. //20161222 이돈희 추가 : 진료과 선택시 해당 진료의 표시 안되는 현상 수정
  4184. lf_mmbfGetUserComboList(ds_hidden_userlist, obj.value, "0330", "", "", "");
  4185. dsf_addDsItem(ds_hidden_userlist,"userid","usernm","전체","");
  4186. grp_sea.cmb_orddr.value = 0;
  4187. }
  4188. //191231_AYS_법정감염병 출력물 OLD/NEW 버전 분기
  4189. function fInfectionReportSpilt()
  4190. {
  4191. trace("fInfectionReportSpilt");
  4192. var sWrtedt = ds_temp_lglydisrepttrgtmaninfo.getColumn(0, "wrtedt");
  4193. trace("Wrtedt : " + sWrtedt);
  4194. var sPrintParam = '';
  4195. if( !utlf_isNull(sWrtedt) && sWrtedt < '20200120000000') {
  4196. sPrintParam = "RPASI01500";
  4197. } else{
  4198. sPrintParam = "RPASI01510";
  4199. }
  4200. trace("fInfectionReportSpilt : " + sPrintParam);
  4201. return sPrintParam;
  4202. }
  4203. ]]></Script>
  4204. </Form>
  4205. </FDL>