SMAHR02406_검사결과통합건진(NEW).xfdl 279 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHR02405" position="absolute 0 0 1196 803" titletext="판정관리" oninit="SMAHR02405_oninit" onload="SMAHR02405_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape position="absolute 0 86 410 92" linetype="horizontal" id="line8" class="line_10" anchor="left top right"/>
  8. <Div position="absolute 0 25 1195 65" align="align:center top;" id="group2" class="div_SA" anchor="left top right">
  9. <Layouts>
  10. <Layout width="1195" height="40">
  11. <Static text="검진일자 :" position="absolute 422 13 495 30" id="caption13" class="search_name" anchor="default"/>
  12. <Static text="~" position="absolute 595 15 607 32" id="caption34" class="search_n_b" anchor="default"/>
  13. <Button position="absolute 1132 11 1188 33" id="btn_search" class="btn1" text="조회" anchor="right" onclick="group2_btn_search_onclick"/>
  14. <Shape position="absolute 1122 10 1128 34" linetype="vertical" id="line3" anchor="right"/>
  15. <Edit position="absolute 948 12 1018 31" id="ipt_pid" class="input_search" taborder="3" anchor="default" autoselect="true" onkeydown="group2_ipt_pid_onkeydown"/>
  16. <Button position="absolute 1021 14 1037 30" id="btn_srchpat" class="icon_search" text="" anchor="default" onclick="group2_btn_srchpat_onclick"/>
  17. <Edit position="absolute 1043 12 1118 31" id="ipt_pnm" class="input_search" anchor="default" autoselect="true" onkeydown="group2_ipt_pnm_onkeydown"/>
  18. <Static text="환자검색 :" position="absolute 874 13 947 30" id="caption14" class="search_name" anchor="default"/>
  19. <Static text="조회구분 :" position="absolute 712 13 788 30" id="caption9" class="search_name" anchor="default"/>
  20. <Static text="건진분류 :" position="absolute 6 13 80 30" id="caption6" class="search_name" anchor="default" style="color:#01548eff;"/>
  21. <Combo position="absolute 80 11 197 30" id="combo1" class="combo_essential" innerdataset="ds_init_baseinfo_A0088" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  22. <Calendar id="ipt_srchfromdd" taborder="1" autoselect="true" dateformat="yyyy-MM-dd" class="input_essential" position="absolute 492 11 592 30" anchor="default"/>
  23. <Calendar id="ipt_srchtodd" taborder="2" autoselect="true" dateformat="yyyy-MM-dd" class="input_essential" position="absolute 607 11 707 30" anchor="default"/>
  24. <Combo id="combo00" taborder="4" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_essential" position="absolute 784 11 865 30" anchor="default">
  25. <Dataset id="innerdataset">
  26. <ColumnInfo>
  27. <Column id="codecolumn" size="256"/>
  28. <Column id="datacolumn" size="256"/>
  29. </ColumnInfo>
  30. <Rows>
  31. <Row>
  32. <Col id="codecolumn">A</Col>
  33. <Col id="datacolumn">전체</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">E</Col>
  37. <Col id="datacolumn">접수</Col>
  38. </Row>
  39. <Row>
  40. <Col id="codecolumn">G</Col>
  41. <Col id="datacolumn">결과</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">GY</Col>
  45. <Col id="datacolumn">결과완료</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">H</Col>
  49. <Col id="datacolumn">판정</Col>
  50. </Row>
  51. </Rows>
  52. </Dataset>
  53. </Combo>
  54. <Static id="caption00" text="건진구분 :" class="search_name" position="absolute 206 13 280 30" style="color:#01548eff;" anchor="default"/>
  55. <Combo id="combo02" taborder="5" innerdataset="@ds_init_baseinfo_A0070" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 280 11 418 30" onitemchanged="group2_combo02_onitemchanged" anchor="default"/>
  56. <Static id="caption11" text="예약일자" class="search_name" position="absolute 431 9 501 32" visible="false" anchor="default"/>
  57. <Calendar id="ipt_rsrvdd" taborder="6" class="input_essential" enable="false" position="absolute 504 11 597 30" anchor="default" visible="false"/>
  58. <Static id="cap_rsrvtm" text="예약시간" class="search_name" position="absolute 607 9 677 32" anchor="default" visible="false"/>
  59. <MaskEdit id="ipt_rsrvtm" taborder="7" displaynulltext=" " type="string" mask="##:##" maskchar=" " trimtype="both" autoselect="true" class="input_default" enable="false" position="absolute 675 11 733 30" anchor="default" style=":disabled {align:left middle;}" visible="false"/>
  60. <Button id="btn_totrsrvdt" taborder="8" text="예약시간" class="btn2" position="absolute 737 9 801 31" anchor="default" visible="false" onclick="group2_btn_totrsrvdt_onclick" enable="false"/>
  61. <Button id="btn_rsrvsave" taborder="9" text="예약저장" class="btn2" visible="false" position="absolute 803 9 867 31" onclick="group2_btn_rsrvsave_onclick" enable="false"/>
  62. </Layout>
  63. </Layouts>
  64. </Div>
  65. <Static text="검진자리스트" position="absolute 0 70 125 87" id="caption12" class="tit_2"/>
  66. <Grid position="absolute 0 91 410 800" id="grd_acptlist" binddataset="ds_main_acptlist" anchor="all" selecttype="row" oncelldblclick="grd_acptlist_oncelldblclick" oncellclick="grd_acptlist_oncellclick" cellsizebandtype="body" cellsizingtype="none">
  67. <Formats>
  68. <Format id="G01">
  69. <Columns>
  70. <Column size="24" band="left"/>
  71. <Column size="60" band="left"/>
  72. <Column size="60" band="left"/>
  73. <Column size="0"/>
  74. <Column size="80"/>
  75. <Column size="0"/>
  76. <Column size="0"/>
  77. <Column size="0"/>
  78. <Column size="0"/>
  79. <Column size="0"/>
  80. <Column size="0"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. <Column size="0"/>
  84. <Column size="0"/>
  85. <Column size="0"/>
  86. <Column size="0"/>
  87. <Column size="0"/>
  88. <Column size="0"/>
  89. <Column size="0"/>
  90. <Column size="0"/>
  91. <Column size="0"/>
  92. <Column size="0"/>
  93. <Column size="0"/>
  94. <Column size="0"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="0"/>
  98. <Column size="80"/>
  99. <Column size="30"/>
  100. <Column size="30"/>
  101. <Column size="30"/>
  102. <Column size="50"/>
  103. <Column size="30"/>
  104. <Column size="50"/>
  105. <Column size="30"/>
  106. <Column size="50"/>
  107. <Column size="30"/>
  108. <Column size="50"/>
  109. <Column size="30"/>
  110. <Column size="50"/>
  111. <Column size="80"/>
  112. </Columns>
  113. <Rows>
  114. <Row size="24" band="head"/>
  115. <Row size="24"/>
  116. </Rows>
  117. <Band id="head">
  118. <Cell/>
  119. <Cell col="1" text="성명"/>
  120. <Cell col="2" text="등록번호"/>
  121. <Cell col="3" text="패키지명"/>
  122. <Cell col="4" text="건진일자"/>
  123. <Cell col="5" text="구분"/>
  124. <Cell col="6" text="예약번호"/>
  125. <Cell col="7" text="성명(영)"/>
  126. <Cell col="8" text="접수일자"/>
  127. <Cell col="9" text="sex"/>
  128. <Cell col="10" text="age"/>
  129. <Cell col="11" text="단체명"/>
  130. <Cell col="12" text="주민번호1"/>
  131. <Cell col="13" text="주민번호2"/>
  132. <Cell col="14" text="단체코드"/>
  133. <Cell col="15" text="패키지코드"/>
  134. <Cell col="16" text="학년"/>
  135. <Cell col="17" text="반"/>
  136. <Cell col="18" text="번호"/>
  137. <Cell col="19" text="예약등록일자"/>
  138. <Cell col="20" text="원무생성번호"/>
  139. <Cell col="21" text="진료과"/>
  140. <Cell col="22" text="건진구분"/>
  141. <Cell col="23" text="상세구분"/>
  142. <Cell col="24" text="hopedd"/>
  143. <Cell col="25" text="검사결과"/>
  144. <Cell col="26" text="암구분값"/>
  145. <Cell col="27"/>
  146. <Cell col="28" text="구분"/>
  147. <Cell col="29" text="문진"/>
  148. <Cell col="30" text="판정"/>
  149. <Cell col="31" text="흡연"/>
  150. <Cell col="32" text="금연처방"/>
  151. <Cell col="33" text="음주"/>
  152. <Cell col="34" text="금주처방"/>
  153. <Cell col="35" text="운동"/>
  154. <Cell col="36" text="운동처방"/>
  155. <Cell col="37" text="영양"/>
  156. <Cell col="38" text="영양처방"/>
  157. <Cell col="39" text="비만"/>
  158. <Cell col="40" text="비만처방"/>
  159. <Cell col="41" text="생활습관평가"/>
  160. </Band>
  161. <Band id="body">
  162. <Cell celltype="head" expr="currow + 1"/>
  163. <Cell col="1" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:hngnm"/>
  164. <Cell col="2" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:pid"/>
  165. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:pkgnm" wordwrap="word"/>
  166. <Cell col="4" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:orddd" calendardisplaynulltype="none"/>
  167. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  168. <Cell col="6" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rsrvno"/>
  169. <Cell col="7" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:engnm"/>
  170. <Cell col="8" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:sex"/>
  171. <Cell col="9" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:age"/>
  172. <Cell col="10" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cmpynm"/>
  173. <Cell col="11" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rgstno1"/>
  174. <Cell col="12" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rgstno2"/>
  175. <Cell col="13" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cmpycd"/>
  176. <Cell col="14" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:pkgcd"/>
  177. <Cell col="15" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:schlgrde"/>
  178. <Cell col="16" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:clsid"/>
  179. <Cell col="17" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:stuid"/>
  180. <Cell col="18" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rsrvdd"/>
  181. <Cell col="19" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cretno"/>
  182. <Cell col="20" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:orddeptcd"/>
  183. <Cell col="21" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:healexamflag"/>
  184. <Cell col="22" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:healexamdetlflag"/>
  185. <Cell col="23" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:hopedd"/>
  186. <Cell col="24" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:assorsltcd"/>
  187. <Cell col="25" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cdgrpid"/>
  188. <Cell col="26" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:remcnts"/>
  189. <Cell col="27" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:clamyn"/>
  190. <Cell col="28" displaytype="text" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="expr:fn_rsltText(currow)"/>
  191. <Cell col="29" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_g01_m_tyn"/>
  192. <Cell col="30" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_g01_1_p_tyn"/>
  193. <Cell col="31" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_4_p_tyn"/>
  194. <Cell col="32" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_5_p_tyn"/>
  195. <Cell col="33" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_6_p_tyn"/>
  196. <Cell col="34" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_7_p_tyn"/>
  197. <Cell col="35" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_8_p_tyn"/>
  198. <Cell col="36" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_9_p_tyn"/>
  199. <Cell col="37" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_10_p_tyn"/>
  200. <Cell col="38" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_11_p_tyn"/>
  201. <Cell col="39" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_12_p_tyn"/>
  202. <Cell col="40" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_13_p_tyn"/>
  203. <Cell col="41" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectbackground:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_g01_3_p_tyn"/>
  204. </Band>
  205. </Format>
  206. <Format id="G08">
  207. <Columns>
  208. <Column size="24" band="left"/>
  209. <Column size="60" band="left"/>
  210. <Column size="60" band="left"/>
  211. <Column size="0"/>
  212. <Column size="80"/>
  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. <Column size="0"/>
  233. <Column size="0"/>
  234. <Column size="0"/>
  235. <Column size="0"/>
  236. <Column size="80"/>
  237. <Column size="30"/>
  238. <Column size="80"/>
  239. </Columns>
  240. <Rows>
  241. <Row size="24" band="head"/>
  242. <Row size="24"/>
  243. </Rows>
  244. <Band id="head">
  245. <Cell/>
  246. <Cell col="1" text="성명"/>
  247. <Cell col="2" text="등록번호"/>
  248. <Cell col="3" text="패키지명"/>
  249. <Cell col="4" text="건진일자"/>
  250. <Cell col="5" text="구분"/>
  251. <Cell col="6" text="예약번호"/>
  252. <Cell col="7" text="성명(영)"/>
  253. <Cell col="8" text="접수일자"/>
  254. <Cell col="9" text="sex"/>
  255. <Cell col="10" text="age"/>
  256. <Cell col="11" text="단체명"/>
  257. <Cell col="12" text="주민번호1"/>
  258. <Cell col="13" text="주민번호2"/>
  259. <Cell col="14" text="단체코드"/>
  260. <Cell col="15" text="패키지코드"/>
  261. <Cell col="16" text="학년"/>
  262. <Cell col="17" text="반"/>
  263. <Cell col="18" text="번호"/>
  264. <Cell col="19" text="예약등록일자"/>
  265. <Cell col="20" text="원무생성번호"/>
  266. <Cell col="21" text="진료과"/>
  267. <Cell col="22" text="건진구분"/>
  268. <Cell col="23" text="상세구분"/>
  269. <Cell col="24" text="hopedd"/>
  270. <Cell col="25" text="검사결과"/>
  271. <Cell col="26" text="암구분값"/>
  272. <Cell col="27"/>
  273. <Cell col="28" text="구분"/>
  274. <Cell col="29" text="문진"/>
  275. <Cell col="30" text="의료급여생애"/>
  276. </Band>
  277. <Band id="body">
  278. <Cell celltype="head" expr="currow + 1"/>
  279. <Cell col="1" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:hngnm"/>
  280. <Cell col="2" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:pid"/>
  281. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:pkgnm" wordwrap="word"/>
  282. <Cell col="4" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:orddd" calendardisplaynulltype="none"/>
  283. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  284. <Cell col="6" text="bind:rsrvno"/>
  285. <Cell col="7" text="bind:engnm"/>
  286. <Cell col="8" text="bind:sex"/>
  287. <Cell col="9" text="bind:age"/>
  288. <Cell col="10" text="bind:cmpynm"/>
  289. <Cell col="11" text="bind:rgstno1"/>
  290. <Cell col="12" text="bind:rgstno2"/>
  291. <Cell col="13" text="bind:cmpycd"/>
  292. <Cell col="14" text="bind:pkgcd"/>
  293. <Cell col="15" text="bind:schlgrde"/>
  294. <Cell col="16" text="bind:clsid"/>
  295. <Cell col="17" text="bind:stuid"/>
  296. <Cell col="18" text="bind:rsrvdd"/>
  297. <Cell col="19" text="bind:cretno"/>
  298. <Cell col="20" text="bind:orddeptcd"/>
  299. <Cell col="21" text="bind:healexamflag"/>
  300. <Cell col="22" text="bind:healexamdetlflag"/>
  301. <Cell col="23" text="bind:hopedd"/>
  302. <Cell col="24" text="bind:assorsltcd"/>
  303. <Cell col="25" text="bind:cdgrpid"/>
  304. <Cell col="26" text="bind:remcnts"/>
  305. <Cell col="27" text="bind:clamyn"/>
  306. <Cell col="28" displaytype="text" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="expr:fn_rsltText(currow)"/>
  307. <Cell col="29" style="selectbackground:EXPR(bkcolor);" text="bind:a_g01_m_tyn"/>
  308. <Cell col="30" style="selectbackground:EXPR(bkcolor);" text="bind:a_g01_2_p_tyn"/>
  309. </Band>
  310. </Format>
  311. <Format id="G09">
  312. <Columns>
  313. <Column size="24" band="left"/>
  314. <Column size="60" band="left"/>
  315. <Column size="60" band="left"/>
  316. <Column size="0"/>
  317. <Column size="80"/>
  318. <Column size="0"/>
  319. <Column size="0"/>
  320. <Column size="0"/>
  321. <Column size="0"/>
  322. <Column size="0"/>
  323. <Column size="0"/>
  324. <Column size="0"/>
  325. <Column size="0"/>
  326. <Column size="0"/>
  327. <Column size="0"/>
  328. <Column size="0"/>
  329. <Column size="0"/>
  330. <Column size="0"/>
  331. <Column size="0"/>
  332. <Column size="0"/>
  333. <Column size="0"/>
  334. <Column size="0"/>
  335. <Column size="0"/>
  336. <Column size="0"/>
  337. <Column size="0"/>
  338. <Column size="0"/>
  339. <Column size="0"/>
  340. <Column size="0"/>
  341. <Column size="0"/>
  342. <Column size="40"/>
  343. <Column size="25"/>
  344. <Column size="25"/>
  345. <Column size="30"/>
  346. <Column size="30"/>
  347. <Column size="30"/>
  348. </Columns>
  349. <Rows>
  350. <Row size="24" band="head"/>
  351. <Row size="24"/>
  352. </Rows>
  353. <Band id="head">
  354. <Cell/>
  355. <Cell col="1" text="성명"/>
  356. <Cell col="2" text="등록번호"/>
  357. <Cell col="3" text="패키지명"/>
  358. <Cell col="4" text="건진일자"/>
  359. <Cell col="5" text="구분"/>
  360. <Cell col="6" text="예약번호"/>
  361. <Cell col="7" text="성명(영)"/>
  362. <Cell col="8" text="접수일자"/>
  363. <Cell col="9" text="sex"/>
  364. <Cell col="10" text="age"/>
  365. <Cell col="11" text="단체명"/>
  366. <Cell col="12" text="주민번호1"/>
  367. <Cell col="13" text="주민번호2"/>
  368. <Cell col="14" text="단체코드"/>
  369. <Cell col="15" text="패키지코드"/>
  370. <Cell col="16" text="학년"/>
  371. <Cell col="17" text="반"/>
  372. <Cell col="18" text="번호"/>
  373. <Cell col="19" text="예약등록일자"/>
  374. <Cell col="20" text="원무생성번호"/>
  375. <Cell col="21" text="진료과"/>
  376. <Cell col="22" text="건진구분"/>
  377. <Cell col="23" text="상세구분"/>
  378. <Cell col="24" text="hopedd"/>
  379. <Cell col="25" text="검사결과"/>
  380. <Cell col="26" text="암구분값"/>
  381. <Cell col="27"/>
  382. <Cell col="28" text="구분"/>
  383. <Cell col="29" text="암문진"/>
  384. <Cell col="30" text="위"/>
  385. <Cell col="31" text="간"/>
  386. <Cell col="32" text="대장"/>
  387. <Cell col="33" text="유방"/>
  388. <Cell col="34" text="자궁"/>
  389. </Band>
  390. <Band id="body">
  391. <Cell celltype="head" expr="currow + 1"/>
  392. <Cell col="1" style="selectfont:Dotum,9,bold;" text="bind:hngnm"/>
  393. <Cell col="2" style="selectfont:Dotum,9,bold;" text="bind:pid"/>
  394. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:pkgnm" wordwrap="word"/>
  395. <Cell col="4" displaytype="date" style="selectfont:Dotum,9,bold;" text="bind:orddd" calendardisplaynulltype="none"/>
  396. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  397. <Cell col="6" style="selectfont:Dotum,9,bold;" text="bind:rsrvno"/>
  398. <Cell col="7" style="selectfont:Dotum,9,bold;" text="bind:engnm"/>
  399. <Cell col="8" style="selectfont:Dotum,9,bold;" text="bind:sex"/>
  400. <Cell col="9" style="selectfont:Dotum,9,bold;" text="bind:age"/>
  401. <Cell col="10" style="selectfont:Dotum,9,bold;" text="bind:cmpynm"/>
  402. <Cell col="11" style="selectfont:Dotum,9,bold;" text="bind:rgstno1"/>
  403. <Cell col="12" style="selectfont:Dotum,9,bold;" text="bind:rgstno2"/>
  404. <Cell col="13" style="selectfont:Dotum,9,bold;" text="bind:cmpycd"/>
  405. <Cell col="14" style="selectfont:Dotum,9,bold;" text="bind:pkgcd"/>
  406. <Cell col="15" style="selectfont:Dotum,9,bold;" text="bind:schlgrde"/>
  407. <Cell col="16" style="selectfont:Dotum,9,bold;" text="bind:clsid"/>
  408. <Cell col="17" style="selectfont:Dotum,9,bold;" text="bind:stuid"/>
  409. <Cell col="18" style="selectfont:Dotum,9,bold;" text="bind:rsrvdd"/>
  410. <Cell col="19" style="selectfont:Dotum,9,bold;" text="bind:cretno"/>
  411. <Cell col="20" style="selectfont:Dotum,9,bold;" text="bind:orddeptcd"/>
  412. <Cell col="21" style="selectfont:Dotum,9,bold;" text="bind:healexamflag"/>
  413. <Cell col="22" style="selectfont:Dotum,9,bold;" text="bind:healexamdetlflag"/>
  414. <Cell col="23" style="selectfont:Dotum,9,bold;" text="bind:hopedd"/>
  415. <Cell col="24" style="selectfont:Dotum,9,bold;" text="bind:assorsltcd"/>
  416. <Cell col="25" style="selectfont:Dotum,9,bold;" text="bind:cdgrpid"/>
  417. <Cell col="26" style="selectfont:Dotum,9,bold;" text="bind:remcnts"/>
  418. <Cell col="27" style="selectfont:Dotum,9,bold;" text="bind:clamyn"/>
  419. <Cell col="28" displaytype="text" style="selectfont:Dotum,9,bold;" text="expr:fn_rsltText(currow)"/>
  420. <Cell col="29" style="selectfont:Dotum,9,bold;" text="bind:a_g09_m_tyn"/>
  421. <Cell col="30" style="background:EXPR((c1=='Y') ? '#ffff00' : '');background2:EXPR((c1=='Y') ? '#ffff00' : '');selectbackground:EXPR((c1=='Y') ? '#ffff00' : '');selectfont:Dotum,9,bold;" text="bind:a_g09_3_p_tyn"/>
  422. <Cell col="31" style="background:EXPR((c3=='Y') ? '#ffff00' : '');background2:EXPR((c3=='Y') ? '#ffff00' : '');selectbackground:EXPR((c3=='Y') ? '#ffff00' : '');selectfont:Dotum,9,bold;" text="bind:a_g09_1_p_tyn"/>
  423. <Cell col="32" style="background:EXPR((c2=='Y') ? '#ffff00' : '');background2:EXPR((c2=='Y') ? '#ffff00' : '');selectbackground:EXPR((c2=='Y') ? '#ffff00' : '');selectfont:Dotum,9,bold;" text="bind:a_g09_2_p_tyn"/>
  424. <Cell col="33" style="background:EXPR((c4=='Y') ? '#ffff00' : '');background2:EXPR((c4=='Y') ? '#ffff00' : '');selectbackground:EXPR((c4=='Y') ? '#ffff00' : '');selectfont:Dotum,9,bold;" text="bind:a_g09_4_p_tyn"/>
  425. <Cell col="34" style="background:EXPR((c5=='Y') ? '#ffff00' : '');background2:EXPR((c5=='Y') ? '#ffff00' : '');selectbackground:EXPR((c5=='Y') ? '#ffff00' : '');selectfont:Dotum,9,bold;" text="bind:a_g09_5_p_tyn"/>
  426. </Band>
  427. </Format>
  428. <Format id="G16">
  429. <Columns>
  430. <Column size="24" band="left"/>
  431. <Column size="60" band="left"/>
  432. <Column size="60" band="left"/>
  433. <Column size="0"/>
  434. <Column size="80"/>
  435. <Column size="0"/>
  436. <Column size="0"/>
  437. <Column size="0"/>
  438. <Column size="0"/>
  439. <Column size="0"/>
  440. <Column size="0"/>
  441. <Column size="0"/>
  442. <Column size="0"/>
  443. <Column size="0"/>
  444. <Column size="0"/>
  445. <Column size="0"/>
  446. <Column size="0"/>
  447. <Column size="0"/>
  448. <Column size="0"/>
  449. <Column size="0"/>
  450. <Column size="0"/>
  451. <Column size="0"/>
  452. <Column size="0"/>
  453. <Column size="0"/>
  454. <Column size="0"/>
  455. <Column size="0"/>
  456. <Column size="0"/>
  457. <Column size="0"/>
  458. <Column size="80"/>
  459. <Column size="30"/>
  460. <Column size="30"/>
  461. </Columns>
  462. <Rows>
  463. <Row size="24" band="head"/>
  464. <Row size="24"/>
  465. </Rows>
  466. <Band id="head">
  467. <Cell/>
  468. <Cell col="1" text="성명"/>
  469. <Cell col="2" text="등록번호"/>
  470. <Cell col="3" text="패키지명"/>
  471. <Cell col="4" text="건진일자"/>
  472. <Cell col="5" text="구분"/>
  473. <Cell col="6" text="예약번호"/>
  474. <Cell col="7" text="성명(영)"/>
  475. <Cell col="8" text="접수일자"/>
  476. <Cell col="9" text="sex"/>
  477. <Cell col="10" text="age"/>
  478. <Cell col="11" text="단체명"/>
  479. <Cell col="12" text="주민번호1"/>
  480. <Cell col="13" text="주민번호2"/>
  481. <Cell col="14" text="단체코드"/>
  482. <Cell col="15" text="패키지코드"/>
  483. <Cell col="16" text="학년"/>
  484. <Cell col="17" text="반"/>
  485. <Cell col="18" text="번호"/>
  486. <Cell col="19" text="예약등록일자"/>
  487. <Cell col="20" text="원무생성번호"/>
  488. <Cell col="21" text="진료과"/>
  489. <Cell col="22" text="건진구분"/>
  490. <Cell col="23" text="상세구분"/>
  491. <Cell col="24" text="hopedd"/>
  492. <Cell col="25" text="검사결과"/>
  493. <Cell col="26" text="암구분값"/>
  494. <Cell col="27"/>
  495. <Cell col="28" text="구분"/>
  496. <Cell col="29" text="문진"/>
  497. <Cell col="30" text="판정"/>
  498. </Band>
  499. <Band id="body">
  500. <Cell celltype="head" expr="currow + 1"/>
  501. <Cell col="1" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:hngnm"/>
  502. <Cell col="2" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:pid"/>
  503. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:pkgnm" wordwrap="word"/>
  504. <Cell col="4" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:orddd" calendardisplaynulltype="none"/>
  505. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  506. <Cell col="6" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rsrvno"/>
  507. <Cell col="7" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:engnm"/>
  508. <Cell col="8" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:sex"/>
  509. <Cell col="9" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:age"/>
  510. <Cell col="10" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cmpynm"/>
  511. <Cell col="11" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rgstno1"/>
  512. <Cell col="12" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rgstno2"/>
  513. <Cell col="13" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cmpycd"/>
  514. <Cell col="14" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:pkgcd"/>
  515. <Cell col="15" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:schlgrde"/>
  516. <Cell col="16" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:clsid"/>
  517. <Cell col="17" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:stuid"/>
  518. <Cell col="18" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rsrvdd"/>
  519. <Cell col="19" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cretno"/>
  520. <Cell col="20" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:orddeptcd"/>
  521. <Cell col="21" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:healexamflag"/>
  522. <Cell col="22" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:healexamdetlflag"/>
  523. <Cell col="23" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:hopedd"/>
  524. <Cell col="24" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:assorsltcd"/>
  525. <Cell col="25" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cdgrpid"/>
  526. <Cell col="26" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:remcnts"/>
  527. <Cell col="27" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:clamyn"/>
  528. <Cell col="28" displaytype="text" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="expr:fn_rsltText(currow)"/>
  529. <Cell col="29" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_g16_m_tyn"/>
  530. <Cell col="30" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_g16_p_tyn"/>
  531. </Band>
  532. </Format>
  533. <Format id="G17">
  534. <Columns>
  535. <Column size="24" band="left"/>
  536. <Column size="60" band="left"/>
  537. <Column size="60" band="left"/>
  538. <Column size="0"/>
  539. <Column size="80"/>
  540. <Column size="0"/>
  541. <Column size="0"/>
  542. <Column size="0"/>
  543. <Column size="0"/>
  544. <Column size="0"/>
  545. <Column size="0"/>
  546. <Column size="0"/>
  547. <Column size="0"/>
  548. <Column size="0"/>
  549. <Column size="0"/>
  550. <Column size="0"/>
  551. <Column size="0"/>
  552. <Column size="0"/>
  553. <Column size="0"/>
  554. <Column size="0"/>
  555. <Column size="0"/>
  556. <Column size="0"/>
  557. <Column size="0"/>
  558. <Column size="0"/>
  559. <Column size="0"/>
  560. <Column size="0"/>
  561. <Column size="0"/>
  562. <Column size="0"/>
  563. <Column size="80"/>
  564. <Column size="30"/>
  565. <Column size="30"/>
  566. <Column size="30"/>
  567. <Column size="50"/>
  568. <Column size="30"/>
  569. <Column size="50"/>
  570. <Column size="30"/>
  571. <Column size="50"/>
  572. <Column size="30"/>
  573. <Column size="50"/>
  574. <Column size="30"/>
  575. <Column size="50"/>
  576. <Column size="80"/>
  577. </Columns>
  578. <Rows>
  579. <Row size="24" band="head"/>
  580. <Row size="24"/>
  581. </Rows>
  582. <Band id="head">
  583. <Cell/>
  584. <Cell col="1" text="성명"/>
  585. <Cell col="2" text="등록번호"/>
  586. <Cell col="3" text="패키지명"/>
  587. <Cell col="4" text="건진일자"/>
  588. <Cell col="5" text="구분"/>
  589. <Cell col="6" text="예약번호"/>
  590. <Cell col="7" text="성명(영)"/>
  591. <Cell col="8" text="접수일자"/>
  592. <Cell col="9" text="sex"/>
  593. <Cell col="10" text="age"/>
  594. <Cell col="11" text="단체명"/>
  595. <Cell col="12" text="주민번호1"/>
  596. <Cell col="13" text="주민번호2"/>
  597. <Cell col="14" text="단체코드"/>
  598. <Cell col="15" text="패키지코드"/>
  599. <Cell col="16" text="학년"/>
  600. <Cell col="17" text="반"/>
  601. <Cell col="18" text="번호"/>
  602. <Cell col="19" text="예약등록일자"/>
  603. <Cell col="20" text="원무생성번호"/>
  604. <Cell col="21" text="진료과"/>
  605. <Cell col="22" text="건진구분"/>
  606. <Cell col="23" text="상세구분"/>
  607. <Cell col="24" text="hopedd"/>
  608. <Cell col="25" text="검사결과"/>
  609. <Cell col="26" text="암구분값"/>
  610. <Cell col="27"/>
  611. <Cell col="28" text="구분"/>
  612. <Cell col="29" text="문진"/>
  613. <Cell col="30" text="판정"/>
  614. <Cell col="31" text="흡연"/>
  615. <Cell col="32" text="금연처방"/>
  616. <Cell col="33" text="음주"/>
  617. <Cell col="34" text="금주처방"/>
  618. <Cell col="35" text="운동"/>
  619. <Cell col="36" text="운동처방"/>
  620. <Cell col="37" text="영양"/>
  621. <Cell col="38" text="영양처방"/>
  622. <Cell col="39" text="비만"/>
  623. <Cell col="40" text="비만처방"/>
  624. <Cell col="41" text="생활습관평가"/>
  625. </Band>
  626. <Band id="body">
  627. <Cell celltype="head" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" expr="currow + 1"/>
  628. <Cell col="1" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:hngnm"/>
  629. <Cell col="2" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:pid"/>
  630. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:pkgnm" wordwrap="word"/>
  631. <Cell col="4" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:orddd" calendardisplaynulltype="none"/>
  632. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  633. <Cell col="6" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rsrvno"/>
  634. <Cell col="7" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:engnm"/>
  635. <Cell col="8" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:sex"/>
  636. <Cell col="9" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:age"/>
  637. <Cell col="10" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cmpynm"/>
  638. <Cell col="11" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rgstno1"/>
  639. <Cell col="12" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rgstno2"/>
  640. <Cell col="13" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cmpycd"/>
  641. <Cell col="14" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:pkgcd"/>
  642. <Cell col="15" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:schlgrde"/>
  643. <Cell col="16" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:clsid"/>
  644. <Cell col="17" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:stuid"/>
  645. <Cell col="18" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:rsrvdd"/>
  646. <Cell col="19" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cretno"/>
  647. <Cell col="20" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:orddeptcd"/>
  648. <Cell col="21" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:healexamflag"/>
  649. <Cell col="22" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:healexamdetlflag"/>
  650. <Cell col="23" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:hopedd"/>
  651. <Cell col="24" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:assorsltcd"/>
  652. <Cell col="25" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:cdgrpid"/>
  653. <Cell col="26" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:remcnts"/>
  654. <Cell col="27" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:clamyn"/>
  655. <Cell col="28" displaytype="text" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="expr:fn_rsltText(currow)"/>
  656. <Cell col="29" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_g01_m_tyn"/>
  657. <Cell col="30" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_g01_2_p_tyn"/>
  658. <Cell col="31" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_4_p_tyn"/>
  659. <Cell col="32" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_5_p_tyn"/>
  660. <Cell col="33" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_6_p_tyn"/>
  661. <Cell col="34" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_7_p_tyn"/>
  662. <Cell col="35" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_8_p_tyn"/>
  663. <Cell col="36" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_9_p_tyn"/>
  664. <Cell col="37" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_10_p_tyn"/>
  665. <Cell col="38" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_11_p_tyn"/>
  666. <Cell col="39" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_12_p_tyn"/>
  667. <Cell col="40" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_etc_13_p_tyn"/>
  668. <Cell col="41" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);selectfont:Dotum,9,bold;" text="bind:a_g01_3_p_tyn"/>
  669. </Band>
  670. </Format>
  671. <Format id="G01_no">
  672. <Columns>
  673. <Column size="24" band="left"/>
  674. <Column size="60" band="left"/>
  675. <Column size="60" band="left"/>
  676. <Column size="0"/>
  677. <Column size="80"/>
  678. <Column size="0"/>
  679. <Column size="0"/>
  680. <Column size="0"/>
  681. <Column size="0"/>
  682. <Column size="0"/>
  683. <Column size="0"/>
  684. <Column size="0"/>
  685. <Column size="0"/>
  686. <Column size="0"/>
  687. <Column size="0"/>
  688. <Column size="0"/>
  689. <Column size="0"/>
  690. <Column size="0"/>
  691. <Column size="0"/>
  692. <Column size="0"/>
  693. <Column size="0"/>
  694. <Column size="0"/>
  695. <Column size="0"/>
  696. <Column size="0"/>
  697. <Column size="0"/>
  698. <Column size="0"/>
  699. <Column size="0"/>
  700. <Column size="0"/>
  701. <Column size="0"/>
  702. <Column size="30"/>
  703. <Column size="0"/>
  704. <Column size="30"/>
  705. <Column size="0"/>
  706. <Column size="30"/>
  707. <Column size="0"/>
  708. <Column size="30"/>
  709. <Column size="0"/>
  710. <Column size="30"/>
  711. <Column size="0"/>
  712. <Column size="30"/>
  713. <Column size="0"/>
  714. <Column size="0"/>
  715. </Columns>
  716. <Rows>
  717. <Row size="24" band="head"/>
  718. <Row size="24"/>
  719. </Rows>
  720. <Band id="head">
  721. <Cell/>
  722. <Cell col="1" text="성명"/>
  723. <Cell col="2" text="등록번호"/>
  724. <Cell col="3" text="패키지명"/>
  725. <Cell col="4" text="건진일자"/>
  726. <Cell col="5" text="구분"/>
  727. <Cell col="6" text="예약번호"/>
  728. <Cell col="7" text="성명(영)"/>
  729. <Cell col="8" text="접수일자"/>
  730. <Cell col="9" text="sex"/>
  731. <Cell col="10" text="age"/>
  732. <Cell col="11" text="단체명"/>
  733. <Cell col="12" text="주민번호1"/>
  734. <Cell col="13" text="주민번호2"/>
  735. <Cell col="14" text="단체코드"/>
  736. <Cell col="15" text="패키지코드"/>
  737. <Cell col="16" text="학년"/>
  738. <Cell col="17" text="반"/>
  739. <Cell col="18" text="번호"/>
  740. <Cell col="19" text="예약등록일자"/>
  741. <Cell col="20" text="원무생성번호"/>
  742. <Cell col="21" text="진료과"/>
  743. <Cell col="22" text="건진구분"/>
  744. <Cell col="23" text="상세구분"/>
  745. <Cell col="24" text="hopedd"/>
  746. <Cell col="25" text="검사결과"/>
  747. <Cell col="26" text="암구분값"/>
  748. <Cell col="27"/>
  749. <Cell col="28" text="구분"/>
  750. <Cell col="29" text="문진"/>
  751. <Cell col="30" text="판정"/>
  752. <Cell col="31" text="흡연"/>
  753. <Cell col="32" text="금연처방"/>
  754. <Cell col="33" text="음주"/>
  755. <Cell col="34" text="금주처방"/>
  756. <Cell col="35" text="운동"/>
  757. <Cell col="36" text="운동처방"/>
  758. <Cell col="37" text="영양"/>
  759. <Cell col="38" text="영양처방"/>
  760. <Cell col="39" text="비만"/>
  761. <Cell col="40" text="비만처방"/>
  762. <Cell col="41" text="생활습관평가"/>
  763. </Band>
  764. <Band id="body">
  765. <Cell celltype="head" expr="currow + 1"/>
  766. <Cell col="1" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:hngnm"/>
  767. <Cell col="2" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:pid"/>
  768. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:pkgnm" wordwrap="word"/>
  769. <Cell col="4" displaytype="date" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:orddd" calendardisplaynulltype="none"/>
  770. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  771. <Cell col="6" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:rsrvno"/>
  772. <Cell col="7" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:engnm"/>
  773. <Cell col="8" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:sex"/>
  774. <Cell col="9" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:age"/>
  775. <Cell col="10" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:cmpynm"/>
  776. <Cell col="11" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:rgstno1"/>
  777. <Cell col="12" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:rgstno2"/>
  778. <Cell col="13" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:cmpycd"/>
  779. <Cell col="14" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:pkgcd"/>
  780. <Cell col="15" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:schlgrde"/>
  781. <Cell col="16" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:clsid"/>
  782. <Cell col="17" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:stuid"/>
  783. <Cell col="18" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:rsrvdd"/>
  784. <Cell col="19" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:cretno"/>
  785. <Cell col="20" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:orddeptcd"/>
  786. <Cell col="21" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:healexamflag"/>
  787. <Cell col="22" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:healexamdetlflag"/>
  788. <Cell col="23" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:hopedd"/>
  789. <Cell col="24" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:assorsltcd"/>
  790. <Cell col="25" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:cdgrpid"/>
  791. <Cell col="26" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:remcnts"/>
  792. <Cell col="27" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:clamyn"/>
  793. <Cell col="28" displaytype="text" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="expr:fn_rsltText(currow)"/>
  794. <Cell col="29" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_g01_m_tyn"/>
  795. <Cell col="30" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_g01_1_p_tyn"/>
  796. <Cell col="31" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_4_p_tyn"/>
  797. <Cell col="32" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_5_p_tyn"/>
  798. <Cell col="33" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_6_p_tyn"/>
  799. <Cell col="34" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_7_p_tyn"/>
  800. <Cell col="35" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_8_p_tyn"/>
  801. <Cell col="36" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_9_p_tyn"/>
  802. <Cell col="37" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_10_p_tyn"/>
  803. <Cell col="38" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_11_p_tyn"/>
  804. <Cell col="39" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_12_p_tyn"/>
  805. <Cell col="40" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_13_p_tyn"/>
  806. <Cell col="41" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_g01_3_p_tyn"/>
  807. </Band>
  808. </Format>
  809. <Format id="G08_no">
  810. <Columns>
  811. <Column size="24" band="left"/>
  812. <Column size="60" band="left"/>
  813. <Column size="60" band="left"/>
  814. <Column size="0"/>
  815. <Column size="80"/>
  816. <Column size="0"/>
  817. <Column size="0"/>
  818. <Column size="0"/>
  819. <Column size="0"/>
  820. <Column size="0"/>
  821. <Column size="0"/>
  822. <Column size="0"/>
  823. <Column size="0"/>
  824. <Column size="0"/>
  825. <Column size="0"/>
  826. <Column size="0"/>
  827. <Column size="0"/>
  828. <Column size="0"/>
  829. <Column size="0"/>
  830. <Column size="0"/>
  831. <Column size="0"/>
  832. <Column size="0"/>
  833. <Column size="0"/>
  834. <Column size="0"/>
  835. <Column size="0"/>
  836. <Column size="0"/>
  837. <Column size="0"/>
  838. <Column size="0"/>
  839. <Column size="0"/>
  840. <Column size="30"/>
  841. <Column size="0"/>
  842. </Columns>
  843. <Rows>
  844. <Row size="24" band="head"/>
  845. <Row size="24"/>
  846. </Rows>
  847. <Band id="head">
  848. <Cell/>
  849. <Cell col="1" text="성명"/>
  850. <Cell col="2" text="등록번호"/>
  851. <Cell col="3" text="패키지명"/>
  852. <Cell col="4" text="건진일자"/>
  853. <Cell col="5" text="구분"/>
  854. <Cell col="6" text="예약번호"/>
  855. <Cell col="7" text="성명(영)"/>
  856. <Cell col="8" text="접수일자"/>
  857. <Cell col="9" text="sex"/>
  858. <Cell col="10" text="age"/>
  859. <Cell col="11" text="단체명"/>
  860. <Cell col="12" text="주민번호1"/>
  861. <Cell col="13" text="주민번호2"/>
  862. <Cell col="14" text="단체코드"/>
  863. <Cell col="15" text="패키지코드"/>
  864. <Cell col="16" text="학년"/>
  865. <Cell col="17" text="반"/>
  866. <Cell col="18" text="번호"/>
  867. <Cell col="19" text="예약등록일자"/>
  868. <Cell col="20" text="원무생성번호"/>
  869. <Cell col="21" text="진료과"/>
  870. <Cell col="22" text="건진구분"/>
  871. <Cell col="23" text="상세구분"/>
  872. <Cell col="24" text="hopedd"/>
  873. <Cell col="25" text="검사결과"/>
  874. <Cell col="26" text="암구분값"/>
  875. <Cell col="27"/>
  876. <Cell col="28" text="구분"/>
  877. <Cell col="29" text="문진"/>
  878. <Cell col="30" text="의료급여생애"/>
  879. </Band>
  880. <Band id="body">
  881. <Cell celltype="head" expr="currow + 1"/>
  882. <Cell col="1" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:hngnm"/>
  883. <Cell col="2" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:pid"/>
  884. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:pkgnm" wordwrap="word"/>
  885. <Cell col="4" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:orddd" calendardisplaynulltype="none"/>
  886. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  887. <Cell col="6" text="bind:rsrvno"/>
  888. <Cell col="7" text="bind:engnm"/>
  889. <Cell col="8" text="bind:sex"/>
  890. <Cell col="9" text="bind:age"/>
  891. <Cell col="10" text="bind:cmpynm"/>
  892. <Cell col="11" text="bind:rgstno1"/>
  893. <Cell col="12" text="bind:rgstno2"/>
  894. <Cell col="13" text="bind:cmpycd"/>
  895. <Cell col="14" text="bind:pkgcd"/>
  896. <Cell col="15" text="bind:schlgrde"/>
  897. <Cell col="16" text="bind:clsid"/>
  898. <Cell col="17" text="bind:stuid"/>
  899. <Cell col="18" text="bind:rsrvdd"/>
  900. <Cell col="19" text="bind:cretno"/>
  901. <Cell col="20" text="bind:orddeptcd"/>
  902. <Cell col="21" text="bind:healexamflag"/>
  903. <Cell col="22" text="bind:healexamdetlflag"/>
  904. <Cell col="23" text="bind:hopedd"/>
  905. <Cell col="24" text="bind:assorsltcd"/>
  906. <Cell col="25" text="bind:cdgrpid"/>
  907. <Cell col="26" text="bind:remcnts"/>
  908. <Cell col="27" text="bind:clamyn"/>
  909. <Cell col="28" displaytype="text" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="expr:fn_rsltText(currow)"/>
  910. <Cell col="29" text="bind:a_g01_m_tyn"/>
  911. <Cell col="30" text="bind:a_g01_2_p_tyn"/>
  912. </Band>
  913. </Format>
  914. <Format id="G09_no">
  915. <Columns>
  916. <Column size="24" band="left"/>
  917. <Column size="60" band="left"/>
  918. <Column size="60" band="left"/>
  919. <Column size="0"/>
  920. <Column size="80"/>
  921. <Column size="0"/>
  922. <Column size="0"/>
  923. <Column size="0"/>
  924. <Column size="0"/>
  925. <Column size="0"/>
  926. <Column size="0"/>
  927. <Column size="0"/>
  928. <Column size="0"/>
  929. <Column size="0"/>
  930. <Column size="0"/>
  931. <Column size="0"/>
  932. <Column size="0"/>
  933. <Column size="0"/>
  934. <Column size="0"/>
  935. <Column size="0"/>
  936. <Column size="0"/>
  937. <Column size="0"/>
  938. <Column size="0"/>
  939. <Column size="0"/>
  940. <Column size="0"/>
  941. <Column size="0"/>
  942. <Column size="0"/>
  943. <Column size="0"/>
  944. <Column size="0"/>
  945. <Column size="40"/>
  946. <Column size="0"/>
  947. <Column size="0"/>
  948. <Column size="0"/>
  949. <Column size="0"/>
  950. <Column size="0"/>
  951. </Columns>
  952. <Rows>
  953. <Row size="24" band="head"/>
  954. <Row size="24"/>
  955. </Rows>
  956. <Band id="head">
  957. <Cell/>
  958. <Cell col="1" text="성명"/>
  959. <Cell col="2" text="등록번호"/>
  960. <Cell col="3" text="패키지명"/>
  961. <Cell col="4" text="건진일자"/>
  962. <Cell col="5" text="구분"/>
  963. <Cell col="6" text="예약번호"/>
  964. <Cell col="7" text="성명(영)"/>
  965. <Cell col="8" text="접수일자"/>
  966. <Cell col="9" text="sex"/>
  967. <Cell col="10" text="age"/>
  968. <Cell col="11" text="단체명"/>
  969. <Cell col="12" text="주민번호1"/>
  970. <Cell col="13" text="주민번호2"/>
  971. <Cell col="14" text="단체코드"/>
  972. <Cell col="15" text="패키지코드"/>
  973. <Cell col="16" text="학년"/>
  974. <Cell col="17" text="반"/>
  975. <Cell col="18" text="번호"/>
  976. <Cell col="19" text="예약등록일자"/>
  977. <Cell col="20" text="원무생성번호"/>
  978. <Cell col="21" text="진료과"/>
  979. <Cell col="22" text="건진구분"/>
  980. <Cell col="23" text="상세구분"/>
  981. <Cell col="24" text="hopedd"/>
  982. <Cell col="25" text="검사결과"/>
  983. <Cell col="26" text="암구분값"/>
  984. <Cell col="27"/>
  985. <Cell col="28" text="구분"/>
  986. <Cell col="29" text="암문진"/>
  987. <Cell col="30" text="위"/>
  988. <Cell col="31" text="간"/>
  989. <Cell col="32" text="대장"/>
  990. <Cell col="33" text="유방"/>
  991. <Cell col="34" text="자궁"/>
  992. </Band>
  993. <Band id="body">
  994. <Cell celltype="head" expr="currow + 1"/>
  995. <Cell col="1" text="bind:hngnm"/>
  996. <Cell col="2" text="bind:pid"/>
  997. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:pkgnm" wordwrap="word"/>
  998. <Cell col="4" displaytype="date" text="bind:orddd" calendardisplaynulltype="none"/>
  999. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  1000. <Cell col="6" text="bind:rsrvno"/>
  1001. <Cell col="7" text="bind:engnm"/>
  1002. <Cell col="8" text="bind:sex"/>
  1003. <Cell col="9" text="bind:age"/>
  1004. <Cell col="10" text="bind:cmpynm"/>
  1005. <Cell col="11" text="bind:rgstno1"/>
  1006. <Cell col="12" text="bind:rgstno2"/>
  1007. <Cell col="13" text="bind:cmpycd"/>
  1008. <Cell col="14" text="bind:pkgcd"/>
  1009. <Cell col="15" text="bind:schlgrde"/>
  1010. <Cell col="16" text="bind:clsid"/>
  1011. <Cell col="17" text="bind:stuid"/>
  1012. <Cell col="18" text="bind:rsrvdd"/>
  1013. <Cell col="19" text="bind:cretno"/>
  1014. <Cell col="20" text="bind:orddeptcd"/>
  1015. <Cell col="21" text="bind:healexamflag"/>
  1016. <Cell col="22" text="bind:healexamdetlflag"/>
  1017. <Cell col="23" text="bind:hopedd"/>
  1018. <Cell col="24" text="bind:assorsltcd"/>
  1019. <Cell col="25" text="bind:cdgrpid"/>
  1020. <Cell col="26" text="bind:remcnts"/>
  1021. <Cell col="27" text="bind:clamyn"/>
  1022. <Cell col="28" displaytype="text" text="expr:fn_rsltText(currow)"/>
  1023. <Cell col="29" text="bind:a_g09_m_tyn"/>
  1024. <Cell col="30" style="background:EXPR((c1=='Y') ? '#ffff00' : '');background2:EXPR((c1=='Y') ? '#ffff00' : '');selectbackground:EXPR((c1=='Y') ? '#ffff00' : '');" text="bind:a_g09_3_p_tyn"/>
  1025. <Cell col="31" style="background:EXPR((c3=='Y') ? '#ffff00' : '');background2:EXPR((c3=='Y') ? '#ffff00' : '');selectbackground:EXPR((c3=='Y') ? '#ffff00' : '');" text="bind:a_g09_1_p_tyn"/>
  1026. <Cell col="32" style="background:EXPR((c2=='Y') ? '#ffff00' : '');background2:EXPR((c2=='Y') ? '#ffff00' : '');selectbackground:EXPR((c2=='Y') ? '#ffff00' : '');" text="bind:a_g09_2_p_tyn"/>
  1027. <Cell col="33" style="background:EXPR((c4=='Y') ? '#ffff00' : '');background2:EXPR((c4=='Y') ? '#ffff00' : '');selectbackground:EXPR((c4=='Y') ? '#ffff00' : '');" text="bind:a_g09_4_p_tyn"/>
  1028. <Cell col="34" style="background:EXPR((c5=='Y') ? '#ffff00' : '');background2:EXPR((c5=='Y') ? '#ffff00' : '');selectbackground:EXPR((c5=='Y') ? '#ffff00' : '');" text="bind:a_g09_5_p_tyn"/>
  1029. </Band>
  1030. </Format>
  1031. <Format id="G16_no">
  1032. <Columns>
  1033. <Column size="24" band="left"/>
  1034. <Column size="60" band="left"/>
  1035. <Column size="60" band="left"/>
  1036. <Column size="0"/>
  1037. <Column size="80"/>
  1038. <Column size="0"/>
  1039. <Column size="0"/>
  1040. <Column size="0"/>
  1041. <Column size="0"/>
  1042. <Column size="0"/>
  1043. <Column size="0"/>
  1044. <Column size="0"/>
  1045. <Column size="0"/>
  1046. <Column size="0"/>
  1047. <Column size="0"/>
  1048. <Column size="0"/>
  1049. <Column size="0"/>
  1050. <Column size="0"/>
  1051. <Column size="0"/>
  1052. <Column size="0"/>
  1053. <Column size="0"/>
  1054. <Column size="0"/>
  1055. <Column size="0"/>
  1056. <Column size="0"/>
  1057. <Column size="0"/>
  1058. <Column size="0"/>
  1059. <Column size="0"/>
  1060. <Column size="0"/>
  1061. <Column size="0"/>
  1062. <Column size="30"/>
  1063. <Column size="0"/>
  1064. </Columns>
  1065. <Rows>
  1066. <Row size="24" band="head"/>
  1067. <Row size="24"/>
  1068. </Rows>
  1069. <Band id="head">
  1070. <Cell/>
  1071. <Cell col="1" text="성명"/>
  1072. <Cell col="2" text="등록번호"/>
  1073. <Cell col="3" text="패키지명"/>
  1074. <Cell col="4" text="건진일자"/>
  1075. <Cell col="5" text="구분"/>
  1076. <Cell col="6" text="예약번호"/>
  1077. <Cell col="7" text="성명(영)"/>
  1078. <Cell col="8" text="접수일자"/>
  1079. <Cell col="9" text="sex"/>
  1080. <Cell col="10" text="age"/>
  1081. <Cell col="11" text="단체명"/>
  1082. <Cell col="12" text="주민번호1"/>
  1083. <Cell col="13" text="주민번호2"/>
  1084. <Cell col="14" text="단체코드"/>
  1085. <Cell col="15" text="패키지코드"/>
  1086. <Cell col="16" text="학년"/>
  1087. <Cell col="17" text="반"/>
  1088. <Cell col="18" text="번호"/>
  1089. <Cell col="19" text="예약등록일자"/>
  1090. <Cell col="20" text="원무생성번호"/>
  1091. <Cell col="21" text="진료과"/>
  1092. <Cell col="22" text="건진구분"/>
  1093. <Cell col="23" text="상세구분"/>
  1094. <Cell col="24" text="hopedd"/>
  1095. <Cell col="25" text="검사결과"/>
  1096. <Cell col="26" text="암구분값"/>
  1097. <Cell col="27"/>
  1098. <Cell col="28" text="구분"/>
  1099. <Cell col="29" text="문진"/>
  1100. <Cell col="30" text="판정"/>
  1101. </Band>
  1102. <Band id="body">
  1103. <Cell celltype="head" expr="currow + 1"/>
  1104. <Cell col="1" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:hngnm"/>
  1105. <Cell col="2" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:pid"/>
  1106. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:pkgnm" wordwrap="word"/>
  1107. <Cell col="4" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:orddd" calendardisplaynulltype="none"/>
  1108. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  1109. <Cell col="6" text="bind:rsrvno"/>
  1110. <Cell col="7" text="bind:engnm"/>
  1111. <Cell col="8" text="bind:sex"/>
  1112. <Cell col="9" text="bind:age"/>
  1113. <Cell col="10" text="bind:cmpynm"/>
  1114. <Cell col="11" text="bind:rgstno1"/>
  1115. <Cell col="12" text="bind:rgstno2"/>
  1116. <Cell col="13" text="bind:cmpycd"/>
  1117. <Cell col="14" text="bind:pkgcd"/>
  1118. <Cell col="15" text="bind:schlgrde"/>
  1119. <Cell col="16" text="bind:clsid"/>
  1120. <Cell col="17" text="bind:stuid"/>
  1121. <Cell col="18" text="bind:rsrvdd"/>
  1122. <Cell col="19" text="bind:cretno"/>
  1123. <Cell col="20" text="bind:orddeptcd"/>
  1124. <Cell col="21" text="bind:healexamflag"/>
  1125. <Cell col="22" text="bind:healexamdetlflag"/>
  1126. <Cell col="23" text="bind:hopedd"/>
  1127. <Cell col="24" text="bind:assorsltcd"/>
  1128. <Cell col="25" text="bind:cdgrpid"/>
  1129. <Cell col="26" text="bind:remcnts"/>
  1130. <Cell col="27" text="bind:clamyn"/>
  1131. <Cell col="28" displaytype="text" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="expr:fn_rsltText(currow)"/>
  1132. <Cell col="29" text="bind:a_g16_m_tyn"/>
  1133. <Cell col="30" text="bind:a_g16_p_tyn"/>
  1134. </Band>
  1135. </Format>
  1136. <Format id="G17_no">
  1137. <Columns>
  1138. <Column size="24" band="left"/>
  1139. <Column size="60" band="left"/>
  1140. <Column size="60" band="left"/>
  1141. <Column size="0"/>
  1142. <Column size="80"/>
  1143. <Column size="0"/>
  1144. <Column size="0"/>
  1145. <Column size="0"/>
  1146. <Column size="0"/>
  1147. <Column size="0"/>
  1148. <Column size="0"/>
  1149. <Column size="0"/>
  1150. <Column size="0"/>
  1151. <Column size="0"/>
  1152. <Column size="0"/>
  1153. <Column size="0"/>
  1154. <Column size="0"/>
  1155. <Column size="0"/>
  1156. <Column size="0"/>
  1157. <Column size="0"/>
  1158. <Column size="0"/>
  1159. <Column size="0"/>
  1160. <Column size="0"/>
  1161. <Column size="0"/>
  1162. <Column size="0"/>
  1163. <Column size="0"/>
  1164. <Column size="0"/>
  1165. <Column size="0"/>
  1166. <Column size="0"/>
  1167. <Column size="30"/>
  1168. <Column size="0"/>
  1169. <Column size="30"/>
  1170. <Column size="0"/>
  1171. <Column size="30"/>
  1172. <Column size="0"/>
  1173. <Column size="30"/>
  1174. <Column size="0"/>
  1175. <Column size="30"/>
  1176. <Column size="0"/>
  1177. <Column size="30"/>
  1178. <Column size="0"/>
  1179. <Column size="0"/>
  1180. </Columns>
  1181. <Rows>
  1182. <Row size="24" band="head"/>
  1183. <Row size="24"/>
  1184. </Rows>
  1185. <Band id="head">
  1186. <Cell/>
  1187. <Cell col="1" text="성명"/>
  1188. <Cell col="2" text="등록번호"/>
  1189. <Cell col="3" text="패키지명"/>
  1190. <Cell col="4" text="건진일자"/>
  1191. <Cell col="5" text="구분"/>
  1192. <Cell col="6" text="예약번호"/>
  1193. <Cell col="7" text="성명(영)"/>
  1194. <Cell col="8" text="접수일자"/>
  1195. <Cell col="9" text="sex"/>
  1196. <Cell col="10" text="age"/>
  1197. <Cell col="11" text="단체명"/>
  1198. <Cell col="12" text="주민번호1"/>
  1199. <Cell col="13" text="주민번호2"/>
  1200. <Cell col="14" text="단체코드"/>
  1201. <Cell col="15" text="패키지코드"/>
  1202. <Cell col="16" text="학년"/>
  1203. <Cell col="17" text="반"/>
  1204. <Cell col="18" text="번호"/>
  1205. <Cell col="19" text="예약등록일자"/>
  1206. <Cell col="20" text="원무생성번호"/>
  1207. <Cell col="21" text="진료과"/>
  1208. <Cell col="22" text="건진구분"/>
  1209. <Cell col="23" text="상세구분"/>
  1210. <Cell col="24" text="hopedd"/>
  1211. <Cell col="25" text="검사결과"/>
  1212. <Cell col="26" text="암구분값"/>
  1213. <Cell col="27"/>
  1214. <Cell col="28" text="구분"/>
  1215. <Cell col="29" text="문진"/>
  1216. <Cell col="30" text="판정"/>
  1217. <Cell col="31" text="흡연"/>
  1218. <Cell col="32" text="금연처방"/>
  1219. <Cell col="33" text="음주"/>
  1220. <Cell col="34" text="금주처방"/>
  1221. <Cell col="35" text="운동"/>
  1222. <Cell col="36" text="운동처방"/>
  1223. <Cell col="37" text="영양"/>
  1224. <Cell col="38" text="영양처방"/>
  1225. <Cell col="39" text="비만"/>
  1226. <Cell col="40" text="비만처방"/>
  1227. <Cell col="41" text="생활습관평가"/>
  1228. </Band>
  1229. <Band id="body">
  1230. <Cell celltype="head" expr="currow + 1"/>
  1231. <Cell col="1" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:hngnm"/>
  1232. <Cell col="2" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:pid"/>
  1233. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:pkgnm" wordwrap="word"/>
  1234. <Cell col="4" displaytype="date" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:orddd" calendardisplaynulltype="none"/>
  1235. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  1236. <Cell col="6" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:rsrvno"/>
  1237. <Cell col="7" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:engnm"/>
  1238. <Cell col="8" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:sex"/>
  1239. <Cell col="9" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:age"/>
  1240. <Cell col="10" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:cmpynm"/>
  1241. <Cell col="11" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:rgstno1"/>
  1242. <Cell col="12" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:rgstno2"/>
  1243. <Cell col="13" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:cmpycd"/>
  1244. <Cell col="14" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:pkgcd"/>
  1245. <Cell col="15" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:schlgrde"/>
  1246. <Cell col="16" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:clsid"/>
  1247. <Cell col="17" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:stuid"/>
  1248. <Cell col="18" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:rsrvdd"/>
  1249. <Cell col="19" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:cretno"/>
  1250. <Cell col="20" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:orddeptcd"/>
  1251. <Cell col="21" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:healexamflag"/>
  1252. <Cell col="22" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:healexamdetlflag"/>
  1253. <Cell col="23" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:hopedd"/>
  1254. <Cell col="24" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:assorsltcd"/>
  1255. <Cell col="25" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:cdgrpid"/>
  1256. <Cell col="26" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:remcnts"/>
  1257. <Cell col="27" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:clamyn"/>
  1258. <Cell col="28" displaytype="text" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="expr:fn_rsltText(currow)"/>
  1259. <Cell col="29" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_g01_m_tyn"/>
  1260. <Cell col="30" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_g01_2_p_tyn"/>
  1261. <Cell col="31" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_etc_4_p_tyn"/>
  1262. <Cell col="32" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_etc_5_p_tyn"/>
  1263. <Cell col="33" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_etc_6_p_tyn"/>
  1264. <Cell col="34" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_etc_7_p_tyn"/>
  1265. <Cell col="35" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_etc_8_p_tyn"/>
  1266. <Cell col="36" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_etc_9_p_tyn"/>
  1267. <Cell col="37" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_etc_10_p_tyn"/>
  1268. <Cell col="38" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_etc_11_p_tyn"/>
  1269. <Cell col="39" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_etc_12_p_tyn"/>
  1270. <Cell col="40" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_etc_13_p_tyn"/>
  1271. <Cell col="41" style="background:EXPR((age=='70') ? '#ffff00' : '');background2:EXPR((age=='70') ? '#ffff00' : '');selectbackground:EXPR((age=='70') ? '#ffff00' : '');" text="bind:a_g01_3_p_tyn"/>
  1272. </Band>
  1273. </Format>
  1274. <Format id="G01_no2">
  1275. <Columns>
  1276. <Column size="24" band="left"/>
  1277. <Column size="60" band="left"/>
  1278. <Column size="60" band="left"/>
  1279. <Column size="0"/>
  1280. <Column size="80"/>
  1281. <Column size="0"/>
  1282. <Column size="0"/>
  1283. <Column size="0"/>
  1284. <Column size="0"/>
  1285. <Column size="0"/>
  1286. <Column size="0"/>
  1287. <Column size="0"/>
  1288. <Column size="0"/>
  1289. <Column size="0"/>
  1290. <Column size="0"/>
  1291. <Column size="0"/>
  1292. <Column size="0"/>
  1293. <Column size="0"/>
  1294. <Column size="0"/>
  1295. <Column size="0"/>
  1296. <Column size="0"/>
  1297. <Column size="0"/>
  1298. <Column size="0"/>
  1299. <Column size="0"/>
  1300. <Column size="0"/>
  1301. <Column size="0"/>
  1302. <Column size="0"/>
  1303. <Column size="0"/>
  1304. <Column size="0"/>
  1305. <Column size="30"/>
  1306. <Column size="0"/>
  1307. <Column size="0"/>
  1308. <Column size="0"/>
  1309. <Column size="0"/>
  1310. <Column size="0"/>
  1311. <Column size="0"/>
  1312. <Column size="0"/>
  1313. <Column size="0"/>
  1314. <Column size="0"/>
  1315. <Column size="0"/>
  1316. <Column size="0"/>
  1317. <Column size="0"/>
  1318. </Columns>
  1319. <Rows>
  1320. <Row size="24" band="head"/>
  1321. <Row size="24"/>
  1322. </Rows>
  1323. <Band id="head">
  1324. <Cell/>
  1325. <Cell col="1" text="성명"/>
  1326. <Cell col="2" text="등록번호"/>
  1327. <Cell col="3" text="패키지명"/>
  1328. <Cell col="4" text="건진일자"/>
  1329. <Cell col="5" text="구분"/>
  1330. <Cell col="6" text="예약번호"/>
  1331. <Cell col="7" text="성명(영)"/>
  1332. <Cell col="8" text="접수일자"/>
  1333. <Cell col="9" text="sex"/>
  1334. <Cell col="10" text="age"/>
  1335. <Cell col="11" text="단체명"/>
  1336. <Cell col="12" text="주민번호1"/>
  1337. <Cell col="13" text="주민번호2"/>
  1338. <Cell col="14" text="단체코드"/>
  1339. <Cell col="15" text="패키지코드"/>
  1340. <Cell col="16" text="학년"/>
  1341. <Cell col="17" text="반"/>
  1342. <Cell col="18" text="번호"/>
  1343. <Cell col="19" text="예약등록일자"/>
  1344. <Cell col="20" text="원무생성번호"/>
  1345. <Cell col="21" text="진료과"/>
  1346. <Cell col="22" text="건진구분"/>
  1347. <Cell col="23" text="상세구분"/>
  1348. <Cell col="24" text="hopedd"/>
  1349. <Cell col="25" text="검사결과"/>
  1350. <Cell col="26" text="암구분값"/>
  1351. <Cell col="27"/>
  1352. <Cell col="28" text="구분"/>
  1353. <Cell col="29" text="문진"/>
  1354. <Cell col="30" text="판정"/>
  1355. <Cell col="31" text="흡연"/>
  1356. <Cell col="32" text="금연처방"/>
  1357. <Cell col="33" text="음주"/>
  1358. <Cell col="34" text="금주처방"/>
  1359. <Cell col="35" text="운동"/>
  1360. <Cell col="36" text="운동처방"/>
  1361. <Cell col="37" text="영양"/>
  1362. <Cell col="38" text="영양처방"/>
  1363. <Cell col="39" text="비만"/>
  1364. <Cell col="40" text="비만처방"/>
  1365. <Cell col="41" text="생활습관평가"/>
  1366. </Band>
  1367. <Band id="body">
  1368. <Cell celltype="head" expr="currow + 1"/>
  1369. <Cell col="1" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:hngnm"/>
  1370. <Cell col="2" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:pid"/>
  1371. <Cell col="3" style="align:left top;padding:5 2 1 2;background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:pkgnm" wordwrap="word"/>
  1372. <Cell col="4" displaytype="date" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:orddd" calendardisplaynulltype="none"/>
  1373. <Cell col="5" displaytype="combo" edittype="combo" style="padding:1 2 1 2;background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  1374. <Cell col="6" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:rsrvno"/>
  1375. <Cell col="7" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:engnm"/>
  1376. <Cell col="8" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:sex"/>
  1377. <Cell col="9" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:age"/>
  1378. <Cell col="10" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:cmpynm"/>
  1379. <Cell col="11" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:rgstno1"/>
  1380. <Cell col="12" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:rgstno2"/>
  1381. <Cell col="13" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:cmpycd"/>
  1382. <Cell col="14" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:pkgcd"/>
  1383. <Cell col="15" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:schlgrde"/>
  1384. <Cell col="16" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:clsid"/>
  1385. <Cell col="17" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:stuid"/>
  1386. <Cell col="18" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:rsrvdd"/>
  1387. <Cell col="19" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:cretno"/>
  1388. <Cell col="20" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:orddeptcd"/>
  1389. <Cell col="21" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:healexamflag"/>
  1390. <Cell col="22" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:healexamdetlflag"/>
  1391. <Cell col="23" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:hopedd"/>
  1392. <Cell col="24" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:assorsltcd"/>
  1393. <Cell col="25" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:cdgrpid"/>
  1394. <Cell col="26" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:remcnts"/>
  1395. <Cell col="27" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:clamyn"/>
  1396. <Cell col="28" displaytype="text" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="expr:fn_rsltText(currow)"/>
  1397. <Cell col="29" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_g01_m_tyn"/>
  1398. <Cell col="30" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_g01_1_p_tyn"/>
  1399. <Cell col="31" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_4_p_tyn"/>
  1400. <Cell col="32" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_5_p_tyn"/>
  1401. <Cell col="33" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_6_p_tyn"/>
  1402. <Cell col="34" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_7_p_tyn"/>
  1403. <Cell col="35" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_8_p_tyn"/>
  1404. <Cell col="36" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_9_p_tyn"/>
  1405. <Cell col="37" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_10_p_tyn"/>
  1406. <Cell col="38" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_11_p_tyn"/>
  1407. <Cell col="39" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_12_p_tyn"/>
  1408. <Cell col="40" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_etc_13_p_tyn"/>
  1409. <Cell col="41" style="background:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');background2:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');selectbackground:EXPR((age == '40' || age == '50' || age =='60' || age=='70') ? '#ffff00' : '');" text="bind:a_g01_3_p_tyn"/>
  1410. </Band>
  1411. </Format>
  1412. </Formats>
  1413. </Grid>
  1414. <Static id="caption7" text="판정관리" class="tit_1" position="absolute 0 0 159 25"/>
  1415. <Div id="ivw_loader" taborder="1" position="absolute 413 110 1195 800" url="emr_medirecxp::SSMMR01100_서식로더.xfdl" anchor="top right bottom" asyncmode="true"/>
  1416. <Static id="caption2" text="결과 및 판정입력" onclick="caption2_onclick" class="tit_2" position="absolute 414 70 568 87" anchor="top right"/>
  1417. <Shape id="line00" class="line_10" position="absolute 414 86 1192 92" anchor="top right"/>
  1418. <Button id="btn_signdel" taborder="2" text="기록삭제" class="btn2" position="absolute 998 67 1062 86" anchor="top right" onclick="btn_signdel_onclick"/>
  1419. <Button id="btn_sign_save" taborder="3" text="인증저장" class="btn5" position="absolute 1130 67 1194 86" anchor="top right" onclick="btn_sign_save_onclick"/>
  1420. <Button id="btn_munjin" taborder="4" text="문진보기" class="btn2" position="absolute 933 67 996 86" anchor="top right" onclick="btn_munjin_onclick"/>
  1421. <Button id="btn_tmp_save" taborder="5" text="임시저장" class="btn5" position="absolute 1064 67 1128 86" anchor="top right" onclick="btn_tmp_save_onclick"/>
  1422. <Div id="grp_btn_G01" taborder="19" position="absolute 414 91 1195 111" anchor="top right" visible="true">
  1423. <Layouts>
  1424. <Layout width="898" height="32">
  1425. <Button id="btn_a_g01_3_p_tyn" taborder="0" text="생활처방" onclick="btn_show_onclick" class="btn2" position="absolute 607 0 670 20" anchor="left top"/>
  1426. <Button id="btn_a_etc_13_p_tyn" taborder="1" text="비만처방" onclick="btn_show_onclick" class="btn2" position="absolute 543 0 606 20" anchor="left top"/>
  1427. <Button id="btn_a_etc_12_p_tyn" taborder="2" text="비만" onclick="btn_show_onclick" class="btn2" position="absolute 502 0 542 20" anchor="left top"/>
  1428. <Button id="btn_a_etc_11_p_tyn" taborder="3" text="영양처방" onclick="btn_show_onclick" class="btn2" position="absolute 438 0 501 20" anchor="left top"/>
  1429. <Button id="btn_a_etc_10_p_tyn" taborder="4" text="영양" onclick="btn_show_onclick" class="btn2" position="absolute 397 0 437 20" anchor="left top"/>
  1430. <Button id="btn_a_etc_9_p_tyn" taborder="5" text="운동처방" onclick="btn_show_onclick" class="btn2" position="absolute 333 0 396 20" anchor="left top"/>
  1431. <Button id="btn_a_etc_8_p_tyn" taborder="6" text="운동" onclick="btn_show_onclick" class="btn2" position="absolute 292 0 332 20" anchor="left top"/>
  1432. <Button id="btn_a_etc_7_p_tyn" taborder="7" text="금주처방" onclick="btn_show_onclick" class="btn2" position="absolute 228 0 291 20" anchor="left top"/>
  1433. <Button id="btn_a_etc_6_p_tyn" taborder="8" text="음주" onclick="btn_show_onclick" class="btn2" position="absolute 187 0 227 20" anchor="left top"/>
  1434. <Button id="btn_a_etc_5_p_tyn" taborder="9" text="금연처방" onclick="btn_show_onclick" class="btn2" position="absolute 123 0 186 20" anchor="left top"/>
  1435. <Button id="btn_a_etc_4_p_tyn" taborder="10" text="흡연" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 122 20" anchor="left top"/>
  1436. <Button id="btn_a_g01_1_p_tyn" taborder="11" text="판정" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1437. <Button id="btn_a_g01_m_tyn" taborder="12" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1438. <Div id="grp_btn_G01" anchor="top right" taborder="13" visible="false" position="absolute 1216 90 1997 110">
  1439. <Layouts>
  1440. <Layout width="898" height="32">
  1441. <Button id="btn_a_g01_3_p_tyn" taborder="13" text="생활처방" onclick="btn_show_onclick" class="btn2" position="absolute 608 0 671 20" anchor="left top"/>
  1442. <Button id="btn_a_etc_13_p_tyn" taborder="14" text="비만처방" onclick="btn_show_onclick" class="btn2" position="absolute 543 0 606 20" anchor="left top"/>
  1443. <Button id="btn_a_etc_12_p_tyn" taborder="15" text="비만" onclick="btn_show_onclick" class="btn2" position="absolute 502 0 542 20" anchor="left top"/>
  1444. <Button id="btn_a_etc_11_p_tyn" taborder="16" text="영양처방" onclick="btn_show_onclick" class="btn2" position="absolute 438 0 501 20" anchor="left top"/>
  1445. <Button id="btn_a_etc_10_p_tyn" taborder="17" text="영양" onclick="btn_show_onclick" class="btn2" position="absolute 397 0 437 20" anchor="left top"/>
  1446. <Button id="btn_a_etc_9_p_tyn" taborder="18" text="운동처방" onclick="btn_show_onclick" class="btn2" position="absolute 333 0 396 20" anchor="left top"/>
  1447. <Button id="btn_a_etc_8_p_tyn" taborder="19" text="운동" onclick="btn_show_onclick" class="btn2" position="absolute 292 0 332 20" anchor="left top"/>
  1448. <Button id="btn_a_etc_7_p_tyn" taborder="20" text="금주처방" onclick="btn_show_onclick" class="btn2" position="absolute 228 0 291 20" anchor="left top"/>
  1449. <Button id="btn_a_etc_6_p_tyn" taborder="21" text="음주" onclick="btn_show_onclick" class="btn2" position="absolute 187 0 227 20" anchor="left top"/>
  1450. <Button id="btn_a_etc_5_p_tyn" taborder="22" text="금연처방" onclick="btn_show_onclick" class="btn2" position="absolute 123 0 186 20" anchor="left top"/>
  1451. <Button id="btn_a_etc_4_p_tyn" taborder="23" text="흡연" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 122 20" anchor="left top"/>
  1452. <Button id="btn_a_g01_1_p_tyn" taborder="24" text="판정" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1453. <Button id="btn_a_g01_m_tyn" taborder="25" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 -8 40 12" anchor="left top"/>
  1454. </Layout>
  1455. </Layouts>
  1456. </Div>
  1457. </Layout>
  1458. </Layouts>
  1459. </Div>
  1460. <Div id="grp_btn_G08" anchor="top right" taborder="20" position="absolute 1208 140 1989 160" visible="false">
  1461. <Layouts>
  1462. <Layout width="898" height="32">
  1463. <Button id="btn_a_g01_2_p_tyn" taborder="24" text="의료급여생애" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 130 20" anchor="left top"/>
  1464. <Button id="btn_a_g01_m_tyn" taborder="25" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1465. </Layout>
  1466. </Layouts>
  1467. </Div>
  1468. <Div id="grp_btn_G17" anchor="top right" taborder="21" position="absolute 1208 110 1989 130" visible="false">
  1469. <Layouts>
  1470. <Layout width="898" height="32">
  1471. <Button id="btn_a_g01_3_p_tyn" taborder="14" text="생활처방" onclick="btn_show_onclick" class="btn2" position="absolute 608 0 671 20" anchor="left top"/>
  1472. <Button id="btn_a_etc_13_p_tyn" taborder="15" text="비만처방" onclick="btn_show_onclick" class="btn2" position="absolute 543 0 606 20" anchor="left top"/>
  1473. <Button id="btn_a_etc_12_p_tyn" taborder="16" text="비만" onclick="btn_show_onclick" class="btn2" position="absolute 502 0 542 20" anchor="left top"/>
  1474. <Button id="btn_a_etc_11_p_tyn" taborder="17" text="영양처방" onclick="btn_show_onclick" class="btn2" position="absolute 438 0 501 20" anchor="left top"/>
  1475. <Button id="btn_a_etc_10_p_tyn" taborder="18" text="영양" onclick="btn_show_onclick" class="btn2" position="absolute 397 0 437 20" anchor="left top"/>
  1476. <Button id="btn_a_etc_9_p_tyn" taborder="19" text="운동처방" onclick="btn_show_onclick" class="btn2" position="absolute 333 0 396 20" anchor="left top"/>
  1477. <Button id="btn_a_etc_8_p_tyn" taborder="20" text="운동" onclick="btn_show_onclick" class="btn2" position="absolute 292 0 332 20" anchor="left top"/>
  1478. <Button id="btn_a_etc_7_p_tyn" taborder="21" text="금주처방" onclick="btn_show_onclick" class="btn2" position="absolute 228 0 291 20" anchor="left top"/>
  1479. <Button id="btn_a_etc_6_p_tyn" taborder="22" text="음주" onclick="btn_show_onclick" class="btn2" position="absolute 187 0 227 20" anchor="left top"/>
  1480. <Button id="btn_a_etc_5_p_tyn" taborder="23" text="금연처방" onclick="btn_show_onclick" class="btn2" position="absolute 123 0 186 20" anchor="left top"/>
  1481. <Button id="btn_a_etc_4_p_tyn" taborder="24" text="흡연" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 122 20" anchor="left top"/>
  1482. <Button id="btn_a_g01_2_p_tyn" taborder="25" text="판정" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1483. <Button id="btn_a_g01_m_tyn" taborder="26" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1484. <Div id="grp_btn_G01" anchor="top right" taborder="27" visible="false" position="absolute 1216 90 1997 110">
  1485. <Layouts>
  1486. <Layout width="898" height="32">
  1487. <Button id="btn_a_g01_3_p_tyn" taborder="26" text="생활처방" onclick="btn_show_onclick" class="btn2" position="absolute 608 0 671 20" anchor="left top"/>
  1488. <Button id="btn_a_etc_13_p_tyn" taborder="27" text="비만처방" onclick="btn_show_onclick" class="btn2" position="absolute 543 0 606 20" anchor="left top"/>
  1489. <Button id="btn_a_etc_12_p_tyn" taborder="28" text="비만" onclick="btn_show_onclick" class="btn2" position="absolute 502 0 542 20" anchor="left top"/>
  1490. <Button id="btn_a_etc_11_p_tyn" taborder="29" text="영양처방" onclick="btn_show_onclick" class="btn2" position="absolute 438 0 501 20" anchor="left top"/>
  1491. <Button id="btn_a_etc_10_p_tyn" taborder="30" text="영양" onclick="btn_show_onclick" class="btn2" position="absolute 397 0 437 20" anchor="left top"/>
  1492. <Button id="btn_a_etc_9_p_tyn" taborder="31" text="운동처방" onclick="btn_show_onclick" class="btn2" position="absolute 333 0 396 20" anchor="left top"/>
  1493. <Button id="btn_a_etc_8_p_tyn" taborder="32" text="운동" onclick="btn_show_onclick" class="btn2" position="absolute 292 0 332 20" anchor="left top"/>
  1494. <Button id="btn_a_etc_7_p_tyn" taborder="33" text="금주처방" onclick="btn_show_onclick" class="btn2" position="absolute 228 0 291 20" anchor="left top"/>
  1495. <Button id="btn_a_etc_6_p_tyn" taborder="34" text="음주" onclick="btn_show_onclick" class="btn2" position="absolute 187 0 227 20" anchor="left top"/>
  1496. <Button id="btn_a_etc_5_p_tyn" taborder="35" text="금연처방" onclick="btn_show_onclick" class="btn2" position="absolute 123 0 186 20" anchor="left top"/>
  1497. <Button id="btn_a_etc_4_p_tyn" taborder="36" text="흡연" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 122 20" anchor="left top"/>
  1498. <Button id="btn_a_g01_1_p_tyn" taborder="37" text="판정" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1499. <Button id="btn_a_g01_m_tyn" taborder="38" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1500. </Layout>
  1501. </Layouts>
  1502. </Div>
  1503. </Layout>
  1504. </Layouts>
  1505. </Div>
  1506. <Div id="grp_btn_G09" anchor="top right" taborder="22" visible="false" position="absolute 1208 166 1989 186">
  1507. <Layouts>
  1508. <Layout width="898" height="32">
  1509. <Button id="btn_a_g09_5_p_tyn" taborder="35" text="자궁" onclick="btn_show_onclick" class="btn2" position="absolute 195 0 235 20" anchor="left top"/>
  1510. <Button id="btn_a_g09_4_p_tyn" taborder="36" text="유방" onclick="btn_show_onclick" class="btn2" position="absolute 154 0 194 20" anchor="left top"/>
  1511. <Button id="btn_a_g09_2_p_tyn" taborder="37" text="대장" onclick="btn_show_onclick" class="btn2" position="absolute 113 0 153 20" anchor="left top"/>
  1512. <Button id="btn_a_g09_1_p_tyn" taborder="38" text="간" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 112 20" anchor="left top"/>
  1513. <Button id="btn_a_g09_3_p_tyn" taborder="39" text="위" onclick="btn_show_onclick" class="btn2" position="absolute 51 0 81 20" anchor="left top"/>
  1514. <Button id="btn_a_g09_m_tyn" taborder="40" text="암문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 50 20" anchor="left top"/>
  1515. <Div id="grp_btn_G01" anchor="top right" taborder="41" visible="false" position="absolute 1216 90 1997 110">
  1516. <Layouts>
  1517. <Layout width="898" height="32">
  1518. <Button id="btn_a_g01_3_p_tyn" taborder="39" text="생활처방" onclick="btn_show_onclick" class="btn2" position="absolute 608 0 671 20" anchor="left top"/>
  1519. <Button id="btn_a_etc_13_p_tyn" taborder="40" text="비만처방" onclick="btn_show_onclick" class="btn2" position="absolute 543 0 606 20" anchor="left top"/>
  1520. <Button id="btn_a_etc_12_p_tyn" taborder="41" text="비만" onclick="btn_show_onclick" class="btn2" position="absolute 502 0 542 20" anchor="left top"/>
  1521. <Button id="btn_a_etc_11_p_tyn" taborder="42" text="영양처방" onclick="btn_show_onclick" class="btn2" position="absolute 438 0 501 20" anchor="left top"/>
  1522. <Button id="btn_a_etc_10_p_tyn" taborder="43" text="영양" onclick="btn_show_onclick" class="btn2" position="absolute 397 0 437 20" anchor="left top"/>
  1523. <Button id="btn_a_etc_9_p_tyn" taborder="44" text="운동처방" onclick="btn_show_onclick" class="btn2" position="absolute 333 0 396 20" anchor="left top"/>
  1524. <Button id="btn_a_etc_8_p_tyn" taborder="45" text="운동" onclick="btn_show_onclick" class="btn2" position="absolute 292 0 332 20" anchor="left top"/>
  1525. <Button id="btn_a_etc_7_p_tyn" taborder="46" text="금주처방" onclick="btn_show_onclick" class="btn2" position="absolute 228 0 291 20" anchor="left top"/>
  1526. <Button id="btn_a_etc_6_p_tyn" taborder="47" text="음주" onclick="btn_show_onclick" class="btn2" position="absolute 187 0 227 20" anchor="left top"/>
  1527. <Button id="btn_a_etc_5_p_tyn" taborder="48" text="금연처방" onclick="btn_show_onclick" class="btn2" position="absolute 123 0 186 20" anchor="left top"/>
  1528. <Button id="btn_a_etc_4_p_tyn" taborder="49" text="흡연" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 122 20" anchor="left top"/>
  1529. <Button id="btn_a_g01_1_p_tyn" taborder="50" text="판정" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1530. <Button id="btn_a_g01_m_tyn" taborder="51" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1531. </Layout>
  1532. </Layouts>
  1533. </Div>
  1534. </Layout>
  1535. </Layouts>
  1536. </Div>
  1537. <Div id="grp_btn_G16" anchor="top right" taborder="23" visible="false" position="absolute 1208 200 1989 220">
  1538. <Layouts>
  1539. <Layout width="898" height="32">
  1540. <Button id="btn_a_g16_p_tyn" taborder="26" text="판정" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1541. <Button id="btn_a_g16_m_tyn" taborder="27" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1542. <Button id="btn_a_g16_prnt" taborder="28" text="결과통보서출력" class="btn2" position="absolute 82 0 186 20" anchor="left top" onclick="grp_btn_G16_btn_a_g16_prnt_onclick" enable="true" visible="false"/>
  1543. </Layout>
  1544. </Layouts>
  1545. </Div>
  1546. <Div id="grp_btn_G01_no" anchor="top right" taborder="24" position="absolute 1208 284 1989 304" visible="false">
  1547. <Layouts>
  1548. <Layout width="898" height="32">
  1549. <Button id="btn_a_etc_12_p_tyn" taborder="16" text="비만" onclick="btn_show_onclick" class="btn2" position="absolute 205 0 245 20" anchor="left top"/>
  1550. <Button id="btn_a_etc_10_p_tyn" taborder="18" text="영양" onclick="btn_show_onclick" class="btn2" position="absolute 164 0 204 20" anchor="left top"/>
  1551. <Button id="btn_a_etc_8_p_tyn" taborder="20" text="운동" onclick="btn_show_onclick" class="btn2" position="absolute 123 0 163 20" anchor="left top"/>
  1552. <Button id="btn_a_etc_6_p_tyn" taborder="22" text="음주" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 122 20" anchor="left top"/>
  1553. <Button id="btn_a_etc_4_p_tyn" taborder="24" text="흡연" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1554. <Button id="btn_a_g01_m_tyn" taborder="26" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1555. <Div id="grp_btn_G01" anchor="top right" taborder="27" visible="false" position="absolute 1216 90 1997 110">
  1556. <Layouts>
  1557. <Layout width="898" height="32">
  1558. <Button id="btn_a_g01_3_p_tyn" taborder="26" text="생활처방" onclick="btn_show_onclick" class="btn2" position="absolute 608 0 671 20" anchor="left top"/>
  1559. <Button id="btn_a_etc_13_p_tyn" taborder="27" text="비만처방" onclick="btn_show_onclick" class="btn2" position="absolute 543 0 606 20" anchor="left top"/>
  1560. <Button id="btn_a_etc_12_p_tyn" taborder="28" text="비만" onclick="btn_show_onclick" class="btn2" position="absolute 502 0 542 20" anchor="left top"/>
  1561. <Button id="btn_a_etc_11_p_tyn" taborder="29" text="영양처방" onclick="btn_show_onclick" class="btn2" position="absolute 438 0 501 20" anchor="left top"/>
  1562. <Button id="btn_a_etc_10_p_tyn" taborder="30" text="영양" onclick="btn_show_onclick" class="btn2" position="absolute 397 0 437 20" anchor="left top"/>
  1563. <Button id="btn_a_etc_9_p_tyn" taborder="31" text="운동처방" onclick="btn_show_onclick" class="btn2" position="absolute 333 0 396 20" anchor="left top"/>
  1564. <Button id="btn_a_etc_8_p_tyn" taborder="32" text="운동" onclick="btn_show_onclick" class="btn2" position="absolute 292 0 332 20" anchor="left top"/>
  1565. <Button id="btn_a_etc_7_p_tyn" taborder="33" text="금주처방" onclick="btn_show_onclick" class="btn2" position="absolute 228 0 291 20" anchor="left top"/>
  1566. <Button id="btn_a_etc_6_p_tyn" taborder="34" text="음주" onclick="btn_show_onclick" class="btn2" position="absolute 187 0 227 20" anchor="left top"/>
  1567. <Button id="btn_a_etc_5_p_tyn" taborder="35" text="금연처방" onclick="btn_show_onclick" class="btn2" position="absolute 123 0 186 20" anchor="left top"/>
  1568. <Button id="btn_a_etc_4_p_tyn" taborder="36" text="흡연" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 122 20" anchor="left top"/>
  1569. <Button id="btn_a_g01_1_p_tyn" taborder="37" text="판정" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1570. <Button id="btn_a_g01_m_tyn" taborder="38" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1571. </Layout>
  1572. </Layouts>
  1573. </Div>
  1574. </Layout>
  1575. </Layouts>
  1576. </Div>
  1577. <Div id="grp_btn_G17_no" anchor="top right" taborder="25" visible="false" position="absolute 1208 312 1989 332">
  1578. <Layouts>
  1579. <Layout width="898" height="32">
  1580. <Button id="btn_a_etc_12_p_tyn" taborder="30" text="비만" onclick="btn_show_onclick" class="btn2" position="absolute 205 0 245 20" anchor="left top"/>
  1581. <Button id="btn_a_etc_10_p_tyn" taborder="32" text="영양" onclick="btn_show_onclick" class="btn2" position="absolute 164 0 204 20" anchor="left top"/>
  1582. <Button id="btn_a_etc_8_p_tyn" taborder="34" text="운동" onclick="btn_show_onclick" class="btn2" position="absolute 123 0 163 20" anchor="left top"/>
  1583. <Button id="btn_a_etc_6_p_tyn" taborder="36" text="음주" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 122 20" anchor="left top"/>
  1584. <Button id="btn_a_etc_4_p_tyn" taborder="38" text="흡연" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1585. <Button id="btn_a_g01_m_tyn" taborder="40" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1586. <Div id="grp_btn_G01" anchor="top right" taborder="41" visible="false" position="absolute 1216 90 1997 110">
  1587. <Layouts>
  1588. <Layout width="898" height="32">
  1589. <Button id="btn_a_g01_3_p_tyn" taborder="39" text="생활처방" onclick="btn_show_onclick" class="btn2" position="absolute 608 0 671 20" anchor="left top"/>
  1590. <Button id="btn_a_etc_13_p_tyn" taborder="40" text="비만처방" onclick="btn_show_onclick" class="btn2" position="absolute 543 0 606 20" anchor="left top"/>
  1591. <Button id="btn_a_etc_12_p_tyn" taborder="41" text="비만" onclick="btn_show_onclick" class="btn2" position="absolute 502 0 542 20" anchor="left top"/>
  1592. <Button id="btn_a_etc_11_p_tyn" taborder="42" text="영양처방" onclick="btn_show_onclick" class="btn2" position="absolute 438 0 501 20" anchor="left top"/>
  1593. <Button id="btn_a_etc_10_p_tyn" taborder="43" text="영양" onclick="btn_show_onclick" class="btn2" position="absolute 397 0 437 20" anchor="left top"/>
  1594. <Button id="btn_a_etc_9_p_tyn" taborder="44" text="운동처방" onclick="btn_show_onclick" class="btn2" position="absolute 333 0 396 20" anchor="left top"/>
  1595. <Button id="btn_a_etc_8_p_tyn" taborder="45" text="운동" onclick="btn_show_onclick" class="btn2" position="absolute 292 0 332 20" anchor="left top"/>
  1596. <Button id="btn_a_etc_7_p_tyn" taborder="46" text="금주처방" onclick="btn_show_onclick" class="btn2" position="absolute 228 0 291 20" anchor="left top"/>
  1597. <Button id="btn_a_etc_6_p_tyn" taborder="47" text="음주" onclick="btn_show_onclick" class="btn2" position="absolute 187 0 227 20" anchor="left top"/>
  1598. <Button id="btn_a_etc_5_p_tyn" taborder="48" text="금연처방" onclick="btn_show_onclick" class="btn2" position="absolute 123 0 186 20" anchor="left top"/>
  1599. <Button id="btn_a_etc_4_p_tyn" taborder="49" text="흡연" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 122 20" anchor="left top"/>
  1600. <Button id="btn_a_g01_1_p_tyn" taborder="50" text="판정" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1601. <Button id="btn_a_g01_m_tyn" taborder="51" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1602. </Layout>
  1603. </Layouts>
  1604. </Div>
  1605. </Layout>
  1606. </Layouts>
  1607. </Div>
  1608. <Div id="grp_btn_G08_no" anchor="top right" taborder="26" visible="false" position="absolute 1208 344 1989 364">
  1609. <Layouts>
  1610. <Layout width="898" height="32">
  1611. <Button id="btn_a_g01_2_p_tyn" taborder="26" text="의료급여생애" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 130 20" anchor="left top"/>
  1612. <Button id="btn_a_g01_m_tyn" taborder="27" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1613. </Layout>
  1614. </Layouts>
  1615. </Div>
  1616. <Div id="grp_btn_G09_no" anchor="top right" taborder="27" visible="false" position="absolute 1208 374 1989 394">
  1617. <Layouts>
  1618. <Layout width="898" height="32">
  1619. <Button id="btn_a_g09_m_tyn" taborder="47" text="암문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 50 20" anchor="left top"/>
  1620. <Div id="grp_btn_G01" anchor="top right" taborder="48" visible="false" position="absolute 1216 90 1997 110">
  1621. <Layouts>
  1622. <Layout width="898" height="32">
  1623. <Button id="btn_a_g01_3_p_tyn" taborder="52" text="생활처방" onclick="btn_show_onclick" class="btn2" position="absolute 608 0 671 20" anchor="left top"/>
  1624. <Button id="btn_a_etc_13_p_tyn" taborder="53" text="비만처방" onclick="btn_show_onclick" class="btn2" position="absolute 543 0 606 20" anchor="left top"/>
  1625. <Button id="btn_a_etc_12_p_tyn" taborder="54" text="비만" onclick="btn_show_onclick" class="btn2" position="absolute 502 0 542 20" anchor="left top"/>
  1626. <Button id="btn_a_etc_11_p_tyn" taborder="55" text="영양처방" onclick="btn_show_onclick" class="btn2" position="absolute 438 0 501 20" anchor="left top"/>
  1627. <Button id="btn_a_etc_10_p_tyn" taborder="56" text="영양" onclick="btn_show_onclick" class="btn2" position="absolute 397 0 437 20" anchor="left top"/>
  1628. <Button id="btn_a_etc_9_p_tyn" taborder="57" text="운동처방" onclick="btn_show_onclick" class="btn2" position="absolute 333 0 396 20" anchor="left top"/>
  1629. <Button id="btn_a_etc_8_p_tyn" taborder="58" text="운동" onclick="btn_show_onclick" class="btn2" position="absolute 292 0 332 20" anchor="left top"/>
  1630. <Button id="btn_a_etc_7_p_tyn" taborder="59" text="금주처방" onclick="btn_show_onclick" class="btn2" position="absolute 228 0 291 20" anchor="left top"/>
  1631. <Button id="btn_a_etc_6_p_tyn" taborder="60" text="음주" onclick="btn_show_onclick" class="btn2" position="absolute 187 0 227 20" anchor="left top"/>
  1632. <Button id="btn_a_etc_5_p_tyn" taborder="61" text="금연처방" onclick="btn_show_onclick" class="btn2" position="absolute 123 0 186 20" anchor="left top"/>
  1633. <Button id="btn_a_etc_4_p_tyn" taborder="62" text="흡연" onclick="btn_show_onclick" class="btn2" position="absolute 82 0 122 20" anchor="left top"/>
  1634. <Button id="btn_a_g01_1_p_tyn" taborder="63" text="판정" onclick="btn_show_onclick" class="btn2" position="absolute 41 0 81 20" anchor="left top"/>
  1635. <Button id="btn_a_g01_m_tyn" taborder="64" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1636. </Layout>
  1637. </Layouts>
  1638. </Div>
  1639. </Layout>
  1640. </Layouts>
  1641. </Div>
  1642. <Div id="grp_btn_G16_no" anchor="top right" taborder="28" visible="false" position="absolute 1208 406 1989 426">
  1643. <Layouts>
  1644. <Layout width="898" height="32">
  1645. <Button id="btn_a_g16_m_tyn" taborder="30" text="문진" onclick="btn_show_onclick" class="btn2" position="absolute 0 0 40 20" anchor="left top"/>
  1646. </Layout>
  1647. </Layouts>
  1648. </Div>
  1649. <Div id="grp_btn_G01_no2" anchor="top right" taborder="29" visible="false" position="absolute 1207 257 1988 277">
  1650. <Layouts>
  1651. <Layout width="898" height="32">
  1652. <Button id="btn_a_g01_m_tyn" taborder="33" text="문진" onclick="btn_show_onclick" class="btn3" position="absolute 0 0 54 20" anchor="left top"/>
  1653. </Layout>
  1654. </Layouts>
  1655. </Div>
  1656. <Button id="btn_init" taborder="30" text="초기화" class="btn2" position="absolute 1130 67 1194 86" anchor="top right" visible="false" style="font:Dotum,9,bold;" onclick="btn_init_onclick"/>
  1657. <Button id="Button00" taborder="31" text="안 내" position="absolute 174 3 239 22" class="btn5" visible="false" onclick="Button00_onclick"/>
  1658. <Div id="Div00" taborder="32" position="absolute 1208 446 1710 664" style="background:peachpuff;border:1 solid red ;" visible="false">
  1659. <Layouts>
  1660. <Layout>
  1661. <Static id="Static00" text="➀ [환자 검색] : 돋보기 클릭 후 성명과 주민번호 입력&#13;&#10;&#13;&#10;➁ [예약시간] : 검진 예약일과 시간을 확인 후 [예약저장] &#13;&#10;※ [예약저장]후 수정은 안되며 저장된 예약취소는 본원-공단검진실, 칠곡-건강증진센터로 연락주세요&#13;&#10;&#13;&#10;➂ [예약저장 후] : 화면 중앙의 [결과 및 판정입력] 밑의 버튼들을 눌러 모두 작성 ex) 문진" position="absolute 11 22 480 201" style="linespace:5;align:left top;font:Dotum,12,bold;" anchor="default"/>
  1662. </Layout>
  1663. </Layouts>
  1664. </Div>
  1665. </Layout>
  1666. </Layouts>
  1667. <Objects>
  1668. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1669. <ColumnInfo>
  1670. <Column id="healexamgubun" type="STRING" size="256"/>
  1671. <Column id="srchfromdd" type="STRING" size="256"/>
  1672. <Column id="srchtodd" type="STRING" size="256"/>
  1673. <Column id="srchstatfg" type="STRING" size="256"/>
  1674. <Column id="srchpid" type="STRING" size="256"/>
  1675. <Column id="srchhealexamgubun" type="STRING" size="256"/>
  1676. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  1677. <Column id="srchhngnm" type="STRING" size="256"/>
  1678. <Column id="hopedd" type="STRING" size="256"/>
  1679. <Column id="rsrvtm" type="STRING" size="256"/>
  1680. </ColumnInfo>
  1681. <Rows>
  1682. <Row>
  1683. <Col id="srchhealexamgubun"/>
  1684. <Col id="srchpid"/>
  1685. <Col id="srchstatfg"/>
  1686. <Col id="srchtodd"/>
  1687. <Col id="srchfromdd"/>
  1688. <Col id="healexamgubun"/>
  1689. <Col id="srchhealexamdetlflag"/>
  1690. <Col id="srchhngnm"/>
  1691. <Col id="hopedd"/>
  1692. <Col id="rsrvtm"/>
  1693. </Row>
  1694. </Rows>
  1695. </Dataset>
  1696. <Dataset id="ds_init_baseinfo_A0088" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1697. <Dataset id="ds_main_acptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1698. <ColumnInfo>
  1699. <Column id="rsrvdd" type="STRING" size="255"/>
  1700. <Column id="rsrvno" type="BIGDECIMAL" size="255"/>
  1701. <Column id="orddd" type="STRING" size="255"/>
  1702. <Column id="pid" type="STRING" size="255"/>
  1703. <Column id="cretno" type="BIGDECIMAL" size="255"/>
  1704. <Column id="orddeptcd" type="STRING" size="255"/>
  1705. <Column id="hopedd" type="STRING" size="255"/>
  1706. <Column id="hngnm" type="STRING" size="255"/>
  1707. <Column id="engnm" type="STRING" size="255"/>
  1708. <Column id="chinm" type="STRING" size="255"/>
  1709. <Column id="sex" type="STRING" size="255"/>
  1710. <Column id="age" type="STRING" size="255"/>
  1711. <Column id="remcnts" type="STRING" size="255"/>
  1712. <Column id="rgstno1" type="STRING" size="255"/>
  1713. <Column id="rgstno2" type="STRING" size="255"/>
  1714. <Column id="cmpycd" type="STRING" size="255"/>
  1715. <Column id="cmpynm" type="STRING" size="255"/>
  1716. <Column id="plceflag" type="STRING" size="255"/>
  1717. <Column id="flceflagnm" type="STRING" size="255"/>
  1718. <Column id="schlgrde" type="STRING" size="255"/>
  1719. <Column id="clsid" type="STRING" size="255"/>
  1720. <Column id="studid" type="STRING" size="255"/>
  1721. <Column id="statflag" type="STRING" size="255"/>
  1722. <Column id="testcd" type="STRING" size="255"/>
  1723. <Column id="pkgnm" type="STRING" size="255"/>
  1724. <Column id="pkgcd" type="STRING" size="255"/>
  1725. <Column id="hometel" type="STRING" size="255"/>
  1726. <Column id="mpphontel" type="STRING" size="255"/>
  1727. <Column id="pataddr" type="STRING" size="255"/>
  1728. <Column id="rsltformcd" type="STRING" size="255"/>
  1729. <Column id="cdgrpid" type="STRING" size="255"/>
  1730. <Column id="clamyn" type="STRING" size="255"/>
  1731. <Column id="rsltyn" type="STRING" size="255"/>
  1732. <Column id="orddrid" type="STRING" size="255"/>
  1733. <Column id="a_g01_m_tyn" type="STRING" size="255"/>
  1734. <Column id="a_g01_1_p_tyn" type="STRING" size="255"/>
  1735. <Column id="a_g01_2_p_tyn" type="STRING" size="255"/>
  1736. <Column id="a_g01_3_p_tyn" type="STRING" size="255"/>
  1737. <Column id="a_g09_m_tyn" type="STRING" size="255"/>
  1738. <Column id="a_g09_1_p_tyn" type="STRING" size="255"/>
  1739. <Column id="a_g09_2_p_tyn" type="STRING" size="255"/>
  1740. <Column id="a_g09_3_p_tyn" type="STRING" size="255"/>
  1741. <Column id="a_g09_4_p_tyn" type="STRING" size="255"/>
  1742. <Column id="a_g09_5_p_tyn" type="STRING" size="255"/>
  1743. <Column id="a_g16_m_tyn" type="STRING" size="255"/>
  1744. <Column id="a_g16_p_tyn" type="STRING" size="255"/>
  1745. <Column id="a_etc_1_p_tyn" type="STRING" size="255"/>
  1746. <Column id="a_etc_2_p_tyn" type="STRING" size="255"/>
  1747. <Column id="a_etc_3_p_tyn" type="STRING" size="255"/>
  1748. <Column id="a_etc_4_p_tyn" type="STRING" size="255"/>
  1749. <Column id="a_etc_5_p_tyn" type="STRING" size="255"/>
  1750. <Column id="a_etc_6_p_tyn" type="STRING" size="255"/>
  1751. <Column id="a_etc_7_p_tyn" type="STRING" size="255"/>
  1752. <Column id="a_etc_8_p_tyn" type="STRING" size="255"/>
  1753. <Column id="a_etc_9_p_tyn" type="STRING" size="255"/>
  1754. <Column id="a_etc_10_p_tyn" type="STRING" size="255"/>
  1755. <Column id="a_etc_11_p_tyn" type="STRING" size="255"/>
  1756. <Column id="a_etc_12_p_tyn" type="STRING" size="255"/>
  1757. <Column id="a_etc_13_p_tyn" type="STRING" size="255"/>
  1758. <Column id="a_g01_m_formrecseq" type="STRING" size="255"/>
  1759. <Column id="a_g01_1_p_formrecseq" type="STRING" size="255"/>
  1760. <Column id="a_g01_2_p_formrecseq" type="STRING" size="255"/>
  1761. <Column id="a_g01_3_p_formrecseq" type="STRING" size="255"/>
  1762. <Column id="a_g09_m_formrecseq" type="STRING" size="255"/>
  1763. <Column id="a_g09_1_p_formrecseq" type="STRING" size="255"/>
  1764. <Column id="a_g09_2_p_formrecseq" type="STRING" size="255"/>
  1765. <Column id="a_g09_3_p_formrecseq" type="STRING" size="255"/>
  1766. <Column id="a_g09_4_p_formrecseq" type="STRING" size="255"/>
  1767. <Column id="a_g09_5_p_formrecseq" type="STRING" size="255"/>
  1768. <Column id="a_g16_m_formrecseq" type="STRING" size="255"/>
  1769. <Column id="a_g16_p_formrecseq" type="STRING" size="255"/>
  1770. <Column id="a_etc_1_p_formrecseq" type="STRING" size="255"/>
  1771. <Column id="a_etc_2_p_formrecseq" type="STRING" size="255"/>
  1772. <Column id="a_etc_3_p_formrecseq" type="STRING" size="255"/>
  1773. <Column id="a_etc_4_p_formrecseq" type="STRING" size="255"/>
  1774. <Column id="a_etc_5_p_formrecseq" type="STRING" size="255"/>
  1775. <Column id="a_etc_6_p_formrecseq" type="STRING" size="255"/>
  1776. <Column id="a_etc_7_p_formrecseq" type="STRING" size="255"/>
  1777. <Column id="a_etc_8_p_formrecseq" type="STRING" size="255"/>
  1778. <Column id="a_etc_9_p_formrecseq" type="STRING" size="255"/>
  1779. <Column id="a_etc_10_p_formrecseq" type="STRING" size="255"/>
  1780. <Column id="a_etc_11_p_formrecseq" type="STRING" size="255"/>
  1781. <Column id="a_etc_12_p_formrecseq" type="STRING" size="255"/>
  1782. <Column id="a_etc_13_p_formrecseq" type="STRING" size="255"/>
  1783. <Column id="bkcolor" type="STRING" size="256"/>
  1784. <Column id="healexamgubun" type="STRING" size="256"/>
  1785. </ColumnInfo>
  1786. </Dataset>
  1787. <Dataset id="ds_init_baseinfo_statlst_A0107" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1788. <Dataset id="ds_cond_formdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1789. <ColumnInfo>
  1790. <Column id="formcd" type="STRING" size="256"/>
  1791. <Column id="formkind" type="STRING" size="256"/>
  1792. <Column id="pid" type="STRING" size="256"/>
  1793. <Column id="orddd" type="STRING" size="256"/>
  1794. <Column id="cretno" type="STRING" size="256"/>
  1795. <Column id="btnvisible" type="STRING" size="256"/>
  1796. <Column id="btnenable" type="STRING" size="256"/>
  1797. <Column id="unpreprec" type="STRING" size="256"/>
  1798. <Column id="modalyn" type="STRING" size="256"/>
  1799. <Column id="orddeptcd" type="STRING" size="256"/>
  1800. <Column id="ioflag" type="STRING" size="256"/>
  1801. <Column id="topyn" type="STRING" size="256"/>
  1802. <Column id="formrecddenable" type="STRING" size="256"/>
  1803. <Column id="formrecdd" type="STRING" size="256"/>
  1804. <Column id="wardcd" type="STRING" size="256"/>
  1805. </ColumnInfo>
  1806. <Rows>
  1807. <Row>
  1808. <Col id="formkind"/>
  1809. <Col id="formcd"/>
  1810. <Col id="pid"/>
  1811. <Col id="orddd"/>
  1812. <Col id="cretno"/>
  1813. <Col id="btnvisible"/>
  1814. <Col id="orddeptcd"/>
  1815. <Col id="modalyn"/>
  1816. <Col id="unpreprec"/>
  1817. <Col id="btnenable"/>
  1818. <Col id="ioflag"/>
  1819. <Col id="topyn"/>
  1820. <Col id="formrecdd"/>
  1821. <Col id="formrecddenable"/>
  1822. </Row>
  1823. </Rows>
  1824. </Dataset>
  1825. <Dataset id="ds_init_baseinfo_A0070" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1826. <Dataset id="ds_hidden_patinfo_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1827. <Dataset id="ds_init_baseinfo_G41" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1828. <Dataset id="ds_cond_formdata2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1829. <ColumnInfo>
  1830. <Column id="formcd" type="STRING" size="256"/>
  1831. <Column id="formkind" type="STRING" size="256"/>
  1832. <Column id="pid" type="STRING" size="256"/>
  1833. <Column id="orddd" type="STRING" size="256"/>
  1834. <Column id="cretno" type="STRING" size="256"/>
  1835. <Column id="btnvisible" type="STRING" size="256"/>
  1836. <Column id="btnenable" type="STRING" size="256"/>
  1837. <Column id="unpreprec" type="STRING" size="256"/>
  1838. <Column id="modalyn" type="STRING" size="256"/>
  1839. <Column id="orddeptcd" type="STRING" size="256"/>
  1840. <Column id="ioflag" type="STRING" size="256"/>
  1841. <Column id="topyn" type="STRING" size="256"/>
  1842. <Column id="formrecddenable" type="STRING" size="256"/>
  1843. <Column id="formrecdd" type="STRING" size="256"/>
  1844. <Column id="wardcd" type="STRING" size="256"/>
  1845. </ColumnInfo>
  1846. <Rows>
  1847. <Row>
  1848. <Col id="formkind"/>
  1849. <Col id="formcd"/>
  1850. <Col id="pid"/>
  1851. <Col id="orddd"/>
  1852. <Col id="cretno"/>
  1853. <Col id="btnvisible"/>
  1854. <Col id="orddeptcd"/>
  1855. <Col id="modalyn"/>
  1856. <Col id="unpreprec"/>
  1857. <Col id="btnenable"/>
  1858. <Col id="ioflag"/>
  1859. <Col id="topyn"/>
  1860. <Col id="formrecdd"/>
  1861. <Col id="formrecddenable"/>
  1862. </Row>
  1863. </Rows>
  1864. </Dataset>
  1865. <Dataset id="ds_main_oralprint" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1866. <ColumnInfo>
  1867. <Column id="col0" type="STRING" size="256"/>
  1868. <Column id="col1" type="STRING" size="256"/>
  1869. <Column id="col2" type="STRING" size="256"/>
  1870. <Column id="col3" type="STRING" size="256"/>
  1871. <Column id="col4" type="STRING" size="256"/>
  1872. <Column id="col5" type="STRING" size="256"/>
  1873. <Column id="col6" type="STRING" size="256"/>
  1874. <Column id="col7" type="STRING" size="256"/>
  1875. <Column id="col8" type="STRING" size="256"/>
  1876. <Column id="col9" type="STRING" size="256"/>
  1877. <Column id="col10" type="STRING" size="256"/>
  1878. <Column id="col11" type="STRING" size="256"/>
  1879. <Column id="col12" type="STRING" size="256"/>
  1880. <Column id="col13" type="STRING" size="256"/>
  1881. <Column id="col14" type="STRING" size="256"/>
  1882. <Column id="col15" type="STRING" size="256"/>
  1883. <Column id="col16" type="STRING" size="256"/>
  1884. <Column id="col17" type="STRING" size="256"/>
  1885. <Column id="col18" type="STRING" size="256"/>
  1886. <Column id="col19" type="STRING" size="256"/>
  1887. <Column id="col20" type="STRING" size="256"/>
  1888. <Column id="col21" type="STRING" size="256"/>
  1889. <Column id="col22" type="STRING" size="256"/>
  1890. <Column id="col23" type="STRING" size="256"/>
  1891. <Column id="col24" type="STRING" size="256"/>
  1892. <Column id="col25" type="STRING" size="256"/>
  1893. <Column id="col26" type="STRING" size="256"/>
  1894. <Column id="col27" type="STRING" size="256"/>
  1895. <Column id="col28" type="STRING" size="256"/>
  1896. <Column id="col29" type="STRING" size="256"/>
  1897. <Column id="col30" type="STRING" size="256"/>
  1898. <Column id="col31" type="STRING" size="256"/>
  1899. <Column id="col32" type="STRING" size="256"/>
  1900. <Column id="col33" type="STRING" size="256"/>
  1901. <Column id="col34" type="STRING" size="256"/>
  1902. <Column id="col35" type="STRING" size="256"/>
  1903. <Column id="col36" type="STRING" size="256"/>
  1904. <Column id="col37" type="STRING" size="256"/>
  1905. <Column id="col38" type="STRING" size="256"/>
  1906. <Column id="col39" type="STRING" size="256"/>
  1907. <Column id="col40" type="STRING" size="256"/>
  1908. <Column id="col41" type="STRING" size="256"/>
  1909. <Column id="col100" type="STRING" size="256"/>
  1910. <Column id="col101" type="STRING" size="256"/>
  1911. <Column id="col42" type="STRING" size="256"/>
  1912. <Column id="col50" type="STRING" size="256"/>
  1913. <Column id="col51" type="STRING" size="256"/>
  1914. <Column id="col52" type="STRING" size="256"/>
  1915. <Column id="col53" type="STRING" size="256"/>
  1916. </ColumnInfo>
  1917. </Dataset>
  1918. <Dataset id="ds_init_baseinfo_G43" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1919. <Dataset id="ds_data_docinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1920. <Dataset id="ds_init_baseinfo_G44" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1921. <Dataset id="ds_main_info_rsrvacptinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_info_rsrvacptinfo_item_oncolumnchanged">
  1922. <ColumnInfo>
  1923. <Column id="rsrvdd" type="STRING" size="256"/>
  1924. <Column id="rsrvno" type="STRING" size="256"/>
  1925. <Column id="healexamdetlflag" type="STRING" size="256"/>
  1926. <Column id="hopedd" type="STRING" size="256"/>
  1927. <Column id="rsrvtm" type="STRING" size="256"/>
  1928. <Column id="pid" type="STRING" size="256"/>
  1929. <Column id="orddd" type="STRING" size="256"/>
  1930. <Column id="healexampid" type="STRING" size="256"/>
  1931. <Column id="rcptstat" type="STRING" size="256"/>
  1932. <Column id="disccd" type="STRING" size="256"/>
  1933. <Column id="cmpyflag" type="STRING" size="256"/>
  1934. <Column id="cmpycd" type="STRING" size="256"/>
  1935. <Column id="bizoffccd" type="STRING" size="256"/>
  1936. <Column id="deptcd" type="STRING" size="256"/>
  1937. <Column id="clntempid" type="STRING" size="256"/>
  1938. <Column id="entcodd" type="STRING" size="256"/>
  1939. <Column id="jobkindflag" type="STRING" size="256"/>
  1940. <Column id="insucorpbrchcd" type="STRING" size="256"/>
  1941. <Column id="insutrgtflag" type="STRING" size="256"/>
  1942. <Column id="insuflag" type="STRING" size="256"/>
  1943. <Column id="relacd" type="STRING" size="256"/>
  1944. <Column id="plceflag" type="STRING" size="256"/>
  1945. <Column id="scndhptstrgtyn" type="STRING" size="256"/>
  1946. <Column id="oraltestyn" type="STRING" size="256"/>
  1947. <Column id="freecncrtrgtyn" type="STRING" size="256"/>
  1948. <Column id="livcncrtrgtyn" type="STRING" size="256"/>
  1949. <Column id="livcncrflag" type="STRING" size="256"/>
  1950. <Column id="stmccncrflag" type="STRING" size="256"/>
  1951. <Column id="stmccncryn" type="STRING" size="256"/>
  1952. <Column id="largeintescncrflag" type="STRING" size="256"/>
  1953. <Column id="largeintescncryn" type="STRING" size="256"/>
  1954. <Column id="mamcncryn" type="STRING" size="256"/>
  1955. <Column id="mamcncrflag" type="STRING" size="256"/>
  1956. <Column id="cervcncrflag" type="STRING" size="256"/>
  1957. <Column id="cervcncryn" type="STRING" size="256"/>
  1958. <Column id="remcnts" type="STRING" size="256"/>
  1959. <Column id="rsrvflag" type="STRING" size="256"/>
  1960. <Column id="rsltcnstflag" type="STRING" size="256"/>
  1961. <Column id="rsltcnstrsrvdd" type="STRING" size="256"/>
  1962. <Column id="jobposcd" type="STRING" size="256"/>
  1963. <Column id="empid" type="STRING" size="256"/>
  1964. <Column id="empnm" type="STRING" size="256"/>
  1965. <Column id="emprelacd" type="STRING" size="256"/>
  1966. <Column id="healcntrcd" type="STRING" size="256"/>
  1967. <Column id="spclhealexamflag" type="STRING" size="256"/>
  1968. <Column id="schlgrde" type="STRING" size="256"/>
  1969. <Column id="clsid" type="STRING" size="256"/>
  1970. <Column id="studid" type="STRING" size="256"/>
  1971. <Column id="medicostyn" type="STRING" size="256"/>
  1972. <Column id="insuclamyn" type="STRING" size="256"/>
  1973. <Column id="judgdrid" type="STRING" size="256"/>
  1974. <Column id="statflag" type="STRING" size="256"/>
  1975. <Column id="calcyn" type="STRING" size="256"/>
  1976. <Column id="pkgcd" type="STRING" size="256"/>
  1977. <Column id="conseq" type="STRING" size="256"/>
  1978. <Column id="pkguncocd" type="STRING" size="256"/>
  1979. <Column id="ownuncoamt" type="STRING" size="256"/>
  1980. <Column id="cmpynm" type="STRING" size="256"/>
  1981. <Column id="bizoffcnm" type="STRING" size="256"/>
  1982. <Column id="deptnm" type="STRING" size="256"/>
  1983. <Column id="healcntrnm" type="STRING" size="256"/>
  1984. <Column id="insucorpbrchnm" type="STRING" size="256"/>
  1985. <Column id="livcncrtrgtyn2" type="STRING" size="256"/>
  1986. <Column id="pkgnm" type="STRING" size="256"/>
  1987. <Column id="EkgYN" type="STRING" size="256"/>
  1988. <Column id="Column65" type="STRING" size="256"/>
  1989. <Column id="Column66" type="STRING" size="256"/>
  1990. <Column id="armyhos" type="STRING" size="256"/>
  1991. <Column id="oldhopedd" type="STRING" size="256"/>
  1992. <Column id="oldrsrvno" type="STRING" size="256"/>
  1993. <Column id="oldhealexamflag" type="STRING" size="256"/>
  1994. <Column id="acpt_insuid" type="STRING" size="256"/>
  1995. <Column id="acpt_insucd" type="STRING" size="256"/>
  1996. <Column id="subscrrrgstno1" type="STRING" size="256"/>
  1997. <Column id="subscrrrgstno2" type="STRING" size="256"/>
  1998. <Column id="subscrhngnm" type="STRING" size="256"/>
  1999. <Column id="ownbamt" type="STRING" size="256"/>
  2000. <Column id="healexamplacecd" type="STRING" size="256"/>
  2001. <Column id="etccd" type="STRING" size="256"/>
  2002. <Column id="dcamt" type="STRING" size="256"/>
  2003. <Column id="adddcamt" type="STRING" size="256"/>
  2004. <Column id="jobkindcd" type="STRING" size="256"/>
  2005. <Column id="jobkindnm" type="STRING" size="256"/>
  2006. <Column id="workproccd" type="STRING" size="256"/>
  2007. <Column id="workprocnm" type="STRING" size="256"/>
  2008. <Column id="dayspclworktm" type="STRING" size="256"/>
  2009. <Column id="prodcd" type="STRING" size="256"/>
  2010. <Column id="prodnm" type="STRING" size="256"/>
  2011. <Column id="duptype" type="STRING" size="256"/>
  2012. <Column id="medioph" type="STRING" size="256"/>
  2013. <Column id="mediotor" type="STRING" size="256"/>
  2014. <Column id="mediskin" type="STRING" size="256"/>
  2015. <Column id="medidental" type="STRING" size="256"/>
  2016. <Column id="fsthptstrgtyn" type="STRING" size="256"/>
  2017. <Column id="junibdd" type="STRING" size="256"/>
  2018. <Column id="visano" type="STRING" size="256"/>
  2019. <Column id="clntdeptnm" type="STRING" size="256"/>
  2020. <Column id="dgflag" type="STRING" size="256"/>
  2021. <Column id="healexamgubun" type="STRING" size="256"/>
  2022. <Column id="orddeptcd" type="STRING" size="256"/>
  2023. <Column id="orddrid" type="STRING" size="256"/>
  2024. <Column id="fsexamyn" type="STRING" size="256"/>
  2025. <Column id="cretno" type="STRING" size="256"/>
  2026. <Column id="choiflag" type="STRING" size="256"/>
  2027. <Column id="healexamflag" type="STRING" size="256"/>
  2028. <Column id="mode" type="STRING" size="256"/>
  2029. <Column id="brthareacnts" type="STRING" size="256"/>
  2030. <Column id="conhistseq" type="STRING" size="256"/>
  2031. <Column id="fsthealexamtrgtyn" type="STRING" size="256"/>
  2032. <Column id="scndhealexamtrgtyn" type="STRING" size="256"/>
  2033. </ColumnInfo>
  2034. <Rows>
  2035. <Row/>
  2036. </Rows>
  2037. </Dataset>
  2038. <Dataset id="ds_main_info_addlst_item">
  2039. <ColumnInfo>
  2040. <Column id="sel" type="STRING" size="0"/>
  2041. <Column id="pkgflag" type="STRING" size="0"/>
  2042. <Column id="healexamdetlflag" type="STRING" size="0"/>
  2043. <Column id="testcd" type="STRING" size="0"/>
  2044. <Column id="testnm" type="STRING" size="0"/>
  2045. <Column id="uncocd" type="STRING" size="0"/>
  2046. <Column id="totpayamt" type="STRING" size="0"/>
  2047. <Column id="payinsubamt" type="STRING" size="0"/>
  2048. <Column id="payhealcntrbamt" type="STRING" size="0"/>
  2049. <Column id="paycmpybamt" type="STRING" size="0"/>
  2050. <Column id="payownbamt" type="STRING" size="0"/>
  2051. <Column id="owndiscamt" type="STRING" size="0"/>
  2052. <Column id="calcscorcd" type="STRING" size="0"/>
  2053. <Column id="hopedd" type="STRING" size="0"/>
  2054. <Column id="orddd" type="STRING" size="0"/>
  2055. <Column id="testdiscyn" type="STRING" size="0"/>
  2056. </ColumnInfo>
  2057. <Rows>
  2058. <Row>
  2059. <Col id="sel">Y</Col>
  2060. <Col id="pkgflag">P</Col>
  2061. <Col id="healexamdetlflag">G01</Col>
  2062. <Col id="testcd">VP0099</Col>
  2063. <Col id="testnm">무료패키지</Col>
  2064. <Col id="uncocd">V03</Col>
  2065. <Col id="totpayamt">0</Col>
  2066. <Col id="payinsubamt">0</Col>
  2067. <Col id="payhealcntrbamt">0</Col>
  2068. <Col id="paycmpybamt">0</Col>
  2069. <Col id="payownbamt">0</Col>
  2070. <Col id="owndiscamt">0</Col>
  2071. <Col id="calcscorcd">VP0099</Col>
  2072. <Col id="hopedd"/>
  2073. <Col id="orddd"/>
  2074. <Col id="testdiscyn">Y</Col>
  2075. </Row>
  2076. </Rows>
  2077. </Dataset>
  2078. <Dataset id="ds_main_stdval_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  2079. <Dataset id="ds_main_famylist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2080. <ColumnInfo>
  2081. <Column id="cretinstcd" type="STRING" size="256" sumtext="등록기관코드"/>
  2082. <Column id="hospnm" type="STRING" size="256" sumtext="등록기관명"/>
  2083. <Column id="emplno" type="STRING" size="256" sumtext="사원번호 "/>
  2084. <Column id="realemplno" type="STRING" size="256" sumtext="실제사원번호"/>
  2085. <Column id="emplname" type="STRING" size="256" sumtext="사원명 "/>
  2086. <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호 "/>
  2087. <Column id="rgstno1" type="STRING" size="256" sumtext="주민번호1 "/>
  2088. <Column id="rgstno2" type="STRING" size="256" sumtext="주민번호2 "/>
  2089. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  2090. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  2091. <Column id="datapublyn" type="STRING" size="256" sumtext="데이터공유여부"/>
  2092. <Column id="empkindcd" type="STRING" size="256" sumtext="분류"/>
  2093. <Column id="empkindnm" type="STRING" size="256" sumtext="분류명"/>
  2094. <Column id="discuncoflag" type="STRING" size="256" sumtext="할인여부"/>
  2095. <Column id="discuncocd" type="STRING" size="256" sumtext="할인코드"/>
  2096. <Column id="discunconm" type="STRING" size="256" sumtext="할인코드"/>
  2097. <Column id="famyrelcd" type="STRING" size="256" sumtext="가족관계"/>
  2098. <Column id="famyrelnm" type="STRING" size="256" sumtext="가족관계명"/>
  2099. <Column id="name" type="STRING" size="256" sumtext="성명 "/>
  2100. <Column id="orginstcd" type="STRING" size="256" sumtext="원소속기관"/>
  2101. <Column id="orginstnm" type="STRING" size="256" sumtext="원소속기관명"/>
  2102. <Column id="orgdeptnm" type="STRING" size="256" sumtext="원소속부서명"/>
  2103. <Column id="dutinstcd" type="STRING" size="256" sumtext="근무지기관"/>
  2104. <Column id="dutinstnm" type="STRING" size="256" sumtext="근무지기관명"/>
  2105. <Column id="dutdeptnm" type="STRING" size="256" sumtext="근무부서명"/>
  2106. <Column id="preststatcd" type="STRING" size="256" sumtext="현근무상태"/>
  2107. <Column id="preststatnm" type="STRING" size="256" sumtext="현근무상태명"/>
  2108. <Column id="jobposnm" type="STRING" size="256" sumtext="직위명"/>
  2109. <Column id="jobrespnm" type="STRING" size="256" sumtext="직책명"/>
  2110. <Column id="retiredd" type="STRING" size="256" sumtext="퇴직일자"/>
  2111. <Column id="retrduagelimyn" type="STRING" size="256" sumtext="정년퇴직구분"/>
  2112. <Column id="entcodd" type="STRING" size="256" sumtext="입사일/입학일 "/>
  2113. <Column id="entcoday" type="STRING" size="256" sumtext="계약일수"/>
  2114. <Column id="cronyn" type="STRING" size="256" sumtext="CRON자동생성여부"/>
  2115. <Column id="profacptyn" type="STRING" size="256" sumtext="증명서류접수여부 "/>
  2116. <Column id="profacptdd" type="STRING" size="256" sumtext="증명서류접수일자"/>
  2117. <Column id="remark" type="STRING" size="256" sumtext="참고사항"/>
  2118. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자ID "/>
  2119. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시 "/>
  2120. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자ID "/>
  2121. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시 "/>
  2122. <Column id="aftrcptyn" type="STRING" size="256" sumtext="후수납적용여부"/>
  2123. </ColumnInfo>
  2124. </Dataset>
  2125. <Dataset id="ds_main_uncolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2126. <ColumnInfo>
  2127. <Column id="discuncocd" type="STRING" size="256" sumtext="할인코드"/>
  2128. <Column id="discunconm" type="STRING" size="256" sumtext="할인코드명"/>
  2129. <Column id="medfeeapprate" type="STRING" size="256" sumtext="진찰료할인률"/>
  2130. <Column id="outpayapprate" type="STRING" size="256" sumtext="외래할인률_급여"/>
  2131. <Column id="outnopyapprate" type="STRING" size="256" sumtext="외래할인률_비급여"/>
  2132. <Column id="outspecapprate" type="STRING" size="256" sumtext="외래할인률_특진료"/>
  2133. <Column id="inpayapprate" type="STRING" size="256" sumtext="입원할인률_급여"/>
  2134. <Column id="innopyapprate" type="STRING" size="256" sumtext="입원할인률_비급여"/>
  2135. <Column id="inspecapprate" type="STRING" size="256" sumtext="입원할인률_특진료"/>
  2136. <Column id="basehealexamapprate" type="STRING" size="256" sumtext="기본건진할인률"/>
  2137. <Column id="addhealexamapprate" type="STRING" size="256" sumtext="추가건진할인률"/>
  2138. </ColumnInfo>
  2139. </Dataset>
  2140. <Dataset id="ds_send_save_saveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2141. <ColumnInfo>
  2142. <Column id="healexamflag" type="STRING" size="256"/>
  2143. <Column id="healexamdetlflag" type="STRING" size="256"/>
  2144. <Column id="rsrvdd" type="STRING" size="256"/>
  2145. <Column id="rsrvno" type="STRING" size="256"/>
  2146. <Column id="pid" type="STRING" size="256"/>
  2147. <Column id="orddd" type="STRING" size="256"/>
  2148. <Column id="cretno" type="STRING" size="256"/>
  2149. <Column id="judgdd" type="STRING" size="256"/>
  2150. <Column id="judgdrid" type="STRING" size="256"/>
  2151. <Column id="pkgcd" type="STRING" size="256"/>
  2152. <Column id="judginptflag" type="STRING" size="256"/>
  2153. <Column id="statflag" type="STRING" size="256"/>
  2154. <Column id="rsltyn" type="STRING" size="256"/>
  2155. </ColumnInfo>
  2156. <Rows>
  2157. <Row/>
  2158. </Rows>
  2159. </Dataset>
  2160. <Dataset id="ds_init_baseinfo_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  2161. <Dataset id="ds_rexprnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  2162. <ColumnInfo>
  2163. <Column id="pid" type="STRING" size="256"/>
  2164. <Column id="deptnm" type="STRING" size="256"/>
  2165. <Column id="rsrvdd" type="STRING" size="256"/>
  2166. <Column id="hngnm" type="STRING" size="256"/>
  2167. <Column id="rsrvtm" type="STRING" size="256"/>
  2168. </ColumnInfo>
  2169. <Rows>
  2170. <Row/>
  2171. </Rows>
  2172. </Dataset>
  2173. </Objects>
  2174. <Bind>
  2175. <BindItem id="item1" compid="group2.combo1" propid="value" datasetid="ds_send" columnid="srchhealexamgubun"/>
  2176. <BindItem id="item3" compid="group2.ipt_pid" propid="value" datasetid="ds_send" columnid="srchpid"/>
  2177. <BindItem id="item5" compid="group2.ipt_pnm" propid="value" datasetid="ds_send" columnid="srchhngnm"/>
  2178. <BindItem id="item7" compid="group2.ipt_srchfromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  2179. <BindItem id="item0" compid="group2.ipt_srchtodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  2180. <BindItem id="item2" compid="group2.ipt_srchfromdd" propid="value" datasetid="ds_send" columnid="srchfromdd"/>
  2181. <BindItem id="item4" compid="group2.ipt_srchtodd" propid="value" datasetid="ds_send" columnid="srchtodd"/>
  2182. <BindItem id="item6" compid="group2.combo00" propid="value" datasetid="ds_send" columnid="srchstatfg"/>
  2183. <BindItem id="item8" compid="group2.combo02" propid="value" datasetid="ds_send" columnid="srchhealexamdetlflag"/>
  2184. <BindItem id="item26" compid="group2.ipt_rsrvdd" propid="value" datasetid="ds_main_info_rsrvacptinfo_item" columnid="hopedd"/>
  2185. <BindItem id="item28" compid="group2.ipt_rsrvtm" propid="value" datasetid="ds_main_info_rsrvacptinfo_item" columnid="rsrvtm"/>
  2186. </Bind>
  2187. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  2188. * System Name :
  2189. * Job Name :
  2190. * Creator :
  2191. * Make Date : 2015-11-13
  2192. * Description :
  2193. *---------------------------------------------------------------------------------------
  2194. * Modify Date Modifier Modify Description
  2195. *---------------------------------------------------------------------------------------
  2196. * 2015-11-13 Live Converter TF->XP
  2197. *
  2198. *---------------------------------------------------------------------------------------
  2199. ****************************************************************************************/
  2200. include "com_commonxp::comm_main.xjs";
  2201. include "ast_healexamxp::AHA001.xjs";
  2202. include "pam_pamcomnxp::PAM.xjs";
  2203. include "ast_healthexambasexp::healcombolist.xjs";
  2204. include "ast_healthexamrsrvacptxp::AHA.xjs";
  2205. //include "emr_carecomxp::ENRSignEngine.xjs";
  2206. include "emr_medirecxp::MMR01100.xjs";
  2207. var arErrorCode = new HashArray();
  2208. var patUserFlag = ""; //환자구분
  2209. var messageyn = "";
  2210. // 공통변수선언
  2211. //임시/인증저장여부
  2212. var a_g01_m_tyn; // 1차검진문진
  2213. var a_g01_1_p_tyn; // 1차검진판정
  2214. var a_g01_2_p_tyn; // 의료급여생애판정
  2215. var a_g01_3_p_tyn; // 생활습관평가판정
  2216. var a_g09_m_tyn; // 암검진문진
  2217. var a_g09_1_p_tyn; // 간암판정
  2218. var a_g09_2_p_tyn; // 대장암판정
  2219. var a_g09_3_p_tyn; // 위암판정
  2220. var a_g09_4_p_tyn; // 유방암판정
  2221. var a_g09_5_p_tyn; // 자궁경부암판정
  2222. var a_g16_m_tyn; // 구강검진문진
  2223. var a_g16_p_tyn; // 구강검진판정
  2224. var a_etc_4_p_tyn; // 흡연평가도구
  2225. var a_etc_5_p_tyn; // 금연처방전
  2226. var a_etc_6_p_tyn; // 음주평가도구
  2227. var a_etc_7_p_tyn; // 금주처방전
  2228. var a_etc_8_p_tyn; // 운동평가도구
  2229. var a_etc_9_p_tyn; // 운동처방전
  2230. var a_etc_10_p_tyn; // 영양평가도구
  2231. var a_etc_11_p_tyn; // 영양처방전
  2232. var a_etc_12_p_tyn; // 비만평가도구
  2233. var a_etc_13_p_tyn; // 비만처방전
  2234. //formrecseq조회
  2235. var a_g01_m_formrecseq; // 1차검진문진
  2236. var a_g01_1_p_formrecseq; // 1차검진판정
  2237. var a_g01_2_p_formrecseq; // 의료급여생애판정
  2238. var a_g01_3_p_formrecseq; // 생활습관평가판정
  2239. var a_g09_m_formrecseq; // 암검진문진
  2240. var a_g09_1_p_formrecseq; // 간암판정
  2241. var a_g09_2_p_formrecseq; // 대장암판정
  2242. var a_g09_3_p_formrecseq; // 위암판정
  2243. var a_g09_4_p_formrecseq; // 유방암판정
  2244. var a_g09_5_p_formrecseq; // 자궁경부암판정
  2245. var a_g16_m_formrecseq; // 구강검진문진
  2246. var a_g16_p_formrecseq; // 구강검진판정
  2247. var a_etc_4_p_formrecseq; // 흡연평가도구
  2248. var a_etc_5_p_formrecseq; // 금연처방전
  2249. var a_etc_6_p_formrecseq; // 음주평가도구
  2250. var a_etc_7_p_formrecseq; // 금주처방전
  2251. var a_etc_8_p_formrecseq; // 운동평가도구
  2252. var a_etc_9_p_formrecseq; // 운동처방전
  2253. var a_etc_10_p_formrecseq; // 영양평가도구
  2254. var a_etc_11_p_formrecseq; // 영양처방전
  2255. var a_etc_12_p_formrecseq; // 비만평가도구
  2256. var a_etc_13_p_formrecseq; // 비만처방전
  2257. //formrecseq조회
  2258. var a_g01_m_espiseq; // 1차검진문진
  2259. var a_g01_1_p_espiseq; // 1차검진판정
  2260. var a_g01_2_p_espiseq; // 의료급여생애판정
  2261. var a_g01_3_p_espiseq; // 생활습관평가판정
  2262. var a_g09_m_espiseq; // 암검진문진
  2263. var a_g09_1_p_espiseq; // 간암판정
  2264. var a_g09_2_p_espiseq; // 대장암판정
  2265. var a_g09_3_p_espiseq; // 위암판정
  2266. var a_g09_4_p_espiseq; // 유방암판정
  2267. var a_g09_5_p_espiseq; // 자궁경부암판정
  2268. var a_g16_m_espiseq; // 구강검진문진
  2269. var a_g16_p_espiseq; // 구강검진판정
  2270. var a_etc_4_p_espiseq; // 흡연평가도구
  2271. var a_etc_5_p_espiseq; // 금연처방전
  2272. var a_etc_6_p_espiseq; // 음주평가도구
  2273. var a_etc_7_p_espiseq; // 금주처방전
  2274. var a_etc_8_p_espiseq; // 운동평가도구
  2275. var a_etc_9_p_espiseq; // 운동처방전
  2276. var a_etc_10_p_espiseq; // 영양평가도구
  2277. var a_etc_11_p_espiseq; // 영양처방전
  2278. var a_etc_12_p_espiseq; // 비만평가도구
  2279. var a_etc_13_p_espiseq; // 비만처방전
  2280. //생활습관평가 관련 체크
  2281. var etc_all_yn = false;
  2282. //클릭한 column_number
  2283. var curr_colno;
  2284. var admin_yn = "";
  2285. function SMAHR02405_oninit(obj:Form, e:InitEventInfo)
  2286. {
  2287. frmf_initForm(obj); //폼 초기화
  2288. //grdf_initGrid(grd_acptlist);
  2289. }
  2290. function SMAHR02405_onload(obj:Form, e:LoadEventInfo)
  2291. {
  2292. messageyn = "";
  2293. fGetBasicCd(); //공통코드 조회
  2294. fSrchInit(); //검색항목 초기화처리
  2295. fGetStdVal(); //건진별기본정보조회
  2296. grdf_setGridSort(grd_acptlist);
  2297. //사용하지 않는 건진구분 삭제처리
  2298. if(fGetHealExamFlag() == "G"){
  2299. ds_init_baseinfo_A0070.deleteRow(ds_init_baseinfo_A0070.findRow("cdid", "G07")); //기타
  2300. ds_init_baseinfo_A0070.deleteRow(ds_init_baseinfo_A0070.findRow("cdid", "G10")); //공단(기타)
  2301. ds_init_baseinfo_A0070.deleteRow(ds_init_baseinfo_A0070.findRow("cdid", "G15")); //영유아검진
  2302. ds_init_baseinfo_A0070.deleteRow(ds_init_baseinfo_A0070.findRow("cdid", "G08")); //공단(생애전환기)
  2303. }
  2304. //사용하지 않는 건진구분 삭제처리
  2305. var fcnt = ds_init_baseinfo_G43.findRowExpr("cdid=='"+ sysf_getUserInfo("userid") +"'");
  2306. var fcnt2 = ds_init_baseinfo_G44.findRowExpr("cdid=='"+ sysf_getUserInfo("userid") +"'");
  2307. if (fcnt >= 0) { //관리자
  2308. btn_munjin.visible = true;
  2309. btn_signdel.visible = true;
  2310. btn_sign_save.visible = true;
  2311. btn_tmp_save.text = "임시저장";
  2312. grd_acptlist.enableevent = true;
  2313. admin_yn = "";
  2314. grd_acptlist.formatid="G01";
  2315. } else if(fcnt2 >= 0) { //건진환자
  2316. btn_munjin.visible = false;
  2317. btn_signdel.visible = false;
  2318. btn_sign_save.visible = false;
  2319. btn_tmp_save.text = "저 장";
  2320. btn_tmp_save.style.font = "Dotum,9,bold";
  2321. btn_init.visible = true;
  2322. grd_acptlist.enableevent = false;
  2323. admin_yn = "_no";
  2324. grd_acptlist.formatid="G01"+admin_yn;
  2325. group2.ipt_pid.enable = false;
  2326. group2.ipt_pnm.enable = false;
  2327. group2.ipt_srchfromdd.enable = false;
  2328. group2.ipt_srchtodd.enable = false;
  2329. group2.combo00.enable = false;
  2330. group2.combo1.enable = false;
  2331. group2_combo02_onitemchanged();
  2332. } else { //직원
  2333. group2.caption13.visible = false;
  2334. group2.caption34.visible = false;
  2335. group2.caption9.visible = false;
  2336. group2.ipt_srchfromdd.visible = false;
  2337. group2.ipt_srchtodd.visible = false;
  2338. group2.combo00.visible = false;
  2339. group2.caption11.visible = true;
  2340. group2.ipt_rsrvdd.visible = true;
  2341. group2.cap_rsrvtm.visible = true;
  2342. group2.ipt_rsrvtm.visible = true;
  2343. group2.btn_totrsrvdt.visible = true;
  2344. group2.btn_rsrvsave.visible = true;
  2345. //직원의 경우 1차검진만 선택할 수 있도록 수정(이정택 2019/03/29)
  2346. group2.combo02.enable=false;
  2347. ds_main_info_rsrvacptinfo_item.setColumn(0, "hopedd", utlf_getCurrentDate());
  2348. btn_munjin.visible = false;
  2349. btn_signdel.visible = false;
  2350. btn_sign_save.visible = false;
  2351. btn_tmp_save.text = "저 장";
  2352. btn_tmp_save.style.font = "Dotum,9,bold";
  2353. btn_init.visible = true;
  2354. grd_acptlist.enableevent = false;
  2355. admin_yn = "_no";
  2356. grd_acptlist.formatid="G01"+admin_yn;
  2357. group2.ipt_pid.enable = false;
  2358. group2.ipt_pnm.enable = false;
  2359. group2.combo1.enable = false;
  2360. group2_combo02_onitemchanged();
  2361. Button00.visible = true;
  2362. Div00.visible = true;
  2363. Div00.position = "absolute 167 25 669 243";
  2364. }
  2365. if (fcnt2 >= 0) { //검진환자
  2366. patUserFlag = "Y";
  2367. } else if(fcnt < 0){ //직원
  2368. patUserFlag = "E";
  2369. }
  2370. }
  2371. function fGetBasicCd(){
  2372. //com.zbcmcode
  2373. if(fGetHealExamFlag() == "C"){
  2374. var arrParam = [{dsNm: "ds_init_baseinfo_A0088", cdGrpId: "A0088"},
  2375. {dsNm: "ds_init_baseinfo_statlst_A0107", cdGrpId: "A0107"},
  2376. {dsNm: "ds_init_baseinfo_A0069", cdGrpId: "A0069"}
  2377. ];
  2378. appf_getCodeList(arrParam);
  2379. }
  2380. else{
  2381. var arrParam = [{dsNm: "ds_init_baseinfo_A0088", cdGrpId: "A0088"},
  2382. {dsNm: "ds_init_baseinfo_statlst_A0107", cdGrpId: "A0107"},
  2383. {dsNm: "ds_init_baseinfo_A0070", cdGrpId: "A0070"}
  2384. ];
  2385. appf_getCodeList(arrParam);
  2386. }
  2387. //ast.ahbmetcm
  2388. var arrParam = "";
  2389. var arrParam = [{dsNm: "ds_init_baseinfo_G41", cdGrpId: "G", cdId:"G41"}
  2390. ,{dsNm: "ds_init_baseinfo_G43", cdGrpId: "G", cdId:"G43"}
  2391. ,{dsNm: "ds_init_baseinfo_G44", cdGrpId: "G", cdId:"G44"}];
  2392. healGetComboList(arrParam, false);
  2393. }
  2394. function fSrchInit(){
  2395. //A 공단검진 B 직원검진 C 경대교직원 D 영유아검진 E 영유아구강검진 F 공단생애검진 G 단체검진 H 통합검진 I 금연클리닉
  2396. ds_send.setColumn(0, "srchhealexamgubun", "A");
  2397. if(fGetHealExamFlag() == "C"){
  2398. group2.combo1.enable = false;
  2399. group2.combo02.innerdataset = "ds_init_baseinfo_A0069";
  2400. ds_send.setColumn(0, "srchhealexamdetlflag", "C01");
  2401. }
  2402. else{
  2403. group2.combo02.innerdataset = "ds_init_baseinfo_A0070";
  2404. ds_send.setColumn(0, "srchhealexamdetlflag", "G01");
  2405. }
  2406. ds_send.setColumn(0, "srchfromdd", utlf_getCurrentDate());
  2407. ds_send.setColumn(0, "srchtodd", utlf_getCurrentDate());
  2408. ds_send.setColumn(0, "srchstatfg", "A");
  2409. }
  2410. //조회버튼 클릭
  2411. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  2412. {
  2413. fGetRsltPatList(); //대상자 가져오기
  2414. }
  2415. //조회버튼 클릭시 함수
  2416. function fGetRsltPatList(){
  2417. appf_delPatientInfos();
  2418. var fcnt = ds_init_baseinfo_G43.findRowExpr("cdid=='"+ sysf_getUserInfo("userid") +"'");
  2419. if (fcnt > 0) {
  2420. } else if(utlf_isNull(ds_send.getColumn(0, "srchpid"))) {
  2421. sysf_messageBox("환자번호는 필수 입력입니다." , "E");
  2422. return;
  2423. }
  2424. frmf_openLoadingBar();
  2425. ds_main_acptlist.clearData();
  2426. fn_btnBold(-1);
  2427. //dsf_makeValue(ds_send, "srchhealexamdetlflag", "string", "G01");
  2428. dsf_makeValue(ds_send, "srchinstcd", "string", sysf_getUserInfo("dutplceinstcd"));
  2429. if(fGetHealExamFlag() == "C"){
  2430. dsf_makeValue(ds_send, "srchhealexamflag", "string", "C");
  2431. }
  2432. else{
  2433. dsf_makeValue(ds_send, "srchhealexamflag", "string", "G");
  2434. }
  2435. dsf_makeValue(ds_send, "srchnewyn", "string", "Y");
  2436. dsf_makeValue(ds_send, "srchquerytype", "string", "S");
  2437. //대기자조회
  2438. var oParam = {};
  2439. oParam.id = "TRAHR02401";
  2440. oParam.service = "healexamrsltjudgapp.GnrlJudgInpt";
  2441. oParam.method = "reqGetGnrlJudgPatList";
  2442. oParam.inds = "req=ds_send";
  2443. oParam.outds = "ds_main_acptlist=item";
  2444. oParam.async = false;
  2445. tranf_submit(oParam);
  2446. if(utlf_isNull(ds_main_acptlist.getColumnInfo("bkcolor"))){
  2447. ds_main_acptlist.addColumn("bkcolor", "string");
  2448. }
  2449. fSetPatPaint(); //대기자리스트 필요정보를 색깔로 표시한다.
  2450. ds_main_acptlist.rowposition = -1;
  2451. if(patUserFlag == "E") ds_main_acptlist.rowposition = 0;
  2452. frmf_closeLoadingBar();
  2453. if(!utlf_isNull(patUserFlag) && utlf_isNull(messageyn)) {
  2454. sysf_messageBox("화면 중앙의 [결과 및 판정입력] 밑의\n문진 버튼을 누르고 작성 후 저장을 해 주십시오.\n작성을 중지하고 싶다면 개인정보 보호를 위하여\n초기화 버튼을 눌러주십시오." , "I");
  2455. messageyn = "Y";
  2456. }
  2457. }
  2458. function fSetPatPaint() {
  2459. ds_main_acptlist.enableevent = false;
  2460. ds_main_acptlist.updatecontrol = false;
  2461. ds_main_acptlist.addColumn("age2","string");
  2462. var srchhealexamdetlflag= ds_send.getColumn(0, "srchhealexamdetlflag"); // 건진구분
  2463. var fcnt = ds_init_baseinfo_G43.findRowExpr("cdid=='"+ sysf_getUserInfo("userid") +"'");
  2464. var fcnt2 = ds_init_baseinfo_G44.findRowExpr("cdid=='"+ sysf_getUserInfo("userid") +"'");
  2465. for(var i = 0; i < ds_main_acptlist.rowcount; i++) {
  2466. var bonday = ds_main_acptlist.getColumn(i, "rrgstno1").substr(2,4);
  2467. var curday = utlf_getCurrentDate().substr(4,4);
  2468. var curage = parseInt(ds_main_acptlist.getColumn(i, "age"));
  2469. if(bonday > curday) {
  2470. curage = curage + 1;
  2471. }
  2472. ds_main_acptlist.setColumn(i, "age2", curage);
  2473. // trace("fcnt :"+fcnt);
  2474. if(srchhealexamdetlflag=='G01' || srchhealexamdetlflag=='C01'){
  2475. if(ds_main_acptlist.getColumn(i, "age2") == "40" || ds_main_acptlist.getColumn(i, "age2") == "50" ||
  2476. ds_main_acptlist.getColumn(i, "age2") == "60" || ds_main_acptlist.getColumn(i, "age2") == "70"){
  2477. ds_main_acptlist.setColumn(i, "bkcolor", "#ffff00");
  2478. if(fcnt < 0){
  2479. grd_acptlist.formatid="G01_no";
  2480. grp_btn_G01_no.visible = true;
  2481. grp_btn_G01_no2.visible = false;
  2482. }
  2483. } else if(fcnt < 0){
  2484. grd_acptlist.formatid="G01_no2";
  2485. grp_btn_G01_no.visible = false;
  2486. grp_btn_G01_no2.position.x = grd_acptlist.position.width + 4;
  2487. grp_btn_G01_no2.position.y = 91;
  2488. grp_btn_G01_no2.visible = true;
  2489. }
  2490. }else if(srchhealexamdetlflag=='G17'){
  2491. if(ds_main_acptlist.getColumn(i, "age2") == "70"){
  2492. ds_main_acptlist.setColumn(i, "bkcolor", "#ffff00");
  2493. }
  2494. }else if(srchhealexamdetlflag=='G16'){
  2495. if(ds_main_acptlist.getColumn(i, "age2") == "40"){
  2496. ds_main_acptlist.setColumn(i, "bkcolor", "#ffff00");
  2497. }
  2498. }
  2499. if(ds_main_acptlist.getColumn(i, "statflag") == "I"){
  2500. ds_main_acptlist.setColumn(i, "bkcolor", "#C4E693");
  2501. }
  2502. //if(ds_main_acptlist.getColumn(i, "clamyn") == "Y") {
  2503. if((!utlf_isNull(ds_main_acptlist.getColumnInfo("a_g01_1_p_tyn")) && ds_main_acptlist.getColumn(i, "a_g01_1_p_tyn") == "Y")
  2504. || (!utlf_isNull(ds_main_acptlist.getColumnInfo("a_g01_2_p_tyn")) && ds_main_acptlist.getColumn(i, "a_g01_2_p_tyn") == "Y")
  2505. || (!utlf_isNull(ds_main_acptlist.getColumnInfo("a_g16_p_tyn")) && ds_main_acptlist.getColumn(i, "a_g16_p_tyn") == "Y"))
  2506. {
  2507. ds_main_acptlist.setColumn(i, "bkcolor", "#FF8888");
  2508. }
  2509. }
  2510. ds_main_acptlist.updatecontrol = true;
  2511. ds_main_acptlist.enableevent = true;
  2512. }
  2513. /*-**************************************************************************************
  2514. * Argument : currow rowid
  2515. * Description : 상태값에 결과와 결과완료를 구분하여 표시
  2516. ****************************************************************************************/
  2517. function fn_rsltText(currow) {
  2518. var rtn = grd_acptlist.getCellText(currow,grd_acptlist.getBindCellIndex("body","statflag"));
  2519. if(ds_main_acptlist.getColumn(currow, "statflag") == "G" && ds_main_acptlist.getColumn(currow, "rsltyn") == "Y") {
  2520. rtn = "결과완료";
  2521. }
  2522. if(ds_main_acptlist.getColumn(currow, "statflag") == "H" && ds_main_acptlist.getColumn(currow, "rsltyn") == "Y") {
  2523. rtn = "판정";
  2524. }
  2525. /* 2019/06/11 이정택 변경처리
  2526. if(ds_main_acptlist.getColumn(currow, "a_g01_1_p_tyn") == "Y" || ds_main_acptlist.getColumn(currow, "a_g01_2_p_tyn") == "Y" ||
  2527. ds_main_acptlist.getColumn(currow, "a_g16_p_tyn") == "Y") {
  2528. rtn = "판정완료";
  2529. }
  2530. */
  2531. // else{
  2532. // rtn = "결과완료";
  2533. // }
  2534. return rtn;
  2535. }
  2536. function fprnt(){
  2537. //20200417 고영민 직원검진 저장 시 확인표, 구강검진 문진표 출력(본원)
  2538. if(sysf_getUserInfo("dutplceinstcd") == "031" && ds_init_baseinfo_G43.findRowExpr("cdid=='"+ sysf_getUserInfo("userid") +"'") < 0){
  2539. ds_rexprnt.clearData();
  2540. ds_rexprnt.addRow();
  2541. ds_rexprnt.setColumn(0, "pid", ds_send.getColumn(0, "srchpid"));
  2542. ds_rexprnt.setColumn(0, "hngnm", ds_send.getColumn(0, "srchhngnm"));
  2543. ds_rexprnt.setColumn(0, "rsrvdd", ds_main_acptlist.getColumn(0, "hopedd"));
  2544. ds_rexprnt.setColumn(0, "rsrvtm", ds_main_acptlist.getColumn(0, "rsrvtm"));
  2545. ds_rexprnt.setColumn(0, "deptnm", sysf_getUserInfo("dutplcenm"));
  2546. var objDOM = rptf_createDOM();
  2547. rptf_setNodeListToDOM(objDOM, "/root/rexprnt", ds_rexprnt);
  2548. var objParam = new Object();
  2549. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2550. var option = "directprint=1; printdialog=0; print=1;";
  2551. rptf_exeReportPreview30(["RPAHR02406"],[objParam], option);
  2552. var objDOM = rptf_createDOM();
  2553. rptf_setNodeListToDOM(objDOM, "/root/rexprnt", ds_rexprnt);
  2554. var objParam = new Object();
  2555. objParam.xml_data_XML1 = objDOM.documentElement.source;
  2556. var option = "directprint=1; printdialog=0; print=1;";
  2557. rptf_exeReportPreview30(["RPAHR02407"],[objParam], option);
  2558. sysf_messageBox("직원건강검진 확인표 및 구강검진 문진표가 출력되었습니다.\n검진예약 당일에 반드시 가지고 오십시오." , "I");
  2559. }
  2560. }
  2561. //대상자 선택시
  2562. function fn_grd_acptlist_oncellclick(currcol, popupyn){
  2563. if(!utlf_isNull(patUserFlag) && currcol < 0) {
  2564. sysf_messageBox("문진 작성이" , "I002");
  2565. fprnt(); //20200417 고영민 직원검진 저장 시 확인표, 구강검진 문진표 출력
  2566. this.reload(); //환자 문진 저장시 초기화
  2567. }
  2568. //if(e.row < 0 && e.col < 0) return false; //그리드의 셀 이외의 곳을 클릭하면 종료한다. 헤더부분을 클릭하면 종료한다.
  2569. var sPid = ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "pid");
  2570. if(utlf_isNull(sPid)){
  2571. sysf_messageBox("환자가 선택되지 않았습니다." , "E");
  2572. return;
  2573. }
  2574. if (utlf_isNull(popupyn)){
  2575. popupyn = false;
  2576. }
  2577. //화면상단정보 설정(2018/11/05 이정택)
  2578. var sPid = ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "pid");
  2579. var sOrddd = ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "orddd");
  2580. var iCretno = ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "cretno")
  2581. if(!utlf_isNull(sPid) && !utlf_isNull(sOrddd) && !utlf_isNull(iCretno) && (iCretno != "0" )){
  2582. if (!popupyn){
  2583. ahafSetScreenTopPatInfo( sPid, sOrddd, iCretno );
  2584. }
  2585. }
  2586. //화면상단정보 설정(2018/11/05 이정택)
  2587. var nRow = ds_main_acptlist.rowposition;
  2588. var instcd = ds_main_acptlist.getColumn(nRow, "instcd");
  2589. var pid = ds_main_acptlist.getColumn(nRow, "pid");
  2590. var orddd = ds_main_acptlist.getColumn(nRow, "orddd");
  2591. var cretno = ds_main_acptlist.getColumn(nRow, "cretno");
  2592. var searchdd = ds_main_acptlist.getColumn(nRow, "orddd");
  2593. //선택한 column no 세팅
  2594. curr_colno = currcol;
  2595. // trace("curr_colno="+curr_colno)
  2596. //팝업으로 문진이 열려져 있을경우 환자 변경시는 강제로 닫음
  2597. var obj2 = frmf_findPopup("SSMMR01100");
  2598. if(!utlf_isNull(obj2)){
  2599. obj2.close();
  2600. }
  2601. //팝업으로 문진이 열려져 있을경우 환자 변경시는 강제로 닫음
  2602. //임시/인증저장여부
  2603. if(ds_send.getColumn(0, "srchhealexamdetlflag") != "G17"){
  2604. a_g01_1_p_tyn = ds_main_acptlist.getColumn(nRow, "a_g01_1_p_tyn"); // 1차검진판정
  2605. }
  2606. else{
  2607. a_g01_2_p_tyn = ds_main_acptlist.getColumn(nRow, "a_g01_2_p_tyn"); // 의료급여생애판정
  2608. }
  2609. //a_g01_2_p_tyn = ds_main_acptlist.getColumn(nRow, "a_g01_2_p_tyn"); // 의료급여생애판정
  2610. // a_etc_1_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_1_p_tyn"); // 검진추가문진
  2611. // a_etc_2_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_2_p_tyn"); // 인지기능장애
  2612. // a_etc_3_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_3_p_tyn"); // 정신건강검사
  2613. //formrecseq조회
  2614. // a_etc_1_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_1_p_formrecseq"); // 검진추가문진
  2615. // a_etc_2_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_2_p_formrecseq"); // 인지기능장애
  2616. // a_etc_3_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_3_p_formrecseq"); // 정신건강검사
  2617. var orddeptcd = ds_main_acptlist.getColumn(nRow, "orddeptcd");
  2618. var ordtype = "S";
  2619. var formcd = "";
  2620. var espiseq = "";
  2621. //서식을 건진분류 및 건진구분으로 분기처리
  2622. var srchhealexamgubun = ds_send.getColumn(0, "srchhealexamgubun"); // 건진분류
  2623. var srchhealexamdetlflag= ds_send.getColumn(0, "srchhealexamdetlflag"); // 건진구분
  2624. if( utlf_isNull(pid) || utlf_isNull(orddd) || utlf_isNull(cretno) ){
  2625. sysf_messageBox("환자가 선택되지 " , "E007");
  2626. return;
  2627. }
  2628. if (!popupyn){
  2629. ivw_loader.ivw_base.url = "";
  2630. }
  2631. // 서식 로드
  2632. var vFormKind = "new";
  2633. if (srchhealexamdetlflag=='G01' || srchhealexamdetlflag=='G17' || srchhealexamdetlflag=='C01') {
  2634. a_g01_3_p_tyn = ds_main_acptlist.getColumn(nRow, "a_g01_3_p_tyn"); // 생활습관평가판정
  2635. a_etc_4_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_4_p_tyn"); // 흡연평가도구
  2636. a_etc_5_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_5_p_tyn"); // 금연처방전
  2637. a_etc_6_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_6_p_tyn"); // 음주평가도구
  2638. a_etc_7_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_7_p_tyn"); // 금주처방전
  2639. a_etc_8_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_8_p_tyn"); // 운동평가도구
  2640. a_etc_9_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_9_p_tyn"); // 운동처방전
  2641. a_etc_10_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_10_p_tyn"); // 영양평가도구
  2642. a_etc_11_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_11_p_tyn"); // 영양처방전
  2643. a_etc_12_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_12_p_tyn"); // 비만평가도구
  2644. a_etc_13_p_tyn = ds_main_acptlist.getColumn(nRow, "a_etc_13_p_tyn"); // 비만처방전
  2645. if(a_g01_3_p_tyn=='Y' && a_etc_4_p_tyn=='Y' && a_etc_5_p_tyn=='Y' && a_etc_6_p_tyn=='Y' && a_etc_7_p_tyn=='Y' && a_etc_8_p_tyn=='Y' &&
  2646. a_etc_9_p_tyn=='Y' && a_etc_10_p_tyn=='Y' && a_etc_11_p_tyn=='Y' && a_etc_12_p_tyn=='Y' && a_etc_13_p_tyn=='Y'){
  2647. etc_all_yn = true;
  2648. }
  2649. }
  2650. if(((srchhealexamgubun=='A' || srchhealexamgubun=='H') && srchhealexamdetlflag=='G01') || srchhealexamdetlflag=='C01'){ // 공단검진/통합건진-공단(직장+성인병) or 종합검진
  2651. a_g01_m_tyn = ds_main_acptlist.getColumn(nRow, "a_g01_m_tyn"); // 1차검진문진
  2652. a_g01_m_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_m_formrecseq"); // 1차검진문진
  2653. a_g01_1_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_1_p_formrecseq"); // 1차검진판정
  2654. a_g01_3_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_3_p_formrecseq"); // 생활습관평가판정
  2655. a_etc_4_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_4_p_formrecseq"); // 흡연평가도구
  2656. a_etc_5_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_5_p_formrecseq"); // 금연처방전
  2657. a_etc_6_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_6_p_formrecseq"); // 음주평가도구
  2658. a_etc_7_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_7_p_formrecseq"); // 금주처방전
  2659. a_etc_8_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_8_p_formrecseq"); // 운동평가도구
  2660. a_etc_9_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_9_p_formrecseq"); // 운동처방전
  2661. a_etc_10_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_10_p_formrecseq"); // 영양평가도구
  2662. a_etc_11_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_11_p_formrecseq"); // 영양처방전
  2663. a_etc_12_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_12_p_formrecseq"); // 비만평가도구
  2664. a_etc_13_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_13_p_formrecseq"); // 비만처방전
  2665. a_g01_m_espiseq = ds_main_acptlist.getColumn(nRow, "a_g01_m_espiseq"); // 1차검진문진
  2666. a_g01_1_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_g01_1_p_espiseq"); // 1차검진판정
  2667. a_g01_3_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_g01_3_p_espiseq"); // 생활습관평가판정
  2668. a_etc_4_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_4_p_espiseq"); // 흡연평가도구
  2669. a_etc_5_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_5_p_espiseq"); // 금연처방전
  2670. a_etc_6_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_6_p_espiseq"); // 음주평가도구
  2671. a_etc_7_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_7_p_espiseq"); // 금주처방전
  2672. a_etc_8_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_8_p_espiseq"); // 운동평가도구
  2673. a_etc_9_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_9_p_espiseq"); // 운동처방전
  2674. a_etc_10_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_10_p_espiseq"); // 영양평가도구
  2675. a_etc_11_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_11_p_espiseq"); // 영양처방전
  2676. a_etc_12_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_12_p_espiseq"); // 비만평가도구
  2677. a_etc_13_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_13_p_espiseq"); // 비만처방전
  2678. if(curr_colno<='29'){ // 1차문진
  2679. if(utlf_isNull(a_g01_m_formrecseq)){
  2680. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 1), "cdid");
  2681. searchdd = "";
  2682. }else if(!utlf_isNull(a_g01_m_formrecseq) && (a_g01_m_tyn=='T' || popupyn == true) ){ //1차 문진 임시저장
  2683. vFormKind = "rec";
  2684. formcd = a_g01_m_formrecseq;
  2685. espiseq = a_g01_m_espiseq;
  2686. searchdd = "";
  2687. }else if(utlf_isNull(a_g01_1_p_formrecseq)){ //문진(O), 판정(X)
  2688. if((ds_main_acptlist.getColumn(nRow, "age2")=='40'||ds_main_acptlist.getColumn(nRow, "age2")=='50'||
  2689. ds_main_acptlist.getColumn(nRow, "age2")=='60'||ds_main_acptlist.getColumn(nRow, "age2")=='70') && etc_all_yn==false){ //생활습관 평가 대상자로 생활습관관련 문진표 및 평가지 확인
  2690. sysf_messageBox("생활습관 평가 대상자입니다.\n생활습관 관련 문진 및 처방 인증저장시에만 정확한 데이터가 연동됩니다." , "I");
  2691. }
  2692. vFormKind = "rec";
  2693. formcd = a_g01_m_formrecseq; //ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 1), "cdid");
  2694. espiseq = a_g01_m_espiseq;
  2695. searchdd = "";
  2696. //fn_popup_cellclick(grp_btn_G01.btn_a_g01_1_p_tyn, "판정", "문진");
  2697. }else if(!utlf_isNull(a_g01_1_p_formrecseq)){ //문진(O), 판정(X)
  2698. vFormKind = "rec";
  2699. //formcd = a_g01_1_p_formrecseq;
  2700. //espiseq = a_g01_1_p_espiseq;
  2701. formcd = a_g01_m_formrecseq;
  2702. espiseq = a_g01_m_espiseq;
  2703. searchdd = "";
  2704. }
  2705. }else if(curr_colno=='30'){ // 1차판정
  2706. if(utlf_isNull(a_g01_m_formrecseq)){
  2707. sysf_messageBox("1차문진이 작성되어 있지 않습니다." , "E");
  2708. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 1), "cdid");
  2709. searchdd = "";
  2710. }else if(!utlf_isNull(a_g01_m_formrecseq) && a_g01_m_tyn=='T'){ //1차 문진 임시저장
  2711. sysf_messageBox("1차문진이 임시저장 되어 있습니다." , "E");
  2712. vFormKind = "rec";
  2713. formcd = a_g01_m_formrecseq;
  2714. espiseq = a_g01_1_p_espiseq;
  2715. searchdd = "";
  2716. }else if(utlf_isNull(a_g01_1_p_formrecseq)){ //문진(O), 판정(X)
  2717. if((ds_main_acptlist.getColumn(nRow, "age2")=='40'||ds_main_acptlist.getColumn(nRow, "age2")=='50'||
  2718. ds_main_acptlist.getColumn(nRow, "age2")=='60'||ds_main_acptlist.getColumn(nRow, "age2")=='70') && etc_all_yn==false){ //생활습관 평가 대상자로 생활습관관련 문진표 및 평가지 확인
  2719. sysf_messageBox("생활습관 평가 대상자입니다.\n생활습관 관련 문진 및 처방 인증저장시에만 정확한 데이터가 연동됩니다." , "I");
  2720. }
  2721. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 2), "cdid");
  2722. searchdd = "";
  2723. }else if(!utlf_isNull(a_g01_1_p_formrecseq)){ //문진(O), 판정(X)
  2724. vFormKind = "rec";
  2725. formcd = a_g01_1_p_formrecseq;
  2726. espiseq = a_g01_1_p_espiseq;
  2727. searchdd = "";
  2728. }
  2729. }else if(curr_colno=='31'){ // 흡연평가도구
  2730. if(utlf_isNull(a_etc_4_p_formrecseq)){
  2731. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 16), "cdid");
  2732. espiseq = '';
  2733. searchdd = "";
  2734. }else if(!utlf_isNull(a_etc_4_p_formrecseq)){
  2735. vFormKind = "rec";
  2736. formcd = a_etc_4_p_formrecseq;
  2737. espiseq = a_etc_4_p_espiseq;
  2738. searchdd = "";
  2739. }
  2740. }else if(curr_colno=='32'){ // 금연처방전
  2741. // if(utlf_isNull(a_etc_4_p_formrecseq)){
  2742. // sysf_messageBox("흡연평가도구가 작성되어 있지 않습니다." , "E");
  2743. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 16), "cdid");
  2744. // searchdd = "";
  2745. // }else if(!utlf_isNull(a_etc_4_p_formrecseq) && a_etc_4_p_tyn=='T'){ //흡연평가도구 임시저장
  2746. // sysf_messageBox("흡연평가도구가 임시저장 되어 있습니다." , "E");
  2747. // vFormKind = "rec";
  2748. // formcd = a_etc_4_p_formrecseq;
  2749. // espiseq = a_etc_4_p_espiseq;
  2750. // searchdd = "";
  2751. // }else
  2752. if(utlf_isNull(a_etc_5_p_formrecseq)){
  2753. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 17), "cdid");
  2754. searchdd = "";
  2755. }else if(!utlf_isNull(a_etc_5_p_formrecseq)){
  2756. vFormKind = "rec";
  2757. formcd = a_etc_5_p_formrecseq;
  2758. espiseq = a_etc_5_p_espiseq;
  2759. searchdd = "";
  2760. }
  2761. }else if(curr_colno=='33'){ //음주평가도구
  2762. if(utlf_isNull(a_etc_6_p_formrecseq)){
  2763. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 18), "cdid");
  2764. searchdd = "";
  2765. }else if(!utlf_isNull(a_etc_6_p_formrecseq)){
  2766. vFormKind = "rec";
  2767. formcd = a_etc_6_p_formrecseq;
  2768. espiseq = a_etc_6_p_espiseq;
  2769. searchdd = "";
  2770. }
  2771. }else if(curr_colno=='34'){ //금주처방전
  2772. // if(utlf_isNull(a_etc_6_p_formrecseq)){
  2773. // sysf_messageBox("음주평가도구가 작성되어 있지 않습니다." , "E");
  2774. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 18), "cdid");
  2775. // searchdd = "";
  2776. // }else if(!utlf_isNull(a_etc_6_p_formrecseq) && a_etc_6_p_tyn=='T'){ //음주평가도구 임시저장
  2777. // sysf_messageBox("음주평가도구가 임시저장 되어 있습니다." , "E");
  2778. // vFormKind = "rec";
  2779. // formcd = a_etc_6_p_formrecseq;
  2780. // espiseq = a_etc_6_p_espiseq;
  2781. // searchdd = "";
  2782. // }else
  2783. if(utlf_isNull(a_etc_7_p_formrecseq)){
  2784. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 19), "cdid");
  2785. searchdd = "";
  2786. }else if(!utlf_isNull(a_etc_7_p_formrecseq)){
  2787. vFormKind = "rec";
  2788. formcd = a_etc_7_p_formrecseq;
  2789. espiseq = a_etc_7_p_espiseq;
  2790. searchdd = "";
  2791. }
  2792. }else if(curr_colno=='35'){ //운동평가도구
  2793. if(utlf_isNull(a_etc_8_p_formrecseq)){
  2794. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 20), "cdid");
  2795. searchdd = "";
  2796. }else if(!utlf_isNull(a_etc_8_p_formrecseq)){
  2797. vFormKind = "rec";
  2798. formcd = a_etc_8_p_formrecseq;
  2799. espiseq = a_etc_8_p_espiseq;
  2800. searchdd = "";
  2801. }
  2802. }else if(curr_colno=='36'){ //운동처방전
  2803. // if(utlf_isNull(a_etc_8_p_formrecseq)){
  2804. // sysf_messageBox("운동평가도구가 작성되어 있지 않습니다." , "E");
  2805. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 20), "cdid");
  2806. // searchdd = "";
  2807. // }else if(!utlf_isNull(a_etc_8_p_formrecseq) && a_etc_8_p_tyn=='T'){ //음주평가도구 임시저장
  2808. // sysf_messageBox("운동평가도구가 임시저장 되어 있습니다." , "E");
  2809. // vFormKind = "rec";
  2810. // formcd = a_etc_8_p_formrecseq;
  2811. // espiseq = a_etc_9_p_espiseq;
  2812. // searchdd = "";
  2813. // }else
  2814. if(utlf_isNull(a_etc_9_p_formrecseq)){
  2815. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 21), "cdid");
  2816. searchdd = "";
  2817. }else if(!utlf_isNull(a_etc_9_p_formrecseq)){
  2818. vFormKind = "rec";
  2819. formcd = a_etc_9_p_formrecseq;
  2820. espiseq = a_etc_9_p_espiseq;
  2821. searchdd = "";
  2822. }
  2823. }else if(curr_colno=='37'){ //영양평가도구
  2824. if(utlf_isNull(a_etc_10_p_formrecseq)){
  2825. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 22), "cdid");
  2826. searchdd = "";
  2827. }else if(!utlf_isNull(a_etc_10_p_formrecseq)){
  2828. vFormKind = "rec";
  2829. formcd = a_etc_10_p_formrecseq;
  2830. espiseq = a_etc_10_p_espiseq;
  2831. searchdd = "";
  2832. }
  2833. }else if(curr_colno=='38'){ //영양처방전
  2834. // if(utlf_isNull(a_etc_10_p_formrecseq)){
  2835. // sysf_messageBox("영양평가도구가 작성되어 있지 않습니다." , "E");
  2836. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 22), "cdid");
  2837. // searchdd = "";
  2838. // }else if(!utlf_isNull(a_etc_10_p_formrecseq) && a_etc_10_p_tyn=='T'){ //음주평가도구 임시저장
  2839. // sysf_messageBox("영양평가도구가 임시저장 되어 있습니다." , "E");
  2840. // vFormKind = "rec";
  2841. // formcd = a_etc_10_p_formrecseq;
  2842. // espiseq = a_etc_10_p_espiseq;
  2843. // searchdd = "";
  2844. // }else
  2845. if(utlf_isNull(a_etc_11_p_formrecseq)){
  2846. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 23), "cdid");
  2847. searchdd = "";
  2848. }else if(!utlf_isNull(a_etc_11_p_formrecseq)){
  2849. vFormKind = "rec";
  2850. formcd = a_etc_11_p_formrecseq;
  2851. espiseq = a_etc_11_p_espiseq;
  2852. searchdd = "";
  2853. }
  2854. }else if(curr_colno=='39'){ //비만평가도구
  2855. if(utlf_isNull(a_etc_12_p_formrecseq)){
  2856. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 24), "cdid");
  2857. searchdd = "";
  2858. }else if(!utlf_isNull(a_etc_12_p_formrecseq)){
  2859. vFormKind = "rec";
  2860. formcd = a_etc_12_p_formrecseq;
  2861. espiseq = a_etc_12_p_espiseq;
  2862. searchdd = "";
  2863. }
  2864. }else if(curr_colno=='40'){ //비만처방전
  2865. // if(utlf_isNull(a_etc_12_p_formrecseq)){
  2866. // sysf_messageBox("비만평가도구가 작성되어 있지 않습니다." , "E");
  2867. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 24), "cdid");
  2868. // searchdd = "";
  2869. // }else if(!utlf_isNull(a_etc_12_p_formrecseq) && a_etc_12_p_tyn=='T'){ //음주평가도구 임시저장
  2870. // sysf_messageBox("비만평가도구가 임시저장 되어 있습니다." , "E");
  2871. // vFormKind = "rec";
  2872. // formcd = a_etc_12_p_formrecseq;
  2873. // espiseq = a_etc_10_p_espiseq;
  2874. // searchdd = "";
  2875. // }else
  2876. if(utlf_isNull(a_etc_13_p_formrecseq)){
  2877. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 25), "cdid");
  2878. searchdd = "";
  2879. }else if(!utlf_isNull(a_etc_13_p_formrecseq)){
  2880. vFormKind = "rec";
  2881. formcd = a_etc_13_p_formrecseq;
  2882. espiseq = a_etc_13_p_espiseq;
  2883. searchdd = "";
  2884. }
  2885. }else if(curr_colno=='41'){ //생활습관평가판정
  2886. // if(a_etc_4_p_tyn!='Y'){
  2887. // sysf_messageBox("흡연평가도구가 인증저장 되어 있지 않습니다." , "E");
  2888. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 16), "cdid");
  2889. // searchdd = "";
  2890. // }else if(a_etc_5_p_tyn!='Y'){
  2891. // sysf_messageBox("금연처방전이 인증저장 되어 있지 않습니다." , "E");
  2892. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 17), "cdid");
  2893. // searchdd = "";
  2894. // }else if(a_etc_6_p_tyn!='Y'){
  2895. // sysf_messageBox("음주평가도구가 인증저장 되어 있지 않습니다." , "E");
  2896. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 18), "cdid");
  2897. // searchdd = "";
  2898. // }else if(a_etc_7_p_tyn!='Y'){
  2899. // sysf_messageBox("금주처방전이 인증저장 되어 있지 않습니다." , "E");
  2900. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 19), "cdid");
  2901. // searchdd = "";
  2902. // }else if(a_etc_8_p_tyn!='Y'){
  2903. // sysf_messageBox("운동평가도구가 인증저장 되어 있지 않습니다." , "E");
  2904. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 20), "cdid");
  2905. // searchdd = "";
  2906. // }else if(a_etc_9_p_tyn!='Y'){
  2907. // sysf_messageBox("운동처방전이 인증저장 되어 있지 않습니다." , "E");
  2908. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 21), "cdid");
  2909. // searchdd = "";
  2910. // }else if(a_etc_10_p_tyn!='Y'){
  2911. // sysf_messageBox("영양평가도구가 인증저장 되어 있지 않습니다." , "E");
  2912. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 22), "cdid");
  2913. // searchdd = "";
  2914. // }else if(a_etc_11_p_tyn!='Y'){
  2915. // sysf_messageBox("영양처방전이 인증저장 되어 있지 않습니다." , "E");
  2916. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 23), "cdid");
  2917. // searchdd = "";
  2918. // }else if(a_etc_12_p_tyn!='Y'){
  2919. // sysf_messageBox("비만평가도구가 인증저장 되어 있지 않습니다." , "E");
  2920. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 24), "cdid");
  2921. // searchdd = "";
  2922. // }else if(a_etc_13_p_tyn!='Y'){
  2923. // sysf_messageBox("비만처방전이 인증저장 되어 있지 않습니다." , "E");
  2924. // formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 25), "cdid");
  2925. // searchdd = "";
  2926. // }else
  2927. if(utlf_isNull(a_g01_3_p_formrecseq)){
  2928. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 4), "cdid");
  2929. searchdd = "";
  2930. }else if(!utlf_isNull(a_g01_3_p_formrecseq)){
  2931. vFormKind = "rec";
  2932. formcd = a_g01_3_p_formrecseq;
  2933. espiseq = a_g01_3_p_espiseq;
  2934. searchdd = "";
  2935. }
  2936. }
  2937. }else if((srchhealexamgubun=='A' || srchhealexamgubun=='H') && srchhealexamdetlflag=='G17'){ // 공단건진/통합건진(의료급여생애)
  2938. a_g01_m_tyn = ds_main_acptlist.getColumn(nRow, "a_g01_m_tyn"); // 1차검진문진
  2939. a_g01_m_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_m_formrecseq"); // 1차검진문진
  2940. a_g01_3_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_3_p_formrecseq"); // 생활습관평가판정
  2941. a_g01_2_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_2_p_formrecseq"); // 의료급여생애판정
  2942. a_etc_4_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_4_p_formrecseq"); // 흡연평가도구
  2943. a_etc_5_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_5_p_formrecseq"); // 금연처방전
  2944. a_etc_6_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_6_p_formrecseq"); // 음주평가도구
  2945. a_etc_7_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_7_p_formrecseq"); // 금주처방전
  2946. a_etc_8_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_8_p_formrecseq"); // 운동평가도구
  2947. a_etc_9_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_9_p_formrecseq"); // 운동처방전
  2948. a_etc_10_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_10_p_formrecseq"); // 영양평가도구
  2949. a_etc_11_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_11_p_formrecseq"); // 영양처방전
  2950. a_etc_12_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_12_p_formrecseq"); // 비만평가도구
  2951. a_etc_13_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_13_p_formrecseq"); // 비만처방전
  2952. a_g01_m_espiseq = ds_main_acptlist.getColumn(nRow, "a_g01_m_espiseq"); // 1차검진문진
  2953. a_g01_3_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_g01_3_p_espiseq"); // 생활습관평가판정
  2954. a_etc_4_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_4_p_espiseq"); // 흡연평가도구
  2955. a_etc_5_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_5_p_espiseq"); // 금연처방전
  2956. a_etc_6_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_6_p_espiseq"); // 음주평가도구
  2957. a_etc_7_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_7_p_espiseq"); // 금주처방전
  2958. a_etc_8_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_8_p_espiseq"); // 운동평가도구
  2959. a_etc_9_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_9_p_espiseq"); // 운동처방전
  2960. a_etc_10_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_10_p_espiseq"); // 영양평가도구
  2961. a_etc_11_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_11_p_espiseq"); // 영양처방전
  2962. a_etc_12_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_12_p_espiseq"); // 비만평가도구
  2963. a_etc_13_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_etc_13_p_espiseq"); // 비만처방전
  2964. if(curr_colno<='29'){ // 1차문진
  2965. if(utlf_isNull(a_g01_m_formrecseq)){
  2966. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 1), "cdid");
  2967. searchdd = "";
  2968. }else if(!utlf_isNull(a_g01_m_formrecseq) && (a_g01_m_tyn=='T' || popupyn == true)){ //1차 문진 임시저장
  2969. vFormKind = "rec";
  2970. formcd = a_g01_m_formrecseq;
  2971. espiseq = a_g01_m_espiseq;
  2972. searchdd = "";
  2973. }else if(utlf_isNull(a_g01_2_p_formrecseq)){ //문진(O), 판정(X)
  2974. if(ds_main_acptlist.getColumn(nRow, "age2")=='70' && etc_all_yn==false){ //생활습관 평가 대상자로 생활습관관련 문진표 및 평가지 확인
  2975. sysf_messageBox("생활습관 평가 대상자입니다.\n생활습관 관련 문진 및 처방 인증저장시에만 정확한 데이터가 연동됩니다." , "I");
  2976. }
  2977. vFormKind = "rec";
  2978. formcd = a_g01_m_formrecseq
  2979. searchdd = "";
  2980. }else if(!utlf_isNull(a_g01_2_p_formrecseq)){ //문진(O), 판정(X)
  2981. vFormKind = "rec";
  2982. formcd = a_g01_m_formrecseq;
  2983. espiseq = a_g01_m_espiseq;
  2984. searchdd = "";
  2985. }
  2986. }else if(curr_colno=='30'){ // 1차판정
  2987. if(utlf_isNull(a_g01_m_formrecseq)){
  2988. sysf_messageBox("1차문진이 작성되어 있지 않습니다." , "E");
  2989. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 1), "cdid");
  2990. searchdd = "";
  2991. }else if(!utlf_isNull(a_g01_m_formrecseq) && a_g01_m_tyn=='T'){ //1차 문진 임시저장
  2992. sysf_messageBox("1차문진이 임시저장 되어 있습니다." , "E");
  2993. vFormKind = "rec";
  2994. formcd = a_g01_m_formrecseq;
  2995. espiseq = a_g01_m_espiseq;
  2996. searchdd = "";
  2997. }else if(utlf_isNull(a_g01_2_p_formrecseq)){ //문진(O), 판정(X)
  2998. if(ds_main_acptlist.getColumn(nRow, "age2")=='70' && etc_all_yn==false){ //생활습관 평가 대상자로 생활습관관련 문진표 및 평가지 확인
  2999. sysf_messageBox("생활습관 평가 대상자입니다.\n생활습관 관련 문진 및 처방 인증저장시에만 정확한 데이터가 연동됩니다." , "I");
  3000. }
  3001. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 3), "cdid");
  3002. searchdd = "";
  3003. }else if(!utlf_isNull(a_g01_2_p_formrecseq)){ //문진(O), 판정(X)
  3004. vFormKind = "rec";
  3005. formcd = a_g01_2_p_formrecseq;
  3006. espiseq = a_g01_2_p_espiseq;
  3007. searchdd = "";
  3008. }
  3009. }else if(curr_colno=='31'){ // 흡연평가도구
  3010. if(utlf_isNull(a_etc_4_p_formrecseq)){
  3011. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 16), "cdid");
  3012. searchdd = "";
  3013. }else if(!utlf_isNull(a_etc_4_p_formrecseq)){
  3014. vFormKind = "rec";
  3015. formcd = a_etc_4_p_formrecseq;
  3016. espiseq = a_etc_4_p_espiseq;
  3017. searchdd = "";
  3018. }
  3019. }else if(curr_colno=='32'){ // 금연처방전
  3020. if(utlf_isNull(a_etc_4_p_formrecseq)){
  3021. sysf_messageBox("흡연평가도구가 작성되어 있지 않습니다." , "E");
  3022. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 16), "cdid");
  3023. searchdd = "";
  3024. }else if(!utlf_isNull(a_etc_4_p_formrecseq) && a_etc_4_p_tyn=='T'){ //흡연평가도구 임시저장
  3025. sysf_messageBox("흡연평가도구가 임시저장 되어 있습니다." , "E");
  3026. vFormKind = "rec";
  3027. formcd = a_etc_4_p_formrecseq;
  3028. espiseq = a_etc_4_p_espiseq;
  3029. searchdd = "";
  3030. }else if(utlf_isNull(a_etc_5_p_formrecseq)){
  3031. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 17), "cdid");
  3032. searchdd = "";
  3033. }else if(!utlf_isNull(a_etc_5_p_formrecseq)){
  3034. vFormKind = "rec";
  3035. formcd = a_etc_5_p_formrecseq;
  3036. espiseq = a_etc_5_p_espiseq;
  3037. searchdd = "";
  3038. }
  3039. }else if(curr_colno=='33'){ //음주평가도구
  3040. if(utlf_isNull(a_etc_6_p_formrecseq)){
  3041. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 18), "cdid");
  3042. searchdd = "";
  3043. }else if(!utlf_isNull(a_etc_6_p_formrecseq)){
  3044. vFormKind = "rec";
  3045. formcd = a_etc_6_p_formrecseq;
  3046. espiseq = a_etc_6_p_espiseq;
  3047. searchdd = "";
  3048. }
  3049. }else if(curr_colno=='34'){ //금주처방전
  3050. if(utlf_isNull(a_etc_6_p_formrecseq)){
  3051. sysf_messageBox("음주평가도구가 작성되어 있지 않습니다." , "E");
  3052. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 18), "cdid");
  3053. searchdd = "";
  3054. }else if(!utlf_isNull(a_etc_6_p_formrecseq) && a_etc_6_p_tyn=='T'){ //음주평가도구 임시저장
  3055. sysf_messageBox("음주평가도구가 임시저장 되어 있습니다." , "E");
  3056. vFormKind = "rec";
  3057. formcd = a_etc_6_p_formrecseq;
  3058. espiseq = a_etc_6_p_espiseq;
  3059. searchdd = "";
  3060. }else if(utlf_isNull(a_etc_7_p_formrecseq)){
  3061. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 19), "cdid");
  3062. searchdd = "";
  3063. }else if(!utlf_isNull(a_etc_7_p_formrecseq)){
  3064. vFormKind = "rec";
  3065. formcd = a_etc_7_p_formrecseq;
  3066. espiseq = a_etc_7_p_espiseq;
  3067. searchdd = "";
  3068. }
  3069. }else if(curr_colno=='35'){ //운동평가도구
  3070. if(utlf_isNull(a_etc_8_p_formrecseq)){
  3071. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 20), "cdid");
  3072. searchdd = "";
  3073. }else if(!utlf_isNull(a_etc_8_p_formrecseq)){
  3074. vFormKind = "rec";
  3075. formcd = a_etc_8_p_formrecseq;
  3076. espiseq = a_etc_8_p_espiseq;
  3077. searchdd = "";
  3078. }
  3079. }else if(curr_colno=='36'){ //운동처방전
  3080. if(utlf_isNull(a_etc_8_p_formrecseq)){
  3081. sysf_messageBox("운동평가도구가 작성되어 있지 않습니다." , "E");
  3082. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 20), "cdid");
  3083. searchdd = "";
  3084. }else if(!utlf_isNull(a_etc_8_p_formrecseq) && a_etc_8_p_tyn=='T'){ //음주평가도구 임시저장
  3085. sysf_messageBox("운동평가도구가 임시저장 되어 있습니다." , "E");
  3086. vFormKind = "rec";
  3087. formcd = a_etc_8_p_formrecseq;
  3088. espiseq = a_etc_8_p_espiseq;
  3089. searchdd = "";
  3090. }else if(utlf_isNull(a_etc_9_p_formrecseq)){
  3091. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 21), "cdid");
  3092. searchdd = "";
  3093. }else if(!utlf_isNull(a_etc_9_p_formrecseq)){
  3094. vFormKind = "rec";
  3095. formcd = a_etc_9_p_formrecseq;
  3096. espiseq = a_etc_9_p_espiseq;
  3097. searchdd = "";
  3098. }
  3099. }else if(curr_colno=='37'){ //영양평가도구
  3100. if(utlf_isNull(a_etc_10_p_formrecseq)){
  3101. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 22), "cdid");
  3102. searchdd = "";
  3103. }else if(!utlf_isNull(a_etc_10_p_formrecseq)){
  3104. vFormKind = "rec";
  3105. formcd = a_etc_10_p_formrecseq;
  3106. espiseq = a_etc_10_p_espiseq;
  3107. searchdd = "";
  3108. }
  3109. }else if(curr_colno=='38'){ //영양처방전
  3110. if(utlf_isNull(a_etc_10_p_formrecseq)){
  3111. sysf_messageBox("영양평가도구가 작성되어 있지 않습니다." , "E");
  3112. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 22), "cdid");
  3113. searchdd = "";
  3114. }else if(!utlf_isNull(a_etc_10_p_formrecseq) && a_etc_10_p_tyn=='T'){ //음주평가도구 임시저장
  3115. sysf_messageBox("영양평가도구가 임시저장 되어 있습니다." , "E");
  3116. vFormKind = "rec";
  3117. formcd = a_etc_10_p_formrecseq;
  3118. espiseq = a_etc_10_p_espiseq;
  3119. searchdd = "";
  3120. }else if(utlf_isNull(a_etc_11_p_formrecseq)){
  3121. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 23), "cdid");
  3122. searchdd = "";
  3123. }else if(!utlf_isNull(a_etc_11_p_formrecseq)){
  3124. vFormKind = "rec";
  3125. formcd = a_etc_11_p_formrecseq;
  3126. espiseq = a_etc_11_p_espiseq;
  3127. searchdd = "";
  3128. }
  3129. }else if(curr_colno=='39'){ //비만평가도구
  3130. if(utlf_isNull(a_etc_12_p_formrecseq)){
  3131. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 24), "cdid");
  3132. searchdd = "";
  3133. }else if(!utlf_isNull(a_etc_12_p_formrecseq)){
  3134. vFormKind = "rec";
  3135. formcd = a_etc_12_p_formrecseq;
  3136. espiseq = a_etc_12_p_espiseq;
  3137. searchdd = "";
  3138. }
  3139. }else if(curr_colno=='40'){ //비만처방전
  3140. if(utlf_isNull(a_etc_12_p_formrecseq)){
  3141. sysf_messageBox("비만평가도구가 작성되어 있지 않습니다." , "E");
  3142. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 24), "cdid");
  3143. searchdd = "";
  3144. }else if(!utlf_isNull(a_etc_12_p_formrecseq) && a_etc_12_p_tyn=='T'){ //음주평가도구 임시저장
  3145. sysf_messageBox("비만평가도구가 임시저장 되어 있습니다." , "E");
  3146. vFormKind = "rec";
  3147. formcd = a_etc_12_p_formrecseq;
  3148. espiseq = a_etc_13_p_espiseq;
  3149. searchdd = "";
  3150. }else if(utlf_isNull(a_etc_13_p_formrecseq)){
  3151. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 25), "cdid");
  3152. searchdd = "";
  3153. }else if(!utlf_isNull(a_etc_13_p_formrecseq)){
  3154. vFormKind = "rec";
  3155. formcd = a_etc_13_p_formrecseq;
  3156. espiseq = a_etc_13_p_espiseq;
  3157. searchdd = "";
  3158. }
  3159. }else if(curr_colno=='41'){ //생활습관평가판정
  3160. if(a_etc_4_p_tyn!='Y'){
  3161. sysf_messageBox("흡연평가도구가 인증저장 되어 있지 않습니다." , "E");
  3162. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 16), "cdid");
  3163. searchdd = "";
  3164. }else if(a_etc_5_p_tyn!='Y'){
  3165. sysf_messageBox("금연처방전이 인증저장 되어 있지 않습니다." , "E");
  3166. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 17), "cdid");
  3167. searchdd = "";
  3168. }else if(a_etc_6_p_tyn!='Y'){
  3169. sysf_messageBox("음주평가도구가 인증저장 되어 있지 않습니다." , "E");
  3170. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 18), "cdid");
  3171. searchdd = "";
  3172. }else if(a_etc_7_p_tyn!='Y'){
  3173. sysf_messageBox("금주처방전이 인증저장 되어 있지 않습니다." , "E");
  3174. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 19), "cdid");
  3175. searchdd = "";
  3176. }else if(a_etc_8_p_tyn!='Y'){
  3177. sysf_messageBox("운동평가도구가 인증저장 되어 있지 않습니다." , "E");
  3178. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 20), "cdid");
  3179. searchdd = "";
  3180. }else if(a_etc_9_p_tyn!='Y'){
  3181. sysf_messageBox("운동처방전이 인증저장 되어 있지 않습니다." , "E");
  3182. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 21), "cdid");
  3183. searchdd = "";
  3184. }else if(a_etc_10_p_tyn!='Y'){
  3185. sysf_messageBox("영양평가도구가 인증저장 되어 있지 않습니다." , "E");
  3186. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 22), "cdid");
  3187. searchdd = "";
  3188. }else if(a_etc_11_p_tyn!='Y'){
  3189. sysf_messageBox("영양처방전이 인증저장 되어 있지 않습니다." , "E");
  3190. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 23), "cdid");
  3191. searchdd = "";
  3192. }else if(a_etc_12_p_tyn!='Y'){
  3193. sysf_messageBox("비만평가도구가 인증저장 되어 있지 않습니다." , "E");
  3194. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 24), "cdid");
  3195. searchdd = "";
  3196. }else if(a_etc_13_p_tyn!='Y'){
  3197. sysf_messageBox("비만처방전이 인증저장 되어 있지 않습니다." , "E");
  3198. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 25), "cdid");
  3199. searchdd = "";
  3200. }else if(utlf_isNull(a_g01_3_p_formrecseq)){
  3201. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 4), "cdid");
  3202. searchdd = "";
  3203. }else if(!utlf_isNull(a_g01_3_p_formrecseq)){
  3204. vFormKind = "rec";
  3205. formcd = a_g01_3_p_formrecseq;
  3206. espiseq = a_g01_3_p_espiseq;
  3207. searchdd = "";
  3208. }
  3209. }
  3210. }else if((srchhealexamgubun=='A' || srchhealexamgubun=='H') && srchhealexamdetlflag=='G08'){ // 공단건진/통합건진(생애전환기)
  3211. a_g01_m_tyn = ds_main_acptlist.getColumn(nRow, "a_g01_m_tyn"); // 1차검진문진
  3212. a_g01_m_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_m_formrecseq"); // 1차검진문진
  3213. a_g01_2_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_2_p_formrecseq"); // 의료급여생애판정
  3214. a_g01_m_espiseq = ds_main_acptlist.getColumn(nRow, "a_g01_m_espiseq"); // 1차검진문진
  3215. a_g01_2_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_g01_2_p_espiseq"); // 의료급여생애판정
  3216. if(utlf_isNull(a_g01_m_formrecseq)){
  3217. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 1), "cdid");
  3218. searchdd = "";
  3219. }else if(!utlf_isNull(a_g01_m_formrecseq) && (a_g01_m_tyn=='T' || popupyn == true)){ //1차 문진 임시저장
  3220. vFormKind = "rec";
  3221. formcd = a_g01_m_formrecseq;
  3222. espiseq = a_g01_m_espiseq;
  3223. searchdd = "";
  3224. }else if(utlf_isNull(a_g01_2_p_formrecseq)){ //문진(O), 판정(X)
  3225. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 3), "cdid");
  3226. searchdd = "";
  3227. }else if(!utlf_isNull(a_g01_2_p_formrecseq)){ //문진(O), 판정(X)
  3228. vFormKind = "rec";
  3229. formcd = a_g01_2_p_formrecseq;
  3230. espiseq = a_g01_2_p_espiseq;
  3231. searchdd = "";
  3232. }
  3233. }else if((srchhealexamgubun=='A' || srchhealexamgubun=='H') && srchhealexamdetlflag=='G09'){ // 공단건진/통합건진-공단(암)
  3234. a_g09_m_tyn = ds_main_acptlist.getColumn(nRow, "a_g09_m_tyn"); // 암검진문진
  3235. a_g09_1_p_tyn = ds_main_acptlist.getColumn(nRow, "a_g09_1_p_tyn"); // 간암판정
  3236. a_g09_2_p_tyn = ds_main_acptlist.getColumn(nRow, "a_g09_2_p_tyn"); // 대장암판정
  3237. a_g09_3_p_tyn = ds_main_acptlist.getColumn(nRow, "a_g09_3_p_tyn"); // 위암판정
  3238. a_g09_4_p_tyn = ds_main_acptlist.getColumn(nRow, "a_g09_4_p_tyn"); // 유방암판정
  3239. a_g09_5_p_tyn = ds_main_acptlist.getColumn(nRow, "a_g09_5_p_tyn"); // 자궁경부암판정
  3240. a_g09_m_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_m_formrecseq"); // 암검진문진
  3241. a_g09_1_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_1_p_formrecseq"); // 간암판정
  3242. a_g09_2_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_2_p_formrecseq"); // 대장암판정
  3243. a_g09_3_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_3_p_formrecseq"); // 위암판정
  3244. a_g09_4_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_4_p_formrecseq"); // 유방암판정
  3245. a_g09_5_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_5_p_formrecseq"); // 자궁경부암판정
  3246. a_g09_m_espiseq = ds_main_acptlist.getColumn(nRow, "a_g09_m_espiseq"); // 암검진문진
  3247. a_g09_1_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_g09_1_p_espiseq"); // 간암판정
  3248. a_g09_2_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_g09_2_p_espiseq"); // 대장암판정
  3249. a_g09_3_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_g09_3_p_espiseq"); // 위암판정
  3250. a_g09_4_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_g09_4_p_espiseq"); // 유방암판정
  3251. a_g09_5_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_g09_5_p_espiseq"); // 자궁경부암판정
  3252. if(curr_colno<='29'){
  3253. if(utlf_isNull(a_g09_m_formrecseq)){ // 암검진문진(X)
  3254. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 5), "cdid");
  3255. searchdd = "";
  3256. }else if(!utlf_isNull(a_g09_m_formrecseq) ){ // 암검진문진(O)
  3257. vFormKind = "rec";
  3258. formcd = a_g09_m_formrecseq;
  3259. espiseq = a_g09_m_espiseq;
  3260. searchdd = "";
  3261. }
  3262. }else if(curr_colno=='30'){
  3263. if(utlf_isNull(a_g09_m_formrecseq)){ //암검진문진(X)
  3264. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 5), "cdid");
  3265. searchdd = "";
  3266. }else if(!utlf_isNull(a_g09_m_formrecseq) && a_g09_m_tyn == 'T'){ //암검진문진 임시저장
  3267. vFormKind = "rec";
  3268. formcd = a_g09_m_formrecseq;
  3269. espiseq = a_g09_m_espiseq;
  3270. searchdd = "";
  3271. }else if(utlf_isNull(a_g09_3_p_formrecseq)){ // 암검진문진(O), 위암판정(X)
  3272. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 8), "cdid");
  3273. searchdd = "";
  3274. }else if(!utlf_isNull(a_g09_3_p_formrecseq)){ // 위암판정(O)
  3275. vFormKind = "rec";
  3276. formcd = a_g09_3_p_formrecseq;
  3277. espiseq = a_g09_3_p_espiseq;
  3278. searchdd = "";
  3279. }
  3280. }else if(curr_colno=='31'){
  3281. if(utlf_isNull(a_g09_m_formrecseq)){ //암검진문진(X)
  3282. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 5), "cdid");
  3283. searchdd = "";
  3284. }else if(!utlf_isNull(a_g09_m_formrecseq) && a_g09_m_tyn == 'T'){ //암검진문진 임시저장
  3285. vFormKind = "rec";
  3286. formcd = a_g09_m_formrecseq;
  3287. espiseq = a_g09_m_espiseq;
  3288. searchdd = "";
  3289. }else if(utlf_isNull(a_g09_1_p_formrecseq)){ // 암검진문진(O), 간암판정(X)
  3290. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 6), "cdid");
  3291. searchdd = "";
  3292. }else if(!utlf_isNull(a_g09_1_p_formrecseq)){ // 간암판정(O)
  3293. vFormKind = "rec";
  3294. formcd = a_g09_1_p_formrecseq;
  3295. espiseq = a_g09_1_p_espiseq;
  3296. searchdd = "";
  3297. }
  3298. }else if(curr_colno=='32'){
  3299. if(utlf_isNull(a_g09_m_formrecseq)){ //암검진문진(X)
  3300. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 5), "cdid");
  3301. searchdd = "";
  3302. }else if(!utlf_isNull(a_g09_m_formrecseq) && a_g09_m_tyn == 'T'){ //암검진문진 임시저장
  3303. vFormKind = "rec";
  3304. formcd = a_g09_m_formrecseq;
  3305. espiseq = a_g09_m_espiseq;
  3306. searchdd = "";
  3307. }else if(utlf_isNull(a_g09_2_p_formrecseq)){ // 암검진문진(O), 대장암판정(X)
  3308. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 7), "cdid");
  3309. searchdd = "";
  3310. }else if(!utlf_isNull(a_g09_2_p_formrecseq)){ // 대장암판정(O)
  3311. vFormKind = "rec";
  3312. formcd = a_g09_2_p_formrecseq;
  3313. espiseq = a_g09_2_p_espiseq;
  3314. searchdd = "";
  3315. }
  3316. }else if(curr_colno=='33'){
  3317. if(utlf_isNull(a_g09_m_formrecseq)){ //암검진문진(X)
  3318. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 5), "cdid");
  3319. searchdd = "";
  3320. }else if(!utlf_isNull(a_g09_m_formrecseq) && a_g09_m_tyn == 'T'){ //암검진문진 임시저장
  3321. vFormKind = "rec";
  3322. formcd = a_g09_m_formrecseq;
  3323. espiseq = a_g09_m_espiseq;
  3324. searchdd = "";
  3325. }else if(utlf_isNull(a_g09_4_p_formrecseq)){ // 암검진문진(O), 유방암판정(X)
  3326. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 9), "cdid");
  3327. searchdd = "";
  3328. }else if(!utlf_isNull(a_g09_4_p_formrecseq)){ // 유방암판정(O)
  3329. vFormKind = "rec";
  3330. formcd = a_g09_4_p_formrecseq;
  3331. espiseq = a_g09_4_p_espiseq;
  3332. searchdd = "";
  3333. }
  3334. }else if(curr_colno=='34'){
  3335. if(utlf_isNull(a_g09_m_formrecseq)){ //암검진문진(X)
  3336. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 5), "cdid");
  3337. searchdd = "";
  3338. }else if(!utlf_isNull(a_g09_m_formrecseq) && a_g09_m_tyn == 'T'){ //암검진문진 임시저장
  3339. vFormKind = "rec";
  3340. formcd = a_g09_m_formrecseq;
  3341. espiseq = a_g09_m_espiseq;
  3342. searchdd = "";
  3343. }else if(utlf_isNull(a_g09_5_p_formrecseq)){ // 암검진문진(O), 자궁경부암판정(X)
  3344. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 10), "cdid");
  3345. searchdd = "";
  3346. }else if(!utlf_isNull(a_g09_5_p_formrecseq)){ // 자궁경부암판정(O)
  3347. vFormKind = "rec";
  3348. formcd = a_g09_5_p_formrecseq;
  3349. espiseq = a_g09_5_p_espiseq;
  3350. searchdd = "";
  3351. }
  3352. }
  3353. }else if((srchhealexamgubun=='A' || srchhealexamgubun=='H') && srchhealexamdetlflag=='G16'){ // 공단건진/통합건진-구강검진
  3354. a_g16_m_tyn = ds_main_acptlist.getColumn(nRow, "a_g16_m_tyn"); // 구강검진문진
  3355. a_g16_p_tyn = ds_main_acptlist.getColumn(nRow, "a_g16_p_tyn"); // 구강검진판정
  3356. a_g16_m_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g16_m_formrecseq"); // 구강검진문진
  3357. a_g16_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g16_p_formrecseq"); // 구강검진판정
  3358. a_g16_m_espiseq = ds_main_acptlist.getColumn(nRow, "a_g16_m_espiseq"); // 구강검진문진
  3359. a_g16_p_espiseq = ds_main_acptlist.getColumn(nRow, "a_g16_p_espiseq"); // 구강검진판정
  3360. grp_btn_G16.btn_a_g16_prnt.visible = false;
  3361. //2018/12/18 구강검진은 문진여부 상관없이 판정 입력 할 수 있도록 수정
  3362. if(curr_colno<='29'){
  3363. if(!utlf_isNull(a_g16_m_formrecseq)){
  3364. vFormKind = "rec";
  3365. formcd = a_g16_m_formrecseq;
  3366. espiseq = a_g16_m_espiseq;
  3367. searchdd = "";
  3368. }else{
  3369. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 11), "cdid");
  3370. searchdd = "";
  3371. }
  3372. }else if(curr_colno=='30'){
  3373. if(!utlf_isNull(a_g16_p_formrecseq)){
  3374. vFormKind = "rec";
  3375. formcd = a_g16_p_formrecseq;
  3376. espiseq = a_g16_p_espiseq;
  3377. searchdd = "";
  3378. grp_btn_G16.btn_a_g16_prnt.visible = true;
  3379. }else{
  3380. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 12), "cdid");
  3381. searchdd = "";
  3382. grp_btn_G16.btn_a_g16_prnt.visible = false;
  3383. }
  3384. }
  3385. //2018/12/18 구강검진은 문진여부 상관없이 판정 입력 할 수 있도록 수정
  3386. /*
  3387. if(utlf_isNull(a_g16_m_formrecseq)){ //구강검진문진(X)
  3388. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 11), "cdid");
  3389. searchdd = "";
  3390. }else if(!utlf_isNull(a_g16_m_formrecseq) && (a_g16_m_tyn == 'T' || popupyn == true)){ //구강검진문진 임시저장
  3391. vFormKind = "rec";
  3392. formcd = a_g16_m_formrecseq;
  3393. espiseq = a_g16_m_espiseq;
  3394. searchdd = "";
  3395. }else if(utlf_isNull(a_g16_p_formrecseq)){ // 구강검진문진(O), 구강검진판정(X)
  3396. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 12), "cdid");
  3397. searchdd = "";
  3398. }else if(!utlf_isNull(a_g16_p_formrecseq)){ // 구강검진판정(O)
  3399. vFormKind = "rec";
  3400. formcd = a_g16_p_formrecseq;
  3401. espiseq = a_g16_p_espiseq;
  3402. searchdd = "";
  3403. }
  3404. */
  3405. }
  3406. var objArg = new Object();
  3407. if (!popupyn) {
  3408. ds_cond_formdata.clearData();
  3409. ds_cond_formdata.addRow();
  3410. ds_cond_formdata.setColumn(0, "formcd", formcd); // 서식목록 - linkcd, 기록목록 - formrecseq 컬럼값.
  3411. ds_cond_formdata.setColumn(0, "formkind", vFormKind); // 서식목록 탭 - new , 기록목록 - rec // N(저장X) - new, T/Y(임시저장, 인증저장) - rec
  3412. ds_cond_formdata.setColumn(0, "btnvisible", false);
  3413. ds_cond_formdata.setColumn(0, "pid", pid);
  3414. ds_cond_formdata.setColumn(0, "orddd", orddd);
  3415. ds_cond_formdata.setColumn(0, "cretno", cretno);
  3416. ds_cond_formdata.setColumn(0, "orddeptcd", orddeptcd);
  3417. ds_cond_formdata.setColumn(0, "ioflag", ordtype); // 인증서 관련 처리 필요
  3418. ds_cond_formdata.setColumn(0, "formrecddenable", "N");
  3419. ds_cond_formdata.setColumn(0, "formrecdd", searchdd);
  3420. objArg.ds_cond_formdata = ds_cond_formdata;
  3421. lf_loadSMMMR01100(popupyn, objArg); //서식로드 function - MMR01100.xjs
  3422. }
  3423. objArg.formcd = formcd;
  3424. objArg.signno = espiseq;
  3425. if(!utlf_isNull(patUserFlag)) appf_delPatientInfos();
  3426. return objArg;
  3427. }
  3428. //인증저장 버튼 클릭시
  3429. //문진보기 클릭
  3430. function btn_munjin_onclick(obj:Button, e:ClickEventInfo)
  3431. {
  3432. var sPid = ds_main_acptlist.getColumn(ds_main_acptlist.rowposition, "pid");
  3433. if(utlf_isNull(sPid)){
  3434. sysf_messageBox("환자가 선택되지 않았습니다." , "E");
  3435. return;
  3436. }
  3437. var nRow = ds_main_acptlist.rowposition;
  3438. var instcd = ds_main_acptlist.getColumn(nRow, "instcd");
  3439. var pid = ds_main_acptlist.getColumn(nRow, "pid");
  3440. var orddd = ds_main_acptlist.getColumn(nRow, "orddd");
  3441. var cretno = ds_main_acptlist.getColumn(nRow, "cretno");
  3442. var searchdd = ds_main_acptlist.getColumn(nRow, "orddd");
  3443. a_g01_1_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_1_p_formrecseq"); // 1차검진판정
  3444. a_g01_3_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_3_p_formrecseq"); // 생활습관평가판정
  3445. // a_etc_1_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_1_p_formrecseq"); // 검진추가문진
  3446. // a_etc_2_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_2_p_formrecseq"); // 인지기능장애
  3447. // a_etc_3_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_3_p_formrecseq"); // 정신건강검사
  3448. a_etc_4_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_4_p_formrecseq"); // 흡연평가도구
  3449. a_etc_5_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_5_p_formrecseq"); // 금연처방전
  3450. a_etc_6_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_6_p_formrecseq"); // 음주평가도구
  3451. a_etc_7_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_7_p_formrecseq"); // 금주처방전
  3452. a_etc_8_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_8_p_formrecseq"); // 운동평가도구
  3453. a_etc_9_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_9_p_formrecseq"); // 운동처방전
  3454. a_etc_10_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_10_p_formrecseq"); // 영양평가도구
  3455. a_etc_11_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_11_p_formrecseq"); // 영양처방전
  3456. a_etc_12_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_12_p_formrecseq"); // 비만평가도구
  3457. a_etc_13_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_etc_13_p_formrecseq"); // 비만처방전
  3458. var orddeptcd = ds_main_acptlist.getColumn(nRow, "orddeptcd");
  3459. var ordtype = "S";
  3460. var formcd = "";
  3461. //서식을 건진분류 및 건진구분으로 분기처리
  3462. var srchhealexamgubun = ds_send.getColumn(0, "srchhealexamgubun"); // 건진분류
  3463. var srchhealexamdetlflag= ds_send.getColumn(0, "srchhealexamdetlflag"); // 건진구분
  3464. if( utlf_isNull(pid) || utlf_isNull(orddd) || utlf_isNull(cretno) ){
  3465. sysf_messageBox("환자가 선택되지 " , "E007");
  3466. return;
  3467. }
  3468. //주석처리 하지 않고 초기화 할 경우 메인에 존재하는 서식이 초기화되어 버림
  3469. //ivw_loader.ivw_base.url = "";
  3470. //서식 로드
  3471. var objArg = new Object();
  3472. var vFormKind = "new";
  3473. if(((srchhealexamgubun=='A' || srchhealexamgubun=='H') && (srchhealexamdetlflag=='G01' || srchhealexamdetlflag=='G08' || srchhealexamdetlflag=='G17')) || srchhealexamdetlflag=='C01'){ // 공단검진-공단(직장+성인병), 공단(생애전환) or 종합검진
  3474. a_g01_m_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g01_m_formrecseq"); // 1차검진문진
  3475. if(utlf_isNull(a_g01_m_formrecseq)){ // 문진(X)
  3476. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 1), "cdid");
  3477. searchdd = "";
  3478. }else if(!utlf_isNull(a_g01_m_formrecseq)){ // 문진(O)
  3479. vFormKind = "rec";
  3480. formcd = a_g01_m_formrecseq;
  3481. searchdd = "";
  3482. }
  3483. }else if((srchhealexamgubun=='A' || srchhealexamgubun=='H') && srchhealexamdetlflag=='G09'){ // 공단검진-공단(암)
  3484. a_g09_m_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_m_formrecseq"); // 암검진문진
  3485. a_g09_1_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_1_p_formrecseq"); // 간암판정
  3486. a_g09_2_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_2_p_formrecseq"); // 대장암판정
  3487. a_g09_3_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_3_p_formrecseq"); // 위암판정
  3488. a_g09_4_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_4_p_formrecseq"); // 유방암판정
  3489. a_g09_5_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g09_5_p_formrecseq"); // 자궁경부암판정
  3490. if(utlf_isNull(a_g09_m_formrecseq)){ // 문진(X)
  3491. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 5), "cdid");
  3492. searchdd = "";
  3493. }else if(!utlf_isNull(a_g09_m_formrecseq)){ // 문진(O)
  3494. vFormKind = "rec";
  3495. formcd = a_g09_m_formrecseq;
  3496. searchdd = "";
  3497. }
  3498. }else if((srchhealexamgubun=='A' || srchhealexamgubun=='H') && srchhealexamdetlflag=='G16'){ // 공단검진-구강검진
  3499. a_g16_m_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g16_m_formrecseq"); // 구강검진문진
  3500. a_g16_p_formrecseq = ds_main_acptlist.getColumn(nRow, "a_g16_p_formrecseq"); // 구강검진판정
  3501. if(utlf_isNull(a_g16_m_formrecseq)){ // 문진(X)
  3502. formcd = ds_init_baseinfo_G41.getColumn(ds_init_baseinfo_G41.findRow("etcitemcnts", 11), "cdid");
  3503. searchdd = "";
  3504. }else if(!utlf_isNull(a_g16_m_formrecseq)){ // 문진(O)
  3505. vFormKind = "rec";
  3506. formcd = a_g16_m_formrecseq;
  3507. searchdd = "";
  3508. }
  3509. }
  3510. ds_cond_formdata.clearData();
  3511. ds_cond_formdata.addRow();
  3512. ds_cond_formdata.setColumn(0, "formcd", formcd); // 서식목록 - linkcd, 기록목록 - formrecseq 컬럼값.
  3513. ds_cond_formdata.setColumn(0, "formkind", vFormKind); // 서식목록 탭 - new , 기록목록 - rec
  3514. ds_cond_formdata.setColumn(0, "btnvisible", true); // 버튼 visible 여부
  3515. ds_cond_formdata.setColumn(0, "pid", pid); // 환자번호
  3516. ds_cond_formdata.setColumn(0, "orddd", orddd); // 진료일자
  3517. ds_cond_formdata.setColumn(0, "cretno", cretno); // 수진키
  3518. ds_cond_formdata.setColumn(0, "orddeptcd", orddeptcd); // 부서코드
  3519. ds_cond_formdata.setColumn(0, "ioflag", ordtype); // 인증서 관련 처리 필요
  3520. ds_cond_formdata.setColumn(0, "formrecddenable", "N"); // 기준일자 disable 여부
  3521. ds_cond_formdata.setColumn(0, "formrecdd", searchdd); // 서식서치일자
  3522. objArg.ds_cond_formdata = ds_cond_formdata;
  3523. lf_loadSMMMR01100(true, objArg);
  3524. }
  3525. //기록삭제
  3526. function btn_signdel_onclick(obj:Button, e:ClickEventInfo)
  3527. {
  3528. var grd_row = grd_acptlist.currentrow;
  3529. if( utlf_isNull(ivw_loader.ivw_base.url) ){
  3530. sysf_messageBox("선택한 기록이 존재하지 않습니다." , "E");
  3531. return;
  3532. }
  3533. // trace(grd_row);
  3534. // trace(curr_colno)
  3535. ivw_loader.grup_btn.btn_del.click();
  3536. fGetRsltPatList(); // 대상자가져오기
  3537. ds_main_acptlist.selectRow(grd_row); // row선택
  3538. ds_main_acptlist.rowposition = grd_row; // row지정
  3539. fn_grd_acptlist_oncellclick(curr_colno); // 강제로 이벤트 발생 // 강제로 이벤트 발생
  3540. }
  3541. //환자검색
  3542. function group2_btn_srchpat_onclick(obj:Button, e:ClickEventInfo)
  3543. {
  3544. var fcnt = ds_init_baseinfo_G43.findRowExpr("cdid=='"+ sysf_getUserInfo("userid") +"'");
  3545. var fcnt2 = ds_init_baseinfo_G44.findRowExpr("cdid=='"+ sysf_getUserInfo("userid") +"'");
  3546. if(!utlf_isNull(patUserFlag)) ivw_loader.ivw_base.url = "";
  3547. // var patUserrYn = "";
  3548. // if (fcnt2 >= 0) { //검진환자
  3549. // patUserrYn = "Y";
  3550. // ivw_loader.ivw_base.url = "";
  3551. // } else if(fcnt < 0){ //직원
  3552. // patUserrYn = "E";
  3553. // ivw_loader.ivw_base.url = "";
  3554. // }
  3555. ds_hidden_patinfo_info.clearData();
  3556. lf_SearchPatInfo("SMAHR02406","pid",group2.ipt_pid.text,"Y","ds_hidden_patinfo_info","","","","",patUserFlag);
  3557. if(ds_hidden_patinfo_info.rowcount > 0) {
  3558. var healexamdd = ds_hidden_patinfo_info.getColumn(0, "healexamdd");
  3559. var pid = ds_hidden_patinfo_info.getColumn(0, "pid");
  3560. var hngnm = ds_hidden_patinfo_info.getColumn(0, "hngnm");
  3561. var sex = ds_hidden_patinfo_info.getColumn(0, "sex");
  3562. if(!utlf_isNull(healexamdd)) {
  3563. group2.ipt_srchfromdd.value = healexamdd;
  3564. group2.ipt_srchtodd.value = healexamdd;
  3565. }
  3566. if(!utlf_isNull(pid)) {
  3567. group2.ipt_pid.value = pid;
  3568. }
  3569. if(!utlf_isNull(hngnm)) {
  3570. group2.ipt_pnm.value = hngnm;
  3571. }
  3572. //ds_hidden_patinfo_info.clearData();
  3573. if(patUserFlag == "Y") group2.btn_search.click();
  3574. if(patUserFlag == "E") {
  3575. if(!utlf_isNull(healexamdd)) group2.btn_search.click();
  3576. else group2.btn_totrsrvdt.click();
  3577. group2.btn_totrsrvdt.enable = true;
  3578. group2.btn_rsrvsave.enable = true;
  3579. }
  3580. }
  3581. }
  3582. function lf_SearchPatInfo(vOpenerID, vCond, vCdnm, vSetYN, vDestXPath, vDestPid, vDestPnm, vRgstNo1, vRgstNo2 ,vPatuser){
  3583. frmf_clearParameter("SPAHA00400_PARAM1");
  3584. frmf_clearParameter("SPAHA00400_PARAM2");
  3585. frmf_clearParameter("SPAHA00400_PARAM3");
  3586. frmf_clearParameter("SPAHA00400_PARAM4");
  3587. frmf_clearParameter("SPAHA00400_PARAM5");
  3588. frmf_clearParameter("SPAHA00400_PARAM6");
  3589. frmf_clearParameter("SPAHA00400_PARAM7");
  3590. frmf_clearParameter("SPAHA00400_PARAM8");
  3591. frmf_clearParameter("SPAHA00400_PARAM9");
  3592. frmf_clearParameter("SPAHA00400_PARAM14");
  3593. frmf_setParameter ("SPAHA00400_PARAM1", utlf_transNullToEmpty(vOpenerID));
  3594. frmf_setParameter ("SPAHA00400_PARAM2", utlf_transNullToEmpty(vCond));
  3595. frmf_setParameter ("SPAHA00400_PARAM3", utlf_transNullToEmpty(vCdnm));
  3596. frmf_setParameter ("SPAHA00400_PARAM4", utlf_transNullToEmpty(vSetYN));
  3597. frmf_setParameter ("SPAHA00400_PARAM5", utlf_transNullToEmpty(vDestXPath));
  3598. frmf_setParameter ("SPAHA00400_PARAM6", utlf_transNullToEmpty(vDestPid));
  3599. frmf_setParameter ("SPAHA00400_PARAM7", utlf_transNullToEmpty(vDestPnm));
  3600. frmf_setParameter ("SPAHA00400_PARAM8", utlf_transNullToEmpty(vRgstNo1));
  3601. frmf_setParameter ("SPAHA00400_PARAM9", utlf_transNullToEmpty(vRgstNo2));
  3602. frmf_setParameter ("SPAHA00400_PARAM14", utlf_transNullToEmpty(vPatuser));
  3603. frmf_modal("SPAHA00400","SPAHA00400",null,"","","","","","","","","","M");
  3604. }
  3605. //건진구분 변경시이벤트
  3606. function group2_combo02_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  3607. {
  3608. var grp_nm = eval("grp_btn_" + ds_send.getColumn(0, "srchhealexamdetlflag") + admin_yn);
  3609. //trace("grp_nm :"+grp_nm.name+" / "+admin_yn);
  3610. grp_btn_G01.visible = false;
  3611. grp_btn_G08.visible = false;
  3612. grp_btn_G09.visible = false;
  3613. grp_btn_G16.visible = false;
  3614. grp_btn_G17.visible = false;
  3615. grp_btn_G01_no.visible = false;
  3616. grp_btn_G08_no.visible = false;
  3617. grp_btn_G09_no.visible = false;
  3618. grp_btn_G16_no.visible = false;
  3619. grp_btn_G17_no.visible = false;
  3620. grp_btn_G01_no2.visible = false;
  3621. grd_acptlist.formatid = ds_send.getColumn(0, "srchhealexamdetlflag") + admin_yn;
  3622. grp_nm.position.x = grd_acptlist.position.width + 4;
  3623. grp_nm.position.y = 91;
  3624. grp_nm.visible = true;
  3625. // fGetRsltPatList();
  3626. ds_main_acptlist.clearData();
  3627. ivw_loader.ivw_base.url = "";
  3628. ivw_loader.updateWindow
  3629. }
  3630. /*
  3631. 임시저장/인증저장(N:임시저장, Y:인증저장)
  3632. */
  3633. function btn_signsave(flag)
  3634. {
  3635. var grd_row = grd_acptlist.currentrow;
  3636. var grd_nxCol = -1;
  3637. if (grd_row >= 0) {
  3638. if( utlf_isNull(ivw_loader.ivw_base.url) ){
  3639. sysf_messageBox("선택한 기록이 존재하지 않습니다." , "E");
  3640. return;
  3641. }
  3642. //fClickSave 서식저장 - MMR01100.xjs
  3643. if( ivw_loader.fClickSave(flag) && !utlf_isNull(ivw_loader.ds_data_formrec.getColumn(0, "formrecseq"))) { // 저장 후 formrecseq가 null이 아닐경우
  3644. fGetRsltPatList(); // 대상자가져오기
  3645. ds_main_acptlist.selectRow(grd_row); // row선택
  3646. ds_main_acptlist.rowposition = grd_row; // row지정
  3647. grd_acptlist.setFocus(); // 그리드에 포커스 지정
  3648. fn_btnBold(grd_row);
  3649. // trace(flag +" / "+ ds_send.getColumn(0, "srchhealexamdetlflag") +" / "+ a_g16_p_tyn + " / " + curr_colno);
  3650. //인증저장후에 선택되어야할 칼럼 지정
  3651. //생활습관 평가 대상자로 생활습관관련 문진표 및 평가지 확인
  3652. if(!utlf_isNull(patUserFlag)) {
  3653. if(ds_send.getColumn(0, "srchhealexamdetlflag")=="G01" || ds_send.getColumn(0, "srchhealexamdetlflag")=="C01"){ //공단(직장+성인병) or 종합검진
  3654. if(ds_main_acptlist.getColumn(grd_row, "age2")=='40'||ds_main_acptlist.getColumn(grd_row, "age2")=='50'||
  3655. ds_main_acptlist.getColumn(grd_row, "age2")=='60'||ds_main_acptlist.getColumn(grd_row, "age2")=='70'){
  3656. //평가도구
  3657. if(curr_colno == '29' && a_etc_4_p_tyn != 'Y'){ //1차문진
  3658. grd_nxCol = 31;//흡연평가도구
  3659. sysf_messageBox("흡연평가로 넘어갑니다.\n해당사항이 없으면 바로 저장해 주세요." , "I");
  3660. }else if((curr_colno == '29' || curr_colno == '31') && a_etc_6_p_tyn != 'Y'){ // 흡연평가도구
  3661. grd_nxCol = 33;//음주평가도구
  3662. sysf_messageBox("음주평가로 넘어갑니다.\n해당사항이 없으면 바로 저장해 주세요." , "I");
  3663. }else if((curr_colno == '29' || curr_colno == '31' || curr_colno == '33') && a_etc_8_p_tyn != 'Y'){ // 음주평가도구
  3664. grd_nxCol = 35;//운동평가도구
  3665. sysf_messageBox("운동평가로 넘어갑니다.\n해당사항이 없으면 바로 저장해 주세요." , "I");
  3666. }else if((curr_colno == '29' || curr_colno == '31' || curr_colno == '33' || curr_colno == '35') && a_etc_10_p_tyn != 'Y'){ // 운동평가도구
  3667. grd_nxCol = 37;//영양평가도구
  3668. sysf_messageBox("영양평가로 넘어갑니다.\n해당사항이 없으면 바로 저장해 주세요." , "I");
  3669. }else if((curr_colno == '29' || curr_colno == '31' || curr_colno == '33' || curr_colno == '35' || curr_colno == '37') && a_etc_12_p_tyn != 'Y'){ // 영양평가도구
  3670. grd_nxCol = 39;//비만평가도구
  3671. sysf_messageBox("비만평가로 넘어갑니다.\n해당사항이 없으면 바로 저장해 주세요." , "I");
  3672. }
  3673. //처방
  3674. // if((curr_colno == '32') && a_etc_7_p_tyn != 'Y'){ // 금연처방
  3675. // grd_nxCol = 34;//금주처방
  3676. // }else if((curr_colno == '32' || curr_colno == '34') && a_etc_9_p_tyn != 'Y'){ // 금주처방
  3677. // grd_nxCol = 36;//운동처방전
  3678. // }else if((curr_colno == '32' || curr_colno == '34' || curr_colno == '36') && a_etc_11_p_tyn != 'Y'){ // 운동처방전
  3679. // grd_nxCol = 38;//영양처방전
  3680. // }else if((curr_colno == '32' || curr_colno == '34' || curr_colno == '36' || curr_colno == '38') && a_etc_13_p_tyn != 'Y'){ //영양처방전
  3681. // grd_nxCol = 40;//비만처방전
  3682. // }else if((curr_colno == '32' || curr_colno == '34' || curr_colno == '36' || curr_colno == '38' || curr_colno == '40') && a_g01_3_p_tyn != 'Y'){ //비만처방전
  3683. // grd_nxCol = 41;//생활습관평가판정
  3684. // }
  3685. }
  3686. }else if(ds_send.getColumn(0, "srchhealexamdetlflag")=="G17"){ //공단(의료급여생애)
  3687. if(ds_main_acptlist.getColumn(grd_row, "age2")=='70'){
  3688. //평가도구
  3689. if(curr_colno == '29' && a_etc_4_p_tyn != 'Y'){ //1차문진
  3690. grd_nxCol = 31;//흡연평가도구
  3691. sysf_messageBox("흡연평가로 넘어갑니다.\n해당사항이 없으면 바로 저장해 주세요." , "I");
  3692. }else if((curr_colno == '29' || curr_colno == '31') && a_etc_6_p_tyn != 'Y'){ // 흡연평가도구
  3693. grd_nxCol = 33;//음주평가도구
  3694. sysf_messageBox("음주평가로 넘어갑니다.\n해당사항이 없으면 바로 저장해 주세요." , "I");
  3695. }else if((curr_colno == '29' || curr_colno == '31' || curr_colno == '33') && a_etc_8_p_tyn != 'Y'){ // 음주평가도구
  3696. grd_nxCol = 35;//운동평가도구
  3697. sysf_messageBox("운동평가로 넘어갑니다.\n해당사항이 없으면 바로 저장해 주세요." , "I");
  3698. }else if((curr_colno == '29' || curr_colno == '31' || curr_colno == '33' || curr_colno == '35') && a_etc_10_p_tyn != 'Y'){ // 운동평가도구
  3699. grd_nxCol = 37;//영양평가도구
  3700. sysf_messageBox("영양평가로 넘어갑니다.\n해당사항이 없으면 바로 저장해 주세요." , "I");
  3701. }else if((curr_colno == '29' || curr_colno == '31' || curr_colno == '33' || curr_colno == '35' || curr_colno == '37') && a_etc_12_p_tyn != 'Y'){ // 영양평가도구
  3702. grd_nxCol = 39;//비만평가도구
  3703. sysf_messageBox("비만평가로 넘어갑니다.\n해당사항이 없으면 바로 저장해 주세요." , "I");
  3704. }
  3705. //처방
  3706. // if((curr_colno == '32') && a_etc_7_p_tyn != 'Y'){ // 금연처방
  3707. // grd_nxCol = 34;//금주처방
  3708. // }else if((curr_colno == '32' || curr_colno == '34') && a_etc_9_p_tyn != 'Y'){ // 금주처방
  3709. // grd_nxCol = 36;//운동처방전
  3710. // }else if((curr_colno == '32' || curr_colno == '34' || curr_colno == '36') && a_etc_11_p_tyn != 'Y'){ // 운동처방전
  3711. // grd_nxCol = 38;//영양처방전
  3712. // }else if((curr_colno == '32' || curr_colno == '34' || curr_colno == '36' || curr_colno == '38') && a_etc_13_p_tyn != 'Y'){ //영양처방전
  3713. // grd_nxCol = 40;//비만처방전
  3714. // }else if((curr_colno == '32' || curr_colno == '34' || curr_colno == '36' || curr_colno == '38' || curr_colno == '40') && a_g01_3_p_tyn != 'Y'){ //비만처방전
  3715. // grd_nxCol = 41;//생활습관평가판정
  3716. // }
  3717. }
  3718. }
  3719. }
  3720. if(flag == "Y" && ds_send.getColumn(0, "srchhealexamdetlflag")=="G16" && curr_colno == "30"){ // && a_g16_p_tyn == "Y"){
  3721. grp_btn_G16.btn_a_g16_prnt.click();
  3722. //grd_nxCol = 30;
  3723. }else{
  3724. //grd_nxCol = 2; // 그리드에 cell 지정
  3725. }
  3726. //인증저장후에 선택되어야할 칼럼 지정
  3727. if(!utlf_isNull(patUserFlag)) fn_grd_acptlist_oncellclick(grd_nxCol);// 강제로 이벤트 발생
  3728. }
  3729. //기록지 인증저장후에 판정완료로 플래그 업데이트 처리 (2019/06/11 이정택)
  3730. var cert_formcd = ivw_loader.ds_data_formrec.getColumn(0, "formcd");
  3731. if(cert_formcd == '1800022339' || cert_formcd == '1800022320' || cert_formcd == '1800022317' || //1차판정, 간암판정, 대장암판정
  3732. cert_formcd == '1800022316' || cert_formcd == '1800022318' || cert_formcd == '1800022319' || //위암판정, 유방암판정, 자궁경부암판정
  3733. cert_formcd == '1800022314'){ //구강판정
  3734. ds_send_save_saveinfo.setColumn(0, "healexamflag", ds_send.getColumn(0, "srchhealexamflag"));
  3735. ds_send_save_saveinfo.setColumn(0, "healexamdetlflag", ds_send.getColumn(0, "srchhealexamdetlflag"));
  3736. ds_send_save_saveinfo.setColumn(0, "rsrvdd", ds_main_acptlist.getColumn(grd_row, "rsrvdd"));
  3737. ds_send_save_saveinfo.setColumn(0, "rsrvno", ds_main_acptlist.getColumn(grd_row, "rsrvno"));
  3738. ds_send_save_saveinfo.setColumn(0, "pid", ds_main_acptlist.getColumn(grd_row, "pid"));
  3739. ds_send_save_saveinfo.setColumn(0, "orddd", ds_main_acptlist.getColumn(grd_row, "orddd"));
  3740. ds_send_save_saveinfo.setColumn(0, "cretno", ds_main_acptlist.getColumn(grd_row, "cretno"));
  3741. ds_send_save_saveinfo.setColumn(0, "statflag", "H");
  3742. ds_send_save_saveinfo.setColumn(0, "rsltyn", "Y");
  3743. var oParam = {};
  3744. oParam.id = "-";
  3745. oParam.service = "healexamrsltjudgapp.GnrlJudgInpt";
  3746. oParam.method = "reqSetAcptState";
  3747. oParam.inds = "changeinfo=ds_send_save_saveinfo";
  3748. oParam.outds = "ds_hidden=item_fsjudg";
  3749. oParam.async = false;
  3750. oParam.callback = "";
  3751. tranf_submit(oParam);
  3752. }
  3753. //기록지 인증저장후에 판정완료로 플래그 업데이트 처리 (2019/06/11 이정택)
  3754. } else {
  3755. sysf_messageBox("환자를 선택하지" , "E007");
  3756. return;
  3757. }
  3758. }
  3759. //임시저장
  3760. function btn_tmp_save_onclick(obj:Button, e:ClickEventInfo)
  3761. {
  3762. btn_signsave("N");
  3763. }
  3764. //인증저장
  3765. function btn_sign_save_onclick(obj:Button, e:ClickEventInfo)
  3766. {
  3767. btn_signsave("Y");
  3768. }
  3769. function btn_show_onclick(obj:Button, e:ClickEventInfo)
  3770. {
  3771. var colid = String(obj.name).replace("btn_","");
  3772. var colno = grd_acptlist.getBindCellIndex("body", colid);
  3773. fn_grd_acptlist_oncellclick(colno, false)
  3774. if (obj.text == "판정") {
  3775. fn_popup_cellclick(obj, obj.text, "문진");
  3776. } else if (obj.text == "금연처방") {
  3777. fn_popup_cellclick(obj, obj.text, "흡연");
  3778. } else if (obj.text == "금주처방") {
  3779. fn_popup_cellclick(obj, obj.text, "음주");
  3780. } else if (obj.text == "운동처방") {
  3781. fn_popup_cellclick(obj, obj.text, "운동");
  3782. } else if (obj.text == "영양처방") {
  3783. fn_popup_cellclick(obj, obj.text, "영양");
  3784. } else if (obj.text == "비만처방") {
  3785. fn_popup_cellclick(obj, obj.text, "비만");
  3786. } else if (obj.text == "위" || obj.text == "간" || obj.text == "대장" || obj.text == "유방" || obj.text == "자궁") {
  3787. fn_popup_cellclick(obj, obj.text, "암문진");
  3788. } else {
  3789. var obj2 = frmf_findPopup("SPMRI02400");
  3790. if(!utlf_isNull(obj2)){
  3791. obj2.close();
  3792. }
  3793. }
  3794. curr_colno = colno;
  3795. }
  3796. function fn_popup_cellclick(obj:Button, clicknm, opennm){
  3797. if (obj.text == clicknm){
  3798. for (var i=0; i < obj.parent.components.length; i++) {
  3799. if (obj.parent.components[i].text == opennm) {
  3800. var popup_col_id = String(obj.parent.components[i].name).replace("btn_","");
  3801. var popup_col_no = grd_acptlist.getBindCellIndex("body", popup_col_id);
  3802. var objrtn = fn_grd_acptlist_oncellclick(popup_col_no, true);
  3803. if (objrtn.signno != 0){
  3804. frmf_setParameter("SPMRI02400_prtrecinfo", "▦" + objrtn.signno + "▦" + objrtn.formcd + "▩");
  3805. frmf_setParameter("SPMRI02400_defaultvw", "CV");
  3806. frmf_setParameter("SPMRI02400_prtyn", "N");
  3807. frmf_open("SPMRI02400", "SPMRI02400", null, null, null, null, null, null, null, null, null, null, "M");
  3808. var obj2 = frmf_findPopup("SPMRI02400");
  3809. if(!utlf_isNull(obj2)){
  3810. obj2.SPMRI02400_onload();
  3811. }
  3812. } else {
  3813. var obj2 = frmf_findPopup("SPMRI02400");
  3814. if(!utlf_isNull(obj2)){
  3815. obj2.close();
  3816. }
  3817. }
  3818. }
  3819. }
  3820. }
  3821. }
  3822. function grd_acptlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  3823. {
  3824. //남성일 경우 유방암/자궁암 선택NO
  3825. var sex = objects[obj.binddataset].getColumn(e.row, "sex");
  3826. if(sex == "M" && (e.col == obj.getBindCellIndex("body", "a_g09_4_p_tyn") || e.col == obj.getBindCellIndex("body", "a_g09_5_p_tyn"))) return;
  3827. var obj2 = frmf_findPopup("SPMRI02400");
  3828. if(!utlf_isNull(obj2)){
  3829. obj2.close();
  3830. }
  3831. fn_btnBold(e.row);
  3832. fn_grd_acptlist_oncellclick(obj.currentcol);
  3833. }
  3834. function grp_btn_G16_btn_a_g16_prnt_onclick(obj:Button, e:ClickEventInfo)
  3835. {
  3836. //trace(ivw_loader.ds_data_recitem.saveXML());
  3837. ds_main_oralprint.clearData();
  3838. ds_main_oralprint.addRow();
  3839. ds_main_oralprint.setColumn(0,"col1", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0001211001' && degnitemlevlcd=='0001209.0001211'","reccnts"));//수검자성명
  3840. ds_main_oralprint.setColumn(0,"col2", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0000929002' && degnitemlevlcd=='0001209.0000929'","reccnts"));//주민번호
  3841. ds_main_oralprint.setColumn(0,"col3", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012159001' && degnitemlevlcd=='0012159'","rectermnm"));//우식치아
  3842. ds_main_oralprint.setColumn(0,"col4", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012160001' && degnitemlevlcd=='0012160'","rectermnm"));//인접면 우식 의심치아
  3843. ds_main_oralprint.setColumn(0,"col5", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012162001' && degnitemlevlcd=='0012162'","rectermnm"));//수복치아
  3844. ds_main_oralprint.setColumn(0,"col6", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012163001' && degnitemlevlcd=='0012163'","rectermnm"));//상실치아
  3845. ds_main_oralprint.setColumn(0,"col7", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012165001' && degnitemlevlcd=='0012165'","rectermnm"));//치은염증
  3846. ds_main_oralprint.setColumn(0,"col8", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012169001' && degnitemlevlcd=='0012169'","rectermnm"));//치석
  3847. ds_main_oralprint.setColumn(0,"col9", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012153001' && degnitemlevlcd=='0012153'","rectermnm"));//구강위생
  3848. ds_main_oralprint.setColumn(0,"col10", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012154001' && degnitemlevlcd=='0012154'","rectermnm"));//불소이용
  3849. ds_main_oralprint.setColumn(0,"col11", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012155001' && degnitemlevlcd=='0012155'","rectermnm"));//설탕섭취
  3850. ds_main_oralprint.setColumn(0,"col12", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012156001' && degnitemlevlcd=='0012156'","rectermnm"));//흡연
  3851. ds_main_oralprint.setColumn(0,"col13", "내원");//검진장소
  3852. ds_main_oralprint.setColumn(0,"col14", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012042001' && degnitemlevlcd=='0012042'","reccnts"));//검진일
  3853. ds_main_oralprint.setColumn(0,"col15", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012151001' && degnitemlevlcd=='0012151'","rectermnm"));//(치과)병력 문제
  3854. ds_main_oralprint.setColumn(0,"col16", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012149001' && degnitemlevlcd=='0012149'","rectermnm"));//구강건강인식도 문제
  3855. ds_main_oralprint.setColumn(0,"col17", utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0013230001' && degnitemlevlcd=='0013230'","reccnts")));// 기타 부위 검사소견
  3856. ds_main_oralprint.setColumn(0,"col20", utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012056001' && degnitemlevlcd=='0012056'","reccnts")));// 조치사항
  3857. ds_main_oralprint.setColumn(0,"col30", utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012132001' && degnitemlevlcd=='0012132'","reccnts")));// 적극적관리
  3858. ds_main_oralprint.setColumn(0,"col36", utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0013235001' && degnitemlevlcd=='0013234.0013235'","reccnts")) + " 점");//
  3859. ds_main_oralprint.setColumn(0,"col37", utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0013236001' && degnitemlevlcd=='0013234.0013236'","reccnts")) + " 점");//
  3860. ds_main_oralprint.setColumn(0,"col38", utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0013237001' && degnitemlevlcd=='0013234.0013237'","reccnts")) + " 점");//
  3861. ds_main_oralprint.setColumn(0,"col39", utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0013238001' && degnitemlevlcd=='0013234.0013238'","reccnts")) + " 점");//
  3862. ds_main_oralprint.setColumn(0,"col40", utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0013239001' && degnitemlevlcd=='0013234.0013239'","reccnts")) + " 점");//
  3863. ds_main_oralprint.setColumn(0,"col41", utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0013240001' && degnitemlevlcd=='0013234.0013240'","reccnts")) + " 점");//
  3864. ds_main_oralprint.setColumn(0,"col42", utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0013241001' && degnitemlevlcd=='0013234.0013241'","reccnts")) + " 점");//
  3865. ds_main_oralprint.setColumn(0,"col50", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0000940001' && degnitemlevlcd=='0016651.0000940'","reccnts"));//검진의사명
  3866. ds_main_oralprint.setColumn(0,"col51", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0007593001' && degnitemlevlcd=='0016651.0007593'","reccnts"));//검진의사면허번호
  3867. ds_main_oralprint.setColumn(0,"col52", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0013260001' && degnitemlevlcd=='0013260'","reccnts"));//판정일
  3868. ds_main_oralprint.setColumn(0,"col53", ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0012046001' && degnitemlevlcd=='0012046'","rectermnm"));//판정
  3869. var instcd = sysf_getUserInfo("dutplceinstcd");
  3870. ds_main_oralprint.setColumn(0,"col100", (instcd=="031" ? "37100017" : instcd=="032" ? "37100467" : ""));//요양기관기호
  3871. ds_main_oralprint.setColumn(0,"col101",(instcd=="031" ? "경북대학교병원" : instcd=="032" ? "칠곡경북대학교병원" : "경북대학교치과병원"));//검진기관명
  3872. var drnm = utlf_transNullToEmpty(ivw_loader.ds_data_recitem.lookupExpr("degnitemcd=='0000940001' && degnitemlevlcd=='0016651.0000940'","reccnts")); //의사명
  3873. var drid = ds_init_baseinfo_G43.lookupExpr("cdnm=='"+ drnm +"'", "cdid");
  3874. dsf_createDsRow("ds_cond_req", [{col: "userid" , val: drid}]);
  3875. var oParam = {};
  3876. oParam.id = "TRMRF01205";
  3877. oParam.service = "formmngtapp.FormIfMngt";
  3878. oParam.method = "reqGetUsrSignImge";
  3879. oParam.inds = "req=ds_cond_req";
  3880. oParam.outds = "ds_data_docinfo=docinfo";
  3881. oParam.async = false;
  3882. //oParam.callback = "cf_TRMRF01205";
  3883. tranf_submit(oParam);
  3884. var objCxtCommon = new ExtCommon();
  3885. ds_main_oralprint.setColumn(0,"col21", utlf_transNullToEmpty(objCxtCommon.encodeBase64(ds_data_docinfo.getColumn(0, "signdata"))));
  3886. var objDOM = rptf_createDOM(); // DOM 객체 설정
  3887. rptf_setNodeListToDOM(objDOM, "root/main/oralprint", ds_main_oralprint);
  3888. var objParam = new Object();
  3889. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3890. var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
  3891. rptf_exeReportPreview30(["RPAHR09104"],[objParam], option);
  3892. }
  3893. function fn_btnBold(rownum) {
  3894. if(rownum < 0) { //초기화
  3895. var cnt = grp_btn_G01.components.length;
  3896. var cnt2 = grp_btn_G09.components.length;
  3897. var cnt3 = grp_btn_G16.components.length;
  3898. for(var i = 0 ; i < cnt ; i++) {
  3899. grp_btn_G01.components[i].gradation = "";
  3900. grp_btn_G01.components[i].color = "";
  3901. grp_btn_G17.components[i].gradation = "";
  3902. grp_btn_G17.components[i].color = "";
  3903. }
  3904. for(var i = 0 ; i < cnt2 ; i++) {
  3905. grp_btn_G09.components[i].gradation = "";
  3906. grp_btn_G09.components[i].color = "";
  3907. }
  3908. for(var i = 0 ; i < cnt3 ; i++) {
  3909. grp_btn_G16.components[i].gradation = "";
  3910. grp_btn_G16.components[i].color = "";
  3911. }
  3912. }
  3913. var divID = null;
  3914. var gubun = "";
  3915. if(grp_btn_G01.visible == true) {
  3916. divID = grp_btn_G01;
  3917. } else if(grp_btn_G17.visible == true){
  3918. divID = grp_btn_G17;
  3919. } else if(grp_btn_G09.visible == true){
  3920. divID = grp_btn_G09;
  3921. gubun = "CANCER";
  3922. } else if(grp_btn_G16.visible == true){
  3923. divID = grp_btn_G16;
  3924. gubun = "TEETH";
  3925. } else {
  3926. return;
  3927. }
  3928. var comCnt = divID.components.length;
  3929. for(var i = 0 ; i < comCnt ; i++) {
  3930. divID.components[i].gradation = "";
  3931. divID.components[i].color = "";
  3932. if(divID.components[i] == "[object Button]") {
  3933. if( gubun == "CANCER") {
  3934. if( (divID.components[i].text == "암문진" && ds_main_acptlist.getColumn(rownum, "a_g09_m_tyn") == "Y")
  3935. || (divID.components[i].text == "위" && ds_main_acptlist.getColumn(rownum, "a_g09_3_p_tyn") == "Y")
  3936. || (divID.components[i].text == "간" && ds_main_acptlist.getColumn(rownum, "a_g09_1_p_tyn") == "Y")
  3937. || (divID.components[i].text == "대장" && ds_main_acptlist.getColumn(rownum, "a_g09_2_p_tyn") == "Y")
  3938. || (divID.components[i].text == "유방" && ds_main_acptlist.getColumn(rownum, "a_g09_4_p_tyn") == "Y")
  3939. || (divID.components[i].text == "자궁" && ds_main_acptlist.getColumn(rownum, "a_g09_5_p_tyn") == "Y") )
  3940. {
  3941. divID.components[i].gradation = "linear 0,0 #ffc6c6ff 0,100 #ff9090ff";
  3942. divID.components[i].color = "#057777ff";
  3943. }
  3944. } else if( gubun == "TEETH") {
  3945. if( (divID.components[i].text == "문진" && ds_main_acptlist.getColumn(rownum, "a_g16_m_tyn") == "Y")
  3946. || (divID.components[i].text == "판정" && ds_main_acptlist.getColumn(rownum, "a_g16_p_tyn") == "Y") )
  3947. {
  3948. divID.components[i].gradation = "linear 0,0 #ffc6c6ff 0,100 #ff9090ff";
  3949. divID.components[i].color = "#057777ff";
  3950. }
  3951. } else {
  3952. if(ds_send.getColumn(0, "srchhealexamdetlflag") != "G17"){
  3953. if( (divID.components[i].text == "문진" && ds_main_acptlist.getColumn(rownum, "a_g01_m_tyn") == "Y")
  3954. || (divID.components[i].text == "판정" && ds_main_acptlist.getColumn(rownum, "a_g01_1_p_tyn") == "Y")
  3955. || (divID.components[i].text == "흡연" && ds_main_acptlist.getColumn(rownum, "a_etc_4_p_tyn") == "Y")
  3956. || (divID.components[i].text == "금연처방" && ds_main_acptlist.getColumn(rownum, "a_etc_5_p_tyn") == "Y")
  3957. || (divID.components[i].text == "음주" && ds_main_acptlist.getColumn(rownum, "a_etc_6_p_tyn") == "Y")
  3958. || (divID.components[i].text == "금주처방" && ds_main_acptlist.getColumn(rownum, "a_etc_7_p_tyn") == "Y")
  3959. || (divID.components[i].text == "운동" && ds_main_acptlist.getColumn(rownum, "a_etc_8_p_tyn") == "Y")
  3960. || (divID.components[i].text == "운동처방" && ds_main_acptlist.getColumn(rownum, "a_etc_9_p_tyn") == "Y")
  3961. || (divID.components[i].text == "영양" && ds_main_acptlist.getColumn(rownum, "a_etc_10_p_tyn") == "Y")
  3962. || (divID.components[i].text == "영양처방" && ds_main_acptlist.getColumn(rownum, "a_etc_11_p_tyn") == "Y")
  3963. || (divID.components[i].text == "비만" && ds_main_acptlist.getColumn(rownum, "a_etc_12_p_tyn") == "Y")
  3964. || (divID.components[i].text == "비만처방" && ds_main_acptlist.getColumn(rownum, "a_etc_13_p_tyn") == "Y")
  3965. || (divID.components[i].text == "생활처방" && ds_main_acptlist.getColumn(rownum, "a_g01_3_p_tyn") == "Y") )
  3966. {
  3967. divID.components[i].gradation = "linear 0,0 #ffc6c6ff 0,100 #ff9090ff";
  3968. divID.components[i].color = "#057777ff";
  3969. }
  3970. }
  3971. else{
  3972. if( (divID.components[i].text == "문진" && ds_main_acptlist.getColumn(rownum, "a_g01_m_tyn") == "Y")
  3973. || (divID.components[i].text == "판정" && ds_main_acptlist.getColumn(rownum, "a_g01_2_p_tyn") == "Y") //의료급여판정
  3974. || (divID.components[i].text == "흡연" && ds_main_acptlist.getColumn(rownum, "a_etc_4_p_tyn") == "Y")
  3975. || (divID.components[i].text == "금연처방" && ds_main_acptlist.getColumn(rownum, "a_etc_5_p_tyn") == "Y")
  3976. || (divID.components[i].text == "음주" && ds_main_acptlist.getColumn(rownum, "a_etc_6_p_tyn") == "Y")
  3977. || (divID.components[i].text == "금주처방" && ds_main_acptlist.getColumn(rownum, "a_etc_7_p_tyn") == "Y")
  3978. || (divID.components[i].text == "운동" && ds_main_acptlist.getColumn(rownum, "a_etc_8_p_tyn") == "Y")
  3979. || (divID.components[i].text == "운동처방" && ds_main_acptlist.getColumn(rownum, "a_etc_9_p_tyn") == "Y")
  3980. || (divID.components[i].text == "영양" && ds_main_acptlist.getColumn(rownum, "a_etc_10_p_tyn") == "Y")
  3981. || (divID.components[i].text == "영양처방" && ds_main_acptlist.getColumn(rownum, "a_etc_11_p_tyn") == "Y")
  3982. || (divID.components[i].text == "비만" && ds_main_acptlist.getColumn(rownum, "a_etc_12_p_tyn") == "Y")
  3983. || (divID.components[i].text == "비만처방" && ds_main_acptlist.getColumn(rownum, "a_etc_13_p_tyn") == "Y")
  3984. || (divID.components[i].text == "생활처방" && ds_main_acptlist.getColumn(rownum, "a_g01_3_p_tyn") == "Y") )
  3985. {
  3986. divID.components[i].gradation = "linear 0,0 #ffc6c6ff 0,100 #ff9090ff";
  3987. divID.components[i].color = "#057777ff";
  3988. }
  3989. }
  3990. }
  3991. }
  3992. }
  3993. }
  3994. function group2_btn_totrsrvdt_onclick(obj:Button, e:ClickEventInfo)
  3995. {
  3996. fGetRsrvDateTime("T", group2.ipt_rsrvdd , group2.ipt_rsrvtm);
  3997. }
  3998. function fGetRsrvDateTime(vMode, rsrvddObj, rsrvtmObj){
  3999. frmf_setParameter ("SPAHA00100_PARAM1" , vMode);
  4000. frmf_setParameter ("SPAHA00100_PARAM2" , group2.ipt_rsrvdd.value );
  4001. frmf_setParameter ("SPAHA00100_PARAM3" , ds_hidden_patinfo_info.getColumn(0, "sex") );
  4002. if( !utlf_isNull(rsrvddObj) ) frmf_setParameter ("SPAHA00100_PARAM4" , "ds_main_info_rsrvacptinfo_item 0 hopedd" );
  4003. if( !utlf_isNull(rsrvtmObj) ) frmf_setParameter ("SPAHA00100_PARAM5" , "ds_main_info_rsrvacptinfo_item 0 rsrvtm" );
  4004. frmf_setParameter ("SPAHA00100_PARAM6" , "G");
  4005. frmf_setParameter ("SPAHA00100_PARAM7" , "ds_main_info_rsrvacptinfo_item 0 rsltcnstdrid");
  4006. var idate = ds_send.getColumn(0, "srchhealexamdetlflag");
  4007. frmf_setParameter ("SPAHA00100_PARAM8", idate);
  4008. frmf_setParameter ("SPAHA00100_PARAM11", patUserFlag);
  4009. frmf_modal("SPAHA00100","SPAHA00100",null,"","","","","","","","","","M");
  4010. ds_send.setColumn(0, "srchfromdd", ds_main_info_rsrvacptinfo_item.getColumn(0, "hopedd"));
  4011. ds_send.setColumn(0, "srchtodd", ds_main_info_rsrvacptinfo_item.getColumn(0, "hopedd"));
  4012. dsf_createDs("ds_send_temp");
  4013. dsf_createDs("ds_acptlist_temp");
  4014. dsf_makeValue(ds_send_temp, "srchinstcd", "string", sysf_getUserInfo("dutplceinstcd"));
  4015. dsf_makeValue(ds_send_temp, "srchhealexamflag", "string", "G");
  4016. dsf_makeValue(ds_send_temp, "srchnewyn", "string", "Y");
  4017. dsf_makeValue(ds_send_temp, "srchquerytype", "string", "S");
  4018. dsf_makeValue(ds_send_temp, "srchfromdd", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "hopedd").substr(0,4)+"0101");
  4019. dsf_makeValue(ds_send_temp, "srchtodd", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "hopedd").substr(0,4)+"1231");
  4020. dsf_makeValue(ds_send_temp, "srchpid", "string", ds_send.getColumn(0, "srchpid"));
  4021. dsf_makeValue(ds_send_temp, "srchhealexamgubun", "string", ds_send.getColumn(0, "srchhealexamgubun"));
  4022. dsf_makeValue(ds_send_temp, "srchhealexamdetlflag", "string", ds_send.getColumn(0, "srchhealexamdetlflag"));
  4023. //대기자조회
  4024. var oParam = {};
  4025. oParam.id = "TRAHR02401";
  4026. oParam.service = "healexamrsltjudgapp.GnrlJudgInpt";
  4027. oParam.method = "reqGetGnrlJudgPatList";
  4028. oParam.inds = "req=ds_send_temp";
  4029. oParam.outds = "ds_acptlist_temp=item";
  4030. oParam.callback = "cf_TRAHR02401";
  4031. oParam.async = false;
  4032. tranf_submit(oParam);
  4033. }
  4034. function cf_TRAHR02401(sSvcId, nErrorCode, sErrorMsg) {
  4035. if(nErrorCode < 0) return;
  4036. if(ds_acptlist_temp.rowcount > 0) {
  4037. sysf_messageBox("해당년도에 예약된 일자가" , "I010");
  4038. group2.btn_rsrvsave.enable = false;
  4039. } else {
  4040. group2.btn_rsrvsave.enable = true;
  4041. group2.btn_rsrvsave.click();
  4042. }
  4043. }
  4044. function group2_btn_rsrvsave_onclick(obj:Button, e:ClickEventInfo)
  4045. {
  4046. if(ds_hidden_patinfo_info.rowcount == 0) {
  4047. sysf_messageBox("환자정보가" , "I004");
  4048. return;
  4049. }else if(utlf_isNull(ds_main_info_rsrvacptinfo_item.getColumn(0, "rsrvtm"))){
  4050. sysf_messageBox("예약시간이 선택되지 않았습니다." , "E");
  4051. return;
  4052. }else{
  4053. // 직원예약시 감면정보 조회토록 수정 (2019/03/29 이정택)
  4054. ds_send.addColumn("pid", "string");
  4055. ds_send.setColumn(0, "pid", ds_send.getColumn(0, "srchpid"));
  4056. var oParam = {};
  4057. oParam.id = "TRPMC03802";
  4058. oParam.service = "pamcomnapp.PamComn";
  4059. oParam.method = "reqGetFamyList";
  4060. oParam.inds = "req=ds_send";
  4061. oParam.outds = "ds_main_famylist=famylist ds_main_uncolist=uncolist";
  4062. oParam.async = false;
  4063. tranf_submit(oParam);
  4064. }
  4065. if(sysf_messageBox("해당 시간에 검진 예약확인 후 저장을 해주세요.\n예약저장 후 수정은 불가하며 예약 취소는 해당 검진센터로 연락주시기 바랍니다.\n예약저장 하시겠습니까?", "Q999", "") != "6") {
  4066. return false;
  4067. }
  4068. if(ds_main_famylist.rowcount==1){
  4069. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "empid", "string", ds_main_famylist.getColumn(0, "emplno"));
  4070. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "empnm", "string", ds_main_famylist.getColumn(0, "emplname"));
  4071. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "emprelacd", "string", ds_main_famylist.getColumn(0, "famyrelcd"));
  4072. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "disccd", "string", ds_main_famylist.getColumn(0, "discuncocd"));
  4073. }else if(ds_main_famylist.rowcount>1){
  4074. sysf_messageBox("직원의 감면정보가 정확하지 않습니다. 원무과 연락 후 예약바랍니다." , "E");
  4075. return;
  4076. }
  4077. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "rgstno1", "string", ds_hidden_patinfo_info.getColumn(0, "rgstno1"));
  4078. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "rgstno2", "string", ds_hidden_patinfo_info.getColumn(0, "rgstno2"));
  4079. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "healexamflag", "string", "G");
  4080. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "healexamdetlflag", "string", ds_send.getColumn(0, "srchhealexamdetlflag"));
  4081. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "orddeptcd", "string", ds_main_stdval_item.lookupExpr("stdm_healexamflag == 'G' && stdm_healexamdetlflag == 'G01'", "stdm_meddeptcd"));
  4082. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "orddrid", "string", ds_main_stdval_item.lookupExpr("stdm_healexamflag == 'G' && stdm_healexamdetlflag == 'G01'", "stdm_orddrid"));
  4083. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "healexamgubun", "string", ds_send.getColumn(0, "srchhealexamgubun"));
  4084. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "pkgcd", "string", "VP0099"); //무료패키지
  4085. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "healexamplacecd", "string", "K"); //공단
  4086. dsf_makeValue(ds_main_info_rsrvacptinfo_item, "dgflag", "string", "1"); //1차
  4087. //dsf_makeValue(ds_main_info_rsrvacptinfo_item, "orddd", "string", utlf_getCurrentDate());
  4088. //dsf_makeValue(ds_main_info_rsrvacptinfo_item, "orddd", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "hopedd"));
  4089. finsuCheck();
  4090. fSaveRsrvAcptTotal();
  4091. }
  4092. function fSaveRsrvAcptTotal(){
  4093. var vMode = "C";
  4094. var sMode = "예약";
  4095. dsf_createDs("ds_send_save_patinfo");
  4096. dsf_createDs("ds_send_save_rsrvacptinfo");
  4097. dsf_createDs("ds_send_save_addlst");
  4098. dsf_createDs("ds_send_save_taginfo");
  4099. dsf_createDs("ds_send_save_rsltsave_rsltrsrv");
  4100. dsf_createDs("ds_send_save_bizhistInfo");
  4101. dsf_createDs("ds_send_save_spclsympinfo");
  4102. dsf_createDs("ds_send_save_prcpinfo");
  4103. /**
  4104. * 수진자정보
  4105. */
  4106. ds_send_save_patinfo.copyData(ds_hidden_patinfo_info);
  4107. /**
  4108. * 예약접수정보
  4109. */
  4110. ds_main_info_rsrvacptinfo_item.setColumn(0, "mode", vMode);
  4111. ds_send_save_rsrvacptinfo.copyData(ds_main_info_rsrvacptinfo_item);
  4112. dsf_makeValue(ds_send_save_rsrvacptinfo, "patm_brthareacnts", "string", ds_hidden_patinfo_info.getColumn(0, "brthareacnts"));
  4113. // dsf_makeValue(ds_send_save_rsrvacptinfo, "acpt_brthareacnts", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "brthareacnts"));
  4114. // dsf_makeValue(ds_send_save_rsrvacptinfo, "acpt_pkgcd", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "pkgcd"));
  4115. // dsf_makeValue(ds_send_save_rsrvacptinfo, "acpt_cmpycd", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "cmpycd"));
  4116. // dsf_makeValue(ds_send_save_rsrvacptinfo, "acpt_conseq", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "conseq"));
  4117. // dsf_makeValue(ds_send_save_rsrvacptinfo, "acpt_conhistseq", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "conhistseq"));
  4118. // dsf_makeValue(ds_send_save_rsrvacptinfo, "acpt_clntempid", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "clntempid"));
  4119. // dsf_makeValue(ds_send_save_rsrvacptinfo, "acpt_deptcd", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "deptcd"));
  4120. // dsf_makeValue(ds_send_save_rsrvacptinfo, "acpt_healexamgubun", "string", ds_main_info_rsrvacptinfo_item.getColumn(0, "healexamgubun"));
  4121. ds_send_save_patinfo.addColumn("rrgstno1", "string");
  4122. ds_send_save_patinfo.addColumn("rrgstno2", "string");
  4123. ds_send_save_patinfo.addColumn("srchinstcd", "string");
  4124. for( var i=0 ; i<ds_send_save_patinfo.rowcount ; i++ ){
  4125. ds_send_save_patinfo.setColumn(i, "rrgstno1", ds_send_save_patinfo.getColumn(i, "rgstno1"));
  4126. ds_send_save_patinfo.setColumn(i, "rrgstno2", ds_send_save_patinfo.getColumn(i, "rgstno2"));
  4127. ds_send_save_patinfo.setColumn(i, "srchinstcd", ds_send_save_patinfo.getColumn(i, "instcd"));
  4128. }
  4129. if( !utlf_isNull(ds_send_save_patinfo.getColumnInfo("srchrgstno1")) ){
  4130. ds_send_save_patinfo.enableevent = false;
  4131. ds_send_save_patinfo.updatecontrol = false;
  4132. ds_send_save_patinfo.deleteColumn("srchrgstno1");
  4133. ds_send_save_patinfo.updatecontrol = true;
  4134. ds_send_save_patinfo.enableevent = true;
  4135. }
  4136. ds_send_save_patinfo.updateColID("rgstno1", "srchrgstno1");
  4137. ds_send_save_patinfo.updateColID("rgstno2", "srchrgstno2");
  4138. dsf_makeValue(ds_send_save_patinfo, "userid", "string", sysf_getUserInfo("userid"));
  4139. ds_send_save_addlst.copyData(ds_main_info_addlst_item);
  4140. ds_send_save_addlst.setColumn(0, "orddd", ds_main_info_rsrvacptinfo_item.getColumn(0, "hopedd"));
  4141. ds_send_save_addlst.setColumn(0, "hopedd", ds_main_info_rsrvacptinfo_item.getColumn(0, "hopedd"));
  4142. // ds_send_save_rsrvacptinfo.updateColID("acpt_deptcd", "deptcd");
  4143. // ds_send_save_rsrvacptinfo.updateColID("acpt_healexamgubun", "healexamgubun");
  4144. // ds_send_save_rsrvacptinfo.updateColID("acpt_clntempid", "clntempid");
  4145. // ds_send_save_rsrvacptinfo.updateColID("acpt_pkgcd", "pkgcd");
  4146. // ds_send_save_rsrvacptinfo.updateColID("acpt_cmpycd", "cmpycd");
  4147. // ds_send_save_rsrvacptinfo.updateColID("acpt_conseq", "conseq");
  4148. // ds_send_save_rsrvacptinfo.updateColID("acpt_conhistseq", "conhistseq");
  4149. // ds_send_save_rsrvacptinfo.updateColID("pkguncocd", "uncocd");
  4150. if( !utlf_isNull(ds_send_save_rsrvacptinfo.getColumnInfo("rgstno1")) ){
  4151. ds_send_save_rsrvacptinfo.updateColID("rgstno1", "srchrgstno1");
  4152. }else{
  4153. ds_send_save_rsrvacptinfo.addColumn("srchrgstno1", "string");
  4154. }
  4155. if( !utlf_isNull(ds_send_save_rsrvacptinfo.getColumnInfo("rgstno2")) ){
  4156. ds_send_save_rsrvacptinfo.updateColID("rgstno2", "srchrgstno2");
  4157. }else{
  4158. ds_send_save_rsrvacptinfo.addColumn("srchrgstno2", "string");
  4159. }
  4160. ds_send_save_rsrvacptinfo.addColumn("relacd", "string");
  4161. for( var i=0 ; i<ds_send_save_rsrvacptinfo.rowcount ; i++ ){
  4162. ds_send_save_rsrvacptinfo.setColumn(i, "relacd", ds_send_save_rsrvacptinfo.getColumn(i, "emprelacd"));
  4163. }
  4164. if(!utlf_isNull(ds_send_save_patinfo.getColumn(0, "email"))) {
  4165. var arrEmail = ds_send_save_patinfo.getColumn(0, "email").split("@");
  4166. dsf_makeValue(ds_send_save_patinfo, "emailid", "string", arrEmail[0]);
  4167. dsf_makeValue(ds_send_save_patinfo, "emailtype", "string", "@"+arrEmail[1]);
  4168. } else {
  4169. dsf_makeValue(ds_send_save_patinfo, "emailid", "string", "");
  4170. dsf_makeValue(ds_send_save_patinfo, "emailtype", "string", "");
  4171. }
  4172. ds_send_save_patinfo.updateColID("mpphontel","mpphon");
  4173. ds_send_save_patinfo.updateColID("hometel","telno");
  4174. ds_send_save_patinfo.updateColID("zipcd1","zipcd11");
  4175. ds_send_save_patinfo.updateColID("zipcd2","zipcd12");
  4176. ds_send_save_patinfo.updateColID("zipcdseq","zipcdseq1");
  4177. ds_send_save_patinfo.updateColID("addr","addr1");
  4178. ds_send_save_patinfo.updateColID("detladdr","detladdr1");
  4179. ds_send_save_patinfo.updateColID("builno","builno1");
  4180. var oParam = {};
  4181. oParam.id = "TXAHA04041";
  4182. oParam.service = "healthexamrsrvacptapp.TotalRsrvAcpt";
  4183. oParam.method = "reqExeTotalRsrvSave";
  4184. oParam.inds = "patinfo=ds_send_save_patinfo rsrvacptinfo=ds_send_save_rsrvacptinfo addlst=ds_send_save_addlst taginfo=ds_send_save_taginfo rsltrsrv=ds_send_save_rsltsave_rsltrsrv bizhist=ds_send_save_bizhistInfo spclsymp=ds_send_save_spclsympinfo prcpinfo=ds_send_save_prcpinfo";
  4185. oParam.async = false;
  4186. oParam.callback = "cf_TXAHA04041";
  4187. tranf_submit(oParam);
  4188. if(arErrorCode.pop("TXAHA04041") > -1){
  4189. group2.btn_search.click();
  4190. }
  4191. }
  4192. function cf_TXAHA04041(sSvcId, nErrorCode, sErrorMsg) {
  4193. arErrorCode.push(sSvcId, nErrorCode);
  4194. }
  4195. function group2_btn_srchpatPtbs_onclick(obj:Button, e:ClickEventInfo)
  4196. {
  4197. frmf_modal('SPPMC02500', 'SPPMC02500', '', '', '', '', '', '', '', '', '', '', 'M');
  4198. }
  4199. /*-**************************************************************************************
  4200. * Argument : N/A
  4201. * Description : 건진별기본정보조회
  4202. ****************************************************************************************/
  4203. function fGetStdVal(){
  4204. ds_main_stdval_item.clearData();
  4205. var oParam = {};
  4206. oParam.id = "TRAHA03151";
  4207. oParam.service = "healthexambaseapp.ComCode";
  4208. oParam.method = "reqGetStdVal";
  4209. oParam.inds = "req=ds_send";
  4210. oParam.outds = "ds_main_stdval_item=item";
  4211. oParam.async = false;
  4212. //oParam.callback = "cf_TRAHA03151";
  4213. tranf_submit(oParam);
  4214. }
  4215. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  4216. {
  4217. if(ds_main_acptlist.rowcount > 0) {
  4218. if(sysf_messageBox("문진 작성을 취소하시겠습니까? 변경한 내용은 저장되지 않습니다." , "Q") == "6") this.reload();
  4219. } else {
  4220. this.reload();
  4221. }
  4222. }
  4223. //남성일 경우 유방암/자궁암 선택NO
  4224. function grd_acptlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  4225. {
  4226. var sex = objects[obj.binddataset].getColumn(e.row, "sex");
  4227. if(sex == "M") {
  4228. grp_btn_G09.btn_a_g09_4_p_tyn.enable = false;
  4229. grp_btn_G09.btn_a_g09_5_p_tyn.enable = false;
  4230. } else {
  4231. grp_btn_G09.btn_a_g09_4_p_tyn.enable = true;
  4232. grp_btn_G09.btn_a_g09_5_p_tyn.enable = true;
  4233. }
  4234. }
  4235. function group2_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  4236. {
  4237. if(e.keycode == 13) {
  4238. obj.updateToDataset();
  4239. group2.btn_search.click();
  4240. }
  4241. }
  4242. function Button00_onclick(obj:Button, e:ClickEventInfo)
  4243. {
  4244. Div00.visible = !Div00.visible;
  4245. }]]></Script>
  4246. </Form>
  4247. </FDL>