SMAOE01000_과거검사결과.xfdl 164 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAOE01000" position="absolute 0 0 1196 778" titletext="과거 검사결과 관리" oninit="SMAOE01000_oninit" onload="SMAOE01000_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group4" taborder="20" position="absolute 430 112 1195 193" style="border:1 solid black ;"/>
  8. <Static id="caption6" text="과거검사결과" class="tit_1" position="absolute 0 0 120 25"/>
  9. <Div id="group6" taborder="1" class="div_SA" position="absolute 0 25 1195 65" anchor="left top right">
  10. <Layouts>
  11. <Layout width="1195" height="40">
  12. <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1126 9 1182 31" anchor="top right" onclick="group6_btn_search_onclick"/>
  13. <Shape id="line18" linetype="vertical" class="line_4" position="absolute 1115 9 1121 31" anchor="top right"/>
  14. <Button id="btn_search1" taborder="2" class="icon_search" position="absolute 194 13 210 29" onclick="group6_btn_search1_onclick" anchor="default"/>
  15. <Edit id="ipt_srchpid" taborder="3" class="input_search" position="absolute 110 11 190 30" autoselect="true" autoskip="true" onkeyup="group6_ipt_srchpid_onkeyup" anchor="default"/>
  16. <Static id="lbl_srchpid" text="등록번호 :" class="search_name" position="absolute 21 13 107 30" anchor="default"/>
  17. <Edit id="opt_srchhngnm" taborder="4" readonly="true" class="output" position="absolute 214 11 314 30" anchor="default"/>
  18. <Button id="button1" taborder="5" text="조회" class="btn1" visible="false" position="absolute 330 9 386 31" onclick="group6_button1_onclick" anchor="default"/>
  19. <Button id="button2" taborder="6" text="출력" class="btn6" position="absolute 1051 9 1109 31" anchor="top right" onclick="group6_button2_onclick"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Shape id="line7" class="line_10" position="absolute 0 65 425 71"/>
  24. <Grid id="grd_examlist" taborder="2" binddataset="ds_main_examlist_item" useinputpanel="false" position="absolute 0 70 425 777" autoenter="select" autofittype="col" cellsizingtype="col" oncelldblclick="grd_examlist_oncelldblclick">
  25. <Formats>
  26. <Format id="default">
  27. <Columns>
  28. <Column size="21"/>
  29. <Column size="70"/>
  30. <Column size="70"/>
  31. <Column size="120"/>
  32. <Column size="120"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. </Columns>
  44. <Rows>
  45. <Row size="24" band="head"/>
  46. <Row size="24"/>
  47. </Rows>
  48. <Band id="head">
  49. <Cell/>
  50. <Cell col="1" text="처방일자"/>
  51. <Cell col="2" text="결과일자"/>
  52. <Cell col="3" text="결과유형"/>
  53. <Cell col="4" text="검사명"/>
  54. <Cell col="5" text="table_cd"/>
  55. <Cell col="6" text="pid"/>
  56. <Cell col="7" text="ccrno"/>
  57. <Cell col="8" text="obtime"/>
  58. <Cell col="9" text="uopno"/>
  59. <Cell col="10" text="title_name"/>
  60. <Cell col="11" text="earnclscd"/>
  61. <Cell col="12" text="dietconstyn"/>
  62. <Cell col="13"/>
  63. <Cell col="14"/>
  64. </Band>
  65. <Band id="body">
  66. <Cell celltype="head"/>
  67. <Cell col="1" displaytype="date" text="bind:orddd" calendardisplaynulltype="nulltext"/>
  68. <Cell col="2" displaytype="date" text="bind:rsltdd" calendardisplaynulltype="nulltext"/>
  69. <Cell col="3" style="align:left middle;padding:0 0 0 3;" text="bind:table_nm"/>
  70. <Cell col="4" style="align:left middle;padding:0 0 0 3;" text="bind:uodesc"/>
  71. <Cell col="5" text="bind:table_cd"/>
  72. <Cell col="6" text="bind:pid"/>
  73. <Cell col="7" text="bind:ccrno"/>
  74. <Cell col="8" text="bind:obtime"/>
  75. <Cell col="9" text="bind:uopno"/>
  76. <Cell col="10" text="bind:title_name"/>
  77. <Cell col="11" text="bind:earnclscd"/>
  78. <Cell col="12" text="bind:dietconstyn"/>
  79. <Cell col="13" text="bind:filedata"/>
  80. <Cell col="14" text="bind:filename"/>
  81. </Band>
  82. </Format>
  83. </Formats>
  84. </Grid>
  85. <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 435 120 530 137"/>
  86. <Edit id="opt_pid" taborder="4" readonly="true" position="absolute 514 118 579 137"/>
  87. <Static id="caption2" text="성명 :" class="search_name" position="absolute 600 120 670 137"/>
  88. <Edit id="opt_name" taborder="5" readonly="true" position="absolute 654 118 714 137"/>
  89. <Static id="caption3" text="성별 :" class="search_name" position="absolute 735 120 800 137"/>
  90. <Edit id="opt_sex" taborder="6" readonly="true" position="absolute 789 118 812 137"/>
  91. <Static id="caption4" text="처방일자 :" class="search_name" position="absolute 1010 120 1105 137"/>
  92. <MaskEdit id="opt_obtime" taborder="7" readonly="true" mask="####-##-##" position="absolute 1089 118 1162 137" maskchar=" " type="string" trimtype="both" style="padding:0 0 0 0;align:center middle;"/>
  93. <Static id="caption5" text="입/외 :" class="search_name" position="absolute 910 120 980 137"/>
  94. <Edit id="opt_inoutmode" taborder="8" readonly="true" position="absolute 969 118 994 137"/>
  95. <Static id="caption7" text="나이 :" class="search_name" position="absolute 825 120 890 137"/>
  96. <Edit id="opt_age" taborder="9" readonly="true" position="absolute 876 118 899 137"/>
  97. <Static id="caption10" text="진료과:" class="search_name" position="absolute 540 145 610 162"/>
  98. <Edit id="opt_obdeptname" taborder="10" readonly="true" position="absolute 599 144 674 163"/>
  99. <Static id="caption8" text="진료의:" class="search_name" position="absolute 685 145 755 162"/>
  100. <Edit id="opt_obdrname" taborder="11" readonly="true" position="absolute 744 144 794 163"/>
  101. <Static id="caption9" text="결과일자:" class="search_name" position="absolute 805 145 886 162"/>
  102. <MaskEdit id="opt_rsltdd" taborder="12" readonly="true" mask="####-##-##" position="absolute 879 144 952 163" maskchar=" " type="string" trimtype="both" style="padding:0 0 0 0;align:center middle;"/>
  103. <Static id="caption11" text="판독의 :" class="search_name" position="absolute 964 144 1039 161"/>
  104. <Edit id="opt_pandrname" taborder="13" readonly="true" position="absolute 1028 143 1163 162"/>
  105. <Static id="caption12" text="처 방 명 :" class="search_name" position="absolute 435 170 530 187"/>
  106. <Edit id="opt_obpathnote" taborder="14" readonly="true" position="absolute 519 169 1163 188"/>
  107. <Static id="caption13" text="병동:" class="search_name" position="absolute 435 145 505 162"/>
  108. <Edit id="opt_room" taborder="15" readonly="true" position="absolute 479 144 529 163"/>
  109. <Tab id="switch1" taborder="16" tabindex="0" position="absolute 430 212 1195 778" class="tab_Normal">
  110. <Tabpages>
  111. <Tabpage id="case1">
  112. <Layouts>
  113. <Layout>
  114. <TextArea id="tar_sw1" taborder="0" position="absolute 0 0 765 552" acceptstab="true" autoselect="true" wordwrap="word"/>
  115. </Layout>
  116. </Layouts>
  117. </Tabpage>
  118. <Tabpage id="case2">
  119. <Layouts>
  120. <Layout>
  121. <Grid id="datagrid1" taborder="0" binddataset="ds_datagrid1" useinputpanel="false" position="absolute 0 0 765 543">
  122. <Formats>
  123. <Format id="default">
  124. <Columns>
  125. <Column size="47"/>
  126. <Column size="47"/>
  127. <Column size="47"/>
  128. <Column size="47"/>
  129. <Column size="47"/>
  130. <Column size="47"/>
  131. <Column size="47"/>
  132. <Column size="47"/>
  133. <Column size="47"/>
  134. <Column size="47"/>
  135. <Column size="47"/>
  136. <Column size="47"/>
  137. <Column size="47"/>
  138. <Column size="47"/>
  139. <Column size="47"/>
  140. </Columns>
  141. <Rows>
  142. <Row size="24" band="head"/>
  143. <Row size="24"/>
  144. </Rows>
  145. <Band id="head">
  146. <Cell/>
  147. <Cell col="1"/>
  148. <Cell col="2"/>
  149. <Cell col="3"/>
  150. <Cell col="4"/>
  151. <Cell col="5"/>
  152. <Cell col="6"/>
  153. <Cell col="7"/>
  154. <Cell col="8"/>
  155. <Cell col="9"/>
  156. <Cell col="10"/>
  157. <Cell col="11"/>
  158. <Cell col="12"/>
  159. <Cell col="13"/>
  160. <Cell col="14"/>
  161. </Band>
  162. <Band id="body">
  163. <Cell text="bind:col1"/>
  164. <Cell col="1" text="bind:col2"/>
  165. <Cell col="2" text="bind:col3"/>
  166. <Cell col="3" text="bind:col4"/>
  167. <Cell col="4" text="bind:col5"/>
  168. <Cell col="5" text="bind:col6"/>
  169. <Cell col="6" text="bind:col7"/>
  170. <Cell col="7" text="bind:col8"/>
  171. <Cell col="8" text="bind:col9"/>
  172. <Cell col="9" text="bind:col10"/>
  173. <Cell col="10" text="bind:col11"/>
  174. <Cell col="11" text="bind:col12"/>
  175. <Cell col="12" text="bind:col13"/>
  176. <Cell col="13" text="bind:col14"/>
  177. <Cell col="14" text="bind:col15"/>
  178. </Band>
  179. </Format>
  180. </Formats>
  181. </Grid>
  182. </Layout>
  183. </Layouts>
  184. </Tabpage>
  185. <Tabpage id="case3">
  186. <Layouts>
  187. <Layout>
  188. <Div id="iviewer1" taborder="0" position="absolute 0 0 765 532"/>
  189. </Layout>
  190. </Layouts>
  191. </Tabpage>
  192. </Tabpages>
  193. </Tab>
  194. <Static id="result_title" position="absolute 430 69 1195 108" style="color:#993300ff;align:center middle;font:돋움,14,bold;"/>
  195. <Shape id="line01" position="absolute 430 220 1195 226" anchor="left top right" style="strokepen:3 solid #07a693ff;background:transparent;"/>
  196. <Button id="btn_sw1" taborder="17" text="서 술 형" position="absolute 430 198 590 222" class="btn_tab_S" onclick="btn_sw1_onclick" visible="false"/>
  197. <Button id="btn_sw2" taborder="18" text="그 리 드 형" class="btn_tab" position="absolute 591 198 751 222" onclick="btn_sw2_onclick" visible="false"/>
  198. <Button id="btn_sw3" taborder="19" text="기 타" class="btn_tab" position="absolute 752 198 912 222" onclick="btn_sw3_onclick" visible="false"/>
  199. </Layout>
  200. </Layouts>
  201. <Objects>
  202. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  203. <ColumnInfo>
  204. <Column id="srchpid" type="STRING" size="256"/>
  205. <Column id="srchhngnm" type="STRING" size="256"/>
  206. <Column id="srchccrno" type="STRING" size="256"/>
  207. <Column id="srchobtime" type="STRING" size="256"/>
  208. <Column id="srchuopno" type="STRING" size="256"/>
  209. <Column id="srchtable_cd" type="STRING" size="256"/>
  210. <Column id="srchcode" type="STRING" size="256"/>
  211. <Column id="srchfilename" type="STRING" size="256"/>
  212. </ColumnInfo>
  213. <Rows>
  214. <Row>
  215. <Col id="srchpid"/>
  216. <Col id="srchhngnm"/>
  217. <Col id="srchccrno"/>
  218. <Col id="srchobtime"/>
  219. <Col id="srchuopno"/>
  220. <Col id="srchtable_cd"/>
  221. <Col id="srchcode"/>
  222. <Col id="srchfilename"/>
  223. </Row>
  224. </Rows>
  225. </Dataset>
  226. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  227. <ColumnInfo>
  228. <Column id="okflag" type="STRING" size="256"/>
  229. </ColumnInfo>
  230. <Rows>
  231. <Row/>
  232. </Rows>
  233. </Dataset>
  234. <Dataset id="ds_temp_templst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  235. <ColumnInfo>
  236. <Column id="pid" type="STRING" size="256"/>
  237. <Column id="hngnm" type="STRING" size="256"/>
  238. </ColumnInfo>
  239. <Rows>
  240. <Row/>
  241. </Rows>
  242. </Dataset>
  243. <Dataset id="ds_main_examlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  244. <ColumnInfo>
  245. <Column id="orddd" type="STRING" size="256" sumtext="처방일자"/>
  246. <Column id="rsltdd" type="STRING" size="256" sumtext="결과일자"/>
  247. <Column id="table_nm" type="STRING" size="256" sumtext="결과유형"/>
  248. <Column id="uodesc" type="STRING" size="256" sumtext="검사명"/>
  249. <Column id="table_cd" type="STRING" size="256" sumtext="테이블코드"/>
  250. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  251. <Column id="ccrno" type="STRING" size="256" sumtext="NO"/>
  252. <Column id="obtime" type="STRING" size="256" sumtext="처방일시"/>
  253. <Column id="uopno" type="STRING" size="256" sumtext="검사NO"/>
  254. <Column id="title_name" type="STRING" size="256" sumtext="검사이름"/>
  255. <Column id="filedata" type="BINARY" size="256" sumtext="BINARY결과"/>
  256. <Column id="filename" type="STRING" size="256" sumtext="파일이름"/>
  257. </ColumnInfo>
  258. </Dataset>
  259. <Dataset id="ds_main_patinfo_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  260. <ColumnInfo>
  261. <Column id="obdrname" type="STRING" size="256"/>
  262. <Column id="obdeptname" type="STRING" size="256"/>
  263. <Column id="inoutmode" type="STRING" size="256"/>
  264. <Column id="age" type="STRING" size="256"/>
  265. <Column id="psex" type="STRING" size="256"/>
  266. <Column id="pname" type="STRING" size="256"/>
  267. <Column id="pid" type="STRING" size="256"/>
  268. <Column id="pandrname" type="STRING" size="256"/>
  269. <Column id="wardname" type="STRING" size="256"/>
  270. <Column id="result_title" type="STRING" size="256"/>
  271. <Column id="rsltdd" type="STRING" size="256"/>
  272. <Column id="obtime" type="STRING" size="256"/>
  273. <Column id="result_text" type="STRING" size="256"/>
  274. <Column id="uodesc" type="STRING" size="256"/>
  275. </ColumnInfo>
  276. <Rows>
  277. <Row>
  278. <Col id="obdrname"/>
  279. <Col id="obdeptname"/>
  280. <Col id="inoutmode"/>
  281. <Col id="age"/>
  282. <Col id="psex"/>
  283. <Col id="pname"/>
  284. <Col id="pid"/>
  285. <Col id="pandrname"/>
  286. <Col id="wardname"/>
  287. <Col id="result_title"/>
  288. <Col id="rsltdd"/>
  289. <Col id="obtime"/>
  290. <Col id="result_text"/>
  291. <Col id="uodesc"/>
  292. </Row>
  293. </Rows>
  294. </Dataset>
  295. <Dataset id="ds_main_srchlist_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  296. <ColumnInfo>
  297. <Column id="pid" type="STRING" size="256" sumtext="등록정보"/>
  298. <Column id="hngnm" type="STRING" size="256" sumtext="성명"/>
  299. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  300. <Column id="telno" type="STRING" size="256" sumtext="전화번호"/>
  301. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  302. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  303. </ColumnInfo>
  304. <Rows>
  305. <Row/>
  306. </Rows>
  307. </Dataset>
  308. <Dataset id="ds_hidden_filelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  309. <ColumnInfo>
  310. <Column id="attfilecnts" type="STRING" size="256" sumtext="첨부파일내용"/>
  311. </ColumnInfo>
  312. </Dataset>
  313. <Dataset id="ds_main_traoe_01011_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  314. <ColumnInfo>
  315. <Column id="pid" type="STRING" size="256" sumtext="차트번호"/>
  316. <Column id="psex" type="STRING" size="256" sumtext="성별"/>
  317. <Column id="pname" type="STRING" size="256" sumtext="환자명"/>
  318. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  319. <Column id="obdrname" type="STRING" size="256" sumtext="의뢰의사"/>
  320. <Column id="obdeptname" type="STRING" size="256" sumtext="진료과"/>
  321. <Column id="inoutmode" type="STRING" size="256" sumtext="외/입"/>
  322. <Column id="pandrname" type="STRING" size="256" sumtext="판독의사"/>
  323. <Column id="obpathnote" type="STRING" size="256" sumtext="임상소견및 의뢰사유"/>
  324. <Column id="rlongresult" type="STRING" size="256" sumtext="소견"/>
  325. <Column id="clongresult" type="STRING" size="256" sumtext="결론"/>
  326. </ColumnInfo>
  327. </Dataset>
  328. <Dataset id="ds_main_traoe_01021_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  329. <ColumnInfo>
  330. <Column id="pid" type="STRING" size="256" sumtext="진찰권번호"/>
  331. <Column id="pname" type="STRING" size="256" sumtext="환자명"/>
  332. <Column id="psex" type="STRING" size="256" sumtext="성별"/>
  333. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  334. <Column id="deptname" type="STRING" size="256" sumtext="의뢰과"/>
  335. <Column id="wardname" type="STRING" size="256" sumtext="병동"/>
  336. <Column id="drname" type="STRING" size="256" sumtext="의뢰의사"/>
  337. <Column id="obtime" type="STRING" size="256" sumtext="처방일자"/>
  338. <Column id="proctime" type="STRING" size="256" sumtext="촬영일자"/>
  339. <Column id="pantime" type="STRING" size="256" sumtext="판독일자"/>
  340. <Column id="scale" type="STRING" size="256" sumtext="사용핵종"/>
  341. <Column id="camera" type="STRING" size="256" sumtext="검사카메라"/>
  342. <Column id="edesc" type="STRING" size="256" sumtext="검사종류"/>
  343. <Column id="result1" type="STRING" size="256" sumtext="findings"/>
  344. <Column id="result2" type="STRING" size="256" sumtext="conclusions"/>
  345. <Column id="pandrname" type="STRING" size="256" sumtext="판단의"/>
  346. </ColumnInfo>
  347. </Dataset>
  348. <Dataset id="ds_main_traoe_01031_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  349. <Dataset id="ds_main_traoe_01041_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  350. <ColumnInfo>
  351. <Column id="eegdate" type="STRING" size="256" sumtext="등록일자"/>
  352. <Column id="eeg_no" type="STRING" size="256" sumtext="등록번호"/>
  353. <Column id="oldeeg_no" type="STRING" size="256" sumtext=""/>
  354. <Column id="oldeegdate" type="STRING" size="256" sumtext="이전등록일자"/>
  355. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  356. <Column id="pname" type="STRING" size="256" sumtext="환자명"/>
  357. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  358. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  359. <Column id="dept" type="STRING" size="256" sumtext="진료과"/>
  360. <Column id="ward" type="STRING" size="256" sumtext="병동"/>
  361. <Column id="imp" type="STRING" size="256" sumtext="상병"/>
  362. <Column id="impresult" type="STRING" size="256" sumtext="결과"/>
  363. <Column id="summary" type="STRING" size="256" sumtext=""/>
  364. <Column id="recommendation" type="STRING" size="256" sumtext=""/>
  365. <Column id="drname" type="STRING" size="256" sumtext="의사성명"/>
  366. </ColumnInfo>
  367. </Dataset>
  368. <Dataset id="ds_main_traoe_01051_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  369. <ColumnInfo>
  370. <Column id="eeg_no" type="STRING" size="256" sumtext="등록번호"/>
  371. <Column id="oldeegno" type="STRING" size="256" sumtext="이전등록번호"/>
  372. <Column id="eegdate" type="STRING" size="256" sumtext="등록일자"/>
  373. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  374. <Column id="pname" type="STRING" size="256" sumtext="환자성명"/>
  375. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  376. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  377. <Column id="dept" type="STRING" size="256" sumtext="진료과"/>
  378. <Column id="ward" type="STRING" size="256" sumtext="병동"/>
  379. <Column id="electrodes" type="STRING" size="256" sumtext="전극수"/>
  380. <Column id="impresult" type="STRING" size="256" sumtext="결과"/>
  381. <Column id="drname" type="STRING" size="256" sumtext="의사성명"/>
  382. </ColumnInfo>
  383. </Dataset>
  384. <Dataset id="ds_main_traoe_01061_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  385. <ColumnInfo>
  386. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  387. <Column id="pname" type="STRING" size="256" sumtext="성명"/>
  388. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  389. <Column id="psex" type="STRING" size="256" sumtext="성별"/>
  390. <Column id="pnrn" type="STRING" size="256" sumtext="주민번호"/>
  391. <Column id="phphone" type="STRING" size="256" sumtext="전화번호"/>
  392. <Column id="handphone" type="STRING" size="256" sumtext="휴대전화"/>
  393. <Column id="uopno" type="STRING" size="256" sumtext="처방일련번호"/>
  394. <Column id="deptname" type="STRING" size="256" sumtext="진료과명"/>
  395. <Column id="drname" type="STRING" size="256" sumtext="의사성명"/>
  396. <Column id="clinicalhx" type="STRING" size="256" sumtext="임상히스토리"/>
  397. <Column id="diag_1" type="STRING" size="256" sumtext="상병1"/>
  398. <Column id="diag_2" type="STRING" size="256" sumtext="상병2"/>
  399. <Column id="diag_3" type="STRING" size="256" sumtext="상병"/>
  400. <Column id="diag_4" type="STRING" size="256" sumtext="상병"/>
  401. <Column id="interpretation" type="STRING" size="256" sumtext="interpretation"/>
  402. <Column id="conclusion" type="STRING" size="256" sumtext="결론"/>
  403. </ColumnInfo>
  404. </Dataset>
  405. <Dataset id="ds_main_traoe_01071_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  406. <ColumnInfo>
  407. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  408. <Column id="uopno" type="STRING" size="256" sumtext="처방일련번호"/>
  409. <Column id="deptname" type="STRING" size="256" sumtext="진료과명"/>
  410. <Column id="drname" type="STRING" size="256" sumtext="의사성명"/>
  411. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  412. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  413. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  414. <Column id="tel" type="STRING" size="256" sumtext="전화번호"/>
  415. <Column id="pantime" type="STRING" size="256" sumtext="판독일자"/>
  416. <Column id="panname" type="STRING" size="256" sumtext="판독의"/>
  417. <Column id="lcomment" type="STRING" size="256" sumtext=""/>
  418. </ColumnInfo>
  419. </Dataset>
  420. <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  421. <Dataset id="ds_main_traoe_01081_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  422. <Dataset id="ds_main_traoe_01091_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  423. <ColumnInfo>
  424. <Column id="pname" type="STRING" size="256" sumtext="환자이름"/>
  425. <Column id="psex" type="STRING" size="256" sumtext="성별"/>
  426. <Column id="page" type="STRING" size="256" sumtext="나이"/>
  427. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  428. <Column id="inoutmode" type="STRING" size="256" sumtext="입/외"/>
  429. <Column id="examdate" type="STRING" size="256" sumtext="Study date"/>
  430. <Column id="deptid" type="STRING" size="256" sumtext="진료과"/>
  431. <Column id="dia" type="STRING" size="256" sumtext="Diagnosis"/>
  432. <Column id="dmr" type="STRING" size="256" sumtext="Transtermporal(TCD-&gt;Rt)"/>
  433. <Column id="dml" type="STRING" size="256" sumtext="Transtermporal(TCD-&gt;Lt)"/>
  434. <Column id="dmb" type="STRING" size="256" sumtext="Transtermporal(TCD-&gt;Both)"/>
  435. <Column id="smr" type="STRING" size="256" sumtext="Transtermporal(TCCS-&gt;Rt)"/>
  436. <Column id="sml" type="STRING" size="256" sumtext="Transtermporal(TCCS-&gt;Lt)"/>
  437. <Column id="smb" type="STRING" size="256" sumtext="Transtermporal(TCCS-&gt;Both)"/>
  438. <Column id="dbr" type="STRING" size="256" sumtext="Transobital(TCD-&gt;Rt)"/>
  439. <Column id="dbl" type="STRING" size="256" sumtext="Transobital(TCD-&gt;Lt)"/>
  440. <Column id="dbb" type="STRING" size="256" sumtext="Transobital(TCD-&gt;Both)"/>
  441. <Column id="sbr" type="STRING" size="256" sumtext="Transobital(TCCS-&gt;Rt)"/>
  442. <Column id="sbl" type="STRING" size="256" sumtext="Transobital(TCCS-&gt;Lt)"/>
  443. <Column id="sbb" type="STRING" size="256" sumtext="Transobital(TCCS-&gt;Both)"/>
  444. <Column id="ds" type="STRING" size="256" sumtext="Suboccipital(TCD)"/>
  445. <Column id="ss" type="STRING" size="256" sumtext="Suboccipital(TCCS)"/>
  446. </ColumnInfo>
  447. </Dataset>
  448. <Dataset id="ds_main_traoe_01101_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  449. <ColumnInfo>
  450. <Column id="tno" type="STRING" size="256" sumtext="검사번호"/>
  451. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  452. <Column id="pname" type="STRING" size="256" sumtext="환자이름"/>
  453. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  454. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  455. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  456. <Column id="phone" type="STRING" size="256" sumtext="전화번호"/>
  457. <Column id="deptname" type="STRING" size="256" sumtext="의뢰과"/>
  458. <Column id="drname" type="STRING" size="256" sumtext="의뢰의사"/>
  459. <Column id="wardname" type="STRING" size="256" sumtext="병동명"/>
  460. <Column id="mdate" type="STRING" size="256" sumtext="검사일"/>
  461. <Column id="symp" type="STRING" size="256" sumtext="술전 진단명"/>
  462. <Column id="disease" type="STRING" size="256" sumtext="주증상"/>
  463. <Column id="obtime" type="STRING" size="256" sumtext="처방시간"/>
  464. <Column id="inser" type="STRING" size="256" sumtext="Level of insertion"/>
  465. <Column id="endo" type="STRING" size="256" sumtext="Model of endoscope"/>
  466. <Column id="tx1" type="STRING" size="256" sumtext="Esophagus"/>
  467. <Column id="tx2" type="STRING" size="256" sumtext="Stomach"/>
  468. <Column id="tx3" type="STRING" size="256" sumtext="Duodenum"/>
  469. <Column id="sedation" type="STRING" size="256" sumtext="Sedation"/>
  470. <Column id="imp" type="STRING" size="256" sumtext="Impression"/>
  471. <Column id="reflux" type="STRING" size="256" sumtext="Reflux esophagitis"/>
  472. <Column id="barrett" type="STRING" size="256" sumtext="Barrett's eshphagus"/>
  473. <Column id="activeuker" type="STRING" size="256" sumtext="Active or healing ucler"/>
  474. <Column id="gastrifis" type="STRING" size="256" sumtext="Gastritis or duodentis"/>
  475. <Column id="normal" type="STRING" size="256" sumtext="기타"/>
  476. <Column id="recom" type="STRING" size="256" sumtext="Recommendation"/>
  477. <Column id="pro" type="STRING" size="256" sumtext="Procedure"/>
  478. <Column id="urname" type="STRING" size="256" sumtext="시술자"/>
  479. </ColumnInfo>
  480. </Dataset>
  481. <Dataset id="ds_main_traoe_01102_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  482. <ColumnInfo>
  483. <Column id="tno" type="STRING" size="256" sumtext="검사번호"/>
  484. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  485. <Column id="pname" type="STRING" size="256" sumtext="환자성명"/>
  486. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  487. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  488. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  489. <Column id="phone" type="STRING" size="256" sumtext="전화"/>
  490. <Column id="deptname" type="STRING" size="256" sumtext="의뢰과"/>
  491. <Column id="drname" type="STRING" size="256" sumtext="의뢰의사"/>
  492. <Column id="wardname" type="STRING" size="256" sumtext="병동명"/>
  493. <Column id="mdate" type="STRING" size="256" sumtext="검사일"/>
  494. <Column id="symp" type="STRING" size="256" sumtext="술전 진단명"/>
  495. <Column id="disease" type="STRING" size="256" sumtext="주증상"/>
  496. <Column id="obtime" type="STRING" size="256" sumtext="처방시간"/>
  497. <Column id="inser" type="STRING" size="256" sumtext="Level of insertion"/>
  498. <Column id="endo" type="STRING" size="256" sumtext="Model of endoscope"/>
  499. <Column id="lumen" type="STRING" size="256" sumtext="Lumen"/>
  500. <Column id="cont" type="STRING" size="256" sumtext="Content"/>
  501. <Column id="ileum" type="STRING" size="256" sumtext="Terminal ileum"/>
  502. <Column id="colon" type="STRING" size="256" sumtext="Colom"/>
  503. <Column id="anorec" type="STRING" size="256" sumtext="Anorectum"/>
  504. <Column id="sedation" type="STRING" size="256" sumtext="Sedation"/>
  505. <Column id="imp" type="STRING" size="256" sumtext="Impression"/>
  506. <Column id="pro" type="STRING" size="256" sumtext="Procedure"/>
  507. <Column id="recom" type="STRING" size="256" sumtext="Recommendation"/>
  508. <Column id="urname" type="STRING" size="256" sumtext="시술자"/>
  509. </ColumnInfo>
  510. </Dataset>
  511. <Dataset id="ds_main_traoe_01103_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  512. <ColumnInfo>
  513. <Column id="tno" type="STRING" size="256" sumtext="검사번호"/>
  514. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  515. <Column id="pname" type="STRING" size="256" sumtext="환자성명"/>
  516. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  517. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  518. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  519. <Column id="phone" type="STRING" size="256" sumtext="전화"/>
  520. <Column id="deptname" type="STRING" size="256" sumtext="의뢰과"/>
  521. <Column id="drname" type="STRING" size="256" sumtext="의뢰의사"/>
  522. <Column id="wardname" type="STRING" size="256" sumtext="병동명"/>
  523. <Column id="mdate" type="STRING" size="256" sumtext="검사일"/>
  524. <Column id="symp" type="STRING" size="256" sumtext="술전 진단명"/>
  525. <Column id="disease" type="STRING" size="256" sumtext="주증상"/>
  526. <Column id="obtime" type="STRING" size="256" sumtext="처방시간"/>
  527. <Column id="inser" type="STRING" size="256" sumtext="Level of insertion"/>
  528. <Column id="endo" type="STRING" size="256" sumtext="Model of endoscope"/>
  529. <Column id="esophagus" type="STRING" size="256" sumtext="Esophagus"/>
  530. <Column id="stomach" type="STRING" size="256" sumtext="Stomach"/>
  531. <Column id="pancreato" type="STRING" size="256" sumtext="Pancresto-Biliary"/>
  532. <Column id="sedation" type="STRING" size="256" sumtext="sedation"/>
  533. <Column id="imp" type="STRING" size="256" sumtext="Impression"/>
  534. <Column id="pro" type="STRING" size="256" sumtext="Procedure"/>
  535. <Column id="recom" type="STRING" size="256" sumtext="Recommendation"/>
  536. <Column id="urname" type="STRING" size="256" sumtext="시술자"/>
  537. </ColumnInfo>
  538. </Dataset>
  539. <Dataset id="ds_main_traoe_01104_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  540. <ColumnInfo>
  541. <Column id="tno" type="STRING" size="256" sumtext="검사번호"/>
  542. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  543. <Column id="pname" type="STRING" size="256" sumtext="환자성명"/>
  544. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  545. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  546. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  547. <Column id="phone" type="STRING" size="256" sumtext="전화"/>
  548. <Column id="deptname" type="STRING" size="256" sumtext="의뢰과"/>
  549. <Column id="drname" type="STRING" size="256" sumtext="의뢰의사"/>
  550. <Column id="wardname" type="STRING" size="256" sumtext="병동명"/>
  551. <Column id="mdate" type="STRING" size="256" sumtext="검사일"/>
  552. <Column id="symp" type="STRING" size="256" sumtext="술전 진단명"/>
  553. <Column id="disease" type="STRING" size="256" sumtext="주증상"/>
  554. <Column id="modedesc" type="STRING" size="256" sumtext="Mode"/>
  555. <Column id="rfacnt" type="STRING" size="256" sumtext="PFA시술이 몇번째 인가?"/>
  556. <Column id="prerfa" type="STRING" size="256" sumtext="Pre RFA TACE?"/>
  557. <Column id="ascitesflag" type="STRING" size="256" sumtext="Ascites?"/>
  558. <Column id="ascites" type="STRING" size="256" sumtext="Ascites?"/>
  559. <Column id="pleuralflag" type="STRING" size="256" sumtext="Pleural effusion"/>
  560. <Column id="pleural" type="STRING" size="256" sumtext="Pleural effusion"/>
  561. <Column id="intra_abd" type="STRING" size="256" sumtext="IP Saline"/>
  562. <Column id="intra_abd_y" type="STRING" size="256" sumtext="IP Saline"/>
  563. <Column id="bbiopsyflag" type="STRING" size="256" sumtext="Background biopsy"/>
  564. <Column id="nodulecnt" type="STRING" size="256" sumtext="Number fo Nodule?"/>
  565. <Column id="conclusion" type="STRING" size="256" sumtext="conclusions"/>
  566. <Column id="urname" type="STRING" size="256" sumtext="시술자"/>
  567. </ColumnInfo>
  568. </Dataset>
  569. <Dataset id="ds_main_traoe_01104_item2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  570. <ColumnInfo>
  571. <Column id="cno" type="STRING" size="256" sumtext=""/>
  572. <Column id="site" type="STRING" size="256" sumtext=""/>
  573. <Column id="size1" type="STRING" size="256" sumtext=""/>
  574. <Column id="surface" type="STRING" size="256" sumtext=""/>
  575. <Column id="biopsy" type="STRING" size="256" sumtext=""/>
  576. <Column id="abl" type="STRING" size="256" sumtext=""/>
  577. <Column id="intra_les" type="STRING" size="256" sumtext=""/>
  578. <Column id="devicename" type="STRING" size="256" sumtext=""/>
  579. <Column id="tissue" type="STRING" size="256" sumtext=""/>
  580. <Column id="vessel" type="STRING" size="256" sumtext=""/>
  581. </ColumnInfo>
  582. </Dataset>
  583. <Dataset id="ds_main_traoe_01105_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  584. <ColumnInfo>
  585. <Column id="tno" type="STRING" size="256" sumtext="검사번호"/>
  586. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  587. <Column id="pname" type="STRING" size="256" sumtext="환자성명"/>
  588. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  589. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  590. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  591. <Column id="phone" type="STRING" size="256" sumtext="전화"/>
  592. <Column id="deptname" type="STRING" size="256" sumtext="의뢰과"/>
  593. <Column id="drname" type="STRING" size="256" sumtext="의뢰의사"/>
  594. <Column id="wardname" type="STRING" size="256" sumtext="병동명"/>
  595. <Column id="mdate" type="STRING" size="256" sumtext="검사일"/>
  596. <Column id="symp" type="STRING" size="256" sumtext="술전 진단명"/>
  597. <Column id="disease" type="STRING" size="256" sumtext="주증상"/>
  598. <Column id="obtime" type="STRING" size="256" sumtext="처방시간"/>
  599. <Column id="inser" type="STRING" size="256" sumtext="Level of insertion"/>
  600. <Column id="endo" type="STRING" size="256" sumtext="Model of endoscope"/>
  601. <Column id="sdp" type="STRING" size="256" sumtext="Duodenal wall"/>
  602. <Column id="soao" type="STRING" size="256" sumtext="Papilla major"/>
  603. <Column id="aov" type="STRING" size="256" sumtext="Papilla minor"/>
  604. <Column id="duo" type="STRING" size="256" sumtext="Cholangiogram"/>
  605. <Column id="mbd" type="STRING" size="256" sumtext="GB"/>
  606. <Column id="cyd" type="STRING" size="256" sumtext="Pancreatogram"/>
  607. <Column id="bif" type="STRING" size="256" sumtext="Others"/>
  608. <Column id="sedation" type="STRING" size="256" sumtext="Sedation"/>
  609. <Column id="imp" type="STRING" size="256" sumtext="Impression"/>
  610. <Column id="pro" type="STRING" size="256" sumtext="Procedure"/>
  611. <Column id="recom" type="STRING" size="256" sumtext="Recommendation"/>
  612. <Column id="urname" type="STRING" size="256" sumtext="시술자"/>
  613. </ColumnInfo>
  614. </Dataset>
  615. <Dataset id="ds_main_traoe_01111_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  616. <ColumnInfo>
  617. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  618. <Column id="pname" type="STRING" size="256" sumtext="환자성명"/>
  619. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  620. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  621. <Column id="ward" type="STRING" size="256" sumtext="병동명"/>
  622. <Column id="obtime" type="STRING" size="256" sumtext="처방일"/>
  623. <Column id="totaldate" type="STRING" size="256" sumtext="Date"/>
  624. <Column id="total_ige_no" type="STRING" size="256" sumtext="No"/>
  625. <Column id="dept" type="STRING" size="256" sumtext="Dept"/>
  626. <Column id="result1" type="STRING" size="256" sumtext="ECP"/>
  627. </ColumnInfo>
  628. </Dataset>
  629. <Dataset id="ds_main_traoe_01112_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  630. <ColumnInfo>
  631. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  632. <Column id="pname" type="STRING" size="256" sumtext="환자성명"/>
  633. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  634. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  635. <Column id="ward" type="STRING" size="256" sumtext="병동명"/>
  636. <Column id="obtime" type="STRING" size="256" sumtext="처방일"/>
  637. <Column id="totaldate" type="STRING" size="256" sumtext="Date"/>
  638. <Column id="total_ige_no" type="STRING" size="256" sumtext="No"/>
  639. <Column id="dept" type="STRING" size="256" sumtext="Dept"/>
  640. <Column id="result1" type="STRING" size="256" sumtext="ECP"/>
  641. </ColumnInfo>
  642. </Dataset>
  643. <Dataset id="ds_main_traoe_01113_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  644. <ColumnInfo>
  645. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  646. <Column id="pname" type="STRING" size="256" sumtext="환자성명"/>
  647. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  648. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  649. <Column id="ward" type="STRING" size="256" sumtext="병동명"/>
  650. <Column id="obtime" type="STRING" size="256" sumtext="처방일"/>
  651. <Column id="dept" type="STRING" size="256" sumtext="Dept"/>
  652. <Column id="ccrno" type="STRING" size="256" sumtext="No"/>
  653. </ColumnInfo>
  654. </Dataset>
  655. <Dataset id="ds_main_datagrid_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  656. <ColumnInfo>
  657. <Column id="test_seqno" type="STRING" size="256" sumtext="일련번호"/>
  658. <Column id="control" type="STRING" size="256" sumtext="Control"/>
  659. <Column id="controlenm" type="STRING" size="256" sumtext="ALLERGEN ITEM"/>
  660. <Column id="controlknm" type="STRING" size="256" sumtext="ALLERGEN ITEM"/>
  661. <Column id="refinfo" type="STRING" size="256" sumtext="IU/ML"/>
  662. <Column id="class" type="STRING" size="256" sumtext="class"/>
  663. </ColumnInfo>
  664. </Dataset>
  665. <Dataset id="ds_main_traoe_01115_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  666. <Dataset id="ds_main_traoe_01117_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  667. <Dataset id="ds_main_traoe_01121_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  668. <Dataset id="ds_main_traoe_01123_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  669. <Dataset id="ds_main_traoe_01131_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  670. <ColumnInfo>
  671. <Column id="accession_no" type="STRING" size="256" sumtext="일련번호"/>
  672. <Column id="patient_id" type="STRING" size="256" sumtext="환자번호"/>
  673. <Column id="patient_name" type="STRING" size="256" sumtext="이름"/>
  674. <Column id="patient_residency" type="STRING" size="256" sumtext="구분"/>
  675. <Column id="observation_dt" type="STRING" size="256" sumtext="검사일자"/>
  676. <Column id="patient_height" type="STRING" size="256" sumtext="키"/>
  677. <Column id="patient_weight" type="STRING" size="256" sumtext="몸무게"/>
  678. <Column id="physician" type="STRING" size="256" sumtext="주치의"/>
  679. <Column id="technician" type="STRING" size="256" sumtext="검사자"/>
  680. <Column id="conclusion" type="STRING" size="256" sumtext="interpretation"/>
  681. </ColumnInfo>
  682. </Dataset>
  683. <Dataset id="ds_main_traoe_01141_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  684. <ColumnInfo>
  685. <Column id="brondate" type="STRING" size="256" sumtext="Date"/>
  686. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  687. <Column id="pname" type="STRING" size="256" sumtext="이름"/>
  688. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  689. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  690. <Column id="obtime" type="STRING" size="256" sumtext="검사일자"/>
  691. <Column id="bron_no" type="STRING" size="256" sumtext="No"/>
  692. </ColumnInfo>
  693. </Dataset>
  694. <Dataset id="ds_main_traoe_01141_item2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  695. <ColumnInfo>
  696. <Column id="nodule" type="STRING" size="256" sumtext=""/>
  697. <Column id="atelectasis" type="STRING" size="256" sumtext=""/>
  698. <Column id="chronic" type="STRING" size="256" sumtext=""/>
  699. <Column id="hemoptysis" type="STRING" size="256" sumtext=""/>
  700. <Column id="localized" type="STRING" size="256" sumtext=""/>
  701. <Column id="diffuse" type="STRING" size="256" sumtext=""/>
  702. <Column id="known" type="STRING" size="256" sumtext=""/>
  703. <Column id="staging" type="STRING" size="256" sumtext=""/>
  704. <Column id="follow_up" type="STRING" size="256" sumtext=""/>
  705. <Column id="therapeutic" type="STRING" size="256" sumtext=""/>
  706. <Column id="secretion" type="STRING" size="256" sumtext=""/>
  707. <Column id="foreign_" type="STRING" size="256" sumtext=""/>
  708. <Column id="other_" type="STRING" size="256" sumtext=""/>
  709. <Column id="othertext" type="STRING" size="256" sumtext=""/>
  710. <Column id="atropine" type="STRING" size="256" sumtext=""/>
  711. <Column id="midazolam" type="STRING" size="256" sumtext=""/>
  712. <Column id="lidocain" type="STRING" size="256" sumtext=""/>
  713. <Column id="oral" type="STRING" size="256" sumtext=""/>
  714. <Column id="nasal" type="STRING" size="256" sumtext=""/>
  715. <Column id="endo" type="STRING" size="256" sumtext=""/>
  716. <Column id="tracheostomy" type="STRING" size="256" sumtext=""/>
  717. <Column id="nasal_o2" type="STRING" size="256" sumtext=""/>
  718. <Column id="procedure_" type="STRING" size="256" sumtext=""/>
  719. <Column id="findings" type="STRING" size="256" sumtext=""/>
  720. <Column id="impression" type="STRING" size="256" sumtext=""/>
  721. <Column id="bl" type="STRING" size="256" sumtext=""/>
  722. <Column id="bb" type="STRING" size="256" sumtext=""/>
  723. <Column id="biosy" type="STRING" size="256" sumtext=""/>
  724. <Column id="tblb" type="STRING" size="256" sumtext=""/>
  725. <Column id="tbna" type="STRING" size="256" sumtext=""/>
  726. <Column id="pbl" type="STRING" size="256" sumtext=""/>
  727. <Column id="bal" type="STRING" size="256" sumtext=""/>
  728. <Column id="bl_text" type="STRING" size="256" sumtext=""/>
  729. <Column id="bb_text" type="STRING" size="256" sumtext=""/>
  730. <Column id="biosy_text" type="STRING" size="256" sumtext=""/>
  731. <Column id="tblb_text" type="STRING" size="256" sumtext=""/>
  732. <Column id="tbna_text" type="STRING" size="256" sumtext=""/>
  733. <Column id="pbl_text" type="STRING" size="256" sumtext=""/>
  734. <Column id="bal_text" type="STRING" size="256" sumtext=""/>
  735. <Column id="b1" type="STRING" size="256" sumtext=""/>
  736. <Column id="b2" type="STRING" size="256" sumtext=""/>
  737. <Column id="b7" type="STRING" size="256" sumtext=""/>
  738. <Column id="b3" type="STRING" size="256" sumtext=""/>
  739. <Column id="b4" type="STRING" size="256" sumtext=""/>
  740. <Column id="b5" type="STRING" size="256" sumtext=""/>
  741. <Column id="b6" type="STRING" size="256" sumtext=""/>
  742. <Column id="c1" type="STRING" size="256" sumtext=""/>
  743. <Column id="c2" type="STRING" size="256" sumtext=""/>
  744. <Column id="c7" type="STRING" size="256" sumtext=""/>
  745. <Column id="c3" type="STRING" size="256" sumtext=""/>
  746. <Column id="c4" type="STRING" size="256" sumtext=""/>
  747. <Column id="c5" type="STRING" size="256" sumtext=""/>
  748. <Column id="c6" type="STRING" size="256" sumtext=""/>
  749. <Column id="otherstext" type="STRING" size="256" sumtext=""/>
  750. <Column id="h1" type="STRING" size="256" sumtext=""/>
  751. <Column id="h2" type="STRING" size="256" sumtext=""/>
  752. <Column id="h3" type="STRING" size="256" sumtext=""/>
  753. <Column id="h4" type="STRING" size="256" sumtext=""/>
  754. <Column id="h5" type="STRING" size="256" sumtext=""/>
  755. <Column id="h6" type="STRING" size="256" sumtext=""/>
  756. <Column id="drname" type="STRING" size="256" sumtext=""/>
  757. </ColumnInfo>
  758. </Dataset>
  759. <Dataset id="ds_main_traoe_01151_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  760. <ColumnInfo>
  761. <Column id="pid" type="STRING" size="256" sumtext="진찰번호"/>
  762. <Column id="pname" type="STRING" size="256" sumtext="이름"/>
  763. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  764. <Column id="psex" type="STRING" size="256" sumtext="성별"/>
  765. <Column id="pnrn" type="STRING" size="256" sumtext="주민번호"/>
  766. <Column id="phphone" type="STRING" size="256" sumtext="전화번호"/>
  767. <Column id="handphone" type="STRING" size="256" sumtext="핸드폰번호"/>
  768. <Column id="uopno" type="STRING" size="256" sumtext="검사No"/>
  769. <Column id="height" type="STRING" size="256" sumtext="신장"/>
  770. <Column id="kg" type="STRING" size="256" sumtext="체중"/>
  771. <Column id="pantime" type="STRING" size="256" sumtext="검사일"/>
  772. <Column id="deptname" type="STRING" size="256" sumtext="진료과"/>
  773. <Column id="obtime" type="STRING" size="256" sumtext="진료일시"/>
  774. <Column id="jongjuk" type="STRING" size="256" sumtext="Ethnic"/>
  775. <Column id="simsa1" type="STRING" size="256" sumtext="L-SPINE BME 제일 낮은부위"/>
  776. <Column id="simsa2" type="STRING" size="256" sumtext="L-SPINE BME 제일 낮은부위 수치"/>
  777. <Column id="simsa2" type="STRING" size="256" sumtext="L-SPINE BME 제일 낮은부위 chkbx"/>
  778. <Column id="foresimsa1" type="STRING" size="256" sumtext="FOREARM BMD 제일 낮은부위"/>
  779. <Column id="foresimsa2" type="STRING" size="256" sumtext="FOREARM BMD 제일 낮은부위 수치"/>
  780. <Column id="foresimsa2" type="STRING" size="256" sumtext="FOREARM BMD 제일 낮은부위 chkbx"/>
  781. <Column id="femursimsa1" type="STRING" size="256" sumtext="Prox.Femur BMD 제일낮은부위"/>
  782. <Column id="femursimsa2" type="STRING" size="256" sumtext="Prox.Femur BMD 제일낮은부위 수치"/>
  783. <Column id="femursimsa2" type="STRING" size="256" sumtext="Prox.Femur BMD 제일낮은부위 chkbx"/>
  784. <Column id="forelcheck" type="STRING" size="256" sumtext="50세이상의남성으로 t-score가 -3이하"/>
  785. <Column id="extracheck" type="STRING" size="256" sumtext="위항목 포함안되지만 x-ray상 골다골증성 골절이 확실이 있는경우"/>
  786. <Column id="lcheck" type="STRING" size="256" sumtext="골다공증 보험인정가능chkbx"/>
  787. <Column id="lcomment" type="STRING" size="256" sumtext="주석"/>
  788. <Column id="panname" type="STRING" size="256" sumtext="판독의사"/>
  789. </ColumnInfo>
  790. </Dataset>
  791. <Dataset id="ds_main_traoe_01181_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  792. <Dataset id="ds_main_traoe_01191_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  793. <ColumnInfo>
  794. <Column id="pname" type="STRING" size="256" sumtext=""/>
  795. <Column id="psex" type="STRING" size="256" sumtext=""/>
  796. <Column id="page" type="STRING" size="256" sumtext=""/>
  797. <Column id="pid" type="STRING" size="256" sumtext=""/>
  798. <Column id="examdate" type="STRING" size="256" sumtext=""/>
  799. <Column id="inoutmode" type="STRING" size="256" sumtext=""/>
  800. <Column id="rd_a" type="STRING" size="256" sumtext=""/>
  801. <Column id="dia" type="STRING" size="256" sumtext=""/>
  802. <Column id="rcp" type="STRING" size="256" sumtext=""/>
  803. <Column id="rce" type="STRING" size="256" sumtext=""/>
  804. <Column id="rcf" type="STRING" size="256" sumtext=""/>
  805. <Column id="rcd" type="STRING" size="256" sumtext=""/>
  806. <Column id="lcp" type="STRING" size="256" sumtext=""/>
  807. <Column id="lce" type="STRING" size="256" sumtext=""/>
  808. <Column id="lcf" type="STRING" size="256" sumtext=""/>
  809. <Column id="lcd" type="STRING" size="256" sumtext=""/>
  810. <Column id="rrp" type="STRING" size="256" sumtext=""/>
  811. <Column id="rre" type="STRING" size="256" sumtext=""/>
  812. <Column id="rrf" type="STRING" size="256" sumtext=""/>
  813. <Column id="rrd" type="STRING" size="256" sumtext=""/>
  814. <Column id="lrp" type="STRING" size="256" sumtext=""/>
  815. <Column id="lre" type="STRING" size="256" sumtext=""/>
  816. <Column id="lrf" type="STRING" size="256" sumtext=""/>
  817. <Column id="lrd" type="STRING" size="256" sumtext=""/>
  818. <Column id="rpp" type="STRING" size="256" sumtext=""/>
  819. <Column id="rpe" type="STRING" size="256" sumtext=""/>
  820. <Column id="rpf" type="STRING" size="256" sumtext=""/>
  821. <Column id="rpd" type="STRING" size="256" sumtext=""/>
  822. <Column id="lpp" type="STRING" size="256" sumtext=""/>
  823. <Column id="lpe" type="STRING" size="256" sumtext=""/>
  824. <Column id="lpf" type="STRING" size="256" sumtext=""/>
  825. <Column id="lpd" type="STRING" size="256" sumtext=""/>
  826. <Column id="rdp" type="STRING" size="256" sumtext=""/>
  827. <Column id="rde" type="STRING" size="256" sumtext=""/>
  828. <Column id="rdf" type="STRING" size="256" sumtext=""/>
  829. <Column id="rdd" type="STRING" size="256" sumtext=""/>
  830. <Column id="ldp" type="STRING" size="256" sumtext=""/>
  831. <Column id="lde" type="STRING" size="256" sumtext=""/>
  832. <Column id="ldf" type="STRING" size="256" sumtext=""/>
  833. <Column id="ldd" type="STRING" size="256" sumtext=""/>
  834. <Column id="rep" type="STRING" size="256" sumtext=""/>
  835. <Column id="ree" type="STRING" size="256" sumtext=""/>
  836. <Column id="ref" type="STRING" size="256" sumtext=""/>
  837. <Column id="red" type="STRING" size="256" sumtext=""/>
  838. <Column id="lep" type="STRING" size="256" sumtext=""/>
  839. <Column id="lee" type="STRING" size="256" sumtext=""/>
  840. <Column id="lef" type="STRING" size="256" sumtext=""/>
  841. <Column id="led" type="STRING" size="256" sumtext=""/>
  842. <Column id="ri" type="STRING" size="256" sumtext=""/>
  843. <Column id="li" type="STRING" size="256" sumtext=""/>
  844. <Column id="rt" type="STRING" size="256" sumtext=""/>
  845. <Column id="lt" type="STRING" size="256" sumtext=""/>
  846. <Column id="rp" type="STRING" size="256" sumtext=""/>
  847. <Column id="lp" type="STRING" size="256" sumtext=""/>
  848. <Column id="rlc" type="STRING" size="256" sumtext=""/>
  849. <Column id="rli" type="STRING" size="256" sumtext=""/>
  850. <Column id="rle" type="STRING" size="256" sumtext=""/>
  851. <Column id="rla" type="STRING" size="256" sumtext=""/>
  852. <Column id="rlp" type="STRING" size="256" sumtext=""/>
  853. <Column id="llc" type="STRING" size="256" sumtext=""/>
  854. <Column id="lli" type="STRING" size="256" sumtext=""/>
  855. <Column id="lle" type="STRING" size="256" sumtext=""/>
  856. <Column id="lla" type="STRING" size="256" sumtext=""/>
  857. <Column id="llp" type="STRING" size="256" sumtext=""/>
  858. <Column id="rl" type="STRING" size="256" sumtext=""/>
  859. <Column id="ll" type="STRING" size="256" sumtext=""/>
  860. <Column id="rd" type="STRING" size="256" sumtext=""/>
  861. <Column id="ld" type="STRING" size="256" sumtext=""/>
  862. <Column id="rc" type="STRING" size="256" sumtext=""/>
  863. <Column id="lc" type="STRING" size="256" sumtext=""/>
  864. <Column id="rca" type="STRING" size="256" sumtext=""/>
  865. <Column id="lca" type="STRING" size="256" sumtext=""/>
  866. <Column id="rco" type="STRING" size="256" sumtext=""/>
  867. <Column id="lco" type="STRING" size="256" sumtext=""/>
  868. <Column id="rcot" type="STRING" size="256" sumtext=""/>
  869. <Column id="lcot" type="STRING" size="256" sumtext=""/>
  870. <Column id="rq" type="STRING" size="256" sumtext=""/>
  871. <Column id="lq" type="STRING" size="256" sumtext=""/>
  872. <Column id="rs" type="STRING" size="256" sumtext=""/>
  873. <Column id="ls" type="STRING" size="256" sumtext=""/>
  874. <Column id="rfp" type="STRING" size="256" sumtext=""/>
  875. <Column id="rfi" type="STRING" size="256" sumtext=""/>
  876. <Column id="rft" type="STRING" size="256" sumtext=""/>
  877. <Column id="lfp" type="STRING" size="256" sumtext=""/>
  878. <Column id="lfi" type="STRING" size="256" sumtext=""/>
  879. <Column id="lft" type="STRING" size="256" sumtext=""/>
  880. <Column id="rdc" type="STRING" size="256" sumtext=""/>
  881. <Column id="ldc" type="STRING" size="256" sumtext=""/>
  882. <Column id="rop" type="STRING" size="256" sumtext=""/>
  883. <Column id="roe" type="STRING" size="256" sumtext=""/>
  884. <Column id="rof" type="STRING" size="256" sumtext=""/>
  885. <Column id="rod" type="STRING" size="256" sumtext=""/>
  886. <Column id="lop" type="STRING" size="256" sumtext=""/>
  887. <Column id="loe" type="STRING" size="256" sumtext=""/>
  888. <Column id="lof" type="STRING" size="256" sumtext=""/>
  889. <Column id="lod" type="STRING" size="256" sumtext=""/>
  890. <Column id="rvp" type="STRING" size="256" sumtext=""/>
  891. <Column id="rve" type="STRING" size="256" sumtext=""/>
  892. <Column id="rvf" type="STRING" size="256" sumtext=""/>
  893. <Column id="rvd" type="STRING" size="256" sumtext=""/>
  894. <Column id="lvp" type="STRING" size="256" sumtext=""/>
  895. <Column id="lve" type="STRING" size="256" sumtext=""/>
  896. <Column id="lvf" type="STRING" size="256" sumtext=""/>
  897. <Column id="lvd" type="STRING" size="256" sumtext=""/>
  898. <Column id="vrp" type="STRING" size="256" sumtext=""/>
  899. <Column id="vlp" type="STRING" size="256" sumtext=""/>
  900. <Column id="vrla" type="STRING" size="256" sumtext=""/>
  901. <Column id="vrlp" type="STRING" size="256" sumtext=""/>
  902. <Column id="vlla" type="STRING" size="256" sumtext=""/>
  903. <Column id="vllp" type="STRING" size="256" sumtext=""/>
  904. <Column id="vrl" type="STRING" size="256" sumtext=""/>
  905. <Column id="vll" type="STRING" size="256" sumtext=""/>
  906. <Column id="vrd" type="STRING" size="256" sumtext=""/>
  907. <Column id="vld" type="STRING" size="256" sumtext=""/>
  908. <Column id="vrc" type="STRING" size="256" sumtext=""/>
  909. <Column id="vlc" type="STRING" size="256" sumtext=""/>
  910. <Column id="vrco" type="STRING" size="256" sumtext=""/>
  911. <Column id="vrcot" type="STRING" size="256" sumtext=""/>
  912. <Column id="vlc" type="STRING" size="256" sumtext=""/>
  913. <Column id="vlca" type="STRING" size="256" sumtext=""/>
  914. <Column id="vrco" type="STRING" size="256" sumtext=""/>
  915. <Column id="vlcot" type="STRING" size="256" sumtext=""/>
  916. <Column id="vrs" type="STRING" size="256" sumtext=""/>
  917. <Column id="vls" type="STRING" size="256" sumtext=""/>
  918. <Column id="vrfp" type="STRING" size="256" sumtext=""/>
  919. <Column id="vrfi" type="STRING" size="256" sumtext=""/>
  920. <Column id="vrft" type="STRING" size="256" sumtext=""/>
  921. <Column id="vlfp" type="STRING" size="256" sumtext=""/>
  922. <Column id="vlfi" type="STRING" size="256" sumtext=""/>
  923. <Column id="vlft" type="STRING" size="256" sumtext=""/>
  924. <Column id="fi" type="STRING" size="256" sumtext=""/>
  925. <Column id="co" type="STRING" size="256" sumtext=""/>
  926. </ColumnInfo>
  927. </Dataset>
  928. <Dataset id="ds_main_traoe_01201_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  929. <ColumnInfo>
  930. <Column id="pandate" type="STRING" size="256" sumtext=""/>
  931. <Column id="pid" type="STRING" size="256" sumtext=""/>
  932. <Column id="name" type="STRING" size="256" sumtext=""/>
  933. <Column id="exercise_no" type="STRING" size="256" sumtext=""/>
  934. <Column id="sex" type="STRING" size="256" sumtext=""/>
  935. <Column id="age" type="STRING" size="256" sumtext=""/>
  936. <Column id="height" type="STRING" size="256" sumtext=""/>
  937. <Column id="weight" type="STRING" size="256" sumtext=""/>
  938. <Column id="dept" type="STRING" size="256" sumtext=""/>
  939. <Column id="ward" type="STRING" size="256" sumtext=""/>
  940. <Column id="diagnosis_flag" type="STRING" size="256" sumtext=""/>
  941. <Column id="others_1" type="STRING" size="256" sumtext=""/>
  942. <Column id="lvef" type="STRING" size="256" sumtext=""/>
  943. <Column id="lvh_gu" type="STRING" size="256" sumtext=""/>
  944. <Column id="ecg_flag" type="STRING" size="256" sumtext=""/>
  945. <Column id="std" type="STRING" size="256" sumtext=""/>
  946. <Column id="ste" type="STRING" size="256" sumtext=""/>
  947. <Column id="t_inv" type="STRING" size="256" sumtext=""/>
  948. <Column id="abn_q" type="STRING" size="256" sumtext=""/>
  949. <Column id="lbbb" type="STRING" size="256" sumtext=""/>
  950. <Column id="rbbb" type="STRING" size="256" sumtext=""/>
  951. <Column id="af_afl" type="STRING" size="256" sumtext=""/>
  952. <Column id="pvcs" type="STRING" size="256" sumtext=""/>
  953. <Column id="pacs" type="STRING" size="256" sumtext=""/>
  954. <Column id="lvh" type="STRING" size="256" sumtext=""/>
  955. <Column id="others3" type="STRING" size="256" sumtext=""/>
  956. <Column id="others_2" type="STRING" size="256" sumtext=""/>
  957. <Column id="nitrate" type="STRING" size="256" sumtext=""/>
  958. <Column id="asa" type="STRING" size="256" sumtext=""/>
  959. <Column id="bb" type="STRING" size="256" sumtext=""/>
  960. <Column id="ccb" type="STRING" size="256" sumtext=""/>
  961. <Column id="ace_l" type="STRING" size="256" sumtext=""/>
  962. <Column id="lipid" type="STRING" size="256" sumtext=""/>
  963. <Column id="dgx" type="STRING" size="256" sumtext=""/>
  964. <Column id="others" type="STRING" size="256" sumtext=""/>
  965. <Column id="others_4" type="STRING" size="256" sumtext=""/>
  966. <Column id="smorking" type="STRING" size="256" sumtext=""/>
  967. <Column id="hypertension" type="STRING" size="256" sumtext=""/>
  968. <Column id="dm" type="STRING" size="256" sumtext=""/>
  969. <Column id="hyperripidemia" type="STRING" size="256" sumtext=""/>
  970. <Column id="fhx" type="STRING" size="256" sumtext=""/>
  971. <Column id="others5" type="STRING" size="256" sumtext=""/>
  972. <Column id="others_5" type="STRING" size="256" sumtext=""/>
  973. <Column id="protocol_flag" type="STRING" size="256" sumtext=""/>
  974. <Column id="others_3" type="STRING" size="256" sumtext=""/>
  975. <Column id="perfusion" type="STRING" size="256" sumtext=""/>
  976. <Column id="pmhp" type="STRING" size="256" sumtext=""/>
  977. <Column id="pmhp85" type="STRING" size="256" sumtext=""/>
  978. <Column id="duration_mm" type="STRING" size="256" sumtext=""/>
  979. <Column id="duration_ss" type="STRING" size="256" sumtext=""/>
  980. <Column id="capacity" type="STRING" size="256" sumtext=""/>
  981. <Column id="reason" type="STRING" size="256" sumtext=""/>
  982. <Column id="arrhymia_flag" type="STRING" size="256" sumtext=""/>
  983. <Column id="arrhymia" type="STRING" size="256" sumtext=""/>
  984. <Column id="st_hr" type="STRING" size="256" sumtext=""/>
  985. <Column id="hr" type="STRING" size="256" sumtext=""/>
  986. <Column id="bp" type="STRING" size="256" sumtext=""/>
  987. <Column id="ischemic_flag" type="STRING" size="256" sumtext=""/>
  988. <Column id="diagnostic_flag" type="STRING" size="256" sumtext=""/>
  989. <Column id="st_change" type="STRING" size="256" sumtext=""/>
  990. <Column id="occurs" type="STRING" size="256" sumtext=""/>
  991. <Column id="pmhr" type="STRING" size="256" sumtext=""/>
  992. <Column id="leads" type="STRING" size="256" sumtext=""/>
  993. <Column id="maximum" type="STRING" size="256" sumtext=""/>
  994. <Column id="lead" type="STRING" size="256" sumtext=""/>
  995. <Column id="resolving" type="STRING" size="256" sumtext=""/>
  996. <Column id="duke" type="STRING" size="256" sumtext=""/>
  997. <Column id="frolicher" type="STRING" size="256" sumtext=""/>
  998. <Column id="ecgcomment" type="STRING" size="256" sumtext=""/>
  999. <Column id="gumdrname" type="STRING" size="256" sumtext=""/>
  1000. <Column id="pandrname" type="STRING" size="256" sumtext=""/>
  1001. </ColumnInfo>
  1002. </Dataset>
  1003. <Dataset id="ds_main_traoe_01211_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1004. <ColumnInfo>
  1005. <Column id="pid" type="STRING" size="256" sumtext=""/>
  1006. <Column id="panno" type="STRING" size="256" sumtext=""/>
  1007. <Column id="pname" type="STRING" size="256" sumtext=""/>
  1008. <Column id="phphone" type="STRING" size="256" sumtext=""/>
  1009. <Column id="age" type="STRING" size="256" sumtext=""/>
  1010. <Column id="psex" type="STRING" size="256" sumtext=""/>
  1011. <Column id="pnrn" type="STRING" size="256" sumtext=""/>
  1012. <Column id="obtime" type="STRING" size="256" sumtext=""/>
  1013. <Column id="deptname" type="STRING" size="256" sumtext=""/>
  1014. <Column id="pqdrid" type="STRING" size="256" sumtext=""/>
  1015. <Column id="pqtxstatus" type="STRING" size="256" sumtext=""/>
  1016. <Column id="pqcashin" type="STRING" size="256" sumtext=""/>
  1017. <Column id="pqinoutmode" type="STRING" size="256" sumtext=""/>
  1018. <Column id="pandate" type="STRING" size="256" sumtext=""/>
  1019. <Column id="pandrname" type="STRING" size="256" sumtext=""/>
  1020. <Column id="dentresult" type="STRING" size="256" sumtext=""/>
  1021. <Column id="dentimp1" type="STRING" size="256" sumtext=""/>
  1022. <Column id="dentimp2" type="STRING" size="256" sumtext=""/>
  1023. <Column id="dentimp3" type="STRING" size="256" sumtext=""/>
  1024. <Column id="recommand1" type="STRING" size="256" sumtext=""/>
  1025. <Column id="recommand2" type="STRING" size="256" sumtext=""/>
  1026. <Column id="recommand3" type="STRING" size="256" sumtext=""/>
  1027. </ColumnInfo>
  1028. </Dataset>
  1029. <Dataset id="ds_main_traoe_01221_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1030. <Dataset id="ds_main_traoe_01231_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1031. <ColumnInfo>
  1032. <Column id="pid" type="STRING" size="256" sumtext=""/>
  1033. <Column id="pname" type="STRING" size="256" sumtext=""/>
  1034. <Column id="sex" type="STRING" size="256" sumtext=""/>
  1035. <Column id="age" type="STRING" size="256" sumtext=""/>
  1036. <Column id="cathdate" type="STRING" size="256" sumtext=""/>
  1037. <Column id="cineno" type="STRING" size="256" sumtext=""/>
  1038. <Column id="address" type="STRING" size="256" sumtext=""/>
  1039. <Column id="handtel" type="STRING" size="256" sumtext=""/>
  1040. <Column id="hometel" type="STRING" size="256" sumtext=""/>
  1041. <Column id="cl_diag1" type="STRING" size="256" sumtext=""/>
  1042. <Column id="cl_diag2" type="STRING" size="256" sumtext=""/>
  1043. <Column id="cl_diag3" type="STRING" size="256" sumtext=""/>
  1044. <Column id="at_time" type="STRING" size="256" sumtext=""/>
  1045. <Column id="er_time" type="STRING" size="256" sumtext=""/>
  1046. <Column id="ca_time" type="STRING" size="256" sumtext=""/>
  1047. <Column id="art_time" type="STRING" size="256" sumtext=""/>
  1048. <Column id="ball_time" type="STRING" size="256" sumtext=""/>
  1049. <Column id="stbta1" type="STRING" size="256" sumtext=""/>
  1050. <Column id="stbta2" type="STRING" size="256" sumtext=""/>
  1051. <Column id="dtbta1" type="STRING" size="256" sumtext=""/>
  1052. <Column id="dtbta2" type="STRING" size="256" sumtext=""/>
  1053. <Column id="art_punc1" type="STRING" size="256" sumtext=""/>
  1054. <Column id="art_punc2" type="STRING" size="256" sumtext=""/>
  1055. <Column id="cag_cal1" type="STRING" size="256" sumtext=""/>
  1056. <Column id="cag_cal2" type="STRING" size="256" sumtext=""/>
  1057. <Column id="cag_car1" type="STRING" size="256" sumtext=""/>
  1058. <Column id="cag_car2" type="STRING" size="256" sumtext=""/>
  1059. <Column id="coro_angio1" type="STRING" size="256" sumtext=""/>
  1060. <Column id="coro_angio2" type="STRING" size="256" sumtext=""/>
  1061. <Column id="coro_angio3" type="STRING" size="256" sumtext=""/>
  1062. <Column id="vessel" type="STRING" size="256" sumtext=""/>
  1063. <Column id="comments" type="STRING" size="256" sumtext=""/>
  1064. <Column id="proced" type="STRING" size="256" sumtext=""/>
  1065. </ColumnInfo>
  1066. </Dataset>
  1067. <Dataset id="ds_main_traoe_01241_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1068. <ColumnInfo>
  1069. <Column id="pid" type="STRING" size="256" sumtext=""/>
  1070. <Column id="pname" type="STRING" size="256" sumtext=""/>
  1071. <Column id="psex" type="STRING" size="256" sumtext=""/>
  1072. <Column id="age" type="STRING" size="256" sumtext=""/>
  1073. <Column id="ctdataflag" type="STRING" size="256" sumtext=""/>
  1074. <Column id="verfilmflag" type="STRING" size="256" sumtext=""/>
  1075. <Column id="simulatiorflag" type="STRING" size="256" sumtext=""/>
  1076. <Column id="mouldroomflag" type="STRING" size="256" sumtext=""/>
  1077. <Column id="physicsflag" type="STRING" size="256" sumtext=""/>
  1078. </ColumnInfo>
  1079. </Dataset>
  1080. <Dataset id="ds_main_traoe_01251_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1081. <ColumnInfo>
  1082. <Column id="pid" type="STRING" size="256" sumtext=""/>
  1083. <Column id="pname" type="STRING" size="256" sumtext=""/>
  1084. <Column id="psex" type="STRING" size="256" sumtext=""/>
  1085. <Column id="age" type="STRING" size="256" sumtext=""/>
  1086. </ColumnInfo>
  1087. </Dataset>
  1088. <Dataset id="ds_main_traoe_01251_item4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1089. <ColumnInfo>
  1090. <Column id="pid" type="STRING" size="256" sumtext=""/>
  1091. <Column id="pname" type="STRING" size="256" sumtext=""/>
  1092. <Column id="psex" type="STRING" size="256" sumtext=""/>
  1093. <Column id="age" type="STRING" size="256" sumtext=""/>
  1094. </ColumnInfo>
  1095. </Dataset>
  1096. <Dataset id="ds_main_traoe_01261_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1097. <Dataset id="ds_main_traoe_01271_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  1098. <ColumnInfo>
  1099. <Column id="pid" type="STRING" size="256" sumtext=""/>
  1100. <Column id="pname" type="STRING" size="256" sumtext=""/>
  1101. <Column id="psex" type="STRING" size="256" sumtext=""/>
  1102. <Column id="age" type="STRING" size="256" sumtext=""/>
  1103. </ColumnInfo>
  1104. </Dataset>
  1105. <Dataset id="ds_main_traoe_01161_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  1106. </Objects>
  1107. <Bind>
  1108. <BindItem id="item0" compid="group6.ipt_srchpid" propid="value" datasetid="ds_send" columnid="srchpid"/>
  1109. <BindItem id="item1" compid="group6.opt_srchhngnm" propid="value" datasetid="ds_send" columnid="srchhngnm"/>
  1110. <BindItem id="item3" compid="opt_pid" propid="value" datasetid="ds_main_patinfo_item" columnid="pid"/>
  1111. <BindItem id="item4" compid="opt_name" propid="value" datasetid="ds_main_patinfo_item" columnid="pname"/>
  1112. <BindItem id="item5" compid="opt_sex" propid="value" datasetid="ds_main_patinfo_item" columnid="psex"/>
  1113. <BindItem id="item6" compid="opt_age" propid="value" datasetid="ds_main_patinfo_item" columnid="age"/>
  1114. <BindItem id="item7" compid="opt_inoutmode" propid="value" datasetid="ds_main_patinfo_item" columnid="inoutmode"/>
  1115. <BindItem id="item8" compid="opt_obtime" propid="value" datasetid="ds_main_patinfo_item" columnid="obtime"/>
  1116. <BindItem id="item9" compid="opt_pandrname" propid="value" datasetid="ds_main_patinfo_item" columnid="pandrname"/>
  1117. <BindItem id="item10" compid="opt_rsltdd" propid="value" datasetid="ds_main_patinfo_item" columnid="rsltdd"/>
  1118. <BindItem id="item11" compid="opt_obdrname" propid="value" datasetid="ds_main_patinfo_item" columnid="obdrname"/>
  1119. <BindItem id="item12" compid="opt_obdeptname" propid="value" datasetid="ds_main_patinfo_item" columnid="obdeptname"/>
  1120. <BindItem id="item13" compid="opt_room" propid="value" datasetid="ds_main_patinfo_item" columnid="wardname"/>
  1121. <BindItem id="item14" compid="opt_obpathnote" propid="value" datasetid="ds_main_patinfo_item" columnid="uodesc"/>
  1122. <BindItem id="item15" compid="switch1.case1.tar_sw1" propid="value" datasetid="ds_main_patinfo_item" columnid="result_text"/>
  1123. </Bind>
  1124. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1125. * System Name :
  1126. * Job Name :
  1127. * Creator :
  1128. * Make Date : 2015-11-13
  1129. * Description :
  1130. *---------------------------------------------------------------------------------------
  1131. * Modify Date Modifier Modify Description
  1132. *---------------------------------------------------------------------------------------
  1133. * 2015-11-13 Live Converter TF->XP
  1134. *
  1135. *---------------------------------------------------------------------------------------
  1136. ****************************************************************************************/
  1137. include "com_commonxp::comm_main.xjs";
  1138. var arErrorCode = new HashArray();
  1139. function SMAOE01000_oninit(obj:Form, e:InitEventInfo)
  1140. {
  1141. frmf_initForm(obj);
  1142. }
  1143. function SMAOE01000_onload(obj:Form, e:LoadEventInfo)
  1144. {
  1145. grdf_initGrid(grd_examlist);
  1146. grdf_setRowTypeIcon(grd_examlist, 0);
  1147. if(frmf_checkOpener())
  1148. {
  1149. ds_send.setColumn(0, "srchpid", opener.frmf_getParameter("SMMMI00100_pid") );
  1150. ds_send.setColumn(0, "srchhngnm", opener.frmf_getParameter("SMMMI00100_hngnm") );
  1151. //obj.updateToDataset();
  1152. ds_send.setColumn(0, "srchcode", "SMAOE01000");
  1153. group6.button1.click();
  1154. }
  1155. }
  1156. function group6_ipt_srchpid_onkeyup(obj:Edit, e:KeyEventInfo)
  1157. {
  1158. if(e.keycode == 13)
  1159. {
  1160. obj.updateToDataset();
  1161. ds_send.setColumn(0, "srchcode", "SMAOE01000");
  1162. ds_send.setColumn(0, "srchhngnm", "");
  1163. group6.button1.click();
  1164. }
  1165. }
  1166. function group6_btn_search1_onclick(obj:Button, e:ClickEventInfo)
  1167. {
  1168. frmf_modal("SPAVT00100", "SPAVT00100", "", "", "", "", "", "", "", "", "", "", "M");
  1169. if (ds_temp.getColumn(0, "okflag") == "ok")
  1170. {
  1171. ds_send.setColumn(0, "srchpid", ds_temp_templst_item.getColumn(0, "pid"));
  1172. ds_send.setColumn(0, "srchhngnm", ds_temp_templst_item.getColumn(0, "hngnm"));
  1173. ds_temp.setColumn(0, "okflag", "");
  1174. ds_temp_templst_item.clearData();
  1175. ds_main_examlist_item.clearData();
  1176. ds_main_patinfo_item.clearData();
  1177. ds_main_patinfo_item.addRow();
  1178. // model.removeNode("/root/main/traoe_01011");
  1179. // model.removeNode("/root/main/traoe_01021");
  1180. // model.removeNode("/root/main/traoe_01031");
  1181. // model.removeNode("/root/main/traoe_01041");
  1182. // model.removeNode("/root/main/traoe_01051");
  1183. // model.removeNode("/root/main/traoe_01061");
  1184. // model.removeNode("/root/main/traoe_01071");
  1185. // model.removeNode("/root/main/traoe_01081");
  1186. // model.removeNode("/root/main/traoe_01091");
  1187. // model.removeNode("/root/main/traoe_01101");
  1188. // model.removeNode("/root/main/traoe_01102");
  1189. // model.removeNode("/root/main/traoe_01103");
  1190. // model.removeNode("/root/main/traoe_01104");
  1191. // model.removeNode("/root/main/traoe_01105");
  1192. // model.removeNode("/root/main/traoe_01111");
  1193. // model.removeNode("/root/main/traoe_01112");
  1194. // model.removeNode("/root/main/traoe_01113");
  1195. // model.removeNode("/root/main/traoe_01115");
  1196. // model.removeNode("/root/main/traoe_01117");
  1197. // model.removeNode("/root/main/traoe_01121");
  1198. // model.removeNode("/root/main/traoe_01123");
  1199. // model.removeNode("/root/main/traoe_01131");
  1200. // model.removeNode("/root/main/traoe_01141");
  1201. // model.removeNode("/root/main/traoe_01151");
  1202. // model.removeNode("/root/main/traoe_01161");
  1203. // model.removeNode("/root/main/traoe_01181");
  1204. // model.removeNode("/root/main/traoe_01191");
  1205. // model.removeNode("/root/main/traoe_01191");
  1206. // model.removeNode("/root/main/traoe_01191");
  1207. // model.removeNode("/root/main/traoe_01201");
  1208. // model.removeNode("/root/main/traoe_01211");
  1209. // model.removeNode("/root/main/traoe_01221");
  1210. // model.removeNode("/root/main/traoe_01231");
  1211. // model.removeNode("/root/main/traoe_01241");
  1212. // model.removeNode("/root/main/traoe_01251");
  1213. // model.removeNode("/root/main/traoe_01261");
  1214. // model.removeNode("/root/main/traoe_01271");
  1215. // model.removeNode("/root/main/datagrid");
  1216. btn_sw1.class = "btn_tab_S";
  1217. btn_sw2.class = "btn_tab";
  1218. btn_sw3.class = "btn_tab";
  1219. switch1.tabindex = 0;
  1220. var oParam = {};
  1221. oParam.id = "TRAOE01001";
  1222. oParam.service = "oldexamresultapp.OldExamResult";
  1223. oParam.method = "reqGetOldExamResultList";
  1224. oParam.inds = "req=ds_send";
  1225. oParam.outds = "ds_main_examlist_item=item";
  1226. oParam.async = false;
  1227. //oParam.callback = "cf_TRAOE01001";
  1228. tranf_submit(oParam);
  1229. }
  1230. }
  1231. function group6_button1_onclick(obj:Button, e:ClickEventInfo)
  1232. {
  1233. if (utlf_isNull(ds_send.getColumn(0, "srchpid")))
  1234. {
  1235. alert("검색 조건 입력은 필수입니다.");
  1236. if(utlf_isNull(ds_send.getColumn(0, "srchpid")))
  1237. {
  1238. group6.ipt_srchpid.setFocus();
  1239. }
  1240. }
  1241. else
  1242. {
  1243. var oParam = {};
  1244. oParam.id = "TRAVT00102";
  1245. oParam.service = "tissuebankapp.TissueBankProcess";
  1246. oParam.method = "reqGetTissueBankSrchList";
  1247. oParam.inds = "req=ds_send";
  1248. oParam.outds = "ds_main_srchlist_item=item";
  1249. oParam.async = false;
  1250. oParam.callback = "cf_TRAVT00102";
  1251. tranf_submit(oParam);
  1252. if(arErrorCode.pop("TRAVT00102") > -1)
  1253. {
  1254. group6.btn_search.click();
  1255. }
  1256. }
  1257. }
  1258. function cf_TRAVT00102(sSvcId, nErrorCode, sErrorMsg)
  1259. {
  1260. arErrorCode.push(sSvcId, nErrorCode);
  1261. if(nErrorCode < 0) return;
  1262. }
  1263. function group6_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1264. {
  1265. switch1.case3.iviewer1.visible = false;
  1266. switch1.case2.datagrid1.visible = false;
  1267. btn_sw1.class = "btn_tab_S";
  1268. btn_sw2.class = "btn_tab";
  1269. btn_sw3.class = "btn_tab";
  1270. var oParam = {};
  1271. oParam.id = "TRAOE01001";
  1272. oParam.service = "oldexamresultapp.OldExamResult";
  1273. oParam.method = "reqGetOldExamResultList";
  1274. oParam.inds = "req=ds_send";
  1275. oParam.outds = "ds_main_examlist_item=item";
  1276. oParam.async = false;
  1277. //oParam.callback = "cf_TRAOE01001";
  1278. tranf_submit(oParam);
  1279. }
  1280. function cf_TRAOE01001(sSvcId, nErrorCode, sErrorMsg)
  1281. {
  1282. arErrorCode.push(sSvcId, nErrorCode);
  1283. if(nErrorCode < 0) return;
  1284. }
  1285. function grd_examlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1286. {
  1287. var row = ds_main_examlist_item.rowposition;
  1288. trace("table_cd===="+ds_main_examlist_item.getColumn(row , "table_cd"))
  1289. if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="TXRESULTFILE" )
  1290. {
  1291. var pid = ds_main_examlist_item.getColumn(row, "pid");
  1292. var ccrno = ds_main_examlist_item.getColumn(row, "ccrno");
  1293. var obtime = ds_main_examlist_item.getColumn(row, "obtime");
  1294. var uopno = ds_main_examlist_item.getColumn(row, "uopno");
  1295. var filenm = ds_main_examlist_item.getColumn(row, "filename");
  1296. var fileext = String(filenm).lastIndexOf(".");
  1297. var ext = String(filenm).substring(fileext +1);
  1298. var localfile = "C:\\Program Files\\himed\\" + filenm
  1299. var oParam = {};
  1300. oParam.id = "TRAOE01001";
  1301. oParam.service = "oldexamresultapp.OldExamResult";
  1302. oParam.method = "reqGetOldExamResultList2";
  1303. oParam.inds = "req=ds_main_examlist_item";
  1304. oParam.outds = "ds_hidden_filelist=filelist";
  1305. oParam.async = false;
  1306. oParam.callback = "cf_TRAOE01001";
  1307. tranf_submit(oParam);
  1308. if(arErrorCode.pop("TRAOE01001") > -1)
  1309. {
  1310. model.download( realfile, localfile);
  1311. var objWSH = new ActiveXObject("WScript.Shell");
  1312. var runstr = "rundll32.exe system32\\shell32.dll,ShellExec_RunDLL " + localfile
  1313. objWSH.Run( runstr , 1, false);
  1314. }
  1315. }
  1316. else if( row > -1 && ds_main_examlist_item.getColumn(row, "table_cd")=="RISRESULT" )
  1317. {
  1318. send_node_set(row);
  1319. trace("RISRESULT");
  1320. var oParam = {};
  1321. oParam.id = "TRAOE01011";
  1322. oParam.service = "oldexamresultapp.OldExamResult";
  1323. oParam.method = "reqGetOldExamResultList_Common";
  1324. oParam.inds = "req=ds_send";
  1325. oParam.outds = "ds_main_traoe_01011_item=item";
  1326. oParam.async = false;
  1327. //oParam.callback = "cf_TRAOE01011";
  1328. tranf_submit(oParam);
  1329. init_node_set(row);
  1330. var result_target = ds_main_patinfo_item;
  1331. var result_source = ds_main_traoe_01011_item;
  1332. result_node_set(result_target, result_source);
  1333. var result = "";
  1334. result = "\n"+"[ 임상소견 및 의뢰사유 ]" + "\n" + "\n";
  1335. result = result + utlf_transNullToEmpty(ds_main_traoe_01011_item.getColumn(0, "obpathnote"))+ "\n" + "\n"+ "[ 소 견 ]"+ "\n";
  1336. result = result + utlf_transNullToEmpty(ds_main_traoe_01011_item.getColumn(0, "rlongresult"))+ "\n" + "\n"+ "[ 결 론 ]"+ "\n";
  1337. result = result + utlf_transNullToEmpty(ds_main_traoe_01011_item.getColumn(0, "clongresult"));
  1338. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1339. //result_title.text = result
  1340. btn_sw1.class = "btn_tab_S";
  1341. btn_sw2.class = "btn_tab";
  1342. btn_sw3.class = "btn_tab";
  1343. switch1.tabindex = 0;
  1344. }
  1345. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="SCANRESULT" )
  1346. {
  1347. send_node_set(row);
  1348. var oParam = {};
  1349. oParam.id = "TRAOE01021";
  1350. oParam.service = "oldexamresultapp.OldExamResult";
  1351. oParam.method = "reqGetOldExamResultList_Common";
  1352. oParam.inds = "req=ds_send";
  1353. oParam.outds = "ds_main_traoe_01021_item=item";
  1354. oParam.async = false;
  1355. //oParam.callback = "cf_TRAOE01021";
  1356. tranf_submit(oParam);
  1357. init_node_set(row);
  1358. var result_target = ds_main_patinfo_item;
  1359. var result_source = ds_main_traoe_01021_item;
  1360. result_node_set(result_target, result_source);
  1361. var result = "";
  1362. result = "\n"+"[ Findings ]" + "\n" + "\n";
  1363. result = result + utlf_transNullToEmpty(ds_main_traoe_01021_item.getColumn(0, "result1"))+ "\n" + "\n"+ "[ Conclusions ]"+ "\n";
  1364. result = result + utlf_transNullToEmpty(ds_main_traoe_01021_item.getColumn(0, "result2"));
  1365. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1366. btn_sw1.class = "btn_tab_S";
  1367. btn_sw2.class = "btn_tab";
  1368. btn_sw3.class = "btn_tab";
  1369. switch1.tabindex = 0;
  1370. }
  1371. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="NEURORESULT" )
  1372. {
  1373. send_node_set(row);
  1374. var oParam = {};
  1375. oParam.id = "TRAOE01031";
  1376. oParam.service = "oldexamresultapp.OldExamResult";
  1377. oParam.method = "reqGetOldExamResultList_Common";
  1378. oParam.inds = "req=ds_send";
  1379. oParam.outds = "ds_main_traoe_01031_item=item";
  1380. oParam.async = false;
  1381. //oParam.callback = "cf_TRAOE01031";
  1382. tranf_submit(oParam);
  1383. init_node_set(row);
  1384. var result_target = ds_main_patinfo_item;
  1385. var result_source = ds_main_traoe_01031_item;
  1386. result_node_set(result_target, result_source);
  1387. var result = "";
  1388. result = "\n"+"[ Patient Comments ]" + "\n" + "\n";
  1389. result = result + utlf_transNullToEmpty(ds_main_traoe_01031_item.getColumn(0, "comments")) + "\n" + "\n"+ "[ Procedure(s) ]"+ "\n";
  1390. result = result + utlf_transNullToEmpty(ds_main_traoe_01031_item.getColumn(0, "procedures")) + "\n" + "\n"+ "[ Findings ]"+ "\n";
  1391. result = result + utlf_transNullToEmpty(ds_main_traoe_01031_item.getColumn(0, "findings")) + "\n" + "\n"+ "[ Conclusions ]"+ "\n";
  1392. result = result + utlf_transNullToEmpty(ds_main_traoe_01031_item.getColumn(0, "conclusions")) + "\n" + "\n"+ "[ Coments ]"+ "\n";
  1393. result = result + utlf_transNullToEmpty(ds_main_traoe_01031_item.getColumn(0, "etc_comment")) + "\n" + "\n"+ "[ Technician ]"+ "\n";
  1394. result = result + utlf_transNullToEmpty(ds_main_traoe_01031_item.getColumn(0, "technician")) + "\n" + "\n"+ "[ Dr.Name ]"+ "\n";
  1395. result = result + utlf_transNullToEmpty(ds_main_traoe_01031_item.getColumn(0, "pandrname"));
  1396. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1397. btn_sw1.class = "btn_tab_S";
  1398. btn_sw2.class = "btn_tab";
  1399. btn_sw3.class = "btn_tab";
  1400. }
  1401. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="NEEGRESULT" )
  1402. {
  1403. send_node_set(row);
  1404. var oParam = {};
  1405. oParam.id = "TRAOE01041";
  1406. oParam.service = "oldexamresultapp.OldExamResult";
  1407. oParam.method = "reqGetOldExamResultList_Common";
  1408. oParam.inds = "req=ds_send";
  1409. oParam.outds = "ds_main_traoe_01041_item=item";
  1410. oParam.async = false;
  1411. //oParam.callback = "cf_TRAOE01041";
  1412. tranf_submit(oParam);
  1413. if(ds_main_traoe_01041_item.getColumnInfo("sex"))
  1414. {
  1415. ds_main_traoe_01041_item.updateColID("sex", "psex")
  1416. }
  1417. if(ds_main_traoe_01041_item.getColumnInfo("ward"))
  1418. {
  1419. ds_main_traoe_01041_item.updateColID("ward", "wardname")
  1420. }
  1421. if(ds_main_traoe_01041_item.getColumnInfo("drname"))
  1422. {
  1423. ds_main_traoe_01041_item.updateColID("drname", "pandrname")
  1424. }
  1425. init_node_set(row);
  1426. var result_target = ds_main_patinfo_item;
  1427. var result_source = ds_main_traoe_01041_item;
  1428. result_node_set(result_target, result_source);
  1429. var result = "";
  1430. result = "\n"+"[ E.E.G. No ]" + "\n";
  1431. result = result + utlf_transNullToEmpty(ds_main_traoe_01041_item.getColumn(0, "eeg_no")) + "\n"+"\n"+ "[ Previous E.E.G. No ]"+ "\n";
  1432. result = result + utlf_transNullToEmpty(ds_main_traoe_01041_item.getColumn(0, "oldeeg_no")) + "\n"+"\n"+ "[ Date of Previous E.E.G. ]"+ "\n";
  1433. result = result + utlf_transNullToEmpty(ds_main_traoe_01041_item.getColumn(0, "oldeegdate")) + "\n"+"\n"+ "[ Impression ]"+ "\n";
  1434. result = result + utlf_transNullToEmpty(ds_main_traoe_01041_item.getColumn(0, "imp")) + "\n" +"\n"+ "[ Clinical Diagnosis ]" + "\n";
  1435. result = result + utlf_transNullToEmpty(ds_main_traoe_01041_item.getColumn(0, "impresult")) + "\n"+"\n"+ "[ Summary Of Findings ]"+ "\n";
  1436. result = result + utlf_transNullToEmpty(ds_main_traoe_01041_item.getColumn(0, "summary")) + "\n"+ "\n"+"[ Recommendation ]" + "\n";
  1437. result = result + utlf_transNullToEmpty(ds_main_traoe_01041_item.getColumn(0, "recommendation"))+ "\n"+"\n"+ "[ Signature ]"+ "\n";
  1438. result = result + utlf_transNullToEmpty(ds_main_traoe_01041_item.getColumn(0, "pandrname")) + "\n";
  1439. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1440. btn_sw1.class = "btn_tab_S";
  1441. btn_sw2.class = "btn_tab";
  1442. btn_sw3.class = "btn_tab";
  1443. }
  1444. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="EEGRESULT" )
  1445. {
  1446. send_node_set(row);
  1447. var oParam = {};
  1448. oParam.id = "TRAOE01051";
  1449. oParam.service = "oldexamresultapp.OldExamResult";
  1450. oParam.method = "reqGetOldExamResultList_Common";
  1451. oParam.inds = "req=ds_send";
  1452. oParam.outds = "ds_main_traoe_01051_item=item";
  1453. oParam.async = false;
  1454. //oParam.callback = "cf_TRAOE01051";
  1455. tranf_submit(oParam);
  1456. if(ds_main_traoe_01051_item.getColumnInfo("sex"))
  1457. {
  1458. ds_main_traoe_01051_item.updateColID("sex", "psex")
  1459. }
  1460. if(ds_main_traoe_01051_item.getColumnInfo("ward"))
  1461. {
  1462. ds_main_traoe_01051_item.updateColID("ward", "wardname")
  1463. }
  1464. if(ds_main_traoe_01051_item.getColumnInfo("drname"))
  1465. {
  1466. ds_main_traoe_01051_item.updateColID("drname", "pandrname")
  1467. }
  1468. init_node_set(row);
  1469. var result_target = ds_main_patinfo_item
  1470. var result_source = ds_main_traoe_01051_item;
  1471. result_node_set(result_target, result_source);
  1472. var result = "";
  1473. result = "\n"+"[ E.E.G. No ]" + "\n";
  1474. result = result + utlf_transNullToEmpty(ds_main_traoe_01051_item.getColumn(0, "eeg_no")) + "\n"+"\n"+ "[ Previous E.E.G. No ]"+ "\n";
  1475. result = result + utlf_transNullToEmpty(ds_main_traoe_01051_item.getColumn(0, "oldeegno")) + "\n" +"\n"+ "[ Electrodes ]" + "\n";
  1476. result = result + utlf_transNullToEmpty(ds_main_traoe_01051_item.getColumn(0, "electrodes"))+ "\n"+"\n"+ "[ Impresult ]"+ "\n";
  1477. result = result + utlf_transNullToEmpty(ds_main_traoe_01051_item.getColumn(0, "impresult")) + "\n" +"\n"+ "[ Dr. ]" + "\n";
  1478. result = result + utlf_transNullToEmpty(ds_main_traoe_01051_item.getColumn(0, "pandrname"));
  1479. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1480. btn_sw1.class = "btn_tab_S";
  1481. btn_sw2.class = "btn_tab";
  1482. btn_sw3.class = "btn_tab";
  1483. switch1.tabindex = 0;
  1484. }
  1485. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="ELECTRORT_SEC" )
  1486. {
  1487. switch1.case3.iviewer1.url = "";
  1488. send_node_set(row);
  1489. var oParam = {};
  1490. oParam.id = "TRAOE01061";
  1491. oParam.service = "oldexamresultapp.OldExamResult";
  1492. oParam.method = "reqGetoldexamresult_06_1";
  1493. oParam.inds = "req=ds_send";
  1494. oParam.outds = "ds_main_traoe_01061_item=item";
  1495. oParam.async = false;
  1496. //oParam.callback = "cf_TRAOE01061";
  1497. tranf_submit(oParam);
  1498. init_node_set(row);
  1499. var result_target = ds_main_patinfo_item;
  1500. var result_source = ds_main_traoe_01061_item;
  1501. result_node_set(result_target, result_source);
  1502. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01061_신경과근전도검사.xfdl";
  1503. //switch1.case3.iviewer1.swt_judg.tabindex = 0;
  1504. btn_sw1.class = "btn_tab";
  1505. btn_sw2.class = "btn_tab";
  1506. btn_sw3.class = "btn_tab_S";
  1507. switch1.tabindex = 2;
  1508. }
  1509. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="ELECTRORT1" )
  1510. {
  1511. switch1.case3.iviewer1.url = "";
  1512. send_node_set(row);
  1513. var oParam = {};
  1514. oParam.id = "TRAOE01071";
  1515. oParam.service = "oldexamresultapp.OldExamResult";
  1516. oParam.method = "reqGetoldexamresult_07_1";
  1517. oParam.inds = "req=ds_send";
  1518. oParam.outds = "ds_main_traoe_01071_item=item";
  1519. oParam.async = false;
  1520. //oParam.callback = "cf_TRAOE01071";
  1521. tranf_submit(oParam);
  1522. if(ds_main_traoe_01071_item.getColumnInfo("deptname"))
  1523. {
  1524. ds_main_traoe_01071_item.updateColID("deptname", "obdeptname")
  1525. }
  1526. if(ds_main_traoe_01071_item.getColumnInfo("drname"))
  1527. {
  1528. ds_main_traoe_01071_item.updateColID("drname", "obdrname")
  1529. }
  1530. if(ds_main_traoe_01071_item.getColumnInfo("sex"))
  1531. {
  1532. ds_main_traoe_01071_item.updateColID("sex", "psex")
  1533. }
  1534. if(ds_main_traoe_01071_item.getColumnInfo("name"))
  1535. {
  1536. ds_main_traoe_01071_item.updateColID("name", "pname")
  1537. }
  1538. if(ds_main_traoe_01071_item.getColumnInfo("panname"))
  1539. {
  1540. ds_main_traoe_01071_item.updateColID("panname", "pandrname")
  1541. }
  1542. init_node_set(row);
  1543. var result_target = ds_main_patinfo_item;
  1544. var result_source = ds_main_traoe_01071_item;
  1545. result_node_set(result_target, result_source);
  1546. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01071_신경과근전도검사.xfdl";
  1547. //switch1.case3.iviewer1.swt_judg.tabindex = 0;
  1548. btn_sw1.class = "btn_tab";
  1549. btn_sw2.class = "btn_tab";
  1550. btn_sw3.class = "btn_tab_S";
  1551. switch1.tabindex = 2;
  1552. ds_tmp.clearData();
  1553. // var srcPath = switch1.case3.iviewer1.ds_main.model.instance1.selectSingleNode("/root/main");
  1554. // if(srcPath != null){
  1555. // model.copyNode("/root/tmp", srcPath);
  1556. // }
  1557. }
  1558. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="ELECTRORT2" )
  1559. {
  1560. switch1.case3.iviewer1.url = "";
  1561. send_node_set(row);
  1562. var oParam = {};
  1563. oParam.id = "TRAOE01081";
  1564. oParam.service = "oldexamresultapp.OldExamResult";
  1565. oParam.method = "reqGetoldexamresult_08_1";
  1566. oParam.inds = "req=ds_send";
  1567. oParam.outds = "ds_main_traoe_01081_item=item";
  1568. oParam.async = false;
  1569. //oParam.callback = "cf_TRAOE01081";
  1570. tranf_submit(oParam);
  1571. if(ds_main_traoe_01081_item.getColumnInfo("deptname"))
  1572. {
  1573. ds_main_traoe_01081_item.updateColID("deptname", "obdeptname")
  1574. }
  1575. if(ds_main_traoe_01081_item.getColumnInfo("drname"))
  1576. {
  1577. ds_main_traoe_01081_item.updateColID("drname", "obdrname")
  1578. }
  1579. if(ds_main_traoe_01081_item.getColumnInfo("sex"))
  1580. {
  1581. ds_main_traoe_01081_item.updateColID("sex", "psex")
  1582. }
  1583. if(ds_main_traoe_01081_item.getColumnInfo("name"))
  1584. {
  1585. ds_main_traoe_01081_item.updateColID("name", "pname")
  1586. }
  1587. if(ds_main_traoe_01081_item.getColumnInfo("panname"))
  1588. {
  1589. ds_main_traoe_01081_item.updateColID("panname", "pandrname")
  1590. }
  1591. init_node_set(row);
  1592. var result_target = ds_main_patinfo_item;
  1593. var result_source = ds_main_traoe_01081_item;
  1594. result_node_set(result_target, result_source);
  1595. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01081_신경과근전도검사.xfdl";
  1596. //switch1.case3.iviewer1.swt_judg.tabindex = 0;
  1597. btn_sw1.class = "btn_tab";
  1598. btn_sw2.class = "btn_tab";
  1599. btn_sw3.class = "btn_tab_S";
  1600. switch1.tabindex = 2;
  1601. }
  1602. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="DSHMASTER1" )
  1603. {
  1604. switch1.case3.iviewer1.url = "";
  1605. send_node_set(row);
  1606. var oParam = {};
  1607. oParam.id = "TRAOE01091";
  1608. oParam.service = "oldexamresultapp.OldExamResult";
  1609. oParam.method = "reqGetoldexamresult_09_1";
  1610. oParam.inds = "req=ds_send";
  1611. oParam.outds = "ds_main_traoe_01091_item=item";
  1612. oParam.async = false;
  1613. //oParam.callback = "cf_TRAOE01091";
  1614. tranf_submit(oParam);
  1615. init_node_set(row);
  1616. var result_target = ds_main_patinfo_item;
  1617. var result_source = ds_main_traoe_01091_item;
  1618. result_node_set(result_target, result_source);
  1619. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01091_뇌혈류검사실.xfdl";
  1620. //switch1.case3.iviewer1.swt_judg.tabindex = 0;
  1621. btn_sw1.class = "btn_tab";
  1622. btn_sw2.class = "btn_tab";
  1623. btn_sw3.class = "btn_tab_S";
  1624. switch1.tabindex = 2;
  1625. }
  1626. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="WE" )
  1627. {
  1628. send_node_set(row);
  1629. var oParam = {};
  1630. oParam.id = "TRAOE01101";
  1631. oParam.service = "oldexamresultapp.OldExamResult";
  1632. oParam.method = "reqGetOldExamResultList_Common";
  1633. oParam.inds = "req=ds_send";
  1634. oParam.outds = "ds_main_traoe_01101_item=item";
  1635. oParam.async = false;
  1636. //oParam.callback = "cf_TRAOE01101";
  1637. tranf_submit(oParam);
  1638. if(ds_main_traoe_01101_item.getColumnInfo("deptname"))
  1639. {
  1640. ds_main_traoe_01101_item.updateColID("deptname", "obdeptname")
  1641. }
  1642. if(ds_main_traoe_01101_item.getColumnInfo("drname"))
  1643. {
  1644. ds_main_traoe_01101_item.updateColID("drname", "obdrname")
  1645. }
  1646. if(ds_main_traoe_01101_item.getColumnInfo("sex"))
  1647. {
  1648. ds_main_traoe_01101_item.updateColID("sex", "psex")
  1649. }
  1650. init_node_set(row);
  1651. var result_target = ds_main_patinfo_item;
  1652. var result_source = ds_main_traoe_01101_item;
  1653. result_node_set(result_target, result_source);
  1654. var result = "";
  1655. result = "\n"+"[ 검사번호 ]" + "\n";
  1656. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "tno")) + "\n"+"\n"+ "[ 주소 ]"+ "\n";
  1657. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "addr")) + "\n"+"\n"+ "[ 전화번호 ]"+ "\n";
  1658. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "phone")) + "\n" +"\n"+ "[ 검사일 ]" + "\n";
  1659. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "mdate")) + "\n"+"\n"+ "[ 술전 진단명 ]"+ "\n";
  1660. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "symp")) + "\n" +"\n"+ "[ 주증상 ]" + "\n";
  1661. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "disease")) + "\n" +"\n"+ "[ Levl of insertion ]" + "\n";
  1662. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "inser")) + "\n" +"\n"+ "[ Model of endoscope ]" + "\n";
  1663. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "endo")) + "\n" +"\n"+ "[ Esophagus ]" + "\n";
  1664. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "tx1")) + "\n" +"\n"+ "[ Stomach ]" + "\n";
  1665. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "tx2")) + "\n" +"\n"+ "[ Duodenum ]" + "\n";
  1666. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "tx3")) + "\n" +"\n"+ "[ Sedation ]" + "\n";
  1667. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "sedation")) + "\n" +"\n"+ "[ Impression ]" + "\n";
  1668. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "imp")) + "\n" +"\n";
  1669. if(ds_main_traoe_01101_item.getColumn(0, "reflux")=='Y')
  1670. {
  1671. result = result + "(V)Reflux esophagitis" +"\n";
  1672. }
  1673. else
  1674. {
  1675. result = result + "( )Reflux esophagitis" +"\n";
  1676. }
  1677. if(ds_main_traoe_01101_item.getColumn(0, "barrett")=='Y')
  1678. {
  1679. result = result + "(V)Barrett's esophagus" +"\n";
  1680. }
  1681. else
  1682. {
  1683. result = result + "( )Barrett's esophagus" +"\n";
  1684. }
  1685. if(ds_main_traoe_01101_item.getColumn(0, "activeuker")=='Y')
  1686. {
  1687. result = result + "(V)Active or healing ulcer" +"\n";
  1688. }
  1689. else
  1690. {
  1691. result = result + "( )Active or healing ulcer" +"\n";
  1692. }
  1693. if(ds_main_traoe_01101_item.getColumn(0, "gastrifis")=='Y')
  1694. {
  1695. result = result + "(V)Gastritis or duodentis" +"\n";
  1696. }
  1697. else
  1698. {
  1699. result = result + "( )Gastritis or duodentis" +"\n";
  1700. }
  1701. if(ds_main_traoe_01101_item.getColumn(0, "normal")=='Y')
  1702. {
  1703. result = result + "(V)기타" + "\n" +"\n"+ "[ Procedure ]" + "\n";
  1704. }
  1705. else
  1706. {
  1707. result = result + "( )기타" + "\n" +"\n"+ "[ Procedure ]" + "\n";
  1708. }
  1709. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "pro")) + "\n" +"\n"+ "[ Recommendation ]" + "\n";
  1710. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "recom")) + "\n" +"\n"+ "[ 시술자 ]" + "\n";
  1711. result = result + utlf_transNullToEmpty(ds_main_traoe_01101_item.getColumn(0, "urname")) + "\n";
  1712. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1713. btn_sw1.class = "btn_tab_S";
  1714. btn_sw2.class = "btn_tab";
  1715. btn_sw3.class = "btn_tab";
  1716. switch1.tabindex = 0;
  1717. }
  1718. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="WE_LOWER" )
  1719. {
  1720. send_node_set(row);
  1721. var oParam = {};
  1722. oParam.id = "TRAOE01102";
  1723. oParam.service = "oldexamresultapp.OldExamResult";
  1724. oParam.method = "reqGetOldExamResultList_Common";
  1725. oParam.inds = "req=ds_send";
  1726. oParam.outds = "ds_main_traoe_01102_item=item";
  1727. oParam.async = false;
  1728. //oParam.callback = "cf_TRAOE01102";
  1729. tranf_submit(oParam);
  1730. if(ds_main_traoe_01102_item.getColumnInfo("deptname"))
  1731. {
  1732. ds_main_traoe_01102_item.updateColID("deptname", "obdeptname")
  1733. }
  1734. if(ds_main_traoe_01102_item.getColumnInfo("drname"))
  1735. {
  1736. ds_main_traoe_01102_item.updateColID("drname", "obdrname")
  1737. }
  1738. if(ds_main_traoe_01102_item.getColumnInfo("sex"))
  1739. {
  1740. ds_main_traoe_01102_item.updateColID("sex", "psex")
  1741. }
  1742. init_node_set(row);
  1743. var result_target = ds_main_patinfo_item;
  1744. var result_source = ds_main_traoe_01102_item
  1745. result_node_set(result_target, result_source);
  1746. var result = "";
  1747. result = "\n"+"[ 검사번호 ]" + "\n";
  1748. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "tno")) + "\n" +"\n"+ "[ 주소 ]" + "\n";
  1749. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "addr")) + "\n" +"\n"+ "[ 전화번호 ]" + "\n";
  1750. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "phone")) + "\n" +"\n"+ "[ 검사일 ]" + "\n";
  1751. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "mdate")) + "\n" +"\n"+ "[ 술전 진단명 ]" + "\n";
  1752. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "symp")) + "\n" +"\n"+ "[ 주증상 ]" + "\n";
  1753. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "disease")) + "\n" +"\n"+ "[ Level of inserttion ]" + "\n";
  1754. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "inser")) + "\n" +"\n"+ "[ Model of endoscope ]" + "\n";
  1755. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "endo")) + "\n" +"\n"+ "[ Lumen ]" + "\n";
  1756. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "lumen")) + "\n" +"\n"+ "[ Content ]" + "\n";
  1757. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "cont")) + "\n" +"\n"+ "[ Terminal ileum ]" + "\n";
  1758. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "ileum")) + "\n" +"\n"+ "[ Colon ]" + "\n";
  1759. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "colon")) + "\n" +"\n"+ "[ Anorectum ]" + "\n";
  1760. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "anorec")) + "\n" +"\n"+ "[ Sedation ]" + "\n";
  1761. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "sedation")) + "\n" +"\n"+ "[ Impression ]" + "\n";
  1762. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "imp")) + "\n" +"\n"+ "[ Procedure ]" + "\n";
  1763. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "pro")) + "\n" +"\n"+ "[ Recommendation ]" + "\n";
  1764. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "recom")) + "\n" +"\n"+ "[ 시술자 ]" + "\n";
  1765. result = result + utlf_transNullToEmpty(ds_main_traoe_01102_item.getColumn(0, "urname")) + "\n";
  1766. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1767. btn_sw1.class = "btn_tab_S";
  1768. btn_sw2.class = "btn_tab";
  1769. btn_sw3.class = "btn_tab";
  1770. switch1.tabindex = 0;
  1771. }
  1772. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="WE_CHO" )
  1773. {
  1774. send_node_set(row);
  1775. var oParam = {};
  1776. oParam.id = "TRAOE01103";
  1777. oParam.service = "oldexamresultapp.OldExamResult";
  1778. oParam.method = "reqGetOldExamResultList_Common";
  1779. oParam.inds = "req=ds_send";
  1780. oParam.outds = "ds_main_traoe_01103_item=item";
  1781. oParam.async = false;
  1782. //oParam.callback = "cf_TRAOE01103";
  1783. tranf_submit(oParam);
  1784. if(ds_main_traoe_01103_item.getColumnInfo("deptname"))
  1785. {
  1786. ds_main_traoe_01103_item.updateColID("deptname", "obdeptname")
  1787. }
  1788. if(ds_main_traoe_01103_item.getColumnInfo("drname"))
  1789. {
  1790. ds_main_traoe_01103_item.updateColID("drname", "obdrname")
  1791. }
  1792. if(ds_main_traoe_01103_item.getColumnInfo("sex"))
  1793. {
  1794. ds_main_traoe_01103_item.updateColID("sex", "psex")
  1795. }
  1796. init_node_set(row);
  1797. var result_target = ds_main_patinfo_item;
  1798. var result_source = ;ds_main_traoe_01103_item;
  1799. result_node_set(result_target, result_source);
  1800. var result = "";
  1801. result = "\n"+"[ 검사번호 ]" + "\n";
  1802. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "tno")) + "\n" +"\n"+ "[ 주소 ]"+ "\n";
  1803. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "addr")) + "\n" +"\n"+ "[ 전화번호 ]"+ "\n";
  1804. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "phone")) + "\n" +"\n"+ "[ 검사일 ]" + "\n";
  1805. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "mdate")) + "\n" +"\n"+ "[ 술전 진단명 ]"+ "\n";
  1806. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "symp")) + "\n" +"\n"+ "[ 주증상 ]" + "\n";
  1807. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "disease")) + "\n" +"\n"+ "[ Level of insertion ]" + "\n";
  1808. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "inser")) + "\n" +"\n"+ "[ Model of endoscope ]" + "\n";
  1809. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "endo")) + "\n" +"\n"+ "[ Esophagus ]" + "\n";
  1810. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "esophagus")) + "\n" +"\n"+ "[ Stomach ]" + "\n";
  1811. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "stomach")) + "\n" +"\n"+ "[ Pancresto-Biliary ]" + "\n";
  1812. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "pancreato")) + "\n" +"\n"+ "[ Sedation ]" + "\n";
  1813. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "sedation")) + "\n" +"\n"+ "[ Impression ]" + "\n";
  1814. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "imp")) + "\n" +"\n"+ "[ Procedure ]" + "\n";
  1815. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "pro")) + "\n" +"\n"+ "[ Recommendation ]" + "\n";
  1816. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "recom")) + "\n" +"\n"+ "[ 시술자 ]" + "\n";
  1817. result = result + utlf_transNullToEmpty(ds_main_traoe_01103_item.getColumn(0, "urname")) + "\n";
  1818. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1819. btn_sw1.class = "btn_tab_S";
  1820. btn_sw2.class = "btn_tab";
  1821. btn_sw3.class = "btn_tab";
  1822. switch1.tabindex = 0;
  1823. }
  1824. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="WE_RFA" )
  1825. {
  1826. send_node_set(row);
  1827. var oParam = {};
  1828. oParam.id = "TRAOE01104";
  1829. oParam.service = "oldexamresultapp.OldExamResult";
  1830. oParam.method = "reqGetOldExamResultList_Common";
  1831. oParam.inds = "req=ds_send";
  1832. oParam.outds = "ds_main_traoe_01104_item=item ds_main_traoe_01104_item2=item2";
  1833. oParam.async = false;
  1834. //oParam.callback = "cf_TRAOE01104";
  1835. tranf_submit(oParam);
  1836. if(ds_main_traoe_01104_item.getColumnInfo("deptname"))
  1837. {
  1838. ds_main_traoe_01104_item.updateColID("deptname", "obdeptname")
  1839. }
  1840. if(ds_main_traoe_01104_item.getColumnInfo("drname"))
  1841. {
  1842. ds_main_traoe_01104_item.updateColID("drname", "obdrname")
  1843. }
  1844. if(ds_main_traoe_01104_item.getColumnInfo("sex"))
  1845. {
  1846. ds_main_traoe_01104_item.updateColID("sex", "psex")
  1847. }
  1848. init_node_set(row);
  1849. var result_target = ds_main_patinfo_item;
  1850. var result_source = ds_main_traoe_01104_item;
  1851. result_node_set(result_target, result_source);
  1852. var result = "";
  1853. result = "\n"+"[ 검사번호 ]" + "\n";
  1854. result = result + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "tno")) + "\n" +"\n"+ "[ 주소 ]"+ "\n";
  1855. result = result + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "addr")) + "\n" +"\n"+ "[ 전화번호 ]"+ "\n";
  1856. result = result + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "phone")) + "\n" +"\n"+ "[ 검사일 ]" + "\n";
  1857. result = result + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "mdate")) + "\n" +"\n"+ "[ 술전 진단명 ]"+ "\n";
  1858. result = result + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "symp")) + "\n" +"\n"+ "[ Reason ]" + "\n";
  1859. result = result + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "disease")) + "\n" +"\n"+ "[ Mode ]" + "\n";
  1860. result = result + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "modedesc")) + "\n" +"\n"+ "[ Pre-RFA INFORMATION ]" + "\n" + "\n";
  1861. result = result + "RFA 시술이 몇 번째인가? " + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "rfacnt")) + " "+ "Pre RFA TACE? " + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "prerfa"))+ "\n";
  1862. result = result + "Ascites? " + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "ascitesflag")) + " "+ utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "ascites"));
  1863. result = result + " " + "Pleural effusion? " + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "pleuralflag")) + " "+ utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "pleural")) + "\n";
  1864. result = result + "IP Saline? " + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "intra_abd")) + " "+ utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "intra_abd_y"));
  1865. result = result + " "+ "Background biopsy? " + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "bbiopsyflag")) + "\n";
  1866. result = result + "Number of Nodule? " + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "nodulecnt")) + " "+ "Model of Device? " + "\n";
  1867. for(var i = 0; i < 6 && !utlf_isNull(ds_main_traoe_01104_item2.getColumn(i, "cno")); i++)
  1868. {
  1869. result=result + utlf_transNullToEmpty(ds_main_traoe_01104_item2.getColumn(i, "cno")) + " 1) Site(위치) : " + utlf_transNullToEmpty(ds_main_traoe_01104_item2.getColumn(i, "site"))
  1870. + "\n" +" 2) Size : " + utlf_transNullToEmpty(ds_main_traoe_01104_item2.getColumn(i, "size1")) + "\n";
  1871. result=result +" 3) Surface : " + utlf_transNullToEmpty(ds_main_traoe_01104_item2.getColumn(i, "surface")) + "\n"
  1872. +" 4) Biopsy : " + utlf_transNullToEmpty(ds_main_traoe_01104_item2.getColumn(i, "biopsy")) + "\n";
  1873. result=result +" 5) Ablation 횟수 : "+ utlf_transNullToEmpty(ds_main_traoe_01104_item2.getColumn(i, "abl")) + "\n"
  1874. +" 6) Intra : " + utlf_transNullToEmpty(ds_main_traoe_01104_item2.getColumn(i, "intra_les")) + "\n";
  1875. result=result +" 7) DeviceName : " + utlf_transNullToEmpty(ds_main_traoe_01104_item2.getColumn(i, "devicename")) + "\n"
  1876. +" 8) Tissue : " + utlf_transNullToEmpty(ds_main_traoe_01104_item2.getColumn(i, "tissue")) + "\n";
  1877. result=result +" 9) Vessel : " + utlf_transNullToEmpty(ds_main_traoe_01104_item2.getColumn(i, "vessel")) + "\n"+ "\n";
  1878. }
  1879. result = result + "[ Conclusion ]" + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "conclusion")) + "\n" + "\n";
  1880. result = result + "[ 시술자 ]" + utlf_transNullToEmpty(ds_main_traoe_01104_item.getColumn(0, "urname")) + "\n";
  1881. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1882. btn_sw1.class = "btn_tab_S";
  1883. btn_sw2.class = "btn_tab";
  1884. btn_sw3.class = "btn_tab";
  1885. switch1.tabindex = 0;
  1886. }
  1887. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="WE_ERCP" )
  1888. {
  1889. send_node_set(row);
  1890. var oParam = {};
  1891. oParam.id = "TRAOE01105";
  1892. oParam.service = "oldexamresultapp.OldExamResult";
  1893. oParam.method = "reqGetOldExamResultList_Common";
  1894. oParam.inds = "req=ds_send";
  1895. oParam.outds = "ds_main_traoe_01105_item=item";
  1896. oParam.async = false;
  1897. //oParam.callback = "cf_TRAOE01105";
  1898. tranf_submit(oParam);
  1899. if(ds_main_traoe_01105_item.getColumnInfo("deptname"))
  1900. {
  1901. ds_main_traoe_01105_item.updateColID("deptname", "obdeptname")
  1902. }
  1903. if(ds_main_traoe_01105_item.getColumnInfo("drname"))
  1904. {
  1905. ds_main_traoe_01105_item.updateColID("drname", "obdrname")
  1906. }
  1907. if(ds_main_traoe_01105_item.getColumnInfo("sex"))
  1908. {
  1909. ds_main_traoe_01105_item.updateColID("sex", "psex")
  1910. }
  1911. init_node_set(row);
  1912. var result_target = ds_main_patinfo_item;
  1913. var result_source = ds_main_traoe_01105_item;
  1914. result_node_set(result_target, result_source);
  1915. var result = "";
  1916. result = "\n"+"[ 검사번호 ]" + "\n";
  1917. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "tno")) + "\n" +"\n"+ "[ 주소 ]"+ "\n";
  1918. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "addr")) + "\n" +"\n"+ "[ 전화번호 ]"+ "\n";
  1919. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "phone")) + "\n" +"\n"+ "[ 검사일 ]" + "\n";
  1920. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "mdate")) + "\n" +"\n"+ "[ 술전 진단명 ]"+ "\n";
  1921. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "symp")) + "\n" +"\n"+ "[ 주증상 ]" + "\n";
  1922. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "disease")) + "\n" +"\n"+ "[ Visualizatioin ]" + "\n";
  1923. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "inser")) + "\n" +"\n"+ "[ Model of endoscope ]" + "\n";
  1924. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "endo")) + "\n" +"\n"+ "[ Endoscopic Findings ]" + "\n" + "[ Duodenal wall ] " + "\n";
  1925. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "sdp")) + "\n" +"\n"+ "[ Papilla major ]" + "\n";
  1926. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "soao")) + "\n" +"\n"+ "[ Papilla minor ]" + "\n";
  1927. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "aov")) + "\n" +"\n"+ "[ ERCP Findings ]" + "\n" + "[ Cholangiogram ]" + "\n";
  1928. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "duo")) + "\n" +"\n"+ "[ GB ]" + "\n";
  1929. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "mbd")) + "\n" +"\n"+ "[ Pancreatogram ]" + "\n";
  1930. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "cyd")) + "\n" +"\n"+ "[ Others ]" + "\n";
  1931. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "bif")) + "\n" +"\n"+ "[ Sedation ]" + "\n";
  1932. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "sedation")) + "\n" +"\n"+ "[ Impression ]" + "\n";
  1933. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "imp")) + "\n" +"\n"+ "[ Procedure ]" + "\n";
  1934. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "pro")) + "\n" +"\n"+ "[ Recommendation ]" + "\n";
  1935. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "recom")) + "\n" +"\n"+ "[ 시술자 : Dr. ]" + "\n";
  1936. result = result + utlf_transNullToEmpty(ds_main_traoe_01105_item.getColumn(0, "urname")) + "\n";
  1937. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1938. btn_sw1.class = "btn_tab_S";
  1939. btn_sw2.class = "btn_tab";
  1940. btn_sw3.class = "btn_tab";
  1941. switch1.tabindex = 0;
  1942. }
  1943. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="ECP")
  1944. {
  1945. send_node_set(row);
  1946. var oParam = {};
  1947. oParam.id = "TRAOE01111";
  1948. oParam.service = "oldexamresultapp.OldExamResult";
  1949. oParam.method = "reqGetOldExamResultList_Common";
  1950. oParam.inds = "req=ds_send";
  1951. oParam.outds = "ds_main_traoe_01111_item=item";
  1952. oParam.async = false;
  1953. //oParam.callback = "cf_TRAOE01111";
  1954. tranf_submit(oParam);
  1955. if(ds_main_traoe_01111_item.getColumnInfo("dept"))
  1956. {
  1957. ds_main_traoe_01111_item.updateColID("dept", "obdeptname")
  1958. }
  1959. if(ds_main_traoe_01111_item.getColumnInfo("ward"))
  1960. {
  1961. ds_main_traoe_01111_item.updateColID("ward", "wardname")
  1962. }
  1963. if(ds_main_traoe_01111_item.getColumnInfo("sex"))
  1964. {
  1965. ds_main_traoe_01111_item.updateColID("sex", "psex")
  1966. }
  1967. init_node_set(row);
  1968. var result_target = ds_main_patinfo_item;
  1969. var result_source = ds_main_traoe_01111_item;
  1970. result_node_set(result_target, result_source);
  1971. var result = "";
  1972. result = "\n"+"[ Date ]" + "\n";
  1973. result = result + utlf_transNullToEmpty(ds_main_traoe_01111_item.getColumn(0, "totaldate")) + "\n" +"\n"+ "[ No ]"+ "\n";
  1974. result = result + utlf_transNullToEmpty(ds_main_traoe_01111_item.getColumn(0, "total_ige_no")) + "\n" +"\n"+ " ECP ";
  1975. result = result + utlf_transNullToEmpty(ds_main_traoe_01111_item.getColumn(0, "result1")) + " Ug/l" + "\n";
  1976. ds_main_patinfo_item.setColumn(0, "result_text", result);
  1977. btn_sw1.class = "btn_tab_S";
  1978. btn_sw2.class = "btn_tab";
  1979. btn_sw3.class = "btn_tab";
  1980. switch1.tabindex = 0;
  1981. }
  1982. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="TOTAL_IGE")
  1983. {
  1984. send_node_set(row);
  1985. var oParam = {};
  1986. oParam.id = "TRAOE01112";
  1987. oParam.service = "oldexamresultapp.OldExamResult";
  1988. oParam.method = "reqGetOldExamResultList_Common";
  1989. oParam.inds = "req=ds_send";
  1990. oParam.outds = "ds_main_traoe_01112_item=item";
  1991. oParam.async = false;
  1992. //oParam.callback = "cf_TRAOE01112";
  1993. tranf_submit(oParam);
  1994. if(ds_main_traoe_01112_item.getColumnInfo("dept"))
  1995. {
  1996. ds_main_traoe_01112_item.updateColID("dept", "obdeptname")
  1997. }
  1998. if(ds_main_traoe_01112_item.getColumnInfo("ward"))
  1999. {
  2000. ds_main_traoe_01112_item.updateColID("ward", "wardname")
  2001. }
  2002. if(ds_main_traoe_01112_item.getColumnInfo("sex"))
  2003. {
  2004. ds_main_traoe_01112_item.updateColID("sex", "psex")
  2005. }
  2006. init_node_set(row);
  2007. var result_target = ds_main_patinfo_item;
  2008. var result_source = ds_main_traoe_01112_item;
  2009. result_node_set(result_target, result_source);
  2010. var result = "";
  2011. result = "\n"+"[ Date ]" + "\n";
  2012. result = result + utlf_transNullToEmpty(ds_main_traoe_01112_item.getColumn(0, "totaldate")) + "\n" +"\n"+ "[ No ]"+ "\n";
  2013. result = result + utlf_transNullToEmpty(ds_main_traoe_01112_item.getColumn(0, "total_ige_no")) + "\n" +"\n"+ " Total Ige(EA) ";
  2014. result = result + utlf_transNullToEmpty(ds_main_traoe_01112_item.getColumn(0, "result1")) + " Ku/l" + "\n";
  2015. ds_main_patinfo_item.setColumn(0, "result_text", result);
  2016. btn_sw1.class = "btn_tab_S";
  2017. btn_sw2.class = "btn_tab";
  2018. btn_sw3.class = "btn_tab";
  2019. switch1.tabindex = 0;
  2020. }
  2021. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="MAST3RESULT")
  2022. {
  2023. datagrid_init()
  2024. send_node_set(row);
  2025. var oParam = {};
  2026. oParam.id = "TRAOE01113";
  2027. oParam.service = "oldexamresultapp.OldExamResult";
  2028. oParam.method = "reqGetOldExamResultList_Common";
  2029. oParam.inds = "req=ds_send";
  2030. oParam.outds = "ds_main_traoe_01113_item=item";
  2031. oParam.async = false;
  2032. oParam.callback = "cf_TRAOE01113";
  2033. tranf_submit(oParam);
  2034. if(ds_main_traoe_01113_item.getColumnInfo("dept"))
  2035. {
  2036. ds_main_traoe_01113_item.updateColID("dept", "obdeptname")
  2037. }
  2038. if(ds_main_traoe_01113_item.getColumnInfo("ward"))
  2039. {
  2040. ds_main_traoe_01113_item.updateColID("ward", "wardname")
  2041. }
  2042. if(ds_main_traoe_01113_item.getColumnInfo("sex"))
  2043. {
  2044. ds_main_traoe_01113_item.updateColID("sex", "psex")
  2045. }
  2046. init_node_set(row);
  2047. var result_target = ds_main_patinfo_item;
  2048. var result_source = ds_main_traoe_01113_item;
  2049. result_node_set(result_target, result_source);
  2050. var oParam = {};
  2051. oParam.id = "TRAOE01114";
  2052. oParam.service = "oldexamresultapp.OldExamResult";
  2053. oParam.method = "reqGetOldExamResultList_Common_Datagrid";
  2054. oParam.inds = "req=ds_send";
  2055. oParam.outds = "ds_main_datagrid_item=item";
  2056. oParam.async = false;
  2057. //oParam.callback = "cf_TRAOE01114";
  2058. tranf_submit(oParam);
  2059. btn_sw1.class = "btn_tab";
  2060. btn_sw2.class = "btn_tab_S";
  2061. btn_sw3.class = "btn_tab";
  2062. switch1.tabindex = 1;
  2063. var caption = "일련번호^Control^ALLERGENITEM^ALLERGENITEM^IU/ML^CLASS";
  2064. caption = caption.split("^");
  2065. var colSize = "108^113^124^126^111^119";
  2066. colSize = colSize.split("^");
  2067. var colId = "test_seqno^control^controlenm^controlknm^refinfo^class";
  2068. colId = colId.split("^");
  2069. for(var i = 0; i < caption.lenth; i++)
  2070. {
  2071. switch1.case2.datagrid1.appendContentsCol();
  2072. switch1.case2.datagrid1.setCellProperty("Head", i, "text", caption[i]);
  2073. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2074. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2075. switch1.case2.datagrid1.setCellProperty("Body", i, "text", "bind:"+colId[i]);
  2076. }
  2077. switch1.case2.datagrid1.binddataset = "ds_main_datagrid_item";
  2078. // for(var i=14; i>5; i--)
  2079. // {
  2080. // datagrid1.colHidden(i)=true;
  2081. // }
  2082. switch1.case2.datagrid1.visible = true;
  2083. }
  2084. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="MAST3RESULT")
  2085. {
  2086. datagrid_init();
  2087. send_node_set(row);
  2088. var oParam = {};
  2089. oParam.id = "TRAOE01115";
  2090. oParam.service = "oldexamresultapp.OldExamResult";
  2091. oParam.method = "reqGetOldExamResultList_Common";
  2092. oParam.inds = "req=ds_send";
  2093. oParam.outds = "ds_main_traoe_01115_item=item";
  2094. oParam.async = false;
  2095. //oParam.callback = "cf_TRAOE01115";
  2096. tranf_submit(oParam);
  2097. if(ds_main_traoe_01115_item.getColumnInfo("dept"))
  2098. {
  2099. ds_main_traoe_01115_item.updateColID("dept", "obdeptname")
  2100. }
  2101. if(ds_main_traoe_01115_item.getColumnInfo("ward"))
  2102. {
  2103. ds_main_traoe_01115_item.updateColID("ward", "wardname")
  2104. }
  2105. if(ds_main_traoe_01115_item.getColumnInfo("sex"))
  2106. {
  2107. ds_main_traoe_01115_item.updateColID("sex", "psex")
  2108. }
  2109. init_node_set(row);
  2110. var result_target = ds_main_patinfo_item;
  2111. var result_source = ds_main_traoe_01115_item;
  2112. result_node_set(result_target, result_source);
  2113. var oParam = {};
  2114. oParam.id = "TRAOE01116";
  2115. oParam.service = "oldexamresultapp.OldExamResult";
  2116. oParam.method = "reqGetOldExamResultList_Common_Datagrid";
  2117. oParam.inds = "req=ds_send";
  2118. oParam.outds = "ds_main_datagrid_item=item";
  2119. oParam.async = false;
  2120. oParam.callback = "cf_TRAOE01116";
  2121. tranf_submit(oParam);
  2122. btn_sw1.class = "btn_tab";
  2123. btn_sw2.class = "btn_tab_S";
  2124. btn_sw3.class = "btn_tab";
  2125. switch1.tabindex = 1;
  2126. var caption = "Allergen^Allergen^Class^Allergen^Allergen^Class";
  2127. caption = caption.split("^");
  2128. var colSize = "115^113^124^135^112^119";
  2129. colSize = colSize.split("^");
  2130. var colId = "enm1^hnm1^value1^enm2^hnm2^value2";
  2131. colId = colId.split("^");
  2132. for(var i = 0; i < caption.lenth; i++)
  2133. {
  2134. switch1.case2.datagrid1.appendContentsCol();
  2135. switch1.case2.datagrid1.setCellProperty("Head", i, "text", caption[i]);
  2136. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2137. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2138. switch1.case2.datagrid1.setCellProperty("Body", i, "text", "bind:"+colId[i]);
  2139. }
  2140. switch1.case2.datagrid1.binddataset = "ds_main_datagrid_item";
  2141. //model.setValue("/root/main/datagrid/item[" + 18 + "]/col6", "");
  2142. // for(var i=14; i>5; i--){
  2143. // datagrid1.colHidden(i)=true;
  2144. // }
  2145. switch1.case2.datagrid1.visible = true;
  2146. }
  2147. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="MAST2RESULT")
  2148. {
  2149. datagrid_init();
  2150. send_node_set(row);
  2151. var oParam = {};
  2152. oParam.id = "TRAOE01117";
  2153. oParam.service = "oldexamresultapp.OldExamResult";
  2154. oParam.method = "reqGetOldExamResultList_Common";
  2155. oParam.inds = "req=ds_send";
  2156. oParam.outds = "ds_main_traoe_01117_item=item";
  2157. oParam.async = false;
  2158. //oParam.callback = "cf_TRAOE01117";
  2159. tranf_submit(oParam);
  2160. if(ds_main_traoe_01117_item.getColumnInfo("dept"))
  2161. {
  2162. ds_main_traoe_01117_item.updateColID("dept", "obdeptname")
  2163. }
  2164. if(ds_main_traoe_01117_item.getColumnInfo("ward"))
  2165. {
  2166. ds_main_traoe_01117_item.updateColID("ward", "wardname")
  2167. }
  2168. if(ds_main_traoe_01117_item.getColumnInfo("sex"))
  2169. {
  2170. ds_main_traoe_01117_item.updateColID("sex", "psex")
  2171. }
  2172. init_node_set(row);
  2173. var result_target = ds_main_patinfo_item
  2174. var result_source = ds_main_traoe_01117_item;
  2175. result_node_set(result_target, result_source);
  2176. var oParam = {};
  2177. oParam.id = "TRAOE01118";
  2178. oParam.service = "oldexamresultapp.OldExamResult";
  2179. oParam.method = "reqGetOldExamResultList_Common_Datagrid";
  2180. oParam.inds = "req=ds_send";
  2181. oParam.outds = "ds_main_datagrid_item=item";
  2182. oParam.async = false;
  2183. //oParam.callback = "cf_TRAOE01118";
  2184. tranf_submit(oParam);
  2185. btn_sw1.class = "btn_tab";
  2186. btn_sw2.class = "btn_tab_S";
  2187. btn_sw3.class = "btn_tab";
  2188. switch1.tabindex = 1;
  2189. var caption = "Allergen^Allergen^Class^Allergen^Allergen^Class";
  2190. caption = caption.split("^");
  2191. var colSize = "115^113^124^135^112^119";
  2192. colSize = colSize.split("^");
  2193. var colId = "enm1^hnm1^value1^enm2^hnm2^value2";
  2194. colId = colId.split("^");
  2195. for(var i = 0; i < caption.lenth; i++)
  2196. {
  2197. switch1.case2.datagrid1.appendContentsCol();
  2198. switch1.case2.datagrid1.setCellProperty("Head", i, "text", caption[i]);
  2199. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2200. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2201. switch1.case2.datagrid1.setCellProperty("Body", i, "text", "bind:"+colId[i]);
  2202. }
  2203. switch1.case2.datagrid1.binddataset = "ds_main_datagrid_item";
  2204. //model.setValue("/root/main/datagrid/item[" + 18 + "]/col6", "");
  2205. // for(var i=14; i>5; i--){
  2206. // datagrid1.colHidden(i)=true;
  2207. // }
  2208. switch1.case2.datagrid1.visible = true;
  2209. }
  2210. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="RASTINHALANT")
  2211. {
  2212. datagrid_init();
  2213. send_node_set(row);
  2214. var oParam = {};
  2215. oParam.id = "TRAOE01121";
  2216. oParam.service = "oldexamresultapp.OldExamResult";
  2217. oParam.method = "reqGetOldExamResultList_Common";
  2218. oParam.inds = "req=ds_send";
  2219. oParam.outds = "ds_main_traoe_01121_item=item";
  2220. oParam.async = false;
  2221. //oParam.callback = "cf_TRAOE01121";
  2222. tranf_submit(oParam);
  2223. if(ds_main_traoe_01121_item.getColumnInfo("dept"))
  2224. {
  2225. ds_main_traoe_01121_item.updateColID("dept", "obdeptname")
  2226. }
  2227. if(ds_main_traoe_01121_item.getColumnInfo("ward"))
  2228. {
  2229. ds_main_traoe_01121_item.updateColID("ward", "wardname")
  2230. }
  2231. if(ds_main_traoe_01121_item.getColumnInfo("sex"))
  2232. {
  2233. ds_main_traoe_01121_item.updateColID("sex", "psex")
  2234. }
  2235. init_node_set(row);
  2236. var result_target = ds_main_patinfo_item;
  2237. var result_source = ds_main_traoe_01121_item;
  2238. result_node_set(result_target, result_source);
  2239. var oParam = {};
  2240. oParam.id = "TRAOE01122";
  2241. oParam.service = "oldexamresultapp.OldExamResult";
  2242. oParam.method = "reqGetOldExamResultList_Common_Datagrid";
  2243. oParam.inds = "req=ds_send";
  2244. oParam.outds = "ds_main_datagrid_item=item";
  2245. oParam.async = false;
  2246. //oParam.callback = "cf_TRAOE01122";
  2247. tranf_submit(oParam);
  2248. btn_sw1.class = "btn_tab";
  2249. btn_sw2.class = "btn_tab_S";
  2250. btn_sw3.class = "btn_tab";
  2251. switch1.tabindex = 1;
  2252. var caption = "Allergen^Allergen^Class^KU/l^기준치";
  2253. caption = caption.split("^");
  2254. var colSize = "98^130^124^135^81^150";
  2255. colSize = colSize.split("^");
  2256. var colId = "col1^col2^col3^col4^col5^col6";
  2257. colId = colId.split("^");
  2258. for(var i = 0; i < caption.lenth; i++)
  2259. {
  2260. switch1.case2.datagrid1.appendContentsCol();
  2261. switch1.case2.datagrid1.setCellProperty("Head", i, "text", caption[i]);
  2262. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2263. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2264. switch1.case2.datagrid1.setCellProperty("Body", i, "text", "bind:"+colId[i]);
  2265. }
  2266. switch1.case2.datagrid1.binddataset = "ds_main_datagrid_item";
  2267. switch1.case2.datagrid1.visible=true;
  2268. }
  2269. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="RASTFOOD")
  2270. {
  2271. datagrid_init();
  2272. send_node_set(row);
  2273. var oParam = {};
  2274. oParam.id = "TRAOE01123";
  2275. oParam.service = "oldexamresultapp.OldExamResult";
  2276. oParam.method = "reqGetOldExamResultList_Common";
  2277. oParam.inds = "req=ds_send";
  2278. oParam.outds = "ds_main_traoe_01123_item=item";
  2279. oParam.async = false;
  2280. //oParam.callback = "cf_TRAOE01123";
  2281. tranf_submit(oParam);
  2282. if(ds_main_traoe_01123_item.getColumnInfo("dept"))
  2283. {
  2284. ds_main_traoe_01123_item.updateColID("dept", "obdeptname")
  2285. }
  2286. if(ds_main_traoe_01123_item.getColumnInfo("ward"))
  2287. {
  2288. ds_main_traoe_01123_item.updateColID("ward", "wardname")
  2289. }
  2290. if(ds_main_traoe_01123_item.getColumnInfo("sex"))
  2291. {
  2292. ds_main_traoe_01123_item.updateColID("sex", "psex")
  2293. }
  2294. init_node_set(row);
  2295. var result_target = ds_main_patinfo_item;
  2296. var result_source = ds_main_traoe_01123_item;
  2297. result_node_set(result_target, result_source);
  2298. var oParam = {};
  2299. oParam.id = "TRAOE01124";
  2300. oParam.service = "oldexamresultapp.OldExamResult";
  2301. oParam.method = "reqGetOldExamResultList_Common_Datagrid";
  2302. oParam.inds = "req=ds_send";
  2303. oParam.outds = "ds_main_datagrid_item=item";
  2304. oParam.async = false;
  2305. //oParam.callback = "cf_TRAOE01124";
  2306. tranf_submit(oParam);
  2307. btn_sw1.class = "btn_tab";
  2308. btn_sw2.class = "btn_tab_S";
  2309. btn_sw3.class = "btn_tab";
  2310. switch1.tabindex = 1;
  2311. var caption = "Allergen^Allergen^Class^KU/l^기준치";
  2312. caption = caption.split("^");
  2313. var colSize = "98^130^124^135^81^150";
  2314. colSize = colSize.split("^");
  2315. var colId = "col1^col2^col3^col4^col5^col6";
  2316. colId = colId.split("^");
  2317. for(var i = 0; i < caption.lenth; i++)
  2318. {
  2319. switch1.case2.datagrid1.appendContentsCol();
  2320. switch1.case2.datagrid1.setCellProperty("Head", i, "text", caption[i]);
  2321. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2322. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2323. switch1.case2.datagrid1.setCellProperty("Body", i, "text", "bind:"+colId[i]);
  2324. }
  2325. switch1.case2.datagrid1.binddataset = "ds_main_datagrid_item";
  2326. switch1.case2.datagrid1.visible=true;
  2327. // for(var i=14; i>5; i--){
  2328. // datagrid1.colHidden(i)=true;
  2329. // }
  2330. }
  2331. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="PFLRTINFO")
  2332. {
  2333. switch1.case3.iviewer1.url = "";
  2334. send_node_set(row);
  2335. var oParam = {};
  2336. oParam.id = "TRAOE01131";
  2337. oParam.service = "oldexamresultapp.OldExamResult";
  2338. oParam.method = "reqGetOldExamResultList_Common";
  2339. oParam.inds = "req=ds_send";
  2340. oParam.outds = "ds_main_traoe_01131_item=item";
  2341. oParam.async = false;
  2342. //oParam.callback = "cf_TRAOE01131";
  2343. tranf_submit(oParam);
  2344. if(ds_main_traoe_01131_item.getColumnInfo("patient_id"))
  2345. {
  2346. ds_main_traoe_01131_item.updateColID("patient_id", "pid")
  2347. }
  2348. if(ds_main_traoe_01131_item.getColumnInfo("patient_name"))
  2349. {
  2350. ds_main_traoe_01131_item.updateColID("patient_name", "pname")
  2351. }
  2352. if(ds_main_traoe_01131_item.getColumnInfo("physician"))
  2353. {
  2354. ds_main_traoe_01131_item.updateColID("physician", "obdrname")
  2355. }
  2356. init_node_set(row);
  2357. var result_target = ds_main_patinfo_item;
  2358. var result_source = ds_main_traoe_01131_item;
  2359. result_node_set(result_target, result_source);
  2360. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01131_호흡기능검사.xfdl";
  2361. //switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2362. btn_sw1.class = "btn_tab";
  2363. btn_sw2.class = "btn_tab";
  2364. btn_sw3.class = "btn_tab_S";
  2365. switch1.tabindex = 2;
  2366. }
  2367. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="BRONRESULT")
  2368. {
  2369. switch1.case3.iviewer1.url = "";
  2370. send_node_set(row);
  2371. var oParam = {};
  2372. oParam.id = "TRAOE01141";
  2373. oParam.service = "oldexamresultapp.OldExamResult";
  2374. oParam.method = "reqGetOldExamResultList_Common";
  2375. oParam.inds = "req=ds_send";
  2376. oParam.outds = "ds_main_traoe_01141_item=item ds_main_traoe_01141_item2=item2";
  2377. oParam.async = false;
  2378. //oParam.callback = "cf_TRAOE01141";
  2379. tranf_submit(oParam);
  2380. if(ds_main_traoe_01141_item.getColumnInfo("sex"))
  2381. {
  2382. ds_main_traoe_01141_item.updateColID("sex", "psex")
  2383. }
  2384. init_node_set(row);
  2385. var result_target = ds_main_patinfo_item
  2386. var result_source = ds_main_traoe_01141_item
  2387. result_node_set(result_target, result_source);
  2388. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01141_BRONCOSCOPY_RECORD.xfdl";
  2389. //switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2390. btn_sw1.class = "btn_tab";
  2391. btn_sw2.class = "btn_tab";
  2392. btn_sw3.class = "btn_tab_S";
  2393. switch1.tabindex = 2;
  2394. }
  2395. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="PACKMT")
  2396. {
  2397. send_node_set(row);
  2398. var oParam = {};
  2399. oParam.id = "TRAOE01151";
  2400. oParam.service = "oldexamresultapp.OldExamResult";
  2401. oParam.method = "reqGetOldExamResultList_Common";
  2402. oParam.inds = "req=ds_send";
  2403. oParam.outds = "ds_main_traoe_01151_item=item";
  2404. oParam.async = false;
  2405. //oParam.callback = "cf_TRAOE01151";
  2406. tranf_submit(oParam);
  2407. if(ds_main_traoe_01151_item.getColumnInfo("deptname"))
  2408. {
  2409. ds_main_traoe_01151_item.updateColID("deptname", "obdeptname")
  2410. }
  2411. init_node_set(row);
  2412. var result_target = ds_main_datagrid_item
  2413. var result_source = ds_main_traoe_01151_item;
  2414. result_node_set(result_target, result_source);
  2415. var result = "";
  2416. result = "\n"+"[ 주민번호 ]" + "\n";
  2417. result = result + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "pnrn")) + "\n" +"\n"+ "[ 전화번호 ]"+ "\n";
  2418. result = result + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "phphone")) + "\n" +"\n"+ "[ 핸드폰 ]"+ "\n";
  2419. result = result + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "handphone")) + "\n" +"\n"+ "[ 검사 No ]"+ "\n";
  2420. result = result + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "uopno")) + "\n" +"\n"+ "[ 신 장 ]"+ "\n";
  2421. result = result + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "height")) + "cm"+ "\n" +"\n"+ "[ 체중 ]"+ "\n";
  2422. result = result + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "kg")) + "kg" + "\n" +"\n"+ "[ Ethnic ]"+ "\n";
  2423. result = result + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "jongjuk")) + "\n" +"\n"+ "[ L-SPINE BME ]"+ "\n";
  2424. result = result + " 제일 낮은부위: "+ utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "simsa1")) + " 수치:" + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "simsa2"))+"입니다." ;
  2425. if(ds_main_traoe_01151_item.getColumn(0, "simsa2") <= -3)
  2426. {
  2427. result = result + " (Y) -3.0이하";
  2428. }
  2429. else
  2430. {
  2431. result = result + " ( ) -3.0이하";
  2432. }
  2433. result = result + "\n" +"\n"+ "[ Prox.Femur BMD ]"+ "\n";
  2434. result = result + " 제일 낮은부위: "+ utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "femursimsa1")) + " 수치:" + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "femursimsa2"))
  2435. +"입니다." ;
  2436. if(ds_main_traoe_01151_item.getColumn(0, "femursimsa2") <= -3)
  2437. {
  2438. result = result + " (Y) -3.0이하";
  2439. }
  2440. else
  2441. {
  2442. result = result + " ( ) -3.0이하";
  2443. }
  2444. result = result + "\n" +"\n"+ "[ FOREARM BMD ]"+ "\n";
  2445. result = result + " 제일 낮은부위: "+ utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "foresimsa1")) + " 수치:" + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "foresimsa2"))+"입니다." ;
  2446. if(ds_main_traoe_01151_item.getColumn(0, "foresimsa2") <= -3)
  2447. {
  2448. result = result + " (Y) -3.0이하";
  2449. }
  2450. else
  2451. {
  2452. result = result + " ( ) -3.0이하";
  2453. }
  2454. if(ds_main_traoe_01151_item.getColumn(0, "forelcheck") =='Y')
  2455. {
  2456. result = result + "\n" +"\n"+ "50세 이상의 남성으로 T-score가 -3.0경우"+ " (Y)" + "\n"+ "\n";
  2457. }
  2458. else
  2459. {
  2460. result = result + "\n" +"\n"+ "50세 이상의 남성으로 T-score가 -3.0경우"+ " ( )" + "\n" + "\n";
  2461. }
  2462. if(ds_main_traoe_01151_item.getColumn(0, "extracheck") =='Y')
  2463. {
  2464. result = result + "골밀도검사에서 상기 4개의 항목에 해당되지 않으니" + "\n";
  2465. result = result + "단순 X-ray상 골다공증성 골절이 확실이 있는 경우" + "\n";
  2466. result = result + "(단순방사선 사진이나, 그 외의 영상사진에서 확인되는 경우)" + " (Y)" + "\n" + "\n";
  2467. }
  2468. else
  2469. {
  2470. result = result + "골밀도검사에서 상기 4개의 항목에 해당되지 않으니" + "\n";
  2471. result = result + "단순 X-ray상 골다공증성 골절이 확실이 있는 경우" + "\n";
  2472. result = result + "(단순방사선 사진이나, 그 외의 영상사진에서 확인되는 경우)" + " ( )" + "\n" + "\n";
  2473. }
  2474. if(ds_main_traoe_01151_item.getColumn(0, "lcheck") =='Y')
  2475. {
  2476. result = result + "골다공증 전문치료약제 보험인정가능. (단, 2개이상 약제의 병합치료는 1가지만 보험인정됨)" + "\n";
  2477. result = result + "보험인정가능(Y)" + "\n" + "\n";
  2478. }
  2479. else
  2480. {
  2481. result = result + "골다공증 전문치료약제 보험인정가능. (단, 2개이상 약제의 병합치료는 1가지만 보험인정됨)" + "\n";
  2482. result = result + "보험인정가능( )" + "\n" + "\n";
  2483. }
  2484. result = result + "[ Comment ]" + "\n" + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "lcomment")) + "\n" +"\n"+ "[ 판독의 ]"+ "\n";
  2485. result = result + utlf_transNullToEmpty(ds_main_traoe_01151_item.getColumn(0, "pandrname"))+ "\n";
  2486. ds_main_patinfo_item.setColumn(0, "result_text", result);
  2487. btn_sw1.class = "btn_tab_S";
  2488. btn_sw2.class = "btn_tab";
  2489. btn_sw3.class = "btn_tab";
  2490. switch1.tabindex = 0;
  2491. }
  2492. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="NURECPROGRESS")
  2493. {
  2494. datagrid_init();
  2495. send_node_set(row);
  2496. var oParam = {};
  2497. oParam.id = "TRAOE01161";
  2498. oParam.service = "oldexamresultapp.OldExamResult";
  2499. oParam.method = "reqGetOldExamResultList_Common";
  2500. oParam.inds = "req=ds_send";
  2501. oParam.outds = "ds_main_traoe_01161_item=item";
  2502. oParam.async = false;
  2503. //oParam.callback = "cf_TRAOE01161";
  2504. tranf_submit(oParam);
  2505. if(ds_main_traoe_01161_item.getColumnInfo("deptnm"))
  2506. {
  2507. ds_main_traoe_01161_item.updateColID("deptnm", "obdeptname")
  2508. }
  2509. if(ds_main_traoe_01161_item.getColumnInfo("wardnm"))
  2510. {
  2511. ds_main_traoe_01161_item.updateColID("wardnm", "wardname")
  2512. }
  2513. if(ds_main_traoe_01161_item.getColumnInfo("drname"))
  2514. {
  2515. ds_main_traoe_01161_item.updateColID("drname", "obdrname")
  2516. }
  2517. init_node_set(row);
  2518. var result_target = ds_main_patinfo_item;
  2519. var result_source = ds_main_traoe_01161_item;
  2520. result_node_set(result_target, result_source);
  2521. var oParam = {};
  2522. oParam.id = "TRAOE01162";
  2523. oParam.service = "oldexamresultapp.OldExamResult";
  2524. oParam.method = "reqGetOldExamResultList_Common_Datagrid";
  2525. oParam.inds = "req=ds_send";
  2526. oParam.outds = "ds_main_datagrid_item=item";
  2527. oParam.async = false;
  2528. //oParam.callback = "cf_TRAOE01162";
  2529. tranf_submit(oParam);
  2530. btn_sw1.class = "btn_tab";
  2531. btn_sw2.class = "btn_tab_S";
  2532. btn_sw3.class = "btn_tab";
  2533. switch1.tabindex = 1;
  2534. var caption = "검사내역^결과치^참고치^단위^판정일";
  2535. caption = caption.split("^");
  2536. var colSize = "220^100^120^100^150";
  2537. colSize = colSize.split("^");
  2538. var colId = "uopdesc^result2^rstval1^rstval2^danwi^pantime";
  2539. colId = colId.split("^");
  2540. for(var i = 0; i < caption.length; i++)
  2541. {
  2542. switch1.case2.datagrid1.appendContentsCol();
  2543. switch1.case2.datagrid1.setCellProperty("Head", i, "text", caption[i]);
  2544. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2545. switch1.case2.datagrid1.setFormatColProperty(i, "size", colSize[i]);
  2546. switch1.case2.datagrid1.setCellProperty("Body", i, "text", "bind:"+colId[i]);
  2547. }
  2548. switch1.case2.datagrid1.binddataset = "ds_main_datagrid_item";
  2549. ds_main_datagrid_item.updatecontrol = false;
  2550. for(var i = 0; i < ds_main_datagrid_item.rowcount; i++)
  2551. {
  2552. ds_main_datagrid_item.setColumn(i, "rstval1", ds_main_datagrid_item.getColumn(i, "rstval1")+ " ~ " +ds_main_datagrid_item.getColumn(i, "rstval2"));
  2553. ds_main_datagrid_item.setColumn(i, "rstval2", ds_main_datagrid_item.getColumn(i, "danwi"));
  2554. ds_main_datagrid_item.setColumn(i, "danwi", ds_main_datagrid_item.getColumn(i, "pantime"));
  2555. }
  2556. ds_main_datagrid_item.updatecontrol = true;
  2557. // for(var i=14; i>4; i--){
  2558. // datagrid1.colHidden(i)=true;
  2559. // }
  2560. switch1.case2.datagrid1.visible=true;
  2561. }
  2562. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="ECHOREPORT")
  2563. {
  2564. switch1.case3.iviewer1.url = "";
  2565. send_node_set(row);
  2566. var oParam = {};
  2567. oParam.id = "TRAOE01181";
  2568. oParam.service = "oldexamresultapp.OldExamResult";
  2569. oParam.method = "reqGetOldExamResultList_Common";
  2570. oParam.inds = "req=ds_send";
  2571. oParam.outds = "ds_main_traoe_01181_item=item";
  2572. oParam.async = false;
  2573. //oParam.callback = "cf_TRAOE01181";
  2574. tranf_submit(oParam);
  2575. if(ds_main_traoe_01181_item.getColumnInfo("ename"))
  2576. {
  2577. ds_main_traoe_01181_item.updateColID("ename", "pname")
  2578. }
  2579. if(ds_main_traoe_01181_item.getColumnInfo("sex"))
  2580. {
  2581. ds_main_traoe_01181_item.updateColID("sex", "psex")
  2582. }
  2583. if(ds_main_traoe_01181_item.getColumnInfo("dept"))
  2584. {
  2585. ds_main_traoe_01181_item.updateColID("dept", "obdeptname")
  2586. }
  2587. if(ds_main_traoe_01181_item.getColumnInfo("ward"))
  2588. {
  2589. ds_main_traoe_01181_item.updateColID("ward", "wardname")
  2590. }
  2591. init_node_set(row);
  2592. var result_target = ds_main_patinfo_item;
  2593. var result_source = ds_main_traoe_01181_item;
  2594. result_node_set(result_target, result_source);
  2595. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01181_심장검사실.xfdl";
  2596. //switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2597. btn_sw1.class = "btn_tab";
  2598. btn_sw2.class = "btn_tab";
  2599. btn_sw3.class = "btn_tab_S";
  2600. switch1.tabindex = 2;
  2601. }
  2602. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="DSHMASTER2")
  2603. {
  2604. send_node_set(row);
  2605. var oParam = {};
  2606. oParam.id = "TRAOE01191";
  2607. oParam.service = "oldexamresultapp.OldExamResult";
  2608. oParam.method = "reqGetOldExamResultList_Common";
  2609. oParam.inds = "req=ds_send";
  2610. oParam.outds = "ds_main_traoe_01191_item=item";
  2611. oParam.async = false;
  2612. //oParam.callback = "cf_TRAOE01191";
  2613. tranf_submit(oParam);
  2614. init_node_set(row);
  2615. var result_target = ds_main_datagrid_item
  2616. var result_source = ds_main_traoe_01191_item;
  2617. result_node_set(result_target, result_source);
  2618. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01191_뇌혈류검사실(EDS).xfdl";
  2619. switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2620. btn_sw1.class = "btn_tab";
  2621. btn_sw2.class = "btn_tab";
  2622. btn_sw3.class = "btn_tab_S";
  2623. switch1.tabindex = 2;
  2624. }
  2625. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="ECGTEST")
  2626. {
  2627. send_node_set(row);
  2628. var oParam = {};
  2629. oParam.id = "TRAOE01201";
  2630. oParam.service = "oldexamresultapp.OldExamResult";
  2631. oParam.method = "reqGetOldExamResultList_Common";
  2632. oParam.inds = "req=ds_send";
  2633. oParam.outds = "ds_main_traoe_01201_item=item";
  2634. oParam.async = false;
  2635. //oParam.callback = "cf_TRAOE01201";
  2636. tranf_submit(oParam);
  2637. if(ds_main_traoe_01201_item.getColumnInfo("name"))
  2638. {
  2639. ds_main_traoe_01201_item.updateColID("name", "pname")
  2640. }
  2641. if(ds_main_traoe_01201_item.getColumnInfo("sex"))
  2642. {
  2643. ds_main_traoe_01201_item.updateColID("sex", "psex")
  2644. }
  2645. if(ds_main_traoe_01201_item.getColumnInfo("dept"))
  2646. {
  2647. ds_main_traoe_01201_item.updateColID("dept", "obdeptname")
  2648. }
  2649. if(ds_main_traoe_01201_item.getColumnInfo("ward"))
  2650. {
  2651. ds_main_traoe_01201_item.updateColID("ward", "wardname")
  2652. }
  2653. init_node_set(row);
  2654. var result_target = ds_main_patinfo_item;
  2655. var result_source = ds_main_traoe_01201_item;
  2656. result_node_set(result_target, result_source);
  2657. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01201_Execrcise_Ecg_Test.xfdl";
  2658. switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2659. btn_sw1.class = "btn_tab";
  2660. btn_sw2.class = "btn_tab";
  2661. btn_sw3.class = "btn_tab_S";
  2662. switch1.tabindex = 2;
  2663. }
  2664. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="EXTRAORAL")
  2665. {
  2666. send_node_set(row);
  2667. var oParam = {};
  2668. oParam.id = "TRAOE01211";
  2669. oParam.service = "oldexamresultapp.OldExamResult";
  2670. oParam.method = "reqGetOldExamResultList_Common";
  2671. oParam.inds = "req=ds_send";
  2672. oParam.outds = "ds_main_traoe_01211_item=item";
  2673. oParam.async = false;
  2674. //oParam.callback = "cf_TRAOE01211";
  2675. tranf_submit(oParam);
  2676. if(ds_main_traoe_01211_item.getColumnInfo("deptname"))
  2677. {
  2678. ds_main_traoe_01211_item.updateColID("deptname", "obdeptname")
  2679. }
  2680. if(ds_main_traoe_01211_item.getColumnInfo("pqdrid"))
  2681. {
  2682. ds_main_traoe_01211_item.updateColID("pqdrid", "obdrname")
  2683. }
  2684. init_node_set(row);
  2685. var result_target = ds_main_patinfo_item;
  2686. var result_source = ds_main_traoe_01211_item;
  2687. result_node_set(result_target, result_source);
  2688. var result = "";
  2689. result = "\n" + "[ 상태 ]" + "\n" + utlf_transNullToEmpty(ds_main_traoe_01211_item.getColumn(0, "pqtxstatus")) + "\n"+"\n";
  2690. result = result + "[ 수납 ]" + "\n" + utlf_transNullToEmpty(ds_main_traoe_01211_item.getColumn(0, "pqcashin")) + "\n";
  2691. result = result + "\n"+"[ EXTRAORAL RADIOGRAPHIC FINDINGS ]" + "\n";
  2692. result = result + utlf_transNullToEmpty(ds_main_traoe_01211_item.getColumn(0, "dentresult")) + "\n" +"\n"+ "[ IMPRESSION ]"+ "\n";
  2693. if(!utlf_isNull(ds_main_traoe_01211_item.getColumn(0, "dentimp1")))
  2694. {
  2695. result = result + "1. " + utlf_transNullToEmpty(ds_main_traoe_01211_item.getColumn(0, "dentimp1")) + "\n";
  2696. }
  2697. if(!utlf_isNull(ds_main_traoe_01211_item.getColumn(0, "dentimp2")))
  2698. {
  2699. result = result + "2. " + utlf_transNullToEmpty(ds_main_traoe_01211_item.getColumn(0, "dentimp2")) + "\n";
  2700. }
  2701. if(!utlf_isNull(ds_main_traoe_01211_item.getColumn(0, "dentimp3")))
  2702. {
  2703. result = result + "3. " + utlf_transNullToEmpty(ds_main_traoe_01211_item.getColumn(0, "dentimp3")) + "\n";
  2704. }
  2705. result = result + "\n" + "[ RECOMMENDATION ]" + "\n";
  2706. if(!utlf_isNull(ds_main_traoe_01211_item.getColumn(0, "recommand1")))
  2707. {
  2708. result = result + "1. " + utlf_transNullToEmpty(ds_main_traoe_01211_item.getColumn(0, "recommand1")) + "\n";
  2709. }
  2710. if(!utlf_isNull(ds_main_traoe_01211_item.getColumn(0, "recommand2")))
  2711. {
  2712. result = result + "1. " + utlf_transNullToEmpty(ds_main_traoe_01211_item.getColumn(0, "recommand2")) + "\n";
  2713. }
  2714. if(!utlf_isNull(ds_main_traoe_01211_item.getColumn(0, "recommand3")))
  2715. {
  2716. result = result + "1. " + utlf_transNullToEmpty(ds_main_traoe_01211_item.getColumn(0, "recommand3")) + "\n";
  2717. }
  2718. ds_main_patinfo_item.setColumn(0, "result_text", result);
  2719. btn_sw1.class = "btn_tab_S";
  2720. btn_sw2.class = "btn_tab";
  2721. btn_sw3.class = "btn_tab";
  2722. switch1.tabindex = 0;
  2723. }
  2724. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="SOISUKRESULT")
  2725. {
  2726. send_node_set(row);
  2727. var oParam = {};
  2728. oParam.id = "TRAOE01221";
  2729. oParam.service = "oldexamresultapp.OldExamResult";
  2730. oParam.method = "reqGetOldExamResultList_Common";
  2731. oParam.inds = "req=ds_send";
  2732. oParam.outds = "ds_main_traoe_01221_item=item";
  2733. oParam.async = false;
  2734. //oParam.callback = "cf_TRAOE01221";
  2735. tranf_submit(oParam);
  2736. if(ds_main_traoe_01221_item.getColumnInfo("dept"))
  2737. {
  2738. ds_main_traoe_01221_item.updateColID("dept", "obdeptname")
  2739. }
  2740. if(ds_main_traoe_01221_item.getColumnInfo("sex"))
  2741. {
  2742. ds_main_traoe_01221_item.updateColID("sex", "psex")
  2743. }
  2744. if(ds_main_traoe_01221_item.getColumnInfo("drname"))
  2745. {
  2746. ds_main_traoe_01221_item.updateColID("drname", "obdrname")
  2747. }
  2748. init_node_set(row);
  2749. var result_target = ds_main_patinfo_item
  2750. var result_source = ds_main_traoe_01221_item
  2751. result_node_set(result_target, result_source);
  2752. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01221_쇄석실검사.xfdl";
  2753. switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2754. btn_sw1.class = "btn_tab";
  2755. btn_sw2.class = "btn_tab";
  2756. btn_sw3.class = "btn_tab_S";
  2757. switch1.tabindex = 2;
  2758. }
  2759. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="CORON_MASTER")
  2760. {
  2761. send_node_set(row);
  2762. var oParam = {};
  2763. oParam.id = "TRAOE01231";
  2764. oParam.service = "oldexamresultapp.OldExamResult";
  2765. oParam.method = "reqGetOldExamResultList_Common";
  2766. oParam.inds = "req=ds_send";
  2767. oParam.outds = "ds_main_traoe_01231_item=item";
  2768. oParam.async = false;
  2769. //oParam.callback = "cf_TRAOE01231";
  2770. tranf_submit(oParam);
  2771. if(ds_main_traoe_01231_item.getColumnInfo("sex"))
  2772. {
  2773. ds_main_traoe_01231_item.updateColID("sex", "psex")
  2774. }
  2775. init_node_set(row);
  2776. var result_target = ds_main_patinfo_item;
  2777. var result_source = ds_main_traoe_01231_item;
  2778. result_node_set(result_target, result_source);
  2779. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01231_순환기내과.xfdl";
  2780. switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2781. btn_sw1.class = "btn_tab";
  2782. btn_sw2.class = "btn_tab";
  2783. btn_sw3.class = "btn_tab_S";
  2784. switch1.tabindex = 2;
  2785. }
  2786. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="RTACTIVITY")
  2787. {
  2788. send_node_set(row);
  2789. var oParam = {};
  2790. oParam.id = "TRAOE01241";
  2791. oParam.service = "oldexamresultapp.OldExamResult";
  2792. oParam.method = "reqGetOldExamResultList_Common";
  2793. oParam.inds = "req=ds_send";
  2794. oParam.outds = "ds_main_traoe_01241_item=item";
  2795. oParam.async = false;
  2796. //oParam.callback = "cf_TRAOE01241";
  2797. tranf_submit(oParam);
  2798. init_node_set(row);
  2799. var result_target = ds_main_patinfo_item;
  2800. var result_source = ds_main_traoe_01241_item;
  2801. result_node_set(result_target, result_source);
  2802. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01241_방사선종양.xfdl";
  2803. switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2804. btn_sw1.class = "btn_tab";
  2805. btn_sw2.class = "btn_tab";
  2806. btn_sw3.class = "btn_tab_S";
  2807. switch1.tabindex = 2;
  2808. }
  2809. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="RTTREATROOMWOMAN")
  2810. {
  2811. send_node_set(row);
  2812. var oParam = {};
  2813. oParam.id = "TRAOE01251";
  2814. oParam.service = "oldexamresultapp.OldExamResult";
  2815. oParam.method = "reqGetOldExamResultList_Common";
  2816. oParam.inds = "req=ds_send";
  2817. oParam.outds = "ds_main_traoe_01251_item=item ds_main_traoe_01251_item4=item4";
  2818. oParam.async = false;
  2819. //oParam.callback = "cf_TRAOE01251";
  2820. tranf_submit(oParam);
  2821. init_node_set(row);
  2822. var result_target = ds_main_patinfo_item;
  2823. var result_source = ds_main_traoe_01251_item;
  2824. result_node_set(result_target, result_source);
  2825. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01251_내부치료실.xfdl";
  2826. switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2827. btn_sw1.class = "btn_tab";
  2828. btn_sw2.class = "btn_tab";
  2829. btn_sw3.class = "btn_tab_S";
  2830. switch1.tabindex = 2;
  2831. }
  2832. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="RTCOMPUTEPLAN")
  2833. {
  2834. send_node_set(row);
  2835. var oParam = {};
  2836. oParam.id = "TRAOE01261";
  2837. oParam.service = "oldexamresultapp.OldExamResult";
  2838. oParam.method = "reqGetOldExamResultList_Common";
  2839. oParam.inds = "req=ds_send";
  2840. oParam.outds = "ds_main_traoe_01261_item=item";
  2841. oParam.async = false;
  2842. //oParam.callback = "cf_TRAOE01261";
  2843. tranf_submit(oParam);
  2844. init_node_set(row);
  2845. var result_target = ds_main_patinfo_item;
  2846. var result_source = ds_main_traoe_01261_item;
  2847. result_node_set(result_target, result_source);
  2848. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01261_전산화계획.xfdl";
  2849. switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2850. btn_sw1.class = "btn_tab";
  2851. btn_sw2.class = "btn_tab";
  2852. btn_sw3.class = "btn_tab_S";
  2853. switch1.tabindex = 2;
  2854. }
  2855. else if( row > -1 && ds_main_examlist_item.getColumn(row , "table_cd")=="RTDESCRIPTION")
  2856. {
  2857. send_node_set(row);
  2858. var oParam = {};
  2859. oParam.id = "TRAOE01271";
  2860. oParam.service = "oldexamresultapp.OldExamResult";
  2861. oParam.method = "reqGetOldExamResultList_Common";
  2862. oParam.inds = "req=ds_send";
  2863. oParam.outds = "ds_main_traoe_01271_item=item";
  2864. oParam.async = false;
  2865. //oParam.callback = "cf_TRAOE01271";
  2866. tranf_submit(oParam);
  2867. init_node_set(row);
  2868. var result_target = ds_main_patinfo_item;
  2869. var result_source = ds_main_traoe_01271_item;
  2870. result_node_set(result_target, result_source);
  2871. switch1.case3.iviewer1.url = "ast_oldexamresultxp::SMAOE01271_치료계획.xfdl";
  2872. switch1.case3.iviewer1.swt_judg.tabindex = 0;
  2873. btn_sw1.class = "btn_tab";
  2874. btn_sw2.class = "btn_tab";
  2875. btn_sw3.class = "btn_tab_S";
  2876. switch1.tabindex = 2;
  2877. }
  2878. }
  2879. function send_node_set(row)
  2880. {
  2881. var send_target = ds_send;
  2882. var send_source = ds_main_examlist_item;
  2883. send_target.setColumn(0, "srchccrno", send_source.getColumn(row, "ccrno"));
  2884. send_target.setColumn(0, "srchobtime", send_source.getColumn(row, "obtime"));
  2885. send_target.setColumn(0, "srchuopno", send_source.getColumn(row, "uopno"));
  2886. send_target.setColumn(0, "srchtable_cd", send_source.getColumn(row, "table_cd"));
  2887. }
  2888. function init_node_set(row)
  2889. {
  2890. var init_target = ds_main_patinfo_item;
  2891. var init_source = ds_main_examlist_item;
  2892. if(init_source.getColumn(row, "table_cd")=="ELECTRORT_SEC")
  2893. {
  2894. switch1.case3.iviewer1.visible = true;
  2895. ds_main_patinfo_item.clearData();
  2896. ds_main_patinfo_item.addRow();
  2897. }
  2898. else if(init_source.getColumn(row, "table_cd")=="ELECTRORT1")
  2899. {
  2900. switch1.case3.iviewer1.visible = true;
  2901. ds_main_patinfo_item.clearData();
  2902. ds_main_patinfo_item.addRow();
  2903. }
  2904. else if(init_source.getColumn(row, "table_cd")=="ELECTRORT2")
  2905. {
  2906. switch1.case3.iviewer1.visible = true;
  2907. ds_main_patinfo_item.clearData();
  2908. ds_main_patinfo_item.addRow();
  2909. }
  2910. else if(init_source.getColumn(row, "table_cd")=="DSHMASTER1")
  2911. {
  2912. switch1.case3.iviewer1.visible = true;
  2913. ds_main_patinfo_item.clearData();
  2914. ds_main_patinfo_item.addRow();
  2915. }
  2916. else if(init_source.getColumn(row, "table_cd")=="PFLRTINFO")
  2917. {
  2918. switch1.case3.iviewer1.visible = true;
  2919. ds_main_patinfo_item.clearData();
  2920. ds_main_patinfo_item.addRow();
  2921. }
  2922. else if(init_source.getColumn(row, "table_cd")=="BRONRESULT")
  2923. {
  2924. switch1.case3.iviewer1.visible = true;
  2925. ds_main_patinfo_item.clearData();
  2926. ds_main_patinfo_item.addRow();
  2927. }
  2928. else if(init_source.getColumn(row, "table_cd")=="ECHOREPORT")
  2929. {
  2930. switch1.case3.iviewer1.visible = true;
  2931. ds_main_patinfo_item.clearData();
  2932. ds_main_patinfo_item.addRow();
  2933. }
  2934. else if(init_source.getColumn(row, "table_cd")=="DSHMASTER2")
  2935. {
  2936. switch1.case3.iviewer1.visible = true;
  2937. ds_main_patinfo_item.clearData();
  2938. ds_main_patinfo_item.addRow();
  2939. }
  2940. else if(init_source.getColumn(row, "table_cd")=="ECGTEST")
  2941. {
  2942. switch1.case3.iviewer1.visible = true;
  2943. ds_main_patinfo_item.clearData();
  2944. ds_main_patinfo_item.addRow();
  2945. }
  2946. else if(init_source.getColumn(row, "table_cd")=="SOISUKRESULT")
  2947. {
  2948. switch1.case3.iviewer1.visible = true;
  2949. ds_main_patinfo_item.clearData();
  2950. ds_main_patinfo_item.addRow();
  2951. }
  2952. else if(init_source.getColumn(row, "table_cd")=="CORON_MASTER")
  2953. {
  2954. switch1.case3.iviewer1.visible = true;
  2955. ds_main_patinfo_item.clearData();
  2956. ds_main_patinfo_item.addRow();
  2957. }
  2958. else if(init_source.getColumn(row, "table_cd")=="RTACTIVITY")
  2959. {
  2960. switch1.case3.iviewer1.visible = true;
  2961. ds_main_patinfo_item.clearData();
  2962. ds_main_patinfo_item.addRow();
  2963. }
  2964. else if(init_source.getColumn(row, "table_cd")=="RTTREATROOMWOMAN")
  2965. {
  2966. switch1.case3.iviewer1.visible = true;
  2967. ds_main_patinfo_item.clearData();
  2968. ds_main_patinfo_item.addRow();
  2969. }
  2970. else if(init_source.getColumn(row, "table_cd")=="RTCOMPUTEPLAN")
  2971. {
  2972. switch1.case3.iviewer1.visible = true;
  2973. ds_main_patinfo_item.clearData();
  2974. ds_main_patinfo_item.addRow();
  2975. }
  2976. else if(init_source.getColumn(row, "table_cd")=="RTDESCRIPTION")
  2977. {
  2978. switch1.case3.iviewer1.visible = true;
  2979. ds_main_patinfo_item.clearData();
  2980. ds_main_patinfo_item.addRow();
  2981. }
  2982. else
  2983. {
  2984. switch1.case3.iviewer1.visible = false;
  2985. }
  2986. result_title.text = init_source.getColumn(row, "title_name");
  2987. init_target.setColumn(0, "result_title", init_source.getColumn(row, "title_name"));
  2988. init_target.setColumn(0, "obtime", init_source.getColumn(row, "orddd"));
  2989. init_target.setColumn(0, "rsltdd", init_source.getColumn(row, "rsltdd"));
  2990. init_target.setColumn(0, "uodesc", init_source.getColumn(row, "uodesc"));
  2991. }
  2992. function result_node_set(result_target, result_source)
  2993. {
  2994. result_target.setColumn(0, "pid", result_source.getColumn(0, "pid"));
  2995. result_target.setColumn(0, "pname", result_source.getColumn(0, "pname"));
  2996. result_target.setColumn(0, "psex", result_source.getColumn(0, "psex"));
  2997. result_target.setColumn(0, "age", result_source.getColumn(0, "age"));
  2998. result_target.setColumn(0, "inoutmode", result_source.getColumn(0, "inoutmode"));
  2999. result_target.setColumn(0, "obdeptname", result_source.getColumn(0, "obdeptname"));
  3000. result_target.setColumn(0, "obdrname", result_source.getColumn(0, "obdrname"));
  3001. result_target.setColumn(0, "wardname", result_source.getColumn(0, "wardname"));
  3002. result_target.setColumn(0, "pandrname", result_source.getColumn(0, "pandrname"));
  3003. }
  3004. function datagrid_init()
  3005. {
  3006. for (var i = switch1.case2.datagrid1.getFormatColCount(); i > 0; i--)
  3007. {
  3008. switch1.case2.datagrid1.deleteContentsCol(i);
  3009. }
  3010. switch1.case2.datagrid1.visible = false;
  3011. }
  3012. function btn_sw1_onclick(obj:Button, e:ClickEventInfo)
  3013. {
  3014. switch1.tabindex = 0;
  3015. btn_sw1.class = "btn_tab_S";
  3016. btn_sw2.class = "btn_tab";
  3017. btn_sw3.class = "btn_tab";
  3018. }
  3019. function btn_sw2_onclick(obj:Button, e:ClickEventInfo)
  3020. {
  3021. switch1.tabindex = 1;
  3022. btn_sw1.class = "btn_tab";
  3023. btn_sw2.class = "btn_tab_S";
  3024. btn_sw3.class = "btn_tab";
  3025. }
  3026. function btn_sw3_onclick(obj:Button, e:ClickEventInfo)
  3027. {
  3028. switch1.tabindex = 2;
  3029. btn_sw1.class = "btn_tab";
  3030. btn_sw2.class = "btn_tab";
  3031. btn_sw3.class = "btn_tab_S";
  3032. }
  3033. function group6_button2_onclick(obj:Button, e:ClickEventInfo)
  3034. {
  3035. if (btn_sw1.class == "btn_tab_S")
  3036. {
  3037. if(!utlf_isNull(ds_main_patinfo_item.getColumn(0, "result_text")))
  3038. {
  3039. var objDOM = rptf_createDOM();
  3040. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/item", ds_main_patinfo_item);
  3041. var objParam = new Object();
  3042. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3043. var option = "";
  3044. rptf_exeReportPreview30(["RPAOE01001"],[objParam], option);
  3045. }
  3046. else
  3047. {
  3048. sysf_messageBox("검사결과출력", "E013");
  3049. }
  3050. }
  3051. else if (btn_sw2.class == "btn_tab_S")
  3052. {
  3053. if(!utlf_isNull(ds_main_datagrid_item.getColumn(0, 0)))
  3054. {
  3055. var objDOM = rptf_createDOM();
  3056. rptf_setNodeListToDOM(objDOM, "/root/main/datagrid/item", ds_main_datagrid_item);
  3057. var objParam = new Object();
  3058. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3059. var option = "";
  3060. rptf_exeReportPreview30(["RPAOE01002"],[objParam], option);
  3061. }
  3062. else
  3063. {
  3064. sysf_messageBox("검사결과출력", "E013");
  3065. }
  3066. }
  3067. else
  3068. {
  3069. var srcPathCnt = switch1.case3.iviewer1.objects.length;
  3070. for(var i = 0 ; i < srcPathCnt ; i++) {
  3071. if(switch1.case3.iviewer1.objects[i].name.indexOf("ds_main_") < 0) continue;
  3072. var dsName = switch1.case3.iviewer1.objects[i].name.replace("_main_","_tmp_");
  3073. dsf_createDs(dsName);
  3074. this.objects[dsName].copyData(switch1.case3.iviewer1.objects[i]);
  3075. if(this.objects[dsName].rowcount == 0) this.objects[dsName].addRow();
  3076. }
  3077. var objDOM = rptf_createDOM();
  3078. var objParam = new Object();
  3079. var option = "";
  3080. if( ds_send.getColumn(0, "srchtable_cd") == "ELECTRORT1" ) {
  3081. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/item", ds_main_patinfo_item);
  3082. rptf_setNodeListToDOM(objDOM, "/root/tmp/traoe_01073/item", ds_tmp_traoe_01073_item);
  3083. rptf_setNodeListToDOM(objDOM, "/root/tmp/traoe_01072/item", ds_tmp_traoe_01072_item);
  3084. rptf_setNodeListToDOM(objDOM, "/root/tmp/result/item", ds_tmp_result_item);
  3085. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3086. rptf_exeReportPreview30(["RPAOE01003"],[objParam], option);
  3087. } else if( ds_send.getColumn(0, "srchtable_cd") == "ELECTRORT2" ) {
  3088. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/item", ds_main_patinfo_item);
  3089. rptf_setNodeListToDOM(objDOM, "/root/tmp/traoe_01082/item", ds_tmp_traoe_01082_item);
  3090. rptf_setNodeListToDOM(objDOM, "/root/tmp/result/item", ds_tmp_result_item);
  3091. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3092. rptf_exeReportPreview30(["RPAOE01004"],[objParam], option);
  3093. } else if( ds_send.getColumn(0, "srchtable_cd") == "ELECTRORT_SEC" ) {
  3094. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/item", ds_main_patinfo_item);
  3095. rptf_setNodeListToDOM(objDOM, "/root/tmp/case_1/item1", ds_tmp_case_1_item1);
  3096. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3097. option = "closecallback=opener.fn_ELECTRORT_SEC5;";
  3098. rptf_exeReportPreview30(["RPAOE01005"],[objParam], option);
  3099. }
  3100. // else if( ds_send.getColumn(0, "srchtable_cd") == "CORON_MASTER" ) {
  3101. //
  3102. // rptf_setNodeListToDOM(objDOM, "/root/main/datagrid/item", ds_main_datagrid_item);
  3103. // objParam.xml_data_XML1 = objDOM.documentElement.source;
  3104. // rptf_exeReportPreview30(["RPAOE01009"],[objParam], option);
  3105. //
  3106. // } else if( ds_send.getColumn(0, "srchtable_cd") == "ECHOREPORT" ) {
  3107. //
  3108. // rptf_setNodeListToDOM(objDOM, "/root/main/datagrid/item", ds_main_datagrid_item);
  3109. // objParam.xml_data_XML1 = objDOM.documentElement.source;
  3110. // rptf_exeReportPreview30(["RPAOE01010"],[objParam], option);
  3111. //
  3112. // }
  3113. else
  3114. {
  3115. sysf_messageBox("검사결과출력", "E013");
  3116. }
  3117. }
  3118. }
  3119. function fn_ELECTRORT_SEC5() {
  3120. var objDOM = rptf_createDOM();
  3121. var objParam = new Object();
  3122. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/item", ds_main_patinfo_item);
  3123. rptf_setNodeListToDOM(objDOM, "/root/tmp/result/item", ds_tmp_result_item);
  3124. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3125. var option = "closecallback=opener.fn_ELECTRORT_SEC6;";
  3126. rptf_exeReportPreview30(["RPAOE01006"],[objParam], option);
  3127. }
  3128. function fn_ELECTRORT_SEC6() {
  3129. var objDOM = rptf_createDOM();
  3130. var objParam = new Object();
  3131. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/item", ds_main_patinfo_item);
  3132. rptf_setNodeListToDOM(objDOM, "/root/tmp/case_3/item3", ds_tmp_case_3_item3);
  3133. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3134. var option = "closecallback=opener.fn_ELECTRORT_SEC7;";
  3135. rptf_exeReportPreview30(["RPAOE01007"],[objParam], option);
  3136. }
  3137. function fn_ELECTRORT_SEC7() {
  3138. var objDOM = rptf_createDOM();
  3139. var objParam = new Object();
  3140. rptf_setNodeListToDOM(objDOM, "/root/main/patinfo/item", ds_main_patinfo_item);
  3141. rptf_setNodeListToDOM(objDOM, "/root/tmp/case_4/item4", ds_tmp_case_4_item4);
  3142. objParam.xml_data_XML1 = objDOM.documentElement.source;
  3143. var option = "";
  3144. rptf_exeReportPreview30(["RPAOE01008"],[objParam], option);
  3145. }
  3146. ]]></Script>
  3147. </Form>
  3148. </FDL>