SMAHR00500_종합판정관리.xfdl 141 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAHR00500" position="absolute 0 0 1201 801" titletext="종합판정관리" oninit="SMAHR00500_oninit" onload="SMAHR00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="switch1" taborder="2" tabindex="0" position="absolute 0 27 1195 772" anchor="all">
  8. <Tabpages>
  9. <Tabpage id="case_pat" text="판정대기자">
  10. <Layouts>
  11. <Layout>
  12. <Div id="group3" taborder="1" position="absolute 1045 63 1180 88">
  13. <Layouts>
  14. <Layout>
  15. <Static id="caption25" text="결과" position="absolute 25 5 55 20" anchor="default"/>
  16. <Static id="caption27" text="결과완료" position="absolute 80 5 135 20" anchor="default"/>
  17. <Shape id="roundrect4" position="absolute 57 4 77 21" style="fillbrush:none transparent true;background:#f8939fff;" type="roundrectangle" anchor="default"/>
  18. <Shape id="roundrect3" type="roundrectangle" position="absolute 3 4 23 21" style="fillbrush:solid transparent true;background:#7ffc76ff;" anchor="default"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Shape id="line6" linetype="horizontal" class="line_10" position="absolute 0 84 1195 90" anchor="left top right"/>
  23. <Grid id="grd_judgpatlst" taborder="2" binddataset="ds_main_judgpatlst_item" useinputpanel="false" position="absolute 0 89 1195 714" autoenter="select" cellsizingtype="col" anchor="all" oncelldblclick="switch1_case_pat_grd_judgpatlst_oncelldblclick" onheadclick="switch1_case_pat_grd_judgpatlst_onheadclick" onhscroll="switch1_case_pat_grd_judgpatlst_onhscroll">
  24. <Formats>
  25. <Format id="default">
  26. <Columns>
  27. <Column size="26"/>
  28. <Column size="76"/>
  29. <Column size="0"/>
  30. <Column size="73"/>
  31. <Column size="38"/>
  32. <Column size="36"/>
  33. <Column size="90"/>
  34. <Column size="90"/>
  35. <Column size="60"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="100"/>
  40. <Column size="0"/>
  41. <Column size="100"/>
  42. <Column size="71"/>
  43. <Column size="58"/>
  44. <Column size="71"/>
  45. <Column size="71"/>
  46. <Column size="60"/>
  47. <Column size="90"/>
  48. <Column size="246"/>
  49. <Column size="0"/>
  50. <Column size="0"/>
  51. <Column size="0"/>
  52. <Column size="0"/>
  53. <Column size="0"/>
  54. <Column size="0"/>
  55. </Columns>
  56. <Rows>
  57. <Row size="24" band="head"/>
  58. <Row size="24"/>
  59. </Rows>
  60. <Band id="head">
  61. <Cell/>
  62. <Cell col="1" text="성명"/>
  63. <Cell col="2" text="영문명"/>
  64. <Cell col="3" text="등록번호"/>
  65. <Cell col="4" text="성별"/>
  66. <Cell col="5" text="나이"/>
  67. <Cell col="6" text="집전화"/>
  68. <Cell col="7" text="휴대전화"/>
  69. <Cell col="8" text="상태"/>
  70. <Cell col="9" text="접수시간"/>
  71. <Cell col="10" text="접수일자"/>
  72. <Cell col="11" text="패키지코드"/>
  73. <Cell col="12" text="패키지명"/>
  74. <Cell col="13" text="단체코드"/>
  75. <Cell col="14" text="단체명"/>
  76. <Cell col="15" text="예약일자"/>
  77. <Cell col="16" text="예약시간"/>
  78. <Cell col="17" text="결과상담"/>
  79. <Cell col="18" text="판정일자"/>
  80. <Cell col="19" text="판정시간"/>
  81. <Cell col="20" text="판정의"/>
  82. <Cell col="21" text="접수비고"/>
  83. <Cell col="22" text="예약등록일자"/>
  84. <Cell col="23" text="예약등록번호"/>
  85. <Cell col="24" text="외래생성번호"/>
  86. <Cell col="25" text="주민번호1"/>
  87. <Cell col="26" text="주민번호2"/>
  88. <Cell col="27" text="rsltyn"/>
  89. </Band>
  90. <Band id="body">
  91. <Cell celltype="head" expr="currow+1"/>
  92. <Cell col="1" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:hngnm"/>
  93. <Cell col="2" style="background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:engnm"/>
  94. <Cell col="3" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:pid"/>
  95. <Cell col="4" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:sex"/>
  96. <Cell col="5" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:age"/>
  97. <Cell col="6" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:hometel"/>
  98. <Cell col="7" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:mpphontel"/>
  99. <Cell col="8" displaytype="combo" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:statflag" combodataset="ds_init_baseinfo_statlst_A0107" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  100. <Cell col="9" style="background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:ordtm" mask="hh:nn"/>
  101. <Cell col="10" style="background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:orddd" mask="yyyy-mm-dd"/>
  102. <Cell col="11" style="background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:pkgcd"/>
  103. <Cell col="12" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:pkgnm"/>
  104. <Cell col="13" style="background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:cmpycd"/>
  105. <Cell col="14" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:cmpynm"/>
  106. <Cell col="15" displaytype="date" style="background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:hopedd" calendardisplaynulltype="nulltext"/>
  107. <Cell col="16" style="background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:rsrvtm" mask="##:##" maskchar=" "/>
  108. <Cell col="17" displaytype="combo" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:rsltcnstflag" combodataset="ds_init_baseinfo_rsltcnstflaglst_A0123" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  109. <Cell col="18" displaytype="date" style="background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:judgdd" calendardisplaynulltype="nulltext"/>
  110. <Cell col="19" style="background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:judgtm" mask="##:##" maskchar=" "/>
  111. <Cell col="20" displaytype="combo" style="align:center middle;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:judgdrid" combodataset="ds_init_baseinfo_drlst_itemdr" combocodecol="drid" combodatacol="drnm" enable="false"/>
  112. <Cell col="21" style="align:left middle;padding:0 0 0 3;background:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');background2:EXPR(statflag == 'G' &amp;&amp; rsltyn == 'Y' ? '#f8939f' : statflag == 'G' ? '#7ffc76' : '');" text="bind:remcnts"/>
  113. <Cell col="22" text="bind:rsrvdd"/>
  114. <Cell col="23" text="bind:rsrvno"/>
  115. <Cell col="24" text="bind:cretno"/>
  116. <Cell col="25" text="bind:rgstno1"/>
  117. <Cell col="26" text="bind:rgstno2"/>
  118. <Cell col="27" text="bind:rsltyn"/>
  119. </Band>
  120. </Format>
  121. </Formats>
  122. </Grid>
  123. <Div id="group2" taborder="3" position="absolute 0 0 1195 60" class="div_SA2" anchor="left top right">
  124. <Layouts>
  125. <Layout>
  126. <Static id="caption13" text="건진일자 :" class="search_name" position="absolute 425 9 511 26" anchor="default"/>
  127. <Static id="caption14" text="건진종류 :" class="search_name" position="absolute 11 9 100 26" anchor="default"/>
  128. <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1113 9 1169 31" anchor="top right" onclick="switch1_case_pat_group2_btn_search_onclick"/>
  129. <Shape id="line16" linetype="vertical" position="absolute 1098 10 1104 29" anchor="top right"/>
  130. <Combo id="cmb_srchhealexamdetlflag" taborder="2" innerdataset="@ds_init_baseinfo_hedetlflaglst_A0069" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" position="absolute 101 8 210 27" anchor="default"/>
  131. <Calendar id="ipt_srchfromdd" taborder="3" class="input_essential" position="absolute 511 8 616 27" anchor="default" autoselect="true" autoskip="true"/>
  132. <Calendar id="ipt_srchtodd" taborder="4" class="input_essential" position="absolute 631 8 736 27" anchor="default" autoselect="true" autoskip="true" onchanged="switch1_case_pat_group2_ipt_srchtodd_onchanged"/>
  133. <Combo id="cmb_srchjudgdrid" taborder="5" innerdataset="@ds_init_baseinfo_drlst_itemdr" codecolumn="drid" datacolumn="drnm" class="combo_essential" visible="false" position="absolute 1070 35 1175 54" anchor="default" onitemchanged="switch1_case_pat_group2_cmb_srchjudgdrid_onitemchanged"/>
  134. <Static id="caption1" text="판정의 :" class="search_name" visible="false" position="absolute 992 35 1081 52" anchor="default"/>
  135. <Edit id="ipt_pnm" taborder="6" class="input_default" position="absolute 979 8 1083 27" anchor="default" autoselect="true" autoskip="true"/>
  136. <Edit id="ipt_pid" taborder="7" class="input_default" position="absolute 847 8 952 27" anchor="default" autoselect="true" autoskip="true" onkeyup="switch1_case_pat_group2_ipt_pid_onkeyup"/>
  137. <Static id="caption3" text="등록번호 :" class="search_name" position="absolute 765 10 854 27" anchor="default"/>
  138. <Static id="caption18" text="~" class="search_no_b" position="absolute 619 11 631 28" anchor="default"/>
  139. <Button id="btn_srchpat" taborder="8" class="icon_search" position="absolute 956 8 972 24" anchor="default" onclick="switch1_case_pat_group2_btn_srchpat_onclick"/>
  140. <Static id="caption20" text="사업장명 :" class="search_name" position="absolute 11 35 100 52" anchor="default"/>
  141. <Edit id="ipt_cmpycd" taborder="9" class="input_default" position="absolute 101 35 210 54" anchor="default" onkeyup="switch1_case_pat_group2_ipt_cmpycd_onkeyup"/>
  142. <Button id="btn_selcmpy" taborder="10" class="icon_search" position="absolute 215 35 231 51" anchor="default" onclick="switch1_case_pat_group2_btn_selcmpy_onclick"/>
  143. <Edit id="opt_cmpynm" taborder="11" readonly="true" position="absolute 240 35 400 54" anchor="default" class="output"/>
  144. <Static id="caption24" text="건진장소 :" class="search_name" position="absolute 230 10 308 27" anchor="default"/>
  145. <Combo id="cmb_placeflag" taborder="12" innerdataset="@ds_init_baseinfo_healexamplacelst_S600" codecolumn="cdid" datacolumn="cdnm" class="combo_default" position="absolute 315 9 391 28" anchor="default"/>
  146. <cp_checkboxList id="checkbox1" titletext="CheckBox List" taborder="13" scrollbars="none" position="absolute 511 33 967 58" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" anchor="default"/>
  147. </Layout>
  148. </Layouts>
  149. </Div>
  150. <Static id="caption5" text="대기자리스트" class="tit_2" position="absolute 0 68 100 89"/>
  151. <Static id="caption31" text="상태구분 :" class="search_name" position="absolute 425 40 522 57"/>
  152. </Layout>
  153. </Layouts>
  154. </Tabpage>
  155. <Tabpage id="case_judg" text="종합판정">
  156. <Layouts>
  157. <Layout>
  158. <TextArea id="tar_rsltcnts1_plus" taborder="20" visible="false" position="absolute 550 0 1195 237" wordwrap="word" acceptstab="true" autoselect="true"/>
  159. <TextArea id="tar_rsltcnts2_plus" taborder="21" visible="false" position="absolute 550 238 1195 475" wordwrap="word" acceptstab="true" autoselect="true"/>
  160. <TextArea id="tar_rsltcnts3_plus" taborder="22" visible="false" position="absolute 550 476 1195 713" wordwrap="word" acceptstab="true" autoselect="true"/>
  161. <Grid id="grd_rsltlst" taborder="1" binddataset="ds_main_judgdetl_rsltlst_item" useinputpanel="false" position="absolute 0 135 545 522" autoenter="select" autofittype="col" cellsizingtype="col" oncelldblclick="switch1_case_judg_grd_rsltlst_oncelldblclick" oncellclick="switch1_case_judg_grd_rsltlst_oncellclick">
  162. <Formats>
  163. <Format id="default">
  164. <Columns>
  165. <Column size="24"/>
  166. <Column size="95"/>
  167. <Column size="67"/>
  168. <Column size="30"/>
  169. <Column size="67"/>
  170. <Column size="30"/>
  171. <Column size="67"/>
  172. <Column size="30"/>
  173. <Column size="65"/>
  174. <Column size="50"/>
  175. <Column size="0"/>
  176. <Column size="0"/>
  177. <Column size="0"/>
  178. <Column size="0"/>
  179. </Columns>
  180. <Rows>
  181. <Row size="24" band="head"/>
  182. <Row size="24"/>
  183. </Rows>
  184. <Band id="head">
  185. <Cell/>
  186. <Cell col="1" text="처방명칭"/>
  187. <Cell col="2" text="2009"/>
  188. <Cell col="3" text="판정"/>
  189. <Cell col="4" text="2008"/>
  190. <Cell col="5" text="판정"/>
  191. <Cell col="6" text="2007"/>
  192. <Cell col="7" text="판정"/>
  193. <Cell col="8" text="기준"/>
  194. <Cell col="9" text="단위"/>
  195. <Cell col="10" text="testcd"/>
  196. <Cell col="11" text="execprcpuniqno"/>
  197. <Cell col="12" text="prcpdd"/>
  198. <Cell col="13" text="testyn"/>
  199. </Band>
  200. <Band id="body">
  201. <Cell celltype="head" expr="currow+1"/>
  202. <Cell col="1" style="align:left middle;padding:0 0 0 3;font:EXPR(!utlf_isNull(testyn) &amp;&amp; testyn == 'Y' ? 'arial,9,bold' : '');" text="bind:testnm"/>
  203. <Cell col="2" displaytype="text" style="align:left middle;" text="bind:rslt1"/>
  204. <Cell col="3" style="align:center middle;background:EXPR(!utlf_isNull(judgrsltcnts1) &amp;&amp; judgrsltcnts1 == 'H' ? '#ff7a85' : !utlf_isNull(judgrsltcnts1) &amp;&amp; judgrsltcnts1 == 'L' ? '#99ccff' : '');background2:EXPR(!utlf_isNull(judgrsltcnts1) &amp;&amp; judgrsltcnts1 == 'H' ? '#ff7a85' : !utlf_isNull(judgrsltcnts1) &amp;&amp; judgrsltcnts1 == 'L' ? '#99ccff' : '');selectbackground:EXPR(!utlf_isNull(judgrsltcnts1) &amp;&amp; judgrsltcnts1 == 'H' ? '#ff7a85' : !utlf_isNull(judgrsltcnts1) &amp;&amp; judgrsltcnts1 == 'L' ? '#99ccff' : '');" text="bind:judgrsltcnts1"/>
  205. <Cell col="4" displaytype="text" text="bind:rslt2"/>
  206. <Cell col="5" style="align:center middle;background:EXPR(!utlf_isNull(judgrsltcnts2) &amp;&amp; judgrsltcnts2 == 'H' ? '#ff7a85' : !utlf_isNull(judgrsltcnts2) &amp;&amp; judgrsltcnts2 == 'L' ? '#99ccff' : '');background2:EXPR(!utlf_isNull(judgrsltcnts2) &amp;&amp; judgrsltcnts2 == 'H' ? '#ff7a85' : !utlf_isNull(judgrsltcnts2) &amp;&amp; judgrsltcnts2 == 'L' ? '#99ccff' : '');" text="bind:judgrsltcnts2"/>
  207. <Cell col="6" displaytype="text" text="bind:rslt3"/>
  208. <Cell col="7" style="align:center middle;background:EXPR(!utlf_isNull(judgrsltcnts3) &amp;&amp; judgrsltcnts3 == 'H' ? '#ff7a85' : !utlf_isNull(judgrsltcnts3) &amp;&amp; judgrsltcnts3 == 'L' ? '#99ccff': '');background2:EXPR(!utlf_isNull(judgrsltcnts3) &amp;&amp; judgrsltcnts3 == 'H' ? '#ff7a85' : !utlf_isNull(judgrsltcnts3) &amp;&amp; judgrsltcnts3 == 'L' ? '#99ccff': '');" text="bind:judgrsltcnts3"/>
  209. <Cell col="8" style="align:left middle;padding:0 0 0 3;" text="bind:stndval"/>
  210. <Cell col="9" style="align:left middle;padding:0 0 0 3;" text="bind:rsltunit"/>
  211. <Cell col="10" text="bind:testcd"/>
  212. <Cell col="11" text="bind:execprcpuniqno"/>
  213. <Cell col="12" text="bind:prcpdd"/>
  214. <Cell col="13" text="bind:testyn"/>
  215. </Band>
  216. </Format>
  217. </Formats>
  218. </Grid>
  219. <Grid id="grd_rslttextlst" taborder="2" binddataset="ds_main_judgdetl_rsltlst_itemtext" useinputpanel="false" position="absolute 0 527 233 713" autoenter="select" autofittype="col" cellsizingtype="both" oncelldblclick="switch1_case_judg_grd_rslttextlst_oncelldblclick" oncellclick="switch1_case_judg_grd_rslttextlst_oncellclick">
  220. <Formats>
  221. <Format id="default">
  222. <Columns>
  223. <Column size="25" band="left"/>
  224. <Column size="197"/>
  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. </Columns>
  232. <Rows>
  233. <Row size="24" band="head"/>
  234. <Row size="24"/>
  235. </Rows>
  236. <Band id="head">
  237. <Cell/>
  238. <Cell col="1" text="처방명칭"/>
  239. <Cell col="2" text="testcd"/>
  240. <Cell col="3" text="caption1"/>
  241. <Cell col="4" text="caption2"/>
  242. <Cell col="5" text="execprcpuniqno"/>
  243. <Cell col="6" text="prcpdd"/>
  244. <Cell col="7" text="rsrvdd"/>
  245. </Band>
  246. <Band id="body">
  247. <Cell celltype="head" expr="currow+1"/>
  248. <Cell col="1" displaytype="text" style="align:left top;padding:4 1 2 1;background:EXPR(ds_send.getColumn(0, &quot;srchrsrvdd&quot;) == rsrvdd ? '#CCFFCC' : '');background2:EXPR(ds_send.getColumn(0, &quot;srchrsrvdd&quot;) == rsrvdd ? '#CCFFCC' : '');" text="bind:testnm" wordwrap="word"/>
  249. <Cell col="2" text="bind:testcd"/>
  250. <Cell col="3" text="bind:judgrslt"/>
  251. <Cell col="4" text="bind:rslt1"/>
  252. <Cell col="5" text="bind:execprcpuniqno"/>
  253. <Cell col="6" text="bind:prcpdd"/>
  254. <Cell col="7" text="bind:rsrvdd"/>
  255. </Band>
  256. </Format>
  257. </Formats>
  258. </Grid>
  259. <Div id="group5" taborder="3" position="absolute 232 526 546 717">
  260. <Layouts>
  261. <Layout>
  262. <MaskEdit id="cap_year1" taborder="7" mask="####" maskchar=" " position="absolute 3 1 43 61" style="background:#ecf7fcff;border:1 solid #9ebed4ff ;align:center middle;" type="string" trimtype="both" class="cell_1" anchor="default"/>
  263. <Button id="btn_year" taborder="10" ondblclick="switch1_case_judg_group5_btn_year1_ondblclick" position="absolute 5 5 40 57" style="background:transparent;border:0 none #808080ff ;color:transparent;" anchor="default"/>
  264. <Button id="btn_year1" taborder="6" position="absolute 10 6 37 58" style="background:transparent;border:2 none #33bbbbff #effcfbff;color:transparent;" anchor="default" ondblclick="switch1_case_judg_group5_btn_year1_ondblclick" onclick="switch1_case_judg_group5_btn_year1_onclick"/>
  265. <TextArea id="tar_rsltcnts1" taborder="1" position="absolute 44 1 312 61" anchor="default" acceptstab="true" autoselect="true" wordwrap="word"/>
  266. <TextArea id="tar_rsltcnts3" taborder="2" position="absolute 44 127 312 187" anchor="default" acceptstab="true" autoselect="true" wordwrap="english"/>
  267. <TextArea id="tar_rsltcnts2" taborder="3" position="absolute 44 64 312 124" anchor="default" acceptstab="true" autoselect="true" wordwrap="english"/>
  268. <Shape id="line5" linetype="horizontal" class="line_2" position="absolute 0 123 298 129" anchor="default"/>
  269. <Shape id="line7" linetype="horizontal" class="line_2" position="absolute 0 60 314 66" anchor="default"/>
  270. <MaskEdit id="cap_year2" taborder="11" type="string" mask="####" maskchar=" " trimtype="both" class="cell_1" position="absolute 3 64 43 124" style="background:#ecf7fcff;border:1 solid #9ebed4ff ;align:center middle;" anchor="default"/>
  271. <MaskEdit id="cap_year3" taborder="12" type="string" mask="####" maskchar=" " trimtype="both" class="cell_1" position="absolute 3 127 43 187" style="background:#ecf7fcff;border:1 solid #9ebed4ff ;align:center middle;" anchor="default"/>
  272. <Button id="btn_year2" taborder="13" position="absolute 11 68 38 120" style="background:transparent;border:2 none #33bbbbff #effcfbff;color:transparent;" ondblclick="switch1_case_judg_group5_btn_year2_ondblclick"/>
  273. <Button id="btn_year3" taborder="14" position="absolute 9 131 36 183" style="background:transparent;border:2 none #33bbbbff #effcfbff;color:transparent;" ondblclick="switch1_case_judg_group5_btn_year3_ondblclick"/>
  274. <Button id="btn_plus" taborder="4" class="icon_plus" position="absolute 23 3 37 18" anchor="default" onclick="switch1_case_judg_group5_btn_plus_onclick"/>
  275. <Button id="btn_minus" taborder="5" class="icon_minus" position="absolute 8 3 22 18" anchor="default" onclick="switch1_case_judg_group5_btn_minus_onclick"/>
  276. </Layout>
  277. </Layouts>
  278. </Div>
  279. <Shape id="line9" linetype="horizontal" class="line_10" position="absolute 0 522 545 528" onclick="switch1_case_judg_line9_onclick"/>
  280. <Shape id="line3" linetype="horizontal" class="line_10" position="absolute 550 22 1195 28"/>
  281. <Static id="caption21" text="종합판정내용" class="tit_2" position="absolute 550 6 650 28"/>
  282. <Button id="btn_nextpat" taborder="4" text="다음환자" class="btn2" position="absolute 1123 0 1195 22" style="font:Dotum,9,bold;" onclick="switch1_case_judg_btn_nextpat_onclick"/>
  283. <Shape id="line11" linetype="horizontal" class="line_3" position="absolute 0 712 545 718"/>
  284. <Static id="caption4" text="종합판정" class="tit_2" position="absolute 0 88 100 109"/>
  285. <Static id="caption23" text="패키지명" class="cell_1" position="absolute 0 109 60 132"/>
  286. <Edit id="opt_pkgnm" taborder="5" readonly="true" position="absolute 62 111 390 130" class="output"/>
  287. <Shape id="line8" linetype="horizontal" class="line_3" position="absolute 0 131 545 137"/>
  288. <Shape id="line12" linetype="horizontal" class="line_3" position="absolute 550 143 1195 149"/>
  289. <Static id="caption7" class="cell_1" position="absolute 550 27 628 144"/>
  290. <Tab id="switch2" taborder="6" tabindex="0" position="absolute 550 148 1195 718">
  291. <Tabpages>
  292. <Tabpage id="case_hng" text="한글">
  293. <Layouts>
  294. <Layout>
  295. <Shape id="line19" linetype="horizontal" class="line_2" position="absolute 0 42 645 48"/>
  296. <Static id="caption17" text="단문" class="cell_1" position="absolute 0 0 60 43"/>
  297. <TextArea id="tar_shrthngjudgcnts" taborder="1" position="absolute 61 0 645 43" acceptstab="true" autoselect="true" wordwrap="word" oneditclick="switch1_case_judg_switch2_case_hng_tar_shrthngjudgcnts_oneditclick"/>
  298. <TextArea id="tar_judghngcnts" taborder="2" position="absolute 0 46 645 540" style="linespace:7;" wordwrap="word"/>
  299. <Button id="btn_small" taborder="3" class="icon_top" position="absolute 34 23 60 42" onclick="switch1_case_judg_switch2_case_hng_btn_small_onclick"/>
  300. <Button id="btn_large" taborder="4" class="icon_bottom" position="absolute 34 23 60 43" onclick="switch1_case_judg_switch2_case_hng_btn_large_onclick"/>
  301. </Layout>
  302. </Layouts>
  303. </Tabpage>
  304. <Tabpage id="case_eng" text="영문">
  305. <Layouts>
  306. <Layout>
  307. <Static id="caption16" text="단문" class="cell_1" position="absolute 0 0 60 43"/>
  308. <Button id="button10" taborder="3" class="icon_top" position="absolute 34 24 60 43" onclick="switch1_case_judg_switch2_case_eng_button10_onclick"/>
  309. <Button id="button11" taborder="4" class="icon_bottom" position="absolute 34 23 60 43" onclick="switch1_case_judg_switch2_case_eng_button11_onclick"/>
  310. <TextArea id="tar_judgengcnts" taborder="1" position="absolute 0 46 645 540" wordwrap="word" autoselect="true" autoskip="true"/>
  311. <Shape id="line21" linetype="horizontal" class="line_2" position="absolute 0 42 645 48"/>
  312. <TextArea id="tar_shrtengjudgcnts" taborder="2" position="absolute 61 0 645 43" acceptstab="true" autoselect="true" wordwrap="word"/>
  313. </Layout>
  314. </Layouts>
  315. </Tabpage>
  316. <Tabpage id="case_all" text="한/영">
  317. <Layouts>
  318. <Layout>
  319. <Static id="caption10" text="한글" class="cell_1" position="absolute 0 41 60 261"/>
  320. <Static id="caption12" text="영문" class="cell_1" position="absolute 0 305 60 536"/>
  321. <Shape id="line17" linetype="horizontal" class="line_2" position="absolute 0 260 645 266"/>
  322. <Shape id="line15" linetype="horizontal" class="line_3" position="absolute 0 537 645 543"/>
  323. <Shape id="line10" linetype="horizontal" class="line_2" position="absolute 0 301 645 307"/>
  324. <Shape id="line18" linetype="horizontal" class="line_2" position="absolute 0 37 645 43"/>
  325. <Static id="caption11" text="단문(한)" class="cell_1" position="absolute 0 0 60 38"/>
  326. <Static id="caption15" text="단문(영)" class="cell_1" position="absolute 0 264 60 302"/>
  327. <TextArea id="tar_judghngcnts2" taborder="1" position="absolute 63 41 641 261" wordwrap="word" acceptstab="true" autoselect="true"/>
  328. <TextArea id="tar_judgengcnts2" taborder="2" position="absolute 62 305 640 536" wordwrap="word" acceptstab="true" autoselect="true"/>
  329. <TextArea id="tar_shrthngjudgcnts1" taborder="3" position="absolute 63 0 641 38" wordwrap="word" acceptstab="true" autoselect="true"/>
  330. <TextArea id="tar_shrtengjudgcnts1" taborder="4" position="absolute 62 264 640 302" wordwrap="word" acceptstab="true" autoselect="true"/>
  331. </Layout>
  332. </Layouts>
  333. </Tabpage>
  334. <Tabpage id="case_afexam" text="추가검사">
  335. <Layouts>
  336. <Layout width="645" height="530">
  337. <Button id="button16" taborder="1" text="행추가" class="btn2" position="absolute 493 1 546 23" onclick="switch1_case_judg_switch2_case_afexam_button16_onclick"/>
  338. <Button id="btn_grdpkgdel" taborder="2" text="행삭제" class="btn2" position="absolute 548 1 601 23" onclick="switch1_case_judg_switch2_case_afexam_btn_grdpkgdel_onclick"/>
  339. <Button id="btn_basesave" taborder="3" text="저장" class="btn5" position="absolute 603 1 645 23" onclick="switch1_case_judg_switch2_case_afexam_btn_basesave_onclick"/>
  340. <Grid id="grd_afexamlist" taborder="4" binddataset="ds_main_afexamlist_item" useinputpanel="false" position="absolute 0 28 645 540" autoenter="select" cellsizingtype="col" onexpanddown="switch1_case_judg_switch2_case_afexam_grd_afexamlist_onexpanddown" cellclickbound="cell">
  341. <Formats>
  342. <Format id="default">
  343. <Columns>
  344. <Column size="22"/>
  345. <Column size="0"/>
  346. <Column size="0"/>
  347. <Column size="0"/>
  348. <Column size="0"/>
  349. <Column size="0"/>
  350. <Column size="30"/>
  351. <Column size="45"/>
  352. <Column size="70"/>
  353. <Column size="90"/>
  354. <Column size="50"/>
  355. <Column size="80"/>
  356. <Column size="80"/>
  357. <Column size="90"/>
  358. <Column size="90"/>
  359. <Column size="80"/>
  360. <Column size="60"/>
  361. <Column size="300"/>
  362. </Columns>
  363. <Rows>
  364. <Row size="24" band="head"/>
  365. <Row size="24"/>
  366. </Rows>
  367. <Band id="head">
  368. <Cell/>
  369. <Cell col="1" text="healexamflag"/>
  370. <Cell col="2" text="rsrvdd"/>
  371. <Cell col="3" text="rsrvno"/>
  372. <Cell col="4" text="seq"/>
  373. <Cell col="5" text="healexamdetlflag"/>
  374. <Cell col="6" text="통보"/>
  375. <Cell col="7" text="구분"/>
  376. <Cell col="8" text="코드"/>
  377. <Cell col="9" text="검사명"/>
  378. <Cell col="10" text="월구분"/>
  379. <Cell col="11" text="이전결과"/>
  380. <Cell col="12" text="재검결과"/>
  381. <Cell col="13" text="검사일자"/>
  382. <Cell col="14" text="상담일자"/>
  383. <Cell col="15" text="진료의뢰과"/>
  384. <Cell col="16" text="진료의"/>
  385. <Cell col="17" text="비고"/>
  386. </Band>
  387. <Band id="body">
  388. <Cell celltype="head"/>
  389. <Cell col="1" text="bind:healexamflag"/>
  390. <Cell col="2" text="bind:rsrvdd"/>
  391. <Cell col="3" text="bind:rsrvno"/>
  392. <Cell col="4" text="bind:seq"/>
  393. <Cell col="5" text="bind:healexamdetlflag"/>
  394. <Cell col="6" displaytype="checkbox" edittype="checkbox" text="bind:notiyn" expr="expr:(notiyn==&quot;Y&quot;||notiyn==1)?1:0"/>
  395. <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:aftype" combodataset="ds_cmb_aftype" combocodecol="value" combodatacol="label"/>
  396. <Cell col="8" displaytype="text" edittype="text" text="bind:testcd" expandshow="show"/>
  397. <Cell col="9" edittype="none" text="bind:testnm"/>
  398. <Cell col="10" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:monthgb" combodataset="ds_cmb_monthgb" combocodecol="value" combodatacol="label"/>
  399. <Cell col="11" displaytype="text" edittype="text" text="bind:berslt"/>
  400. <Cell col="12" displaytype="text" edittype="text" text="bind:afrslt"/>
  401. <Cell col="13" displaytype="date" edittype="date" text="bind:aforddd" calendardisplaynulltype="nulltext"/>
  402. <Cell col="14" displaytype="date" edittype="date" text="bind:cnstdd" calendardisplaynulltype="nulltext"/>
  403. <Cell col="15" displaytype="combo" edittype="combo" text="bind:afdeptcd" combodataset="ds_init_baseinfo_orddeptcdlst_S610" combocodecol="cdid" combodatacol="cdnm"/>
  404. <Cell col="16" displaytype="text" edittype="text" text="bind:afdrnm"/>
  405. <Cell col="17" displaytype="text" edittype="text" text="bind:remcnts"/>
  406. </Band>
  407. </Format>
  408. </Formats>
  409. </Grid>
  410. <Shape id="line25" linetype="horizontal" class="line_10" position="absolute 0 23 645 29"/>
  411. <Static id="caption28" text="추가/재검/타과의뢰/연장" class="tit_2" position="absolute 0 7 205 28"/>
  412. </Layout>
  413. </Layouts>
  414. </Tabpage>
  415. </Tabpages>
  416. </Tab>
  417. <Button id="btn_selsickcd" taborder="7" text="질환코드" class="btn2" position="absolute 553 71 625 93" onclick="switch1_case_judg_btn_selsickcd_onclick" style="font:Dotum,9,bold;"/>
  418. <Grid id="grd_sicklst" taborder="8" binddataset="ds_main_judgdetl_judginfo_itemsick" useinputpanel="false" position="absolute 629 27 1195 144" autoenter="select" autofittype="col" cellsizingtype="col">
  419. <Formats>
  420. <Format id="default">
  421. <Columns>
  422. <Column size="21"/>
  423. <Column size="96"/>
  424. <Column size="417"/>
  425. <Column size="0"/>
  426. <Column size="0"/>
  427. </Columns>
  428. <Rows>
  429. <Row size="24" band="head"/>
  430. <Row size="24"/>
  431. </Rows>
  432. <Band id="head">
  433. <Cell/>
  434. <Cell col="1" text="질환코드"/>
  435. <Cell col="2" text="질환명"/>
  436. <Cell col="3" text="판정코드"/>
  437. <Cell col="4" text="cmpycd"/>
  438. </Band>
  439. <Band id="body">
  440. <Cell celltype="head"/>
  441. <Cell col="1" style="align:left middle;padding:0 0 0 3;" text="bind:sickcd"/>
  442. <Cell col="2" style="align:left middle;padding:0 0 0 3;" text="bind:sicknm"/>
  443. <Cell col="3" displaytype="combo" edittype="combo" text="bind:judgcd"/>
  444. <Cell col="4" text="bind:cmpycd"/>
  445. </Band>
  446. </Format>
  447. </Formats>
  448. </Grid>
  449. <Button id="btn_sickdel" taborder="9" text="선택행삭제" class="btn2" position="absolute 677 0 760 22" style="font:Dotum,9,bold;" onclick="switch1_case_judg_btn_sickdel_onclick"/>
  450. <Div id="group1" taborder="10" position="absolute 0 0 545 80" class="div_SA2">
  451. <Layouts>
  452. <Layout>
  453. <Static id="caption22" text="건진종류 :" class="search_name" position="absolute 6 8 87 25" anchor="default"/>
  454. <Button id="btn_searchhist" taborder="1" text="조회" class="btn1" position="absolute 463 42 519 64" anchor="default" onclick="switch1_case_judg_group1_btn_searchhist_onclick"/>
  455. <Shape id="line1" linetype="vertical" position="absolute 443 33 449 73" anchor="default"/>
  456. <Combo id="cmb_srchhealexamdetlflag2" taborder="2" innerdataset="@ds_init_baseinfo_hedetlflaglst_A0069" codecolumn="cdid" datacolumn="cdnm" class="combo_essential" enable="false" position="absolute 87 7 192 26" anchor="default"/>
  457. <Edit id="ipt_srchpnm2" taborder="3" class="input_default" position="absolute 217 31 332 50" onkeyup="switch1_case_judg_group1_ipt_srchpnm2_onkeyup" anchor="default"/>
  458. <Edit id="ipt_srchpid2" taborder="4" class="input_default" position="absolute 87 31 192 50" autoskip="true" autoselect="true" onkeyup="switch1_case_judg_group1_ipt_srchpnm2_onkeyup" anchor="default"/>
  459. <Static id="caption26" text="등록번호 :" class="search_name" position="absolute 6 31 87 48" anchor="default"/>
  460. <Static id="caption2" text="건진정보 :" class="search_name" position="absolute 5 55 83 72" anchor="default"/>
  461. <Combo id="cmb_srchrsrvdd" taborder="5" innerdataset="@ds_temp_histlst_item" codecolumn="rsrvdd" datacolumn="hopedd" class="combo_essential" position="absolute 87 55 412 74" anchor="default" oncloseup="switch1_case_judg_group1_cmb_srchrsrvdd_oncloseup"/>
  462. <Edit id="opt_sex" taborder="6" readonly="true" position="absolute 335 31 371 50" class="output" anchor="default"/>
  463. <Edit id="opt_age" taborder="7" readonly="true" position="absolute 374 31 410 50" class="output" anchor="default"/>
  464. <Button id="btn_search2" taborder="8" class="icon_search" position="absolute 195 31 211 47" onclick="switch1_case_judg_group1_btn_search2_onclick" anchor="default"/>
  465. <Static id="caption30" text="집전화:" class="search_name" position="absolute 200 8 262 25" anchor="default"/>
  466. <Edit id="ipt_hometel" taborder="9" enable="false" position="absolute 262 7 352 26" anchor="default"/>
  467. <Static id="caption32" text="휴대전화:" class="search_name" position="absolute 361 8 436 25" anchor="default"/>
  468. <Edit id="ipt_mpphontel" taborder="10" enable="false" position="absolute 437 8 527 27" anchor="default"/>
  469. </Layout>
  470. </Layouts>
  471. </Div>
  472. <Button id="btn_seljudgcnts" taborder="11" text="판정선택" class="btn2" position="absolute 977 0 1049 22" style="font:Dotum,9,bold;" onclick="switch1_case_judg_btn_seljudgcnts_onclick"/>
  473. <Combo id="cmb_judgdr" taborder="12" innerdataset="@ds_init_baseinfo_drlst_itemdr" codecolumn="drid" datacolumn="drnm" class="combo_essential" position="absolute 1091 149 1194 168"/>
  474. <Static id="caption6" text="판정의" class="cell_1" position="absolute 1037 147 1090 170"/>
  475. <Static id="caption8" text="판정일자" class="cell_1" position="absolute 864 147 931 170"/>
  476. <Shape id="line2" linetype="horizontal" class="line_10" position="absolute 0 104 545 110"/>
  477. <Calendar id="ipt_judgdd" taborder="13" class="input_essential" enable="false" position="absolute 932 149 1036 168"/>
  478. <Shape id="line23" linetype="horizontal" class="line_3" position="absolute 864 143 1194 149"/>
  479. <Button id="button4" taborder="14" text="문진표" class="btn2" position="absolute 921 0 976 22" style="font:Dotum,9,bold;" onclick="switch1_case_judg_button4_onclick"/>
  480. <Button id="button5" taborder="16" text="이전환자" class="btn2" position="absolute 1050 0 1122 22" style="font:Dotum,9,bold;" onclick="switch1_case_judg_button5_onclick"/>
  481. <Div id="grp_textrslt" taborder="17" visible="false" position="absolute 9 145 545 498" style="background:white;border:1 solid #808080ff ;">
  482. <Layouts>
  483. <Layout>
  484. <Static id="cap_temptestnm" class="tit_2" position="absolute 6 9 481 30" anchor="default"/>
  485. <Shape id="line37" linetype="horizontal" class="line_10" position="absolute 5 25 530 31" anchor="default"/>
  486. <TextArea id="tar_temprsltcnts" taborder="1" position="absolute 5 30 530 345" anchor="default" acceptstab="true" autoselect="true" wordwrap="word"/>
  487. <Button id="btn_rsltclose" taborder="2" text="닫기" class="btn2" position="absolute 488 6 530 25" anchor="default" onclick="switch1_case_judg_grp_textrslt_btn_rsltclose_onclick"/>
  488. </Layout>
  489. </Layouts>
  490. </Div>
  491. <Button id="button8" taborder="18" text="PACS조회" class="btn2" position="absolute 761 0 844 22" style="font:Dotum,9,bold;" onclick="switch1_case_judg_button8_onclick"/>
  492. <Button id="button9" taborder="19" text="CDIS조회" class="btn2" position="absolute 845 0 920 22" style="font:Dotum,9,bold;" onclick="switch1_case_judg_button9_onclick"/>
  493. <Button id="button15" taborder="23" text="예정일문구" class="btn2" position="absolute 787 148 862 170" onclick="switch1_case_judg_button15_onclick"/>
  494. <Static id="caption29" text="상담의사" class="cell_1" position="absolute 392 109 452 132"/>
  495. <Combo id="combo1" taborder="24" innerdataset="@ds_init_baseinfo_drlst_itemdr" codecolumn="drid" datacolumn="drnm" class="combo_essential" enable="false" position="absolute 455 111 545 130" onitemchanged="switch1_case_judg_combo1_onitemchanged"/>
  496. <Button id="btn_auto" taborder="25" text="자동판정" class="btn4" position="absolute 465 82 545 104" onclick="switch1_case_judg_btn_auto_onclick"/>
  497. <Div id="grp_textview" taborder="15" position="absolute 554 225 1012 534" style="background:white;border:1 solid #808080ff ;" visible="false">
  498. <Layouts>
  499. <Layout>
  500. <Grid id="grd_judglst" taborder="1" binddataset="ds_main_judgexmpcdlst_item" useinputpanel="false" position="absolute 5 29 451 278" anchor="default" autoenter="select" autofittype="col" cellsizingtype="col" treeuseexpandkey="true">
  501. <Formats>
  502. <Format id="default">
  503. <Columns>
  504. <Column size="23"/>
  505. <Column size="0"/>
  506. <Column size="31"/>
  507. <Column size="100"/>
  508. <Column size="150"/>
  509. <Column size="122"/>
  510. </Columns>
  511. <Rows>
  512. <Row size="24" band="head"/>
  513. <Row size="24"/>
  514. </Rows>
  515. <Band id="head">
  516. <Cell/>
  517. <Cell col="1" text="level"/>
  518. <Cell col="2" text="선택"/>
  519. <Cell col="3" text="판정코드"/>
  520. <Cell col="4" text="판정내용(한)"/>
  521. <Cell col="5" text="판정내용(영)"/>
  522. </Band>
  523. <Band id="body">
  524. <Cell celltype="head" expr="currow+1"/>
  525. <Cell col="1" text="bind:lvl"/>
  526. <Cell col="2" displaytype="checkbox" edittype="checkbox" text="bind:sel" expr="expr:sel == 'Y' ? 1 : 0"/>
  527. <Cell col="3" displaytype="tree" edittype="tree" text="bind:judgexmpcd" treestartlevel="1" treelevel="bind:lvl" treecheck="0" treestate="bind:lvl"/>
  528. <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:judghangshrtcnts"/>
  529. <Cell col="5" style="align:left middle;padding:0 0 0 3;" text="bind:judgengshrtcnts"/>
  530. </Band>
  531. </Format>
  532. </Formats>
  533. </Grid>
  534. <Button id="button2" taborder="2" text="닫기" class="btn2" position="absolute 409 5 451 24" anchor="default" onclick="switch1_case_judg_grp_textview_button2_onclick"/>
  535. <Shape id="line24" linetype="horizontal" class="line_10" position="absolute 5 24 451 30" anchor="default"/>
  536. <Static id="caption9" class="tit_2" position="absolute 5 8 310 29" anchor="default"/>
  537. <Button id="button1" taborder="3" text="저장" class="btn4" position="absolute 395 281 451 303" anchor="default" onclick="switch1_case_judg_grp_textview_button1_onclick"/>
  538. </Layout>
  539. </Layouts>
  540. </Div>
  541. <Shape id="line00" class="line_3" position="absolute 550 712 1195 718"/>
  542. </Layout>
  543. </Layouts>
  544. </Tabpage>
  545. </Tabpages>
  546. </Tab>
  547. <Button id="btn_save" taborder="10" text="저장" class="btn4" position="absolute 1069 773 1125 795" anchor="right bottom" onclick="btn_save_onclick"/>
  548. <Static id="caption19" text="종합판정" class="tit_1" position="absolute 0 0 187 25"/>
  549. <CheckBox id="chk_inqrautocall" taborder="1" text="문진표 자동 호출" truevalue="Y" position="absolute 1077 30 1193 49" onclick="chk_inqrautocall_onclick" falsevalue="N"/>
  550. <Button id="btn_allprnt" taborder="3" text="일괄출력" class="btn3" position="absolute 0 773 80 795" anchor="left bottom" onclick="btn_allprnt_onclick"/>
  551. <Button id="button3" taborder="4" text="결과조회" class="btn3" position="absolute 82 773 162 795" anchor="left bottom" onclick="button3_onclick"/>
  552. <Button id="button7" taborder="5" text="통합결과조회" class="btn3" position="absolute 164 773 268 795" anchor="left bottom" onclick="button7_onclick"/>
  553. <Button id="button13" taborder="6" text="통합기록" class="btn3" position="absolute 270 773 350 795" anchor="left bottom" onclick="button13_onclick"/>
  554. <Button id="button17" taborder="7" text="추후관리" class="btn3" position="absolute 446 773 530 795" anchor="left bottom" onclick="button17_onclick"/>
  555. <Button id="button12" taborder="8" text="진료의뢰서" class="btn3" position="absolute 352 773 444 795" anchor="left bottom" onclick="button12_onclick"/>
  556. <Button id="button6" taborder="9" text="판정완료" class="btn4" position="absolute 987 773 1067 795" anchor="right bottom" onclick="button6_onclick"/>
  557. <Button id="btn_clear" taborder="11" text="초기화" class="btn4" position="absolute 1127 773 1195 795" anchor="right bottom" onclick="btn_clear_onclick"/>
  558. </Layout>
  559. </Layouts>
  560. <Objects>
  561. <Dataset id="ds_init_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  562. <ColumnInfo>
  563. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  564. <Column id="srchjudgdrid" type="STRING" size="256"/>
  565. <Column id="srchfromdd" type="STRING" size="256"/>
  566. <Column id="srchtodd" type="STRING" size="256"/>
  567. <Column id="srchpid" type="STRING" size="256"/>
  568. <Column id="srchpnm" type="STRING" size="256"/>
  569. <Column id="srchhealexamdetlflag2" type="STRING" size="256"/>
  570. <Column id="srchcretno" type="STRING" size="256"/>
  571. <Column id="srchhealexamplacecd" type="STRING" size="256"/>
  572. </ColumnInfo>
  573. <Rows>
  574. <Row>
  575. <Col id="srchhealexamdetlflag"/>
  576. <Col id="srchjudgdrid"/>
  577. <Col id="srchfromdd"/>
  578. <Col id="srchtodd"/>
  579. <Col id="srchpid"/>
  580. <Col id="srchpnm"/>
  581. <Col id="srchhealexamdetlflag2"/>
  582. <Col id="srchcretno"/>
  583. </Row>
  584. </Rows>
  585. </Dataset>
  586. <Dataset id="ds_init_send_item1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  587. <ColumnInfo>
  588. <Column id="pid" type="STRING" size="256"/>
  589. <Column id="hngnm" type="STRING" size="256"/>
  590. </ColumnInfo>
  591. <Rows>
  592. <Row>
  593. <Col id="pid"/>
  594. <Col id="hngnm"/>
  595. </Row>
  596. </Rows>
  597. </Dataset>
  598. <Dataset id="ds_init_send_item3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  599. <ColumnInfo>
  600. <Column id="cmpycd" type="STRING" size="256"/>
  601. <Column id="cmpynm" type="STRING" size="256"/>
  602. </ColumnInfo>
  603. <Rows>
  604. <Row>
  605. <Col id="cmpycd"/>
  606. <Col id="cmpynm"/>
  607. </Row>
  608. </Rows>
  609. </Dataset>
  610. <Dataset id="ds_main_judgpatlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  611. <ColumnInfo>
  612. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  613. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  614. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  615. <Column id="engnm" type="STRING" size="256" sumtext="환자명"/>
  616. <Column id="pkgnm" type="STRING" size="256" sumtext="패키지명"/>
  617. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  618. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  619. <Column id="cmpynm" type="STRING" size="256" sumtext="단체명"/>
  620. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호(상)"/>
  621. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호(하)"/>
  622. <Column id="cmpycd" type="STRING" size="256" sumtext="단체코드"/>
  623. <Column id="pkgcd" type="STRING" size="256" sumtext="패키지코드"/>
  624. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약등록일자"/>
  625. <Column id="rsrvno" type="STRING" size="256" sumtext="예약번호"/>
  626. <Column id="hopedd" type="STRING" size="256" sumtext="예약일자"/>
  627. <Column id="rsrvtm" type="STRING" size="256" sumtext="진료시간 "/>
  628. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  629. <Column id="ordtm" type="STRING" size="256" sumtext="진료시간 "/>
  630. <Column id="cretno" type="STRING" size="256" sumtext="외래생성번호"/>
  631. <Column id="rsltcnstflag" type="STRING" size="256" sumtext="결과상담구분"/>
  632. <Column id="judgdd" type="STRING" size="256" sumtext="판정일자"/>
  633. <Column id="judgtm" type="STRING" size="256" sumtext="판정시간"/>
  634. <Column id="judgdrid" type="STRING" size="256" sumtext="판정의id"/>
  635. <Column id="statflag" type="STRING" size="256" sumtext="건진상태 "/>
  636. <Column id="remcnts" type="STRING" size="256" sumtext="접수 비고 "/>
  637. <Column id="rsltyn" type="STRING" size="256" sumtext="결과완료여부"/>
  638. <Column id="mpphontel" type="STRING" size="256" sumtext="전화번호"/>
  639. <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
  640. </ColumnInfo>
  641. </Dataset>
  642. <Dataset id="ds_init_baseinfo_hedetlflaglst_A0069" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  643. <Dataset id="ds_init_baseinfo_healexamplacelst_S600" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  644. <Dataset id="ds_init_baseinfo_statlst_A0107" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  645. <Dataset id="ds_init_baseinfo_drlst_itemdr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  646. <Dataset id="ds_init_baseinfo_rsltcnstflaglst_A0123" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  647. <Dataset id="ds_init_send_item2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  648. <ColumnInfo>
  649. <Column id="pid" type="STRING" size="256"/>
  650. <Column id="hngnm" type="STRING" size="256"/>
  651. <Column id="sex" type="STRING" size="256"/>
  652. <Column id="age" type="STRING" size="256"/>
  653. <Column id="telno" type="STRING" size="256"/>
  654. <Column id="mpphon" type="STRING" size="256"/>
  655. </ColumnInfo>
  656. <Rows>
  657. <Row>
  658. <Col id="pid"/>
  659. <Col id="hngnm"/>
  660. <Col id="sex"/>
  661. <Col id="age"/>
  662. <Col id="telno"/>
  663. <Col id="mpphon"/>
  664. </Row>
  665. </Rows>
  666. </Dataset>
  667. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  668. <ColumnInfo>
  669. <Column id="srchhealexamflag" type="STRING" size="256"/>
  670. <Column id="srchhealexamdetlflag" type="STRING" size="256"/>
  671. <Column id="srchjudgdrid" type="STRING" size="256"/>
  672. <Column id="srchfromdd" type="STRING" size="256"/>
  673. <Column id="srchtodd" type="STRING" size="256"/>
  674. <Column id="srchpid" type="STRING" size="256"/>
  675. <Column id="srchorddd" type="STRING" size="256"/>
  676. <Column id="srchpnm" type="STRING" size="256"/>
  677. <Column id="srchrsrvdd" type="STRING" size="256"/>
  678. <Column id="srchrsrvno" type="STRING" size="256"/>
  679. <Column id="srchinstcd" type="STRING" size="256"/>
  680. <Column id="srchstatflag" type="STRING" size="256"/>
  681. <Column id="srchcretno" type="STRING" size="256"/>
  682. <Column id="srchcmpycd" type="STRING" size="256"/>
  683. <Column id="srchrgstno1" type="STRING" size="256"/>
  684. <Column id="srchrgstno2" type="STRING" size="256"/>
  685. <Column id="srchstatflag2" type="STRING" size="256"/>
  686. <Column id="iemr" type="STRING" size="256"/>
  687. <Column id="iemr2" type="STRING" size="256"/>
  688. <Column id="srchhealexamplacecd" type="STRING" size="256"/>
  689. <Column id="windowloadinstance" type="STRING" size="256"/>
  690. </ColumnInfo>
  691. <Rows>
  692. <Row>
  693. <Col id="srchhealexamflag"/>
  694. <Col id="srchhealexamdetlflag"/>
  695. <Col id="srchjudgdrid"/>
  696. <Col id="srchfromdd"/>
  697. <Col id="srchtodd"/>
  698. <Col id="srchpid"/>
  699. <Col id="srchorddd"/>
  700. <Col id="srchpnm"/>
  701. <Col id="srchrsrvdd"/>
  702. <Col id="srchrsrvno"/>
  703. <Col id="srchinstcd"/>
  704. <Col id="srchstatflag"/>
  705. <Col id="srchcretno"/>
  706. <Col id="srchcmpycd"/>
  707. <Col id="srchrgstno1"/>
  708. <Col id="srchrgstno2"/>
  709. <Col id="windowloadinstance">SMAHR00500</Col>
  710. </Row>
  711. </Rows>
  712. </Dataset>
  713. <Dataset id="ds_main_judgdetl_judginfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_judgdetl_judginfo_item_oncolumnchanged">
  714. <ColumnInfo>
  715. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  716. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  717. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약등록일자"/>
  718. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  719. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  720. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  721. <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
  722. <Column id="judgdd" type="STRING" size="256" sumtext="판정일자"/>
  723. <Column id="judgtm" type="STRING" size="256" sumtext="판정시간"/>
  724. <Column id="judgdrid" type="STRING" size="256" sumtext="판정의id"/>
  725. <Column id="pkgcd" type="STRING" size="256" sumtext="Pkg코드"/>
  726. <Column id="shrthngjudgcnts" type="STRING" size="256" sumtext="판정단문내용(한글)"/>
  727. <Column id="shrtengjudgcnts" type="STRING" size="256" sumtext="판정단문내용(영문)"/>
  728. <Column id="hngjudgcnts" type="STRING" size="256" sumtext="판정장문내용(한글)"/>
  729. <Column id="engjudgcnts" type="STRING" size="256" sumtext="판정장문내용(영문)"/>
  730. <Column id="prntyn" type="STRING" size="256" sumtext="전체종합판정결과지출력여부"/>
  731. <Column id="rsltcnstdrid" type="STRING" size="256" sumtext="상담의사"/>
  732. </ColumnInfo>
  733. </Dataset>
  734. <Dataset id="ds_main_judgdetl_rsltlst_item" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  735. <ColumnInfo>
  736. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  737. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  738. <Column id="testengnm" type="STRING" size="256" sumtext="검사영문명"/>
  739. <Column id="rslt1" type="STRING" size="256" sumtext="결과1"/>
  740. <Column id="rslt2" type="STRING" size="256" sumtext="결과2"/>
  741. <Column id="rslt3" type="STRING" size="256" sumtext="결과3"/>
  742. <Column id="stndval" type="STRING" size="256" sumtext="기준치"/>
  743. <Column id="rsltunit" type="STRING" size="256" sumtext="단위"/>
  744. <Column id="rslthistseq" type="STRING" size="256" sumtext="단위"/>
  745. <Column id="rsrvdd" type="STRING" size="256" sumtext="단위"/>
  746. <Column id="rsrvno" type="STRING" size="256" sumtext="단위"/>
  747. <Column id="instcd" type="STRING" size="256" sumtext="단위"/>
  748. <Column id="rstflag" type="STRING" size="256" sumtext="결과구분"/>
  749. <Column id="judgrslt" type="STRING" size="256" sumtext="이전결과"/>
  750. <Column id="judgrsltcnts1" type="STRING" size="256" sumtext="결과1판정값"/>
  751. <Column id="judgrsltcnts2" type="STRING" size="256" sumtext="결과2판정값"/>
  752. <Column id="judgrsltcnts3" type="STRING" size="256" sumtext="결과3판정값"/>
  753. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="처방유일번호"/>
  754. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  755. <Column id="testyn" type="STRING" size="256" sumtext="검사코드여부"/>
  756. </ColumnInfo>
  757. </Dataset>
  758. <Dataset id="ds_main_judgdetl_rsltlst_itemtext" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  759. <ColumnInfo>
  760. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  761. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  762. <Column id="testengnm" type="STRING" size="256" sumtext="검사영문명"/>
  763. <Column id="rslt1" type="STRING" size="256" sumtext="결과1"/>
  764. <Column id="rslt2" type="STRING" size="256" sumtext="결과2"/>
  765. <Column id="rslt3" type="STRING" size="256" sumtext="결과3"/>
  766. <Column id="rslthistseq" type="STRING" size="256" sumtext="단위"/>
  767. <Column id="instcd" type="STRING" size="256" sumtext="단위"/>
  768. <Column id="rstflag" type="STRING" size="256" sumtext="결과구분"/>
  769. <Column id="judgrslt" type="STRING" size="256" sumtext="이전결과"/>
  770. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="처방유일번호"/>
  771. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  772. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약일자"/>
  773. <Column id="hopedd" type="STRING" size="256" sumtext="희망일자"/>
  774. <Column id="cretno" type="STRING" size="256" sumtext="외래생성번호"/>
  775. </ColumnInfo>
  776. </Dataset>
  777. <Dataset id="ds_main_judgdetl_rsltlst_rslttextinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  778. <Dataset id="ds_temp_temprslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  779. <ColumnInfo>
  780. <Column id="temprsltcnts" type="STRING" size="256"/>
  781. </ColumnInfo>
  782. <Rows>
  783. <Row/>
  784. </Rows>
  785. </Dataset>
  786. <Dataset id="ds_main_judgdetl_judginfo_itemsick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  787. <ColumnInfo>
  788. <Column id="cmpycd" type="STRING" size="256" sumtext="업체코드"/>
  789. <Column id="sickcd" type="STRING" size="256" sumtext="질환코드"/>
  790. <Column id="sicknm" type="STRING" size="256" sumtext="질환명"/>
  791. <Column id="judgcd" type="STRING" size="256" sumtext="질환코드"/>
  792. </ColumnInfo>
  793. </Dataset>
  794. <Dataset id="ds_main_afexamlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_afexamlist_item_oncolumnchanged">
  795. <ColumnInfo>
  796. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  797. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약등록일자"/>
  798. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  799. <Column id="seq" type="STRING" size="256" sumtext="seq"/>
  800. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  801. <Column id="afnotiyn" type="STRING" size="256" sumtext="통보여부"/>
  802. <Column id="aftype" type="STRING" size="256" sumtext="추후검사구분"/>
  803. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  804. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  805. <Column id="monthgb" type="STRING" size="256" sumtext="월구분"/>
  806. <Column id="afdeptcd" type="STRING" size="256" sumtext="의뢰진료과"/>
  807. <Column id="afdrnm" type="STRING" size="256" sumtext="의뢰의사명"/>
  808. <Column id="aforddd" type="STRING" size="256" sumtext="의뢰진료일자"/>
  809. <Column id="berslt" type="STRING" size="256" sumtext="이전결과"/>
  810. <Column id="afrslt" type="STRING" size="256" sumtext="이후결과"/>
  811. <Column id="remcnts" type="STRING" size="256" sumtext="비고"/>
  812. <Column id="cnstdd" type="STRING" size="256" sumtext="상담일자"/>
  813. <Column id="notiyn" type="STRING" size="256"/>
  814. </ColumnInfo>
  815. </Dataset>
  816. <Dataset id="ds_cmb_aftype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  817. <ColumnInfo>
  818. <Column id="label" type="STRING" size="256"/>
  819. <Column id="value" type="STRING" size="256"/>
  820. </ColumnInfo>
  821. <Rows>
  822. <Row>
  823. <Col id="label">추가</Col>
  824. <Col id="value">A</Col>
  825. </Row>
  826. <Row>
  827. <Col id="label">재검</Col>
  828. <Col id="value">B</Col>
  829. </Row>
  830. <Row>
  831. <Col id="label">타과</Col>
  832. <Col id="value">C</Col>
  833. </Row>
  834. <Row>
  835. <Col id="label">연장</Col>
  836. <Col id="value">D</Col>
  837. </Row>
  838. <Row>
  839. <Col id="label">전화</Col>
  840. <Col id="value">E</Col>
  841. </Row>
  842. <Row>
  843. <Col id="label">방문</Col>
  844. <Col id="value">F</Col>
  845. </Row>
  846. </Rows>
  847. </Dataset>
  848. <Dataset id="ds_cmb_monthgb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  849. <ColumnInfo>
  850. <Column id="label" type="STRING" size="256"/>
  851. <Column id="value" type="STRING" size="256"/>
  852. </ColumnInfo>
  853. <Rows>
  854. <Row>
  855. <Col id="label">1개월</Col>
  856. <Col id="value">1</Col>
  857. </Row>
  858. <Row>
  859. <Col id="label">3개월</Col>
  860. <Col id="value">3</Col>
  861. </Row>
  862. <Row>
  863. <Col id="label">6개월</Col>
  864. <Col id="value">6</Col>
  865. </Row>
  866. <Row>
  867. <Col id="label">9개월</Col>
  868. <Col id="value">9</Col>
  869. </Row>
  870. </Rows>
  871. </Dataset>
  872. <Dataset id="ds_init_baseinfo_orddeptcdlst_S610" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  873. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  874. <ColumnInfo>
  875. <Column id="instcd" type="STRING" size="256"/>
  876. <Column id="healexamflag" type="STRING" size="256"/>
  877. <Column id="testcd" type="STRING" size="256"/>
  878. <Column id="judgexmpcd" type="STRING" size="256"/>
  879. <Column id="sickcd" type="STRING" size="256"/>
  880. <Column id="sicknm" type="STRING" size="256"/>
  881. <Column id="prcpdd" type="STRING" size="256"/>
  882. <Column id="seqno" type="STRING" size="256"/>
  883. <Column id="chkflag" type="STRING" size="256"/>
  884. <Column id="okflag" type="STRING" size="256"/>
  885. </ColumnInfo>
  886. <Rows>
  887. <Row>
  888. <Col id="instcd"/>
  889. <Col id="healexamflag"/>
  890. <Col id="testcd"/>
  891. <Col id="judgexmpcd"/>
  892. <Col id="sickcd"/>
  893. <Col id="sicknm"/>
  894. <Col id="prcpdd"/>
  895. <Col id="seqno"/>
  896. <Col id="chkflag"/>
  897. </Row>
  898. </Rows>
  899. </Dataset>
  900. <Dataset id="ds_temp_patinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  901. <Dataset id="ds_temp_tmpInfo_A0107" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  902. <Dataset id="ds_init_baseinfo_formcdlst_S290" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  903. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  904. <Dataset id="ds_temp_histlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" onload="ds_temp_histlst_item_onload"/>
  905. <Dataset id="ds_main_judgdetl_rsltlst_itemorddd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  906. <ColumnInfo>
  907. <Column id="orddd1" type="STRING" size="256" sumtext="건진년도1"/>
  908. <Column id="orddd2" type="STRING" size="256" sumtext="건진년도2"/>
  909. <Column id="orddd3" type="STRING" size="256" sumtext="건진년도3"/>
  910. <Column id="hopedd1" type="STRING" size="256" sumtext="건진년도1"/>
  911. <Column id="hopedd2" type="STRING" size="256" sumtext="건진년도2"/>
  912. <Column id="hopedd3" type="STRING" size="256" sumtext="건진년도3"/>
  913. </ColumnInfo>
  914. </Dataset>
  915. <Dataset id="ds_temp_judginfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  916. <ColumnInfo>
  917. <Column id="healexamflag" type="STRING" size="256" sumtext="건진구분"/>
  918. <Column id="healexamdetlflag" type="STRING" size="256" sumtext="건진상세구분"/>
  919. <Column id="rsrvdd" type="STRING" size="256" sumtext="예약등록일자"/>
  920. <Column id="rsrvno" type="INT" size="256" sumtext="예약번호"/>
  921. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  922. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  923. <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
  924. <Column id="judgdd" type="STRING" size="256" sumtext="판정일자"/>
  925. <Column id="judgtm" type="STRING" size="256" sumtext="판정시간"/>
  926. <Column id="judgdrid" type="STRING" size="256" sumtext="판정의id"/>
  927. <Column id="pkgcd" type="STRING" size="256" sumtext="Pkg코드"/>
  928. <Column id="shrthngjudgcnts" type="STRING" size="256" sumtext="판정단문내용(한글)"/>
  929. <Column id="shrtengjudgcnts" type="STRING" size="256" sumtext="판정단문내용(영문)"/>
  930. <Column id="hngjudgcnts" type="STRING" size="256" sumtext="판정장문내용(한글)"/>
  931. <Column id="engjudgcnts" type="STRING" size="256" sumtext="판정장문내용(영문)"/>
  932. <Column id="prntyn" type="STRING" size="256" sumtext="전체종합판정결과지출력여부"/>
  933. <Column id="rsltcnstdrid" type="STRING" size="256" sumtext="상담의사"/>
  934. </ColumnInfo>
  935. </Dataset>
  936. <Dataset id="ds_temp_judginfo_itemsick" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  937. <ColumnInfo>
  938. <Column id="cmpycd" type="STRING" size="256" sumtext="업체코드"/>
  939. <Column id="sickcd" type="STRING" size="256" sumtext="질환코드"/>
  940. <Column id="sicknm" type="STRING" size="256" sumtext="질환명"/>
  941. <Column id="judgcd" type="STRING" size="256" sumtext="질환코드"/>
  942. </ColumnInfo>
  943. </Dataset>
  944. <Dataset id="ds_send_srchafexam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  945. <ColumnInfo>
  946. <Column id="healexamflag" type="STRING" size="256"/>
  947. <Column id="rsrvdd" type="STRING" size="256"/>
  948. <Column id="rsrvno" type="STRING" size="256"/>
  949. </ColumnInfo>
  950. <Rows>
  951. <Row>
  952. <Col id="healexamflag"/>
  953. <Col id="rsrvdd"/>
  954. <Col id="rsrvno"/>
  955. </Row>
  956. </Rows>
  957. </Dataset>
  958. <Dataset id="ds_main_judgexmpcdlst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_judgexmpcdlst_item_oncolumnchanged">
  959. <ColumnInfo>
  960. <Column id="lvl" type="STRING" size="256" sumtext="레벨"/>
  961. <Column id="sel" type="STRING" size="256" sumtext="선택"/>
  962. <Column id="judgexmpcd" type="STRING" size="256" sumtext="소견코드"/>
  963. <Column id="judghangshrtcnts" type="STRING" size="256" sumtext="한글판정단문"/>
  964. <Column id="judgengshrtcnts" type="STRING" size="256" sumtext="영문판정단문"/>
  965. <Column id="judghangcnts" type="STRING" size="256" sumtext="판정한글소견"/>
  966. <Column id="judgengcnts" type="STRING" size="256" sumtext="판정영문소견"/>
  967. <Column id="lastupdtrid" type="STRING" size="256" sumtext="마지막등록자"/>
  968. <Column id="lastupdtdt" type="STRING" size="256" sumtext="마지막 등록자"/>
  969. </ColumnInfo>
  970. </Dataset>
  971. <Dataset id="ds_main_detlcodelst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  972. <Dataset id="ds_send_iemr2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  973. <Dataset id="ds_main_inqrinfo_inqr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  974. <ColumnInfo>
  975. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  976. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  977. <Column id="cretno" type="INT" size="256" sumtext="생성번호"/>
  978. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료부서코드"/>
  979. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  980. <Column id="formcd" type="STRING" size="256" sumtext="서식코드"/>
  981. <Column id="ioflag" type="STRING" size="256" sumtext="검사구분"/>
  982. </ColumnInfo>
  983. </Dataset>
  984. <Dataset id="ds_send_iemr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  985. <Dataset id="ds_temp_SPAHR00300" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  986. <Dataset id="ds_hidden_medpatinfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  987. </Objects>
  988. <Bind>
  989. <BindItem id="item0" compid="switch1.case_pat.group2.cmb_srchhealexamdetlflag" propid="value" datasetid="ds_init_send" columnid="srchhealexamdetlflag"/>
  990. <BindItem id="item1" compid="switch1.case_pat.group2.ipt_cmpycd" propid="value" datasetid="ds_init_send_item3" columnid="cmpycd"/>
  991. <BindItem id="item2" compid="switch1.case_pat.group2.opt_cmpynm" propid="value" datasetid="ds_init_send_item3" columnid="cmpynm"/>
  992. <BindItem id="item3" compid="switch1.case_pat.group2.cmb_placeflag" propid="value" datasetid="ds_init_send" columnid="srchhealexamplacecd"/>
  993. <BindItem id="item4" compid="switch1.case_pat.group2.ipt_srchfromdd" propid="value" datasetid="ds_init_send" columnid="srchfromdd"/>
  994. <BindItem id="item5" compid="switch1.case_pat.group2.ipt_srchtodd" propid="value" datasetid="ds_init_send" columnid="srchtodd"/>
  995. <BindItem id="item6" compid="switch1.case_pat.group2.ipt_pid" propid="value" datasetid="ds_init_send_item1" columnid="pid"/>
  996. <BindItem id="item7" compid="switch1.case_pat.group2.ipt_pnm" propid="value" datasetid="ds_init_send_item1" columnid="hngnm"/>
  997. <BindItem id="item8" compid="switch1.case_pat.group2.cmb_srchjudgdrid" propid="value" datasetid="ds_init_send" columnid="srchjudgdrid"/>
  998. <BindItem id="item9" compid="switch1.case_judg.group1.cmb_srchhealexamdetlflag2" propid="value" datasetid="ds_init_send" columnid="srchhealexamdetlflag2"/>
  999. <BindItem id="item10" compid="switch1.case_judg.group1.ipt_hometel" propid="value" datasetid="ds_init_send_item2" columnid="telno"/>
  1000. <BindItem id="item11" compid="switch1.case_judg.group1.ipt_mpphontel" propid="value" datasetid="ds_init_send_item2" columnid="mpphon"/>
  1001. <BindItem id="item12" compid="switch1.case_judg.group1.ipt_srchpid2" propid="value" datasetid="ds_init_send_item2" columnid="pid"/>
  1002. <BindItem id="item13" compid="switch1.case_judg.group1.ipt_srchpnm2" propid="value" datasetid="ds_init_send_item2" columnid="hngnm"/>
  1003. <BindItem id="item14" compid="switch1.case_judg.group1.opt_sex" propid="value" datasetid="ds_init_send_item2" columnid="sex"/>
  1004. <BindItem id="item15" compid="switch1.case_judg.group1.opt_age" propid="value" datasetid="ds_init_send_item2" columnid="age"/>
  1005. <BindItem id="item16" compid="switch1.case_judg.group1.cmb_srchrsrvdd" propid="value" datasetid="ds_send" columnid="srchrsrvdd"/>
  1006. <BindItem id="item17" compid="switch1.case_judg.opt_pkgnm" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="pkgnm"/>
  1007. <BindItem id="item18" compid="switch1.case_judg.combo1" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="rsltcnstdrid"/>
  1008. <BindItem id="item19" compid="switch1.case_judg.group5.tar_rsltcnts1" propid="value" datasetid="ds_main_judgdetl_rsltlst_rslttextinfo" columnid="rslt1"/>
  1009. <BindItem id="item20" compid="switch1.case_judg.group5.tar_rsltcnts2" propid="value" datasetid="ds_main_judgdetl_rsltlst_rslttextinfo" columnid="rslt2"/>
  1010. <BindItem id="item21" compid="switch1.case_judg.group5.tar_rsltcnts3" propid="value" datasetid="ds_main_judgdetl_rsltlst_rslttextinfo" columnid="rslt3"/>
  1011. <BindItem id="item22" compid="switch1.case_judg.grp_textrslt.tar_temprsltcnts" propid="value" datasetid="ds_temp_temprslt" columnid="temprsltcnts"/>
  1012. <BindItem id="item23" compid="switch1.case_judg.ipt_judgdd" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="judgdd"/>
  1013. <BindItem id="item24" compid="switch1.case_judg.cmb_judgdr" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="judgdrid"/>
  1014. <BindItem id="item25" compid="switch1.case_judg.switch2.case_all.tar_shrthngjudgcnts1" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="shrthngjudgcnts"/>
  1015. <BindItem id="item26" compid="switch1.case_judg.switch2.case_all.tar_judghngcnts2" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="hngjudgcnts"/>
  1016. <BindItem id="item27" compid="switch1.case_judg.switch2.case_all.tar_shrtengjudgcnts1" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="shrtengjudgcnts"/>
  1017. <BindItem id="item28" compid="switch1.case_judg.switch2.case_all.tar_judgengcnts2" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="engjudgcnts"/>
  1018. <BindItem id="item29" compid="switch1.case_judg.switch2.case_eng.tar_shrtengjudgcnts" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="shrtengjudgcnts"/>
  1019. <BindItem id="item30" compid="switch1.case_judg.switch2.case_eng.tar_judgengcnts" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="engjudgcnts"/>
  1020. <BindItem id="item31" compid="switch1.case_judg.switch2.case_hng.tar_shrthngjudgcnts" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="shrthngjudgcnts"/>
  1021. <BindItem id="item32" compid="switch1.case_judg.switch2.case_hng.tar_judghngcnts" propid="value" datasetid="ds_main_judgdetl_judginfo_item" columnid="hngjudgcnts"/>
  1022. <BindItem id="item33" compid="chk_inqrautocall" propid="value" datasetid="ds_temp" columnid="chkflag"/>
  1023. <BindItem id="item34" compid="switch1.case_judg.group5.cap_year1" propid="value" datasetid="ds_main_judgdetl_rsltlst_itemorddd" columnid="hopedd1"/>
  1024. <BindItem id="item35" compid="switch1.case_judg.group5.cap_year2" propid="value" datasetid="ds_main_judgdetl_rsltlst_itemorddd" columnid="hopedd2"/>
  1025. <BindItem id="item36" compid="switch1.case_judg.group5.cap_year3" propid="value" datasetid="ds_main_judgdetl_rsltlst_itemorddd" columnid="hopedd3"/>
  1026. <BindItem id="item37" compid="switch1.case_judg.tar_rsltcnts1_plus" propid="value" datasetid="ds_main_judgdetl_rsltlst_rslttextinfo" columnid="rslt1"/>
  1027. <BindItem id="item38" compid="switch1.case_judg.tar_rsltcnts2_plus" propid="value" datasetid="ds_main_judgdetl_rsltlst_rslttextinfo" columnid="rslt2"/>
  1028. <BindItem id="item39" compid="switch1.case_judg.tar_rsltcnts3_plus" propid="value" datasetid="ds_main_judgdetl_rsltlst_rslttextinfo" columnid="rslt3"/>
  1029. </Bind>
  1030. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1031. * System Name :
  1032. * Job Name :
  1033. * Creator :
  1034. * Make Date : 2015-11-13
  1035. * Description :
  1036. *---------------------------------------------------------------------------------------
  1037. * Modify Date Modifier Modify Description
  1038. *---------------------------------------------------------------------------------------
  1039. * 2015-11-13 Live Converter TF->XP
  1040. *
  1041. *---------------------------------------------------------------------------------------
  1042. ****************************************************************************************/
  1043. include "com_commonxp::comm_main.xjs";
  1044. include "com_pacsxp::ZEP001.xjs";
  1045. include "ast_examcurexp::AEZ0001.xjs";
  1046. include "ast_healexamxp::AHA001.xjs";
  1047. include "ast_healthexambasexp::healcombolist.xjs";
  1048. var arErrorCode = new HashArray();
  1049. var m_vHealexamflag = "";
  1050. var col_hngnm = "hngnm";
  1051. var col_engnm = "engnm";
  1052. var col_pid = "pid";
  1053. var col_sex = "sex";
  1054. var col_age = "age";
  1055. var col_stat = "statflag";
  1056. var col_ordtm = "ordtm";
  1057. var col_orddd = "orddd";
  1058. var col_pkgcd = "pkgcd";
  1059. var col_pkgnm = "pkgnm";
  1060. var col_cmpycd = "cmpycd";
  1061. var col_cmpynm = "cmpynm";
  1062. var col_hopedd = "hopedd";
  1063. var col_rsrvtm = "rsrvtm";
  1064. var col_judgdd = "judgdd";
  1065. var col_judgtm = "judgtm";
  1066. var col_judgdrid = "judgdrid";
  1067. var col_acptremcnts = "acptremcnts";
  1068. var col_rsrvdd = "rsrvdd";
  1069. var col_rsrvno = "rsrvno";
  1070. var col_cretno = "cretno";
  1071. var col_rgstno1 = "rgstno1";
  1072. var col_rgstno2 = "rgstno2";
  1073. var hPos = null;
  1074. function SMAHR00500_oninit(obj:Form, e:InitEventInfo)
  1075. {
  1076. frmf_initForm(obj);
  1077. }
  1078. function SMAHR00500_onload(obj:Form, e:LoadEventInfo)
  1079. {
  1080. grdf_initGrid(switch1.case_pat.grd_judgpatlst);
  1081. grdf_initGrid(switch1.case_judg.grd_rsltlst);
  1082. grdf_initGrid(switch1.case_judg.grd_rslttextlst);
  1083. grdf_initGrid(switch1.case_judg.grd_sicklst);
  1084. grdf_setRowTypeIcon(switch1.case_judg.grd_sicklst, 0);
  1085. grdf_initGrid(switch1.case_judg.switch2.case_afexam.grd_afexamlist);
  1086. grdf_setRowTypeIcon(switch1.case_judg.switch2.case_afexam.grd_afexamlist, 0);
  1087. grdf_initGrid(switch1.case_judg.grp_textview.grd_judglst);
  1088. grdf_setToolTipBind(switch1.case_pat.grd_judgpatlst);
  1089. if(frmf_checkOpener())
  1090. {
  1091. m_vHealexamflag = opener.frmf_getParameter("SMAHR00500_PARAM1");
  1092. var sPid = opener.frmf_getParameter("SMAHR00500_PARAM2");
  1093. if(!utlf_isNull(sPid))
  1094. {
  1095. switch1.tabindex = 0;
  1096. switch1.case_judg.group1.ipt_srchpid2.value = sPid;
  1097. if(frmf_checkAuth("R"))
  1098. {
  1099. ds_main_judgdetl_rsltlst_item.clearData();
  1100. ds_main_judgdetl_rsltlst_itemtext.clearData();
  1101. ds_main_judgdetl_rsltlst_rslttextinfo.clearData();
  1102. ds_main_judgdetl_judginfo_item.clearData();
  1103. fGetPatinfoWithPid(sPid); //건진자 정보 조회
  1104. switch1.tabindex = 1;
  1105. //frmf_inputEnterKey("switch1.case_judg.group1.cmb_srchrsrvdd", "onitemchanged", new CheckBoxChangeEventInfo );
  1106. //switch1.case_judg.group1.cmb_srchrsrvdd.index = 0;
  1107. // switch1.case_judg.group1.cmb_srchrsrvdd.index = 0;
  1108. // trace('111111111111111111111111');
  1109. // frmf_inputEnterKey("switch1.case_judg.group1.cmb_srchrsrvdd", "onitemchanged", new ItemChangeEventInfo);
  1110. }
  1111. }
  1112. //switch1.tabindex = 0;
  1113. }
  1114. fGetBasicCdList();
  1115. fSetJudgDr(); // 판정의 셋팅
  1116. fSrchInit();
  1117. if(!frmf_checkAuth("R")){
  1118. fInit(false);
  1119. }
  1120. switch1.case_pat.group2.btn_search.enable = frmf_checkAuth("R");
  1121. switch1.case_judg.group1.btn_search2.enable = frmf_checkAuth("R");
  1122. btn_save.enable = frmf_checkAuth("X");
  1123. btn_clear.enable = frmf_checkAuth("X");
  1124. //switch1.case_judg.switch2.tabindex = 0;
  1125. var sProp="col=10,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  1126. switch1.case_pat.group2.checkbox1.setInitComp(sProp, ds_init_baseinfo_statlst_A0107,"cdid","cdnm","fn_cmpEvent");
  1127. var aData = new Array();
  1128. aData[0] = "G";
  1129. aData[1] = "H";
  1130. aData[2] = "I";
  1131. ds_send.setColumn(0, "srchstatflag2", "G H I");
  1132. switch1.case_pat.group2.checkbox1.setData(aData, "",false);
  1133. if(frmf_checkAuth("R"))
  1134. {
  1135. fGetJudgPatList();
  1136. }
  1137. switch1.case_judg.grp_textview.visible = false;
  1138. appf_delPatientInfos();
  1139. if(frmf_checkOpener())
  1140. {
  1141. switch1.case_judg.group1.btn_searchhist.click();
  1142. // switch1.case_judg.group1.cmb_srchrsrvdd.index = 0;
  1143. // frmf_inputEnterKey("switch1.case_judg.group1.cmb_srchrsrvdd", "oncloseup", new ComboCloseUpEventInfo);
  1144. }
  1145. switch1.case_judg.group1.cmb_srchrsrvdd.index = 0;
  1146. }
  1147. function fn_cmpEvent()
  1148. {
  1149. var rtn = switch1.case_pat.group2.checkbox1.getData();
  1150. ds_send.setColumn(0, "srchstatflag2", String(rtn).replace(",", " "));
  1151. }
  1152. function fGetPatinfoWithPid(sPid)
  1153. {
  1154. if(utlf_isNull(sPid)) return;
  1155. //var vHealExamDetlFg = fGetHealExamDetlFlag();
  1156. var vHealExamDetlFg = ds_init_send.getColumn(0, "srchhealexamdetlflag2");
  1157. if(utlf_isNull(vHealExamDetlFg)) vHealExamDetlFg = fGetHealExamDetlFlag();
  1158. if(ahafGetPatInfo(2, sPid, "" , "ds_init_send_item2") == true)
  1159. {
  1160. //ahafGetHistList2(sPid, switch1.case_pat.group2.cmb_srchhealexamdetlflag.value, "E");
  1161. ahafGetHistList2(sPid, vHealExamDetlFg, "E");
  1162. ds_temp_histlst_item.copyData(ds_main_info_histlst_item);
  1163. if(ds_temp_histlst_item.rowcount > 0) {
  1164. switch1.case_judg.group1.cmb_srchrsrvdd.index = 0;
  1165. //switch1.case_judg.group1.cmb_srchrsrvdd.onitemchanged.fireEvent(switch1.case_judg.group1.cmb_srchrsrvdd, new ItemChangeEventInfo);
  1166. switch1.case_judg.group1.cmb_srchrsrvdd.oncloseup.fireEvent(switch1.case_judg.group1.cmb_srchrsrvdd, new ComboCloseUpEventInfo);
  1167. }
  1168. }
  1169. }
  1170. function fGetBasicCdList()
  1171. {
  1172. if(!frmf_checkOpener() )
  1173. {
  1174. switch1.tabindex = 0;
  1175. }
  1176. if(utlf_isNull(m_vHealexamflag))
  1177. {
  1178. m_vHealexamflag = fGetHealExamFlag();
  1179. }
  1180. //openLoadingBar("기초정보 ") ;//처리중 화면을 오픈한다.
  1181. var arrParam = [{dsNm: "ds_init_baseinfo_hedetlflaglst_A0069", cdGrpId: "A0069"}
  1182. ,{dsNm: "ds_init_baseinfo_rslttypelst_A0066", cdGrpId: "A0066"}
  1183. ,{dsNm: "ds_init_baseinfo_plceflag_A0110", cdGrpId: "A0110"}
  1184. ,{dsNm: "ds_init_baseinfo_inqrflag_A0106", cdGrpId: "A0106"}
  1185. ,{dsNm: "ds_init_baseinfo_statlst_A0107", cdGrpId: "A0107"}
  1186. ,{dsNm: "ds_init_baseinfo_rsltcnstflaglst_A0123", cdGrpId: "A0123"}]
  1187. appf_getCodeList(arrParam);
  1188. //(칠곡) 공단검진 종검추가검사용
  1189. if(sysf_getUserInfo("dutplceinstcd") == "032"){
  1190. ds_init_baseinfo_hedetlflaglst_A0069.addRow();
  1191. ds_init_baseinfo_hedetlflaglst_A0069.setColumn(ds_init_baseinfo_hedetlflaglst_A0069.rowcount-1, "cdid", "G01");
  1192. ds_init_baseinfo_hedetlflaglst_A0069.setColumn(ds_init_baseinfo_hedetlflaglst_A0069.rowcount-1, "cdnm", "공단건진");
  1193. switch1.case_judg.group1.cmb_srchhealexamdetlflag2.enable = true; //종합판정 탭에서 종검/공검 환자 바로 검색 가능하도록s
  1194. }
  1195. var addRow = ds_init_baseinfo_statlst_A0107.insertRow(7);
  1196. ds_init_baseinfo_statlst_A0107.setColumn(addRow, "cdnm", "결과완료");
  1197. ds_init_baseinfo_statlst_A0107.setColumn(addRow, "cdid", "GY");
  1198. //submit("TRZBC00101");
  1199. ds_temp_tmpInfo_A0107.copyData(ds_init_baseinfo_statlst_A0107);
  1200. // model.makeValue("/root/temp/tmpInfo/A0107[1]/cdid", model.getValue("/root/init/baseinfo/statlst/A0107[1]/cdid"));
  1201. // model.makeValue("/root/temp/tmpInfo/A0107[1]/cdnm", model.getValue("/root/init/baseinfo/statlst/A0107[1]/cdnm"));
  1202. // model.makeValue("/root/temp/tmpInfo/A0107[2]/cdid", model.getValue("/root/init/baseinfo/statlst/A0107[2]/cdid"));
  1203. // model.makeValue("/root/temp/tmpInfo/A0107[2]/cdnm", model.getValue("/root/init/baseinfo/statlst/A0107[2]/cdnm"));
  1204. // model.makeValue("/root/temp/tmpInfo/A0107[3]/cdid", model.getValue("/root/init/baseinfo/statlst/A0107[3]/cdid"));
  1205. // model.makeValue("/root/temp/tmpInfo/A0107[3]/cdnm", model.getValue("/root/init/baseinfo/statlst/A0107[3]/cdnm"));
  1206. // model.makeValue("/root/temp/tmpInfo/A0107[4]/cdid", model.getValue("/root/init/baseinfo/statlst/A0107[4]/cdid"));
  1207. // model.makeValue("/root/temp/tmpInfo/A0107[4]/cdnm", model.getValue("/root/init/baseinfo/statlst/A0107[4]/cdnm"));
  1208. // model.makeValue("/root/temp/tmpInfo/A0107[5]/cdid", model.getValue("/root/init/baseinfo/statlst/A0107[5]/cdid"));
  1209. // model.makeValue("/root/temp/tmpInfo/A0107[5]/cdnm", model.getValue("/root/init/baseinfo/statlst/A0107[5]/cdnm"));
  1210. // model.makeValue("/root/temp/tmpInfo/A0107[6]/cdid", model.getValue("/root/init/baseinfo/statlst/A0107[6]/cdid"));
  1211. // model.makeValue("/root/temp/tmpInfo/A0107[6]/cdnm", model.getValue("/root/init/baseinfo/statlst/A0107[6]/cdnm"));
  1212. // model.makeValue("/root/temp/tmpInfo/A0107[7]/cdid", model.getValue("/root/init/baseinfo/statlst/A0107[7]/cdid"));
  1213. // model.makeValue("/root/temp/tmpInfo/A0107[7]/cdnm", model.getValue("/root/init/baseinfo/statlst/A0107[7]/cdnm"));
  1214. // model.makeValue("/root/temp/tmpInfo/A0107[8]/cdid", model.getValue("/root/init/baseinfo/statlst/A0107[10]/cdid"));
  1215. // model.makeValue("/root/temp/tmpInfo/A0107[8]/cdnm", model.getValue("/root/init/baseinfo/statlst/A0107[10]/cdnm"));
  1216. // model.makeValue("/root/temp/tmpInfo/A0107[9]/cdid", model.getValue("/root/init/baseinfo/statlst/A0107[8]/cdid"));
  1217. // model.makeValue("/root/temp/tmpInfo/A0107[9]/cdnm", model.getValue("/root/init/baseinfo/statlst/A0107[8]/cdnm"));
  1218. // model.makeValue("/root/temp/tmpInfo/A0107[10]/cdid", model.getValue("/root/init/baseinfo/statlst/A0107[9]/cdid"));
  1219. // model.makeValue("/root/temp/tmpInfo/A0107[10]/cdnm", model.getValue("/root/init/baseinfo/statlst/A0107[9]/cdnm"));
  1220. //ds_init_baseinfo_statlst_A0107.copyData(ds_temp_tmpInfo_A0107);
  1221. var arrParam = [{dsNm: "ds_init_baseinfo_healexamplacelst_S600", cdGrpId: "S600"}
  1222. ,{dsNm: "ds_init_baseinfo_orddeptcdlst_S610", cdGrpId: "S610"}];
  1223. healGetCodeList(arrParam);
  1224. var arrParam = [{dsNm: "ds_init_baseinfo_formcdlst_S290", cdGrpId: "S290"}];
  1225. healGetCodeListSubmit(arrParam);
  1226. ds_init_baseinfo_orddeptcdlst_S610.deleteRow(0);
  1227. ds_send.setColumn(0, "srchhealexamflag", m_vHealexamflag);
  1228. ds_send.setColumn(0, "srchhealexamdetlflag", fGetHealExamDetlFlag());
  1229. dsf_makeValue(ds_send, "srchcond", "string", "J");
  1230. var oParam = {};
  1231. oParam.id = "TRAHB01504";
  1232. oParam.service = "healexambaseapp.ComCode";
  1233. oParam.method = "reqGetHealExamDrList";
  1234. oParam.inds = "req=ds_send";
  1235. oParam.outds = "ds_init_baseinfo_drlst_itemdr=item";
  1236. oParam.async = false;
  1237. //oParam.callback = "cf_TRAHB01504";
  1238. tranf_submit(oParam);
  1239. ///closeLoadingBar() ;
  1240. }
  1241. function fSetJudgDr()
  1242. {
  1243. var licnsno = sysf_getUserInfo("licnsno");
  1244. var selChk = false;
  1245. for(var i = 0; i < ds_init_baseinfo_drlst_itemdr.rowcount; i++)
  1246. {
  1247. if(ds_init_baseinfo_drlst_itemdr.getColumn(i, "drid") == licnsno)
  1248. {
  1249. switch1.case_pat.group2.cmb_srchjudgdrid.index = i;
  1250. dsf_makeValue(ds_hidden, "judgdr" , licnsno);
  1251. selChk = true;
  1252. }
  1253. }
  1254. if(selChk == false)
  1255. {
  1256. switch1.case_pat.group2.cmb_srchjudgdrid.index = 0;
  1257. }
  1258. }
  1259. function fSrchInit()
  1260. {
  1261. var vHealExamDetlFg = fGetHealExamDetlFlag();
  1262. if( vHealExamDetlFg == 'C01' )
  1263. {
  1264. switch1.case_pat.group2.cmb_placeflag.value = "S";
  1265. }
  1266. else if (vHealExamDetlFg == 'C03' || vHealExamDetlFg == 'G01')
  1267. {
  1268. switch1.case_pat.group2.cmb_placeflag.value = "K";
  1269. }
  1270. switch1.case_pat.group2.cmb_srchhealexamdetlflag.value = vHealExamDetlFg;
  1271. switch1.case_judg.group1.cmb_srchhealexamdetlflag2.value = vHealExamDetlFg;
  1272. var cur_date = utlf_getCurrentDate();
  1273. switch1.case_pat.group2.ipt_srchfromdd.value = cur_date;
  1274. switch1.case_pat.group2.ipt_srchtodd.value = cur_date;
  1275. }
  1276. function fInit(bDetl)
  1277. {
  1278. ds_main_judgdetl_rsltlst_item.clearData();
  1279. ds_main_judgdetl_rsltlst_itemtext.clearData();
  1280. ds_main_judgdetl_judginfo_itemsick.clearData();
  1281. ds_main_judgdetl_judginfo_item.clearData();
  1282. ds_main_judgdetl_judginfo_item.addRow();
  1283. var cur_date = utlf_getCurrentDate();
  1284. switch1.case_judg.ipt_judgdd.value = cur_date;
  1285. if(bDetl)
  1286. {
  1287. return;
  1288. }
  1289. ds_main_judgpatlst_item.clearData();
  1290. }
  1291. function fGetJudgPatList()
  1292. {
  1293. //openLoadingBar("판정 대상 건진자리스트");
  1294. ds_main_judgpatlst_item.clearData();
  1295. ds_send.setColumn(0, "srchcmpycd", switch1.case_pat.group2.ipt_cmpycd.value);
  1296. ds_send.setColumn(0, "srchhealexamdetlflag", ds_init_send.getColumn(0, "srchhealexamdetlflag"));
  1297. ds_send.setColumn(0, "srchhealexamplacecd", ds_init_send.getColumn(0, "srchhealexamplacecd"));
  1298. ds_send.setColumn(0, "srchpid", switch1.case_pat.group2.ipt_pid.value);
  1299. ds_send.setColumn(0, "srchpnm", switch1.case_pat.group2.ipt_pnm.value);
  1300. ds_send.setColumn(0, "srchfromdd", ds_init_send.getColumn(0, "srchfromdd"));
  1301. ds_send.setColumn(0, "srchtodd", ds_init_send.getColumn(0, "srchtodd"));
  1302. ds_send.setColumn(0, "srchjudgdrid", switch1.case_pat.group2.cmb_srchjudgdrid.value);
  1303. ds_send.setColumn(0, "srchinstcd", sysf_getUserInfo("dutplceinstcd"));
  1304. //ds_send.setColumn(0, "srchhealexamflag", fGetHealExamFlag());
  1305. ds_send.setColumn(0, "srchhealexamflag", ds_init_send.getColumn(0, "srchhealexamdetlflag").substring(0, 1));
  1306. if(String(ds_send.getColumn(0, "srchstatflag2")).indexOf("GY") >= 0)
  1307. {
  1308. dsf_makeValue(ds_send, "srchstatcmpl","string", "Y");
  1309. }
  1310. else
  1311. {
  1312. dsf_makeValue(ds_send, "srchstatcmpl","string", "N");
  1313. }
  1314. var oParam = {};
  1315. oParam.id = "TRAHR00501";
  1316. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  1317. oParam.method = "reqGetJudgPatList";
  1318. oParam.inds = "req=ds_send";
  1319. oParam.outds = "ds_main_judgpatlst_item=item";
  1320. oParam.async = false;
  1321. //oParam.callback = "cf_TRAHR00501";
  1322. tranf_submit(oParam);
  1323. //closeLoadingBar();
  1324. }
  1325. function switch1_case_pat_group2_ipt_cmpycd_onkeyup(obj:Edit, e:KeyEventInfo)
  1326. {
  1327. if(e.keycode == 13)
  1328. {
  1329. obj.updateToDataset();
  1330. switch1.case_pat.group2.btn_selcmpy.click();
  1331. }
  1332. }
  1333. function switch1_case_pat_group2_btn_selcmpy_onclick(obj:Button, e:ClickEventInfo)
  1334. {
  1335. fGetComnCd("SMAHA02300", "08" , "nm", switch1.case_pat.group2.ipt_cmpycd.value, switch1.case_pat.group2.ipt_cmpycd, switch1.case_pat.group2.opt_cmpynm);
  1336. }
  1337. function switch1_case_pat_group2_ipt_srchtodd_onchanged(obj:Calendar, e:ChangeEventInfo)
  1338. {
  1339. fGetJudgPatList();
  1340. }
  1341. function switch1_case_pat_group2_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  1342. {
  1343. if(e.keycode == 13)
  1344. {
  1345. obj.updateToDataset();
  1346. if(!ahafGetPatInfo(2, switch1.case_pat.group2.ipt_pid.value, "" , "ds_init_send_item1")) return ;
  1347. ds_init_send_item1.setColumn(0, "pid", ds_temp_patinfo_item.getColumn(0, "pid"));
  1348. ds_init_send_item1.setColumn(0, "hngnm", ds_temp_patinfo_item.getColumn(0, "hngnm"));
  1349. if( utlf_isNull(ds_init_send_item1.getColumn(0, "pid") )) return ;
  1350. fGetJudgPatList();
  1351. }
  1352. }
  1353. function switch1_case_pat_group2_btn_srchpat_onclick(obj:Button, e:ClickEventInfo)
  1354. {
  1355. fSearchPatInfo("SMAHA00100", "pnm", switch1.case_pat.group2.ipt_pnm.value, "N", "ds_send" ,switch1.case_pat.group2.ipt_pid, switch1.case_pat.group2.ipt_pnm);
  1356. if(!utlf_isNull(switch1.case_pat.group2.ipt_pid.value)) fGetJudgPatList();
  1357. }
  1358. function switch1_case_pat_group2_cmb_srchjudgdrid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1359. {
  1360. fGetJudgPatList();
  1361. }
  1362. function switch1_case_pat_group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1363. {
  1364. fGetJudgPatList();
  1365. }
  1366. function switch1_case_pat_grd_judgpatlst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1367. {
  1368. fChkPatNameC(ds_main_judgpatlst_item, "hngnm", ds_main_judgpatlst_item.getColumn(ds_main_judgpatlst_item.rowposition, "hngnm"));
  1369. ds_temp_histlst_item.clearData();
  1370. ds_main_judgdetl_rsltlst_item.clearData();
  1371. ds_main_judgdetl_rsltlst_itemtext.clearData();
  1372. ds_main_judgdetl_rsltlst_rslttextinfo.clearData();
  1373. ds_main_judgdetl_judginfo_item.clearData();
  1374. fGetJudgInfo();
  1375. }
  1376. function fGetJudgInfo()
  1377. {
  1378. var idx = ds_main_judgpatlst_item.rowposition;
  1379. if( idx < 0) return ;
  1380. var vPid = ds_main_judgpatlst_item.getColumn(idx, "pid");
  1381. if( utlf_isNull(vPid) ) return ;
  1382. var vRsrvdd = ds_main_judgpatlst_item.getColumn(idx, "rsrvdd");
  1383. var vRsrvno = ds_main_judgpatlst_item.getColumn(idx, "rsrvno");
  1384. var vOrdDD = ds_main_judgpatlst_item.getColumn(idx, "orddd");
  1385. var vCretno = ds_main_judgpatlst_item.getColumn(idx, "cretno");
  1386. var vRgstno1 = ds_main_judgpatlst_item.getColumn(idx, "rrgstno1");
  1387. var vRgstno2 = ds_main_judgpatlst_item.getColumn(idx, "rrgstno2");
  1388. var vHometel = ds_main_judgpatlst_item.getColumn(idx, "hometel");
  1389. var vMpphontel = ds_main_judgpatlst_item.getColumn(idx, "mpphontel");
  1390. switch1.case_judg.group1.cmb_srchhealexamdetlflag2.value = switch1.case_pat.group2.cmb_srchhealexamdetlflag.value;
  1391. fInit(true);
  1392. switch1.tabindex = 1;
  1393. switch1.case_judg.group1.ipt_srchpid2.value = vPid;
  1394. switch1.case_judg.group1.ipt_srchpnm2.value = ds_main_judgpatlst_item.getColumn(idx, "hngnm");
  1395. switch1.case_judg.group1.opt_sex.value = ds_main_judgpatlst_item.getColumn(idx, "sex");
  1396. switch1.case_judg.group1.opt_age.value = ds_main_judgpatlst_item.getColumn(idx, "age");
  1397. dsf_makeValue(ds_init_send_item2, "orddd", "string", vOrdDD);
  1398. dsf_makeValue(ds_init_send_item2, "cretno", "string", vCretno);
  1399. ds_init_send.setColumn(0, "srchcretno", vCretno);
  1400. ds_send.setColumn(0, "srchrgstno1", vRgstno1);
  1401. ds_send.setColumn(0, "srchrgstno2", vRgstno2);
  1402. switch1.case_judg.group1.ipt_hometel.value = vHometel;
  1403. switch1.case_judg.group1.ipt_mpphontel.value = vMpphontel;
  1404. ahafGetHistList2(vPid, switch1.case_pat.group2.cmb_srchhealexamdetlflag.value , "E");
  1405. ds_temp_histlst_item.copyData(ds_main_info_histlst_item);
  1406. if(ds_temp_histlst_item.rowcount > 0) {
  1407. switch1.case_judg.group1.cmb_srchrsrvdd.index = 0;
  1408. //switch1.case_judg.group1.cmb_srchrsrvdd.onitemchanged.fireEvent(switch1.case_judg.group1.cmb_srchrsrvdd, new ItemChangeEventInfo);
  1409. switch1.case_judg.group1.cmb_srchrsrvdd.oncloseup.fireEvent(switch1.case_judg.group1.cmb_srchrsrvdd, new ComboCloseUpEventInfo);
  1410. }
  1411. var vPkgnm = ds_main_judgpatlst_item.getColumn(idx, col_pkgnm);
  1412. ahafSetScreenTopPatInfo(vPid , vOrdDD , vCretno);
  1413. var child = frmf_getChildWindow("SPAHR00500");
  1414. if(!utlf_isNull(child))
  1415. {
  1416. child.close();
  1417. }
  1418. // switch1.case_judg.group1.cmb_srchrsrvdd.index = 0;
  1419. // frmf_inputEnterKey("switch1.case_judg.group1.cmb_srchrsrvdd", "oncloseup", new ComboCloseUpEventInfo);
  1420. if(chk_inqrautocall.value == "Y")
  1421. {
  1422. switch1.case_judg.button4.click();
  1423. }
  1424. }
  1425. function fGetJudgDetlInfo(vRsrvdd, vRsrvno , vPkgnm , vPid, vOrdDD , vCretno)
  1426. {
  1427. //dsf_makeValue(ds_send, "healexamflag", "string", m_vHealexamflag);
  1428. dsf_makeValue(ds_send, "healexamflag", "string", switch1.case_judg.group1.cmb_srchhealexamdetlflag2.value.substring(0, 1));
  1429. dsf_makeValue(ds_send, "healexamdetlflag", "string", switch1.case_judg.group1.cmb_srchhealexamdetlflag2.value);
  1430. dsf_makeValue(ds_send, "rsrvdd", "string", vRsrvdd);
  1431. dsf_makeValue(ds_send, "rsrvno", "string", vRsrvno);
  1432. dsf_makeValue(ds_send, "instcd", "string", sysf_getUserInfo("dutplceinstcd"));
  1433. dsf_makeValue(ds_send, "pid", "string", vPid);
  1434. dsf_makeValue(ds_send, "orddd", "string", vOrdDD);
  1435. dsf_makeValue(ds_send, "cretno", "string", vCretno);
  1436. ds_main_judgdetl_judginfo_item.clearData();
  1437. //openLoadingBar("결과 정보");
  1438. var ret = false;
  1439. var oParam = {};
  1440. oParam.id = "TRAHR00503";
  1441. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  1442. oParam.method = "reqGetRsltForColgJudg";
  1443. oParam.inds = "req=ds_send";
  1444. oParam.outds = "ds_main_judgdetl_rsltlst_item=item ds_main_judgdetl_rsltlst_itemtext=itemtext ds_main_judgdetl_rsltlst_itemorddd=itemorddd";
  1445. oParam.async = false;
  1446. oParam.callback = "cf_transnm";
  1447. tranf_submit(oParam);
  1448. if(arErrorCode.pop("TRAHR00503") > -1)
  1449. {
  1450. ret = true;
  1451. }
  1452. //closeLoadingBar();
  1453. var vRsltCaption = "처방명칭" + "^" + switch1.case_judg.group5.cap_year1.value + "^" +"판정" + "^" + switch1.case_judg.group5.cap_year2.value+ "^" + "판정" + "^" + switch1.case_judg.group5.cap_year3.value+ "^" + "판정" + "^" + "기준" + "^" + "단위" ;
  1454. array_vRsltCaption = vRsltCaption.split("^")
  1455. for(var i = 0; i < array_vRsltCaption.length; i++)
  1456. {
  1457. switch1.case_judg.grd_rsltlst.setCellProperty("Head", parseInt(i+1), "text", array_vRsltCaption[i]);
  1458. }
  1459. //openLoadingBar("판정 정보");
  1460. var oParam = {};
  1461. oParam.id = "TRAHR00502";
  1462. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  1463. oParam.method = "reqGetColgJudg";
  1464. oParam.inds = "req=ds_send";
  1465. oParam.outds = "ds_temp_judginfo_item=item ds_temp_judginfo_itemsick=itemsick";
  1466. oParam.async = false;
  1467. oParam.callback = "cf_transnm";
  1468. tranf_submit(oParam);
  1469. if(arErrorCode.pop("TRAHR00502") > -1)
  1470. {
  1471. ret = true;
  1472. }
  1473. //closeLoadingBar();
  1474. ds_main_judgdetl_judginfo_item.clearData();
  1475. ds_main_judgdetl_judginfo_item.addRow();
  1476. if(ret == true )
  1477. {
  1478. var retNode = ds_temp_judginfo_item.getColumn(0, "judgdrid");
  1479. if(!utlf_isNull(retNode))
  1480. {
  1481. ds_main_judgdetl_judginfo_item.copyData(ds_temp_judginfo_item);
  1482. }
  1483. }
  1484. var judgDr = ds_main_judgdetl_judginfo_item.getColumn(0, "judgdrid"); //판정등록한 판정의
  1485. var logJudgDr = ds_hidden.getColumn(0, "judgdr");
  1486. if(utlf_isNull(judgDr))
  1487. {
  1488. if(!utlf_isNull(logJudgDr))
  1489. {
  1490. ds_main_judgdetl_judginfo_item.setColumn(0, "judgdrid" , logJudgDr);
  1491. }
  1492. //else if(!utlf_isNull(ds_main_judgdetl_judginfo_item.getColumn(0, "rsltcnstdrid")))
  1493. else if(!utlf_isNull(ds_temp_judginfo_item.getColumn(0, "rsltcnstdrid")))
  1494. {
  1495. //ds_main_judgdetl_judginfo_item.setColumn(0, "judgdrid", ds_main_judgdetl_judginfo_item.getColumn(0, "rsltcnstdrid"));
  1496. ds_main_judgdetl_judginfo_item.copyData(ds_temp_judginfo_item);
  1497. ds_main_judgdetl_judginfo_item.setColumn(0, "judgdrid", ds_temp_judginfo_item.getColumn(0, "rsltcnstdrid"));
  1498. }
  1499. }
  1500. else
  1501. {
  1502. if(judgDr != logJudgDr)
  1503. {
  1504. if(!utlf_isNull(logJudgDr))
  1505. {
  1506. var judgDrNm = "";
  1507. var logJudgDrNm = ""
  1508. for(var i = 0; i < ds_init_baseinfo_drlst_itemdr.rowcount; i++)
  1509. {
  1510. if(ds_init_baseinfo_drlst_itemdr.getColumn(i, "drid") == judgDr)
  1511. {
  1512. judgDrNm = ds_init_baseinfo_drlst_itemdr.getColumn(i, "drnm");
  1513. }
  1514. if(ds_init_baseinfo_drlst_itemdr.getColumn(i, "drid") == logJudgDr)
  1515. {
  1516. logJudgDrNm = ds_init_baseinfo_drlst_itemdr.getColumn(i, "drnm");
  1517. }
  1518. }
  1519. var vb = sysf_messageBox("판정의를 [" + judgDrNm + "]에서 [" + logJudgDrNm + "]로 변경" ,"S001");
  1520. if(vb == "6")
  1521. {
  1522. ds_main_judgdetl_judginfo_item.setColumn(0, "judgdrid", logJudgDr);
  1523. }
  1524. }
  1525. }
  1526. }
  1527. dsf_makeValue(ds_main_judgdetl_judginfo_item, "pkgnm", "string", vPkgnm);
  1528. }
  1529. function cf_transnm(sSvcId, nErrorCode, sErrorMsg)
  1530. {
  1531. arErrorCode.push(sSvcId, nErrorCode);
  1532. if(nErrorCode < 0) return;
  1533. }
  1534. function fGetAfexamlist()
  1535. {
  1536. //if(utlf_isNull(ds_send.getColumn(0, "srchrsrvdd")) || utlf_isNull(ds_send.getColumn(0, "srchrsrvno")))
  1537. if(utlf_isNull(ds_send.getColumn(0, "srchrsrvdd")))
  1538. {
  1539. return;
  1540. }
  1541. else
  1542. {
  1543. ds_main_afexamlist_item.clearData();
  1544. ds_send_srchafexam.setColumn(0, "healexamflag", ds_send.getColumn(0, "srchhealexamflag"));
  1545. ds_send_srchafexam.setColumn(0, "rsrvdd", ds_send.getColumn(0, "srchrsrvdd"));
  1546. ds_send_srchafexam.setColumn(0, "rsrvno", ds_send.getColumn(0, "rsrvno"));
  1547. var oParam = {};
  1548. oParam.id = "TRAHR00506";
  1549. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  1550. oParam.method = "reqGetAfterlist";
  1551. oParam.inds = "req=ds_send_srchafexam";
  1552. oParam.outds = "ds_main_afexamlist_item=afexamlist";
  1553. oParam.async = false;
  1554. oParam.callback = "cf_TRAHR00506";
  1555. tranf_submit(oParam);
  1556. }
  1557. }
  1558. function cf_TRAHR00506(sSvcId, nErrorCode, sErrorMsg) {
  1559. if(nErrorCode < 0) return;
  1560. ds_main_afexamlist_item.addColumn("notiyn","string");
  1561. }
  1562. function switch1_case_judg_group5_btn_year1_ondblclick(obj:Button, e:MouseEventInfo)
  1563. {
  1564. fSetLargView(switch1.case_judg.group5.tar_rsltcnts1.text, switch1.case_judg.group5.cap_year1.value);
  1565. }
  1566. function fSetLargView(vRsltCnts, vYear )
  1567. {
  1568. var idx = ds_main_judgdetl_rsltlst_itemtext.rowposition;
  1569. if(idx < 0) return;
  1570. switch1.case_judg.grp_textrslt.cap_temptestnm.text = vYear + " : " + ds_main_judgdetl_rsltlst_itemtext.getColumn(idx, "testnm");
  1571. switch1.case_judg.grp_textrslt.tar_temprsltcnts.value = vRsltCnts;
  1572. switch1.case_judg.grp_textrslt.visible = true;
  1573. //grp_textrslt.attribute("top") = 150;
  1574. }
  1575. function switch1_case_judg_grp_textrslt_btn_rsltclose_onclick(obj:Button, e:ClickEventInfo)
  1576. {
  1577. switch1.case_judg.grp_textrslt.visible = false;
  1578. }
  1579. function switch1_case_judg_group5_btn_year2_ondblclick(obj:Button, e:MouseEventInfo)
  1580. {
  1581. fSetLargView(switch1.case_judg.group5.tar_rsltcnts2.text, switch1.case_judg.group5.cap_year2.value);
  1582. }
  1583. function switch1_case_judg_group5_btn_year3_ondblclick(obj:Button, e:MouseEventInfo)
  1584. {
  1585. fSetLargView(switch1.case_judg.group5.tar_rsltcnts3.text, switch1.case_judg.group5.cap_year3.value);
  1586. }
  1587. function switch1_case_judg_grd_rsltlst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1588. {
  1589. dsf_makeValue(ds_send, "srchtestcd", "string", ds_main_judgdetl_rsltlst_item.getColumn(ds_main_judgdetl_rsltlst_item.rowposition, "testcd"));
  1590. if(ds_send.getColumn(0, "srchhealexamflag") == "G"){
  1591. ds_send.setColumn(0, "srchhealexamflag", "C");
  1592. }
  1593. var oParam = {};
  1594. oParam.id = "TRAHB00803";
  1595. oParam.service = "healexambaseapp.ComCode";
  1596. oParam.method = "reqGetViewTest";
  1597. oParam.inds = "req=ds_send";
  1598. oParam.outds = "ds_main_judgexmpcdlst_item=item";
  1599. oParam.async = false;
  1600. //oParam.callback = "cf_TRAHB00803";
  1601. tranf_submit(oParam);
  1602. switch1.case_judg.grp_textview.visible = true;
  1603. //switch1.case_judg.grp_textview.grd_judglst.setTreeStatus(0,true);
  1604. //grd_judglst.outlinelevelcol = grd_judglst.colRef("lvl");
  1605. //grd_judglst.outlinecol = grd_judglst.colRef("judgexmpcd");
  1606. //grd_judglst.outlinebar = 2;
  1607. }
  1608. function switch1_case_judg_grd_rsltlst_oncellclick(obj:Grid, e:GridClickEventInfo)
  1609. {
  1610. dsf_makeValue(ds_temp, "seqno", ds_main_judgdetl_rsltlst_item.getColumn(ds_main_judgdetl_rsltlst_item.rowposition, "execprcpuniqno"));
  1611. dsf_makeValue(ds_temp, "prcpdd", ds_main_judgdetl_rsltlst_item.getColumn(ds_main_judgdetl_rsltlst_item.rowposition, "prcpdd"));
  1612. }
  1613. function ds_main_judgexmpcdlst_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1614. {
  1615. if(e.columnid == "sel")
  1616. {
  1617. obj.setColumn(e.row, "sel", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1618. }
  1619. }
  1620. function switch1_case_judg_grp_textview_button2_onclick(obj:Button, e:ClickEventInfo)
  1621. {
  1622. switch1.case_judg.grp_textview.visible = false;
  1623. }
  1624. function switch1_case_judg_grd_rslttextlst_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1625. {
  1626. dsf_makeValue(ds_send, "srchtestcd", "string", ds_main_judgdetl_rsltlst_itemtext.getColumn(ds_main_judgdetl_rsltlst_itemtext.rowposition, "testcd"));
  1627. var oParam = {};
  1628. oParam.id = "TRAHB00803";
  1629. oParam.service = "healexambaseapp.ComCode";
  1630. oParam.method = "reqGetViewTest";
  1631. oParam.inds = "req=ds_send";
  1632. oParam.outds = "ds_main_judgexmpcdlst_item=item";
  1633. oParam.async = false;
  1634. //oParam.callback = "cf_TRAHB00803";
  1635. tranf_submit(oParam);
  1636. switch1.case_judg.grp_textview.visible = true;
  1637. // grp_textview.attribute("top") = 210;
  1638. // grp_textview.attribute("left") = 350;
  1639. }
  1640. function switch1_case_judg_grd_rslttextlst_oncellclick(obj:Grid, e:GridClickEventInfo)
  1641. {
  1642. fSetColRsltText(ds_main_judgdetl_rsltlst_itemtext.rowposition);
  1643. dsf_makeValue(ds_temp, "seqno","string", ds_main_judgdetl_rsltlst_itemtext.getColumn(ds_main_judgdetl_rsltlst_itemtext.rowposition, "execprcpuniqno"));
  1644. dsf_makeValue(ds_temp, "prcpdd","string", ds_main_judgdetl_rsltlst_itemtext.getColumn(ds_main_judgdetl_rsltlst_itemtext.rowposition, "prcpdd"));
  1645. }
  1646. function fSetColRsltText(vRow)
  1647. {
  1648. if(vRow < 0) return;
  1649. var nodeList = ds_main_judgdetl_rsltlst_itemtext;
  1650. if(nodeList.rowcount == 0) return;
  1651. if(nodeList.rowcount < 1) return;
  1652. dsf_makeValue(ds_main_judgdetl_rsltlst_rslttextinfo, "rslt1", "string", nodeList.getColumn(vRow, "rslt1"));
  1653. dsf_makeValue(ds_main_judgdetl_rsltlst_rslttextinfo, "rslt2", "string", nodeList.getColumn(vRow, "rslt2"));
  1654. dsf_makeValue(ds_main_judgdetl_rsltlst_rslttextinfo, "rslt3", "string", nodeList.getColumn(vRow, "rslt3"));
  1655. }
  1656. function switch1_case_judg_group5_btn_minus_onclick(obj:Button, e:ClickEventInfo)
  1657. {
  1658. switch1.case_judg.tar_rsltcnts1_plus.visible = false;
  1659. switch1.case_judg.tar_rsltcnts1_plus.sendToBack();
  1660. switch1.case_judg.tar_rsltcnts2_plus.visible = false;
  1661. switch1.case_judg.tar_rsltcnts2_plus.sendToBack();
  1662. switch1.case_judg.tar_rsltcnts3_plus.visible = false;
  1663. switch1.case_judg.tar_rsltcnts3_plus.sendToBack();
  1664. }
  1665. function switch1_case_judg_group5_btn_plus_onclick(obj:Button, e:ClickEventInfo)
  1666. {
  1667. switch1.case_judg.tar_rsltcnts1_plus.visible = true;
  1668. switch1.case_judg.tar_rsltcnts1_plus.bringToFront();
  1669. switch1.case_judg.tar_rsltcnts2_plus.visible = true;
  1670. switch1.case_judg.tar_rsltcnts2_plus.bringToFront();
  1671. switch1.case_judg.tar_rsltcnts3_plus.visible = true;
  1672. switch1.case_judg.tar_rsltcnts3_plus.bringToFront();
  1673. }
  1674. function switch1_case_judg_btn_auto_onclick(obj:Button, e:ClickEventInfo)
  1675. {
  1676. if(utlf_isNull(ds_init_send.getColumn(0, "srchhealexamdetlflag2")) || utlf_isNull(ds_init_send_item2.getColumn(0, "pid")) || utlf_isNull(ds_send.getColumn(0, "srchrsrvdd")))
  1677. {
  1678. sysf_messageBox("판정대기자 정보가 없습니다.", "I999", "");
  1679. return;
  1680. }
  1681. dsf_makeValue(ds_hidden, "checkseq","23");
  1682. frmf_modal("SPAHA00701", "SPAHA00701", "", "", "", "", "", "", "", "", "", "", "M");
  1683. }
  1684. function switch1_case_judg_btn_selsickcd_onclick(obj:Button, e:ClickEventInfo)
  1685. {
  1686. var cnt = ds_main_judgdetl_judginfo_itemsick.rowcount;
  1687. ahafGetSickCd("SMAHR00500", "", "", cnt , "ds_main_judgdetl_judginfo_itemsick");
  1688. if( ds_temp.getColumn(0, "okflag") == "Y" )
  1689. {
  1690. for( var i = 0; i < ds_main_judgdetl_judginfo_itemsick.rowcount;i++)
  1691. {
  1692. ds_main_judgdetl_judginfo_itemsick.updatecontrol = false;
  1693. ds_main_judgdetl_judginfo_itemsick.setRowType(i, "i");
  1694. ds_main_judgdetl_judginfo_itemsick.updatecontrol = true;
  1695. }
  1696. }
  1697. }
  1698. function switch1_case_judg_button15_onclick(obj:Button, e:ClickEventInfo)
  1699. {
  1700. var next_hopedd = utlf_transNullToEmpty(switch1.case_judg.group1.cmb_srchrsrvdd.text).toDate().getAddDate(1, 'Y').getDateFormat();
  1701. var next_value = utlf_transNullToEmpty(ds_main_judgdetl_judginfo_item.getColumn(0, "hngjudgcnts")) + "\n" + "\n";
  1702. var cnt = ds_init_baseinfo_drlst_itemdr.rowcount;
  1703. for (var i = 0; i < cnt; i++)
  1704. {
  1705. if(ds_init_baseinfo_drlst_itemdr.getColumn(i, "drid") == switch1.case_judg.cmb_judgdr.value)
  1706. {
  1707. var drlicnsno = utlf_transNullToEmpty(ds_init_baseinfo_drlst_itemdr.getColumn(i, "drlicnsno"));
  1708. }
  1709. }
  1710. next_value = next_value + "* 선생님의 다음 건강검진 예정일은 " +
  1711. String(next_hopedd).substring(0,4) + " 년 " + String(next_hopedd).substring(4,6) + " 월 " + String(next_hopedd).substring(6,8) + " 일 입니다." + "\n" +
  1712. " 판정의사 " + utlf_transNullToEmpty(switch1.case_judg.cmb_judgdr.text)+ "(면허번호 : " + utlf_transNullToEmpty(drlicnsno)+ " )";
  1713. ds_main_judgdetl_judginfo_item.setColumn(0, "hngjudgcnts", next_value);
  1714. }
  1715. function switch1_case_judg_switch2_case_eng_button11_onclick(obj:Button, e:ClickEventInfo)
  1716. {
  1717. switch1.case_judg.switch2.case_eng.tar_shrtengjudgcnts.position.height = 193;
  1718. switch1.case_judg.switch2.case_eng.tar_judgengcnts.position.top = 207;
  1719. switch1.case_judg.switch2.case_eng.tar_judgengcnts.position.height = 314;
  1720. switch1.case_judg.switch2.case_eng.button10.visible = true;
  1721. switch1.case_judg.switch2.case_eng.button11.visible = false;
  1722. }
  1723. function switch1_case_judg_switch2_case_eng_button10_onclick(obj:Button, e:ClickEventInfo)
  1724. {
  1725. switch1.case_judg.switch2.case_eng.tar_shrtengjudgcnts.position.height = 43;
  1726. switch1.case_judg.switch2.case_eng.tar_judgengcnts.position.top = 57;
  1727. switch1.case_judg.switch2.case_eng.tar_judgengcnts.position.height = 464;
  1728. switch1.case_judg.switch2.case_eng.button10.visible = false;
  1729. switch1.case_judg.switch2.case_eng.button11.visible = true;
  1730. }
  1731. function switch1_case_judg_switch2_case_hng_btn_large_onclick(obj:Button, e:ClickEventInfo)
  1732. {
  1733. switch1.case_judg.switch2.case_hng.tar_shrthngjudgcnts.position.height = 193;
  1734. switch1.case_judg.switch2.case_hng.tar_judghngcnts.position.top = 207;
  1735. switch1.case_judg.switch2.case_hng.tar_judghngcnts.position.height = 314;
  1736. switch1.case_judg.switch2.case_hng.btn_small.visible = true;
  1737. switch1.case_judg.switch2.case_hng.btn_large.visible = false;
  1738. }
  1739. function switch1_case_judg_switch2_case_hng_btn_small_onclick(obj:Button, e:ClickEventInfo)
  1740. {
  1741. switch1.case_judg.switch2.case_hng.tar_shrthngjudgcnts.position.height = 43;
  1742. switch1.case_judg.switch2.case_hng.tar_judghngcnts.position.top = 57;
  1743. switch1.case_judg.switch2.case_hng.tar_judghngcnts.position.height = 464;
  1744. switch1.case_judg.switch2.case_hng.btn_small.visible = false;
  1745. switch1.case_judg.switch2.case_hng.btn_large.visible = true;
  1746. }
  1747. function switch1_case_judg_switch2_case_afexam_grd_afexamlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  1748. {
  1749. if(e.cell == obj.getBindCellIndex("Body", "testcd"))
  1750. {
  1751. ds_main_detlcodelst_item.clearData();
  1752. frmf_modal("SPAHA00801", "SPAHA00801", "", "", "", "", "", "", "", "", "", "", "M");
  1753. if(ds_temp.getColumn(0, "okflag") == "ok")
  1754. {
  1755. dsf_makeValue(ds_main_afexamlist_item, "aftype", "string", ds_main_detlcodelst_item.getColumn(0, "aftype"), ds_main_afexamlist_item.rowposition);
  1756. dsf_makeValue(ds_main_afexamlist_item, "testcd", "string", ds_main_detlcodelst_item.getColumn(0, "etcdetlcd"), ds_main_afexamlist_item.rowposition);
  1757. dsf_makeValue(ds_main_afexamlist_item, "testnm", "string", ds_main_detlcodelst_item.getColumn(0, "etcdetlnm"), ds_main_afexamlist_item.rowposition);
  1758. if(ds_main_afexamlist_item.getRowType(ds_main_afexamlist_item.rowposition) != 2)
  1759. {
  1760. ds_main_afexamlist_item.updatecontrol = false;
  1761. ds_main_afexamlist_item.setRowType(ds_main_afexamlist_item.rowposition, "u");
  1762. ds_main_afexamlist_item.updatecontrol = true;
  1763. }
  1764. }
  1765. }
  1766. }
  1767. function switch1_case_judg_switch2_case_afexam_button16_onclick(obj:Button, e:ClickEventInfo)
  1768. {
  1769. var addRow = ds_main_afexamlist_item.addRow();
  1770. var healexamflag = ds_send.getColumn(0, "srchhealexamflag");
  1771. var healexamdetlflag = ds_send.getColumn(0, "srchhealexamdetlflag");
  1772. var rsrvdd = ds_send.getColumn(0, "srchrsrvdd");
  1773. var rsrvno = ds_send.getColumn(0, "rsrvno");
  1774. ds_main_afexamlist_item.setColumn(addRow, "healexamflag", healexamflag);
  1775. ds_main_afexamlist_item.setColumn(addRow, "healexamdetlflag", healexamdetlflag);
  1776. ds_main_afexamlist_item.setColumn(addRow, "rsrvdd", rsrvdd);
  1777. ds_main_afexamlist_item.setColumn(addRow, "rsrvno", rsrvno);
  1778. }
  1779. function switch1_case_judg_switch2_case_afexam_btn_grdpkgdel_onclick(obj:Button, e:ClickEventInfo)
  1780. {
  1781. if(ds_main_afexamlist_item.getRowType(ds_main_afexamlist_item.rowposition) == 2)
  1782. {
  1783. ds_main_afexamlist_item.deleteRow(ds_main_afexamlist_item.rowposition);
  1784. }
  1785. else
  1786. {
  1787. ds_main_afexamlist_item.updatecontrol = false;
  1788. ds_main_afexamlist_item.setRowType(ds_main_afexamlist_item.rowposition, "d");
  1789. ds_main_afexamlist_item.updatecontrol = true;
  1790. }
  1791. }
  1792. function switch1_case_judg_switch2_case_afexam_btn_basesave_onclick(obj:Button, e:ClickEventInfo)
  1793. {
  1794. var updData = grdf_getGridUpdateData(switch1.case_judg.switch2.case_afexam.grd_afexamlist);
  1795. if(updData.rowcount == 0)
  1796. {
  1797. sysf_messageBox("저장할 데이터가 존재하지 않습니다.", "E999");
  1798. return false;
  1799. }
  1800. var oParam = {};
  1801. oParam.id = "TXAHR00603";
  1802. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  1803. oParam.method = "reqExeAfterExamInfo";
  1804. oParam.inds = "req=ds_main_afexamlist_item:u";
  1805. oParam.outds = "ds_=item";
  1806. oParam.typeStr = "m";
  1807. oParam.async = false;
  1808. oParam.callback = "cf_TXAHR00603";
  1809. tranf_submit(oParam);
  1810. if(arErrorCode.pop("TXAHR00603") > -1)
  1811. {
  1812. sysf_messageBox("저장이", "I002");
  1813. switch1.case_judg.group1.btn_searchhist.click();
  1814. }
  1815. }
  1816. function cf_TXAHR00603(sSvcId, nErrorCode, sErrorMsg)
  1817. {
  1818. arErrorCode.push(sSvcId, nErrorCode);
  1819. if(nErrorCode < 0) return;
  1820. }
  1821. function ds_main_afexamlist_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1822. {
  1823. if(e.columnid == "notiyn")
  1824. {
  1825. obj.setColumn(e.row, "notiyn", (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
  1826. }
  1827. }
  1828. function switch1_case_judg_group1_ipt_srchpid2_onkeyup(obj:Edit, e:KeyEventInfo)
  1829. {
  1830. if(e.keycode == 13)
  1831. {
  1832. obj.updateToDataset();
  1833. ds_temp_histlst_item.clearData();
  1834. ds_main_judgdetl_rsltlst_item.clearData();
  1835. ds_main_judgdetl_rsltlst_itemtext.clearData();
  1836. ds_main_judgdetl_rsltlst_rslttextinfo.clearData();
  1837. ds_main_judgdetl_judginfo_item.clearData();
  1838. fGetPatinfoWithPid(switch1.case_judg.group1.ipt_srchpid2.value);
  1839. }
  1840. }
  1841. function switch1_case_judg_group1_ipt_srchpnm2_onkeyup(obj:Edit, e:KeyEventInfo)
  1842. {
  1843. if(e.keycode == 13)
  1844. {
  1845. obj.updateToDataset();
  1846. ds_main_judgdetl_rsltlst_item.clearData();
  1847. ds_main_judgdetl_rsltlst_itemtext.clearData();
  1848. ds_main_judgdetl_rsltlst_rslttextinfo.clearData();
  1849. ds_main_judgdetl_judginfo_item.clearData();
  1850. fGetPatinfoWithPid(switch1.case_judg.group1.ipt_srchpid2.text);
  1851. //switch1.case_judg.group1.btn_search2.click();
  1852. }
  1853. }
  1854. function switch1_case_judg_group1_btn_search2_onclick(obj:Button, e:ClickEventInfo)
  1855. {
  1856. //fSearchPatInfo("SMAHA00100", "pid", group3.ipt_srchpid.value, "N", "ds_send" ,"srchpid2", "srchpnm2");
  1857. //fSearchPatInfo("SMAHA00100", "pnm", switch1.case_judg.group1.ipt_srchpnm2.value, "N", "ds_init_send_item2" ,"pid","hngnm","", "", switch1.case_judg.group1.ipt_hometel, switch1.case_judg.group1.ipt_mpphontel, switch1.case_judg.group1.opt_sex, switch1.case_judg.group1.opt_age);
  1858. fSearchPatInfo("SMAHA00100", "pnm", switch1.case_judg.group1.ipt_srchpnm2.value, "N", "ds_init_send_item2" ,"pid","hngnm","", "", "telno", "mpphon", "sex","age");
  1859. var vPid = switch1.case_judg.group1.ipt_srchpid2.value;
  1860. if( !utlf_isNull(vPid))
  1861. {
  1862. ahafGetHistList2(vPid, switch1.case_pat.group2.cmb_srchhealexamdetlflag.value , "E");
  1863. ds_temp_histlst_item.copyData(ds_main_info_histlst_item);
  1864. if(ds_temp_histlst_item.rowcount > 0) {
  1865. switch1.case_judg.group1.cmb_srchrsrvdd.index = 0;
  1866. //switch1.case_judg.group1.cmb_srchrsrvdd.onitemchanged.fireEvent(switch1.case_judg.group1.cmb_srchrsrvdd, new ItemChangeEventInfo);
  1867. switch1.case_judg.group1.cmb_srchrsrvdd.oncloseup.fireEvent(switch1.case_judg.group1.cmb_srchrsrvdd, new ComboCloseUpEventInfo);
  1868. }
  1869. }
  1870. }
  1871. function switch1_case_judg_grp_textview_button1_onclick(obj:Button, e:ClickEventInfo)
  1872. {
  1873. fDocCmtChoice();
  1874. switch1.case_judg.grp_textview.visible = false;
  1875. }
  1876. function btn_clear_onclick(obj:Button, e:ClickEventInfo)
  1877. {
  1878. fInit(false);
  1879. }
  1880. function switch1_case_judg_btn_sickdel_onclick(obj:Button, e:ClickEventInfo)
  1881. {
  1882. if(ds_main_judgdetl_judginfo_itemsick.getRowType(ds_main_judgdetl_judginfo_itemsick.rowposition) == 2)
  1883. {
  1884. ds_main_judgdetl_judginfo_itemsick.deleteRow(ds_main_judgdetl_judginfo_itemsick.rowposition);
  1885. }
  1886. else
  1887. {
  1888. ds_main_judgdetl_judginfo_itemsick.updatecontrol = false;
  1889. ds_main_judgdetl_judginfo_itemsick.setRowType(ds_main_judgdetl_judginfo_itemsick.rowposition);
  1890. ds_main_judgdetl_judginfo_itemsick.updatecontrol = true;
  1891. }
  1892. }
  1893. function switch1_case_judg_button8_onclick(obj:Button, e:ClickEventInfo)
  1894. {
  1895. if (utlf_isNull(ds_init_send_item2.getColumn(0, "pid")))
  1896. {
  1897. sysf_messageBox("등록번호를 입력하세요.","I999");
  1898. return true;
  1899. }
  1900. else
  1901. {
  1902. var prcpdd = ds_temp.getColumn(0, "prcpdd");
  1903. var execprcpuniqno = ds_temp.getColumn(0, "seqno");
  1904. var pid = ds_init_send_item2.getColumn(0, "pid");
  1905. var pacsorderid = prcpdd + execprcpuniqno;
  1906. zepfpacsAll(pacsorderid, pid);
  1907. }
  1908. }
  1909. function switch1_case_judg_button9_onclick(obj:Button, e:ClickEventInfo)
  1910. {
  1911. ds_send_iemr2.clearData();
  1912. //ds_hidden_temp
  1913. var prcpdd = ds_temp.getColumn(0, "prcpdd");
  1914. var execprcpuniqno = ds_temp.getColumn(0, "seqno");
  1915. var instcd = sysf_getUserInfo("dutplceinstcd");
  1916. var sprcpdd = aezfTrim(prcpdd, 44);
  1917. var sexecprcpuniqno = aezfTrim(execprcpuniqno, 44);
  1918. var sinstcd = aezfTrim(instcd, 44);
  1919. dsf_makeValue(ds_send_iemr2, "cmc_orddate", "string", sprcpdd);
  1920. dsf_makeValue(ds_send_iemr2, "cmc_orderseqno", "string", sexecprcpuniqno);
  1921. dsf_makeValue(ds_send_iemr2, "cmc_spcid", "string", sinstcd);
  1922. dsf_makeValue(ds_send_iemr2, "pid", "string", "");
  1923. dsf_makeValue(ds_send_iemr2, "orddeptcd", "string", "");
  1924. dsf_makeValue(ds_send_iemr2, "indd", "string", "");
  1925. dsf_makeValue(ds_send_iemr2, "docucd", "string", "");
  1926. dsf_makeValue(ds_send_iemr2, "ioflag", "string", "");
  1927. dsf_makeValue(ds_send_iemr2, "pagetot", "string", "");
  1928. dsf_makeValue(ds_send_iemr2, "treatno", "string", "");
  1929. var objArg = new Object();
  1930. objArg.arg_ds_hidden_temp = ds_send_iemr2;
  1931. frmf_open("SSMRC03130", "SSMRC03130", objArg, null, null, null, null, null, null, null, null, null, "M");
  1932. }
  1933. function switch1_case_judg_button4_onclick(obj:Button, e:ClickEventInfo)
  1934. {
  1935. fGetInqrInfo();
  1936. }
  1937. function fGetInqrInfo()
  1938. {
  1939. var oParam = {};
  1940. oParam.id = "TRAHB00805";
  1941. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  1942. oParam.method = "reqGetInqrInfo";
  1943. oParam.inds = "req=ds_send";
  1944. oParam.outds = "ds_main_inqrinfo_inqr=inqr";
  1945. oParam.async = false;
  1946. oParam.callback = "cf_TRAHB00805";
  1947. tranf_submit(oParam);
  1948. if(arErrorCode.pop("TRAHB00805") > -1)
  1949. {
  1950. var rootNode = ds_main_inqrinfo_inqr.rowcount;
  1951. if(rootNode == 0)
  1952. {
  1953. fGetInptInqrInfo();
  1954. }
  1955. else
  1956. {
  1957. fGetInqrImge();
  1958. }
  1959. }
  1960. }
  1961. function cf_TRAHB00805(sSvcId, nErrorCode, sErrorMsg)
  1962. {
  1963. arErrorCode.push(sSvcId, nErrorCode);
  1964. if(nErrorCode < 0) return;
  1965. }
  1966. function fGetInptInqrInfo()
  1967. {
  1968. frmf_clearParameter("SPAHR00500_PARAM1");
  1969. frmf_clearParameter("SPAHR00500_PARAM2");
  1970. frmf_clearParameter("SPAHR00500_PARAM3");
  1971. frmf_clearParameter("SPAHR00500_PARAM4");
  1972. frmf_clearParameter("SPAHR00500_PARAM5");
  1973. frmf_clearParameter("SPAHR00500_PARAM6");
  1974. frmf_clearParameter("SPAHR00500_PARAM7");
  1975. frmf_setParameter("SPAHR00500_PARAM1" , ds_send.getColumn(0, "srchhealexamflag"));
  1976. frmf_setParameter("SPAHR00500_PARAM2" , ds_send.getColumn(0, "srchpid"));
  1977. frmf_setParameter("SPAHR00500_PARAM3" , ds_send.getColumn(0, "srchorddd"));
  1978. frmf_setParameter("SPAHR00500_PARAM4" , ds_send.getColumn(0, "srchrsrvdd"));
  1979. frmf_setParameter("SPAHR00500_PARAM5" , ds_send.getColumn(0, "rsrvno"));
  1980. frmf_setParameter("SPAHR00500_PARAM6" , ds_send.getColumn(0, "srchinstcd"));
  1981. frmf_setParameter("SPAHR00500_PARAM7" , "T");
  1982. frmf_open("SPAHR00500", "SPAHR00500", "", null, null, null, null, null, null, null, null, null, "M");
  1983. }
  1984. function fGetInqrImge()
  1985. {
  1986. dsf_makeValue(ds_send_iemr, "pid", "string", ds_main_inqrinfo_inqr.getColumn(0, "pid"));
  1987. dsf_makeValue(ds_send_iemr, "orddeptcd", "string", ds_main_inqrinfo_inqr.getColumn(0, "orddeptcd"));
  1988. dsf_makeValue(ds_send_iemr, "indd", "string", ds_main_inqrinfo_inqr.getColumn(0, "orddd"));
  1989. dsf_makeValue(ds_send_iemr, "docucd", "string", ds_main_inqrinfo_inqr.getColumn(0, "formcd"));
  1990. dsf_makeValue(ds_send_iemr, "ioflag", "string", ds_main_inqrinfo_inqr.getColumn(0, "ioflag"));
  1991. dsf_makeValue(ds_send_iemr, "cmc_cretno", "string", ds_main_inqrinfo_inqr.getColumn(0, "cretno"));
  1992. dsf_makeValue(ds_send_iemr, "cmc_spcid", "string", "");
  1993. dsf_makeValue(ds_send_iemr, "cmc_orddate", "string", "");
  1994. dsf_makeValue(ds_send_iemr, "cmc_orderseqno", "string", "");
  1995. var objArg = new Object();
  1996. objArg.arg_ds_hidden_temp = ds_send_iemr;
  1997. frmf_modal("SSMRC03130", "SSMRC03130", objArg, null, null, null, null, null, null, null, null, null, "M");
  1998. }
  1999. function switch1_case_judg_btn_seljudgcnts_onclick(obj:Button, e:ClickEventInfo)
  2000. {
  2001. fGetJudgExmpCnts(switch1.case_judg.switch2.case_hng.tar_shrthngjudgcnts,switch1.case_judg.switch2.case_hng.tar_judghngcnts, switch1.case_judg.switch2.case_eng.tar_shrtengjudgcnts, switch1.case_judg.switch2.case_eng.tar_judgengcnts);
  2002. }
  2003. function fGetJudgExmpCnts(vHngShrtEditObj,vHngEditObj , vEngShrtEditObj , vEngEditObj )
  2004. {
  2005. dsf_createDs("ds_temp_judgexaminfo")
  2006. frmf_setParameter("SPAHR00300_PARAM1" , "Y");
  2007. frmf_setParameter("SPAHR00300_PARAM2" , "ds_temp_judgexaminfo");
  2008. frmf_setParameter("SPAHR00300_PARAM7" , fGetHealExamFlag());
  2009. frmf_modal("SPAHR00300", "SPAHR00300", "", null, null, null, null, null, null, null, null, null, "M");
  2010. if( ds_temp_SPAHR00300.getColumn(0, "okflag") != "ok" ) return ;
  2011. var vNodeList = ds_temp_judgexaminfo_list
  2012. if( vNodeList.rowcount == 0 ) return ;
  2013. var vJudgShrtCnts = vHngShrtEditObj.value;
  2014. var vJudgCnts = vHngEditObj.value;
  2015. var vJudgShrtEngCnts = vEngShrtEditObj.value;
  2016. var vJudgEngCnts = vEngEditObj.value;
  2017. var sNd = ds_temp_judgexaminfo_list;
  2018. var cnt = vNodeList.rowcount;
  2019. for(var i = 0; i < cnt; i++)
  2020. {
  2021. if(!utlf_isNull(vJudgShrtCnts)) vJudgShrtCnts += ",";
  2022. if(!utlf_isNull(vJudgShrtEngCnts)) vJudgShrtEngCnts += ",";
  2023. if(!utlf_isNull(vJudgCnts)) vJudgCnts += "\n";
  2024. if(!utlf_isNull(vJudgEngCnts)) vJudgEngCnts += "\n";
  2025. vJudgShrtCnts += vNodeList.getColumn(i, "judghangshrtcnts");
  2026. vJudgCnts += vNodeList.getColumn(i, "judghangcnts");
  2027. vJudgShrtEngCnts += vNodeList.getColumn(i, "judgengshrtcnts");
  2028. vJudgEngCnts += vNodeList.getColumn(i, "judgengcnts");
  2029. }
  2030. vHngShrtEditObj.value = vJudgShrtCnts;
  2031. vHngEditObj.value = vJudgCnts;
  2032. vEngShrtEditObj.value = vJudgShrtEngCnts;
  2033. vEngEditObj.value = vJudgEngCnts;
  2034. }
  2035. function switch1_case_judg_button5_onclick(obj:Button, e:ClickEventInfo)
  2036. {
  2037. fGetPrePatInfo();
  2038. }
  2039. function fGetPrePatInfo()
  2040. {
  2041. var cur_idx = ds_main_judgpatlst_item.rowposition;
  2042. var grd_cnt = ds_main_judgpatlst_item.rowcount-1;
  2043. cur_idx--;
  2044. if( cur_idx >= grd_cnt )
  2045. {
  2046. cur_idx = grd_cnt;
  2047. }
  2048. ds_main_judgpatlst_item.rowposition = cur_idx ;
  2049. fGetJudgInfo();
  2050. }
  2051. function switch1_case_judg_btn_nextpat_onclick(obj:Button, e:ClickEventInfo)
  2052. {
  2053. fGetNextPatInfo();
  2054. }
  2055. function fGetNextPatInfo()
  2056. {
  2057. var cur_idx = ds_main_judgpatlst_item.rowposition;
  2058. var grd_cnt = ds_main_judgpatlst_item.rowcount-1;
  2059. cur_idx++;
  2060. if( cur_idx >= grd_cnt )
  2061. {
  2062. cur_idx = 0;
  2063. }
  2064. ds_main_judgpatlst_item.rowposition = cur_idx ;
  2065. fGetJudgInfo();
  2066. }
  2067. function btn_allprnt_onclick(obj:Button, e:ClickEventInfo)
  2068. {
  2069. //frmf_setParameter("SMAHR00900_PARAM1", fGetHealExamFlag());
  2070. frmf_setParameter("SMAHR00900_PARAM1", switch1.case_pat.group2.cmb_srchhealexamdetlflag.value.substring(0, 1));
  2071. //frmf_setParameter("SMAHR00900_PARAM2", fGetHealExamDetlFlag());
  2072. frmf_setParameter("SMAHR00900_PARAM2", switch1.case_pat.group2.cmb_srchhealexamdetlflag.value);
  2073. frmf_modal("SMAHR00900", "SMAHR00900", "", "", "", "", "", "", "", "", "", "", "M");
  2074. }
  2075. function button3_onclick(obj:Button, e:ClickEventInfo)
  2076. {
  2077. frmf_setParameter("SMAHR00200_PARAM1", fGetHealExamFlag());
  2078. frmf_setParameter("SMAHR00200_PARAM2", ds_init_send.getColumn(0, "srchhealexamdetlflag2"));
  2079. frmf_setParameter("SMAHR00200_PARAM3", ds_init_send_item2.getColumn(0, "pid"));
  2080. frmf_setParameter("SMAHR00200_PARAM4", switch1.case_judg.group1.cmb_srchrsrvdd.text);
  2081. frmf_open("SMAHR00200", "SMAHR00200", "", "", "", "", "", "", "", "", "", "", "M");
  2082. }
  2083. function button7_onclick(obj:Button, e:ClickEventInfo)
  2084. {
  2085. var objArg = new Object();
  2086. objArg.arg_ds_send_singdata = ds_init_send_item2;
  2087. frmf_open("SMAER00800", "SMAER00800", objArg, "", "", "", "", "", "", "", "", "", "M");
  2088. }
  2089. function button13_onclick(obj:Button, e:ClickEventInfo)
  2090. {
  2091. frmf_modal("SMMRI00400", "SMMRI00400", "", "", "", "", "", "", "", "", "", "", "M");
  2092. }
  2093. function button12_onclick(obj:Button, e:ClickEventInfo)
  2094. {
  2095. if(switch1.tabindex == 1)
  2096. {
  2097. var pamInfoCvs = sysf_getGlobalVariable("paminfo");
  2098. var formcd = ds_init_baseinfo_formcdlst_S290.lookup("cdid", "01", "cmt");
  2099. ds_hidden_medpatinfo_list.clearData();
  2100. dsf_setCSVToDs("ds_hidden_medpatinfo_list", pamInfoCvs);
  2101. if(utlf_isNull(formcd))
  2102. {
  2103. sysf_messageBox("서식코드가 존재하지 않습니다. 서식코드를 " , "I007");
  2104. return ;
  2105. }
  2106. frmf_setParameter("SPMMR05400_parm_pinfo",ds_init_send_item2.getColumn(0, "pid") + "▦"
  2107. + ds_init_send_item2.getColumn(0, "orddd") + "▦"
  2108. + ds_init_send_item2.getColumn(0, "cretno")+ "▦"
  2109. + "S" + "▦"
  2110. + ds_init_send_item2.getColumn(0, "orddeptcd") + "▦"
  2111. + ds_hidden_medpatinfo_list.getColumn(0, "orddrid") + "▦"
  2112. + ds_init_send_item2.getColumn(0, "hngnm") + "▦"
  2113. + ds_init_send_item2.getColumn(0, "age") + "▦"
  2114. + ds_init_send_item2.getColumn(0, "sex") + "▦"
  2115. + "2380000000"); // 원무정보
  2116. frmf_setParameter("SPMMR05400_parm_formcd", formcd); // 서식코드
  2117. frmf_open("SPMMR05400", "SPMMR05400", "", "", "", "", "", "", "", "", "", "", "M");
  2118. }
  2119. }
  2120. function button17_onclick(obj:Button, e:ClickEventInfo)
  2121. {
  2122. if(switch1.tabindex == 1)
  2123. {
  2124. frmf_clearParameter("SMAHR00600_PARAM1");
  2125. frmf_clearParameter("SMAHR00600_PARAM2");
  2126. frmf_clearParameter("SMAHR00600_PARAM3");
  2127. frmf_clearParameter("SMAHR00600_PARAM4");
  2128. frmf_clearParameter("SMAHR00600_PARAM5");
  2129. frmf_clearParameter("SMAHR00600_PARAM6");
  2130. frmf_clearParameter("SMAHR00600_PARAM7");
  2131. frmf_clearParameter("SMAHR00600_PARAM8");
  2132. frmf_setParameter ("SMAHR00600_PARAM1" , ds_send.getColumn(0, "srchrsrvdd"));
  2133. frmf_setParameter ("SMAHR00600_PARAM2" , ds_send.getColumn(0, "rsrvno"));
  2134. frmf_setParameter ("SMAHR00600_PARAM3" , ds_send.getColumn(0, "srchpid"));
  2135. frmf_setParameter ("SMAHR00600_PARAM4" , switch1.case_judg.group1.ipt_srchpnm2.value);
  2136. frmf_setParameter ("SMAHR00600_PARAM5" , ds_send.getColumn(0, "srchrgstno1"));
  2137. frmf_setParameter ("SMAHR00600_PARAM6" , ds_send.getColumn(0, "srchrgstno2"));
  2138. frmf_setParameter ("SMAHR00600_PARAM7" , switch1.case_judg.group1.ipt_hometel.value);
  2139. frmf_setParameter ("SMAHR00600_PARAM8" , switch1.case_judg.group1.ipt_mpphontel.value);
  2140. frmf_modal("SMAHR00600", "SMAHR00600", "", "", "", "", "", "", "", "", "", "", "M");
  2141. }
  2142. }
  2143. function button6_onclick(obj:Button, e:ClickEventInfo)
  2144. {
  2145. fSaveJudg("I");
  2146. }
  2147. function fSaveJudg(vJudgStat)
  2148. {
  2149. if( sysf_messageBox("종합판정내역을 ", "Q002") !=6) return ;
  2150. var idx = switch1.case_judg.group1.cmb_srchrsrvdd.index;
  2151. var prntYN = ds_main_judgdetl_judginfo_item.getColumn(0, "prntyn");
  2152. var sickJudg = false;
  2153. if(idx < 0)
  2154. {
  2155. sysf_messageBox("판정대상내역을", "C002");
  2156. switch1.case_judg.group1.cmb_srchrsrvdd.setFocus();
  2157. return ;
  2158. }
  2159. if(prntYN == "Y")
  2160. {
  2161. if(sysf_messageBox("기출력된 검사입니다", "Q003") !=6) return;
  2162. }
  2163. if(utlf_isNull(ds_main_judgdetl_judginfo_item.getColumn(0, "judgdrid")))
  2164. {
  2165. sysf_messageBox("판정의를", "C002");
  2166. switch1.case_judg.cmb_judgdr.setFocus();
  2167. return;
  2168. }
  2169. dsf_makeValue(ds_main_judgdetl_judginfo_item, "healexamflag", "string", fGetRsrvInfoFromHistory(idx, "healexamflag"));
  2170. dsf_makeValue(ds_main_judgdetl_judginfo_item, "judgstat", "string", vJudgStat);
  2171. dsf_makeValue(ds_main_judgdetl_judginfo_item, "cretno", "string", fGetRsrvInfoFromHistory(idx , "cretno"));
  2172. dsf_makeValue(ds_main_judgdetl_judginfo_item, "healexamdetlflag", "string", switch1.case_judg.group1.cmb_srchhealexamdetlflag2.value);
  2173. ds_main_judgdetl_judginfo_item.setColumn(0, "rsrvdd", fGetRsrvInfoFromHistory(idx , "rsrvdd"));
  2174. ds_main_judgdetl_judginfo_item.setColumn(0, "rsrvno", fGetRsrvInfoFromHistory(idx , "rsrvno"));
  2175. ds_main_judgdetl_judginfo_item.setColumn(0, "pid", fGetRsrvInfoFromHistory(idx , "pid"));
  2176. ds_main_judgdetl_judginfo_item.setColumn(0, "orddd", fGetRsrvInfoFromHistory(idx , "orddd"));
  2177. ds_main_judgdetl_judginfo_item.setColumn(0, "cretno", fGetRsrvInfoFromHistory(idx , "cretno"));
  2178. ds_main_judgdetl_judginfo_item.setColumn(0, "pkgcd", fGetRsrvInfoFromHistory(idx , "pkgcd"));
  2179. for(var i = 0; i < ds_main_judgdetl_rsltlst_item.rowcount; i++)
  2180. {
  2181. ds_main_judgdetl_rsltlst_item.updatecontrol = false;
  2182. dsf_makeValue(ds_main_judgdetl_rsltlst_item, "judgrslt", "string", ds_main_judgdetl_rsltlst_item.getColumn(i, "rslt1"));
  2183. ds_main_judgdetl_rsltlst_item.updatecontrol = true;
  2184. }
  2185. //ds_main_judgdetl_rsltlst_item.updateColID("rslt1", judgrslt);
  2186. var oParam = {};
  2187. oParam.id = "TRAHB00804";
  2188. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  2189. oParam.method = "setJudgRslt";
  2190. oParam.inds = "req=ds_main_judgdetl_rsltlst_item";
  2191. oParam.outds = "ds_=item";
  2192. oParam.async = false;
  2193. //oParam.callback = "cf_TRAHB00804";
  2194. tranf_submit(oParam);
  2195. var oParam = {};
  2196. oParam.id = "TXAHR00501";
  2197. oParam.service = "healexamrsltjudgapp.ColgJudgInpt";
  2198. oParam.method = "reqExeColgJudg";
  2199. oParam.inds = "savejudg=ds_main_judgdetl_judginfo_item savesick=ds_main_judgdetl_judginfo_itemsick:u";
  2200. oParam.outds = "ds_=item";
  2201. oParam.typeStr = "m";
  2202. oParam.async = false;
  2203. //oParam.callback = "cf_TXAHR00501";
  2204. tranf_submit(oParam);
  2205. switch1.tabindex = 0;
  2206. }
  2207. function fGetRsrvInfoFromHistory(vCmbIndex, vParam )
  2208. {
  2209. if( vCmbIndex < 0 ) return "";
  2210. var ndlist = ds_temp_histlst_item
  2211. if( ndlist.rowcount == 0 ) return "";
  2212. if( ndlist.rowcount < 1) return ;
  2213. var ret = "";
  2214. if( vParam == "rsrvdd")
  2215. {
  2216. ret = ndlist.getColumn(vCmbIndex, "rsrvdd");
  2217. }
  2218. else if( vParam == "rsrvno")
  2219. {
  2220. ret = ndlist.getColumn(vCmbIndex, "rsrvno");
  2221. }
  2222. else if( vParam == "pkgnm")
  2223. {
  2224. ret = ndlist.getColumn(vCmbIndex, "pkgnm");
  2225. }
  2226. else if( vParam == "pkgcd")
  2227. {
  2228. ret = ndlist.getColumn(vCmbIndex, "pkgcd");
  2229. }
  2230. else if( vParam == "pid")
  2231. {
  2232. ret = ndlist.getColumn(vCmbIndex, "pid");
  2233. }
  2234. else if( vParam == "orddd")
  2235. {
  2236. ret = ndlist.getColumn(vCmbIndex, "orddd");
  2237. }
  2238. else if( vParam == "cretno")
  2239. {
  2240. ret = ndlist.getColumn(vCmbIndex, "cretno");
  2241. }
  2242. else if( vParam == "healexamflag")
  2243. {
  2244. ret = ndlist.getColumn(vCmbIndex, "healexamflag");
  2245. }
  2246. return ret ;
  2247. }
  2248. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  2249. {
  2250. fSaveJudg("H");
  2251. }
  2252. function switch1_case_judg_combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  2253. {
  2254. trace("1");
  2255. }
  2256. function ds_main_judgdetl_judginfo_item_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  2257. {
  2258. if(e.columnid == "rsltcnstdrid") {
  2259. trace("2");
  2260. }
  2261. }
  2262. function switch1_case_judg_group1_btn_searchhist_onclick(obj:Button, e:ClickEventInfo)
  2263. {
  2264. var vPid = switch1.case_judg.group1.ipt_srchpid2.text;
  2265. if(!utlf_isNull(vPid)) {
  2266. ahafGetHistList2(vPid, switch1.case_pat.group2.cmb_srchhealexamdetlflag.value, "E");//해당환자의 건진history조회
  2267. fGetAfexamlist(); //추가, 재검, 타과의뢰 조회
  2268. switch1.case_judg.group1.cmb_srchrsrvdd.index = 0;
  2269. }
  2270. }
  2271. function switch1_case_pat_grd_judgpatlst_onheadclick(obj:Grid, e:GridClickEventInfo)
  2272. {
  2273. obj.setCellPos(hPos);
  2274. if (e.col != e.oldcol) grdf_clearSort(obj);
  2275. grdf_gridSort(switch1.case_pat.grd_judgpatlst,e);
  2276. trace("hPos2222 :"+hPos);
  2277. switch1.case_pat.grd_judgpatlst.hscrollbar.pos = hPos;
  2278. }
  2279. function switch1_case_pat_grd_judgpatlst_onhscroll(obj:Grid, e:ScrollEventInfo)
  2280. {
  2281. hPos = e.pos;
  2282. trace("hPos111 :"+hPos);
  2283. }
  2284. function switch1_case_judg_group1_cmb_srchrsrvdd_oncloseup(obj:Combo, e:ComboCloseUpEventInfo)
  2285. {
  2286. var idx = e.postindex;
  2287. ds_main_judgdetl_rsltlst_item.clearData();
  2288. ds_main_judgdetl_rsltlst_itemtext.clearData();
  2289. ds_main_judgdetl_rsltlst_rslttextinfo.clearData();
  2290. ds_main_judgdetl_judginfo_item.clearData();
  2291. if(idx < 0) return;
  2292. var sNd = e.postindex;
  2293. var nodelist = ds_temp_histlst_item;
  2294. ds_main_judgdetl_rsltlst_item.clearData();
  2295. if(nodelist.rowcount == 0) return;
  2296. if(idx >= nodelist.rowcount) idx = 0;
  2297. var sRsrvdd = nodelist.getColumn(idx, "rsrvdd");
  2298. var sRsrvno = nodelist.getColumn(idx, "rsrvno");
  2299. var sPkgnm = nodelist.getColumn(idx, "pkgnm");
  2300. var sPid = nodelist.getColumn(idx, "pid");
  2301. var sOrdDD = nodelist.getColumn(idx, "orddd");
  2302. var sCretno = nodelist.getColumn(idx, "cretno");
  2303. var sHealExamDetlFlag = nodelist.getColumn(idx, "healexamdetlflag");
  2304. ds_init_send.setColumn(0, "srchhealexamdetlflag2", sHealExamDetlFlag);
  2305. fGetJudgDetlInfo(sRsrvdd, sRsrvno , sPkgnm, sPid, sOrdDD, sCretno); //판정정보 상세내역 조회
  2306. fGetAfexamlist();
  2307. }
  2308. ]]></Script>
  2309. </Form>
  2310. </FDL>