SMAEB00200_검사치료코드관리.xfdl 104 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAEB00200" position="absolute 0 0 1196 792" titletext="검사치료코드관리" onload="SMAEB00200_onload" oninit="SMAEB00200_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 21 1195 765" id="grp_biz" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout>
  10. <Grid position="absolute 0 75 1194 737" id="grd_examcurecdlist" binddataset="ds_grd_examcurecdlist" anchor="default" oncellclick="grp_biz_grd_examcurecdlist_oncellclick" ontextchanged="grp_biz_grd_examcurecdlist_ontextchanged" autoenter="key" scrollpixel="all" cellsizingtype="both" extendsizetype="row" cellsizebandtype="allband" onexpandup="grp_biz_grd_examcurecdlist_onexpandup" onmousemove="grp_biz_grd_examcurecdlist_onmousemove" cellclickbound="cell">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="25" band="left"/>
  15. <Column size="25" band="left"/>
  16. <Column size="85" band="left"/>
  17. <Column size="190" band="left"/>
  18. <Column size="68" band="left"/>
  19. <Column size="76" band="left"/>
  20. <Column size="84" band="left"/>
  21. <Column size="57" band="left"/>
  22. <Column size="60" band="left"/>
  23. <Column size="55" band="left"/>
  24. <Column size="54" band="left"/>
  25. <Column size="58" band="left"/>
  26. <Column size="57" band="left"/>
  27. <Column size="64"/>
  28. <Column size="47"/>
  29. <Column size="44"/>
  30. <Column size="55"/>
  31. <Column size="61"/>
  32. <Column size="56"/>
  33. <Column size="42"/>
  34. <Column size="55"/>
  35. <Column size="62"/>
  36. <Column size="69"/>
  37. <Column size="56"/>
  38. <Column size="111"/>
  39. <Column size="100"/>
  40. <Column size="67"/>
  41. <Column size="0"/>
  42. <Column size="57"/>
  43. <Column size="67"/>
  44. <Column size="54"/>
  45. <Column size="64"/>
  46. <Column size="63"/>
  47. <Column size="63"/>
  48. <Column size="63"/>
  49. <Column size="37"/>
  50. <Column size="62"/>
  51. <Column size="53"/>
  52. <Column size="43"/>
  53. <Column size="100"/>
  54. <Column size="100"/>
  55. <Column size="100"/>
  56. <Column size="63"/>
  57. <Column size="54"/>
  58. <Column size="100"/>
  59. <Column size="77"/>
  60. <Column size="70"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="30"/>
  65. <Column size="30"/>
  66. <Column size="119"/>
  67. <Column size="59"/>
  68. <Column size="58"/>
  69. <Column size="100"/>
  70. <Column size="61"/>
  71. <Column size="57"/>
  72. <Column size="63"/>
  73. <Column size="59"/>
  74. <Column size="61"/>
  75. <Column size="70"/>
  76. <Column size="66"/>
  77. <Column size="61"/>
  78. <Column size="100"/>
  79. <Column size="90"/>
  80. <Column size="100"/>
  81. <Column size="280"/>
  82. <Column size="0"/>
  83. <Column size="0"/>
  84. <Column size="100"/>
  85. <Column size="0"/>
  86. <Column size="0"/>
  87. </Columns>
  88. <Rows>
  89. <Row size="24" band="head"/>
  90. <Row size="28" band="head"/>
  91. <Row size="24"/>
  92. </Rows>
  93. <Band id="head">
  94. <Cell rowspan="2" taborder="undefined"/>
  95. <Cell col="1" rowspan="2" displaytype="image" taborder="undefined"/>
  96. <Cell col="2" rowspan="2" text="코드" taborder="undefined"/>
  97. <Cell col="3" rowspan="2" text="검사명" taborder="undefined"/>
  98. <Cell col="4" rowspan="2" text="처방가능 " taborder="undefined"/>
  99. <Cell col="5" colspan="8" text="기본설정" taborder="undefined" expandsize="5"/>
  100. <Cell col="13" colspan="8" text="분류" taborder="undefined"/>
  101. <Cell col="21" text="판독/대출"/>
  102. <Cell col="22" colspan="8" text="결과설정" taborder="undefined"/>
  103. <Cell col="30" colspan="2" text="결과조회" taborder="undefined"/>
  104. <Cell col="32" colspan="5" text="통계" taborder="undefined"/>
  105. <Cell col="37" colspan="16" text="예약설정" taborder="undefined"/>
  106. <Cell col="53" colspan="3" text="PACS설정" taborder="undefined"/>
  107. <Cell col="56" text="현재일자"/>
  108. <Cell col="57" text="타검사"/>
  109. <Cell col="58" text="검통응급"/>
  110. <Cell col="59" text="검통건진"/>
  111. <Cell col="60" text="당뇨체크"/>
  112. <Cell col="61" text="골밀도"/>
  113. <Cell col="62" text="검사의"/>
  114. <Cell col="63" text="진료"/>
  115. <Cell col="64" rowspan="2" colspan="2" text="시행부서" taborder="undefined"/>
  116. <Cell col="66" rowspan="2" text="다음치료실" taborder="undefined"/>
  117. <Cell col="67" rowspan="2" text="비고" taborder="undefined"/>
  118. <Cell col="68" text="caption1"/>
  119. <Cell col="69" text="caption2"/>
  120. <Cell col="70" rowspan="2" text="주의사항" taborder="undefined"/>
  121. <Cell col="71" text="saveflag"/>
  122. <Cell col="72" text="grupsnglflag"/>
  123. <Cell row="1" col="5" text="검사/치료실"/>
  124. <Cell row="1" col="6" text="검사부위/품목"/>
  125. <Cell row="1" col="7" text="실시기준"/>
  126. <Cell row="1" col="8" text="미수접수"/>
  127. <Cell row="1" col="9" text="미수예약"/>
  128. <Cell row="1" col="10" text="오늘결과"/>
  129. <Cell row="1" col="11" text="당일수납"/>
  130. <Cell row="1" col="12" text="예약구분" expandsize="5"/>
  131. <Cell row="1" col="13" text="분류코드"/>
  132. <Cell row="1" col="14" text="대"/>
  133. <Cell row="1" col="15" text="중"/>
  134. <Cell row="1" col="16" text="구분"/>
  135. <Cell row="1" col="17" text="상세내역"/>
  136. <Cell row="1" col="18" text="대체코드"/>
  137. <Cell row="1" col="19" text="조영제"/>
  138. <Cell row="1" col="20" text="자동배정"/>
  139. <Cell row="1" col="21" text="배정검사실"/>
  140. <Cell row="1" col="22" text="SECTION"/>
  141. <Cell row="1" col="23" text="선택의"/>
  142. <Cell row="1" col="24" colspan="2" text="결과Tmpl" taborder="undefined"/>
  143. <Cell row="1" col="26" text="내시경서식"/>
  144. <Cell row="1" col="27" text="OCR서식"/>
  145. <Cell row="1" col="28" text="CDIS I/F"/>
  146. <Cell row="1" col="29" text="판독의3"/>
  147. <Cell row="1" col="30" text="판독의명"/>
  148. <Cell row="1" col="31" text="조회여부"/>
  149. <Cell row="1" col="32" text="조회구분"/>
  150. <Cell row="1" col="33" text="대분류"/>
  151. <Cell row="1" col="34" text="중분류"/>
  152. <Cell row="1" col="35" text="부위"/>
  153. <Cell row="1" col="36" text="촬영"/>
  154. <Cell row="1" col="37" text="치료횟수"/>
  155. <Cell row="1" col="38" text="예약"/>
  156. <Cell row="1" col="39" text="통합검사/치료실"/>
  157. <Cell row="1" col="40" text="자체검사/치료실"/>
  158. <Cell row="1" col="41" text="나이제한/치료실"/>
  159. <Cell row="1" col="42" text="소요시간"/>
  160. <Cell row="1" col="43" text="예약예문"/>
  161. <Cell row="1" col="44" text="멀티예약예문"/>
  162. <Cell row="1" col="45" text="실시자명"/>
  163. <Cell row="1" col="46" text="출력장수"/>
  164. <Cell row="1" col="47" text="금식"/>
  165. <Cell row="1" col="48" text="관장"/>
  166. <Cell row="1" col="49" text="동의서"/>
  167. <Cell row="1" col="50" text="수면"/>
  168. <Cell row="1" col="51" text="협의"/>
  169. <Cell row="1" col="52" text="변경/취소 제한일수"/>
  170. <Cell row="1" col="53" text="Modality"/>
  171. <Cell row="1" col="54" text="I/F"/>
  172. <Cell row="1" col="55" text="장비구분"/>
  173. <Cell row="1" col="56" text="적용여부"/>
  174. <Cell row="1" col="57" text="표시여부"/>
  175. <Cell row="1" col="58" text="표시 여부"/>
  176. <Cell row="1" col="59" text="표시여부"/>
  177. <Cell row="1" col="60" text="유무"/>
  178. <Cell row="1" col="61" text="검사유무"/>
  179. <Cell row="1" col="62" text="지정유무"/>
  180. <Cell row="1" col="63" text="예약유무"/>
  181. <Cell row="1" col="68" text="부서코드"/>
  182. <Cell row="1" col="69" text="종료일자"/>
  183. <Cell row="1" col="71" text="saveflag"/>
  184. <Cell row="1" col="72" text="grupsnglflag"/>
  185. </Band>
  186. <Band id="body">
  187. <Cell celltype="head" text="expr:currow+1"/>
  188. <Cell col="1" celltype="head" text="bind:update" combodisplay="display"/>
  189. <Cell col="2" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:excucd" wordwrap="char" editautoselect="true"/>
  190. <Cell col="3" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:excucdnm" wordwrap="char" editautoselect="true"/>
  191. <Cell col="4" style="color:EXPR(ordinptflag=='가능'?'#000000':'red');color2:EXPR(ordinptflag=='가능'?'#000000':'red');" text="bind:ordinptflag"/>
  192. <Cell col="5" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:excuroomcd" wordwrap="char" editautoselect="true" combodataset="ds_init_cmb_excuroom" combocodecol="basecd" combodatacol="basecdflagdesc" combodisplayrowcount="100" combotype="search"/>
  193. <Cell col="6" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:excupartcd" wordwrap="char" editautoselect="true" combodataset="ds_init_bodypart" combocodecol="basecd" combodatacol="basecdflagdesc" combodisplayrowcount="100" combotype="search"/>
  194. <Cell col="7" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:execbaseflag" wordwrap="char" editautoselect="true" combodataset="ds_init_A0071" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="100" combotype="search"/>
  195. <Cell col="8" displaytype="checkbox" edittype="none" style="controlbackground:silver;controlborder:1 solid #808080ff ;" text="bind:rcptacptyn" expr="expr:(rcptacptyn==&quot;Y&quot;||rcptacptyn==1)?1:0" wordwrap="char" editautoselect="true" combodataset="ds_init_check" combocodecol="value" combodatacol="label" enable="false"/>
  196. <Cell col="9" displaytype="checkbox" edittype="checkbox" text="bind:rcptrsrvyn" expr="expr:(rcptrsrvyn==&quot;Y&quot;||rcptrsrvyn==1)?1:0" wordwrap="char" editautoselect="true" combodataset="ds_init_check" combocodecol="value" combodatacol="label"/>
  197. <Cell col="10" displaytype="checkbox" edittype="checkbox" text="bind:prcptdayaftrcptyn" expr="expr:(prcptdayaftrcptyn==&quot;Y&quot;||prcptdayaftrcptyn==1)?1:0" wordwrap="char" editautoselect="true" combodataset="ds_init_check" combocodecol="value" combodatacol="label"/>
  198. <Cell col="11" displaytype="checkbox" edittype="checkbox" text="bind:prcptdayrcptyn" expr="expr:(prcptdayrcptyn==&quot;Y&quot;||prcptdayrcptyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  199. <Cell col="12" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:rsrvplceflag" wordwrap="char" editautoselect="true" expandsize="5" combodataset="ds_init_A0073" combocodecol="cdid" combodatacol="cdnm" combotype="search"/>
  200. <Cell col="13" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:excuclscd" wordwrap="char" editautoselect="true" editautoskip="false" combodataset="ds_init_A0463" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="100" combodisplaynulltext="-" combodisplaynulltype="nulltext" combotype="search"/>
  201. <Cell col="14" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:lrgcd" wordwrap="char" editautoselect="true" combodataset="ds_init_cmb_excuroomgrp" combocodecol="excuroomgrpcdid" combodatacol="excuroomgrpcdnm" combodisplayrowcount="100" combotype="search"/>
  202. <Cell col="15" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:mdlcd" wordwrap="char" editautoselect="true" combodataset="ds_init_bodypart" combocodecol="basecd" combodatacol="basecdflagdesc" combodisplayrowcount="100" combotype="search"/>
  203. <Cell col="16" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:ioexamflag" wordwrap="char" editautoselect="true" combodataset="ds_init_A0072" combocodecol="cdid" combodatacol="cdnm" combodisplayrowcount="100" combodisplaynulltext="없음" combodisplaynulltype="nulltext" combotype="search"/>
  204. <Cell col="17" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:excucdrem" wordwrap="char" editautoselect="true" expandshow="show"/>
  205. <Cell col="18" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:angioaltprcpcd" wordwrap="char" editautoselect="true" expandshow="show"/>
  206. <Cell col="19" displaytype="checkbox" edittype="checkbox" text="bind:angiouseyn" expr="expr:(angiouseyn==&quot;Y&quot;||angiouseyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  207. <Cell col="20" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #808080ff ;" text="bind:autroomassgyn" expr="expr:(autroomassgyn==&quot;Y&quot;||autroomassgyn==1)?1:0" wordwrap="char" editautoselect="true" enable="false"/>
  208. <Cell col="21" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:autroomassgcd" wordwrap="char" editautoselect="true" expandshow="show"/>
  209. <Cell col="22" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:section" wordwrap="char" editautoselect="true" combodataset="ds_init_cmb2_initsection" combocodecol="cdid" combodatacol="cdnm" combotype="search"/>
  210. <Cell col="23" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:specdrcd" wordwrap="char" editautoselect="true" expandshow="show"/>
  211. <Cell col="24" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rslttmplcd" wordwrap="char" editautoselect="true" expandshow="show"/>
  212. <Cell col="25" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rslttmplcdnm" wordwrap="char" editautoselect="true" expandshow="show"/>
  213. <Cell col="26" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rslttmplcd2nd" wordwrap="char" editautoselect="true" expandshow="show" enable="false"/>
  214. <Cell col="27" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:ocrtmplcd" wordwrap="char" editautoselect="true"/>
  215. <Cell col="28" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:eqmtifyn" wordwrap="char" editautoselect="true" combodataset="ds_init_A0502" combocodecol="cdid" combodatacol="cdnm" combotype="search"/>
  216. <Cell col="29" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:readdrid3" wordwrap="char" editautoselect="true" enable="false"/>
  217. <Cell col="30" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:readdrid3nm" wordwrap="char" editautoselect="true" expandshow="show"/>
  218. <Cell col="31" displaytype="checkbox" edittype="checkbox" text="bind:rsltdispyn" expr="expr:(rsltdispyn==&quot;Y&quot;||rsltdispyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  219. <Cell col="32" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:rsltdispgbn" wordwrap="char" editautoselect="true" combodataset="ds_init_cmb2_initrsltgb" combocodecol="cdid" combodatacol="cdnm" combotype="search"/>
  220. <Cell col="33" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:rsltclscd1" wordwrap="char" editautoselect="true" combodataset="ds_init_cmb_systgrd" combocodecol="rsltclscd1" combodatacol="rsltclsnm1" combodisplaynulltext="-" combodisplaynulltype="nulltext" combotype="search"/>
  221. <Cell col="34" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:rsltclscd2" wordwrap="char" editautoselect="true" combodataset="ds_init_cmb_systmdl" combocodecol="rsltclscd2" combodatacol="rsltclsnm2" combodisplaynulltext="-" combodisplaynulltype="nulltext" combotype="search"/>
  222. <Cell col="35" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:partcntstats" wordwrap="char" editautoselect="true"/>
  223. <Cell col="36" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:phocntstats" wordwrap="char" editautoselect="true"/>
  224. <Cell col="37" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:curetims" wordwrap="char" editautoselect="true"/>
  225. <Cell col="38" displaytype="checkbox" edittype="checkbox" text="bind:rsrvexcupossyn" expr="expr:(rsrvexcupossyn==&quot;Y&quot;||rsrvexcupossyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  226. <Cell col="39" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rsrvexcuroomposscd" wordwrap="char" editautoselect="true" expandshow="show"/>
  227. <Cell col="40" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rsrvexcuroomposscd2" wordwrap="char" editautoselect="true" expandshow="show"/>
  228. <Cell col="41" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rsrvsono" wordwrap="char" editautoselect="true" expandshow="show"/>
  229. <Cell col="42" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:excutm" wordwrap="char" editautoselect="true"/>
  230. <Cell col="43" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rsrvexmptmplcd" wordwrap="char" editautoselect="true" expandshow="show"/>
  231. <Cell col="44" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rsrvmultitmplcd" wordwrap="char" editautoselect="true" expandshow="show"/>
  232. <Cell col="45" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rsrvexmptmplexecrnm" wordwrap="char" editautoselect="true"/>
  233. <Cell col="46" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rsrvexmpcnt" wordwrap="char" editautoselect="true"/>
  234. <Cell col="47" displaytype="checkbox" edittype="checkbox" style="align:left top;padding:5 3 1 3;" text="bind:fastyn" wordwrap="char" editautoselect="true"/>
  235. <Cell col="48" displaytype="checkbox" edittype="checkbox" style="align:left top;padding:5 3 1 3;" text="bind:enemayn" wordwrap="char" editautoselect="true"/>
  236. <Cell col="49" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rsrvaprvtmplcd" wordwrap="char" editautoselect="true"/>
  237. <Cell col="50" displaytype="checkbox" edittype="checkbox" text="bind:slepyn" expr="expr:(slepyn==&quot;Y&quot;||slepyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  238. <Cell col="51" displaytype="checkbox" edittype="checkbox" text="bind:dcusrsrvyn" expr="expr:(dcusrsrvyn==&quot;Y&quot;||dcusrsrvyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  239. <Cell col="52" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:rsrvupdtcncllimdayno" wordwrap="char" editautoselect="true"/>
  240. <Cell col="53" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:modality" wordwrap="char" editautoselect="true" expandshow="hide" combodataset="ds_init_cmb2_initmodal" combocodecol="cdid" combodatacol="cdnm" combotype="search"/>
  241. <Cell col="54" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:pacsnocretyn" wordwrap="char" editautoselect="true" combodataset="ds_init_A0501" combocodecol="cdid" combodatacol="cdnm" combotype="search"/>
  242. <Cell col="55" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:etceqmtifyn" wordwrap="char" editautoselect="true" combodataset="ds_init_pacs_kind" combocodecol="value" combodatacol="label" combotype="search"/>
  243. <Cell col="56" displaytype="checkbox" edittype="checkbox" text="bind:prestddappyn" expr="expr:(prestddappyn==&quot;Y&quot;||prestddappyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  244. <Cell col="57" displaytype="checkbox" edittype="checkbox" text="bind:anotestyn" expr="expr:(anotestyn==&quot;Y&quot;||anotestyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  245. <Cell col="58" displaytype="checkbox" edittype="none" style="controlbackground:silver;controlborder:1 solid #808080ff ;" text="bind:sytserdispyn" expr="expr:(sytserdispyn==&quot;Y&quot;||sytserdispyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  246. <Cell col="59" displaytype="checkbox" edittype="checkbox" text="bind:sytshealdispyn" expr="expr:(sytshealdispyn==&quot;Y&quot;||sytshealdispyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  247. <Cell col="60" displaytype="checkbox" edittype="checkbox" text="bind:glycostestyn" expr="expr:(glycostestyn==&quot;Y&quot;||glycostestyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  248. <Cell col="61" displaytype="checkbox" edittype="checkbox" text="bind:bonedentestyn" expr="expr:(bonedentestyn==&quot;Y&quot;||bonedentestyn==1)?1:0" wordwrap="char" editautoselect="true"/>
  249. <Cell col="62" displaytype="checkbox" edittype="checkbox" text="bind:selectdryn" expr="expr:(selectdryn==&quot;Y&quot;||selectdryn==1)?1:0" wordwrap="char"/>
  250. <Cell col="63" displaytype="checkbox" style="controlbackground:silver;controlborder:1 solid #808080ff ;" text="bind:emryn" expr="expr:(emryn==&quot;Y&quot;||emryn==1)?1:0" wordwrap="char" editautoselect="true" enable="false"/>
  251. <Cell col="64" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:prcpexecdeptcd" wordwrap="char" editautoselect="true" combodataset="ds_init_dept_info" combocodecol="prcpexecdeptcdid" combodatacol="prcpexecdeptcdnm" combotype="search" enable="false"/>
  252. <Cell col="65" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:prcpexecdeptcd1" wordwrap="char" editautoselect="true" expandshow="show"/>
  253. <Cell col="66" displaytype="combo" edittype="combo" style="align:left top;padding:5 3 1 3;" text="bind:nextexcuroomcd" wordwrap="char" editautoselect="true" combodataset="ds_init_cmb_excuroomgrp" combocodecol="excuroomgrpcdid" combodatacol="excuroomgrpcdnm" combodisplaynulltext="- 선택 -" combodisplaynulltype="nulltext" combotype="search"/>
  254. <Cell col="67" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:excurem" wordwrap="char" editautoselect="true"/>
  255. <Cell col="68" style="align:left top;padding:5 3 1 3;" text="bind:basesuppdeptcd" wordwrap="char" editautoselect="true"/>
  256. <Cell col="69" style="align:left top;padding:5 3 1 3;" text="bind:excutodd" wordwrap="char" editautoselect="true"/>
  257. <Cell col="70" displaytype="text" edittype="text" style="align:left top;padding:5 3 1 3;" text="bind:excupatrem" wordwrap="char" editautoselect="true" expandshow="show"/>
  258. <Cell col="71" text="bind:saveflag"/>
  259. <Cell col="72" text="bind:grupsnglflag"/>
  260. </Band>
  261. </Format>
  262. </Formats>
  263. </Grid>
  264. <Div position="absolute 432 267 854 510" id="grp_excupatrem" visible="false" anchor="default">
  265. <Layouts>
  266. <Layout>
  267. <Shape id="rectangle1" type="rectangle" visible="true" position="absolute 0 0 413 224" anchor="default"/>
  268. <TextArea position="absolute 17 26 391 195" id="textarea1" anchor="default" oneditclick="grp_biz_grp_excupatrem_textarea1_oneditclick" scrollbars="autovert"/>
  269. <Button position="absolute 331 199 387 221" id="btn_cls" class="btn4" text="닫기" anchor="default" onclick="grp_biz_grp_excupatrem_btn_cls_onclick"/>
  270. <Button position="absolute 269 199 325 221" id="button3" class="btn4" text="적용" anchor="default" onclick="grp_biz_grp_excupatrem_button3_onclick"/>
  271. <Static text="검사 주의사항" position="absolute 10 5 183 19" id="caption32" class="tit_2" anchor="default"/>
  272. </Layout>
  273. </Layouts>
  274. </Div>
  275. <Div position="absolute 0 4 1194 44" align="align:center top;" id="grp_sea" anchor="default" class="div_SA">
  276. <Layouts>
  277. <Layout>
  278. <Shape position="absolute 1114 10 1120 32" linetype="vertical" id="line13" class="line_4" anchor="default"/>
  279. <Button position="absolute 1128 10 1184 32" id="btn_sea" class="btn1" text="조회" anchor="default" onclick="grp_biz_grp_sea_btn_sea_onclick"/>
  280. <Static text="검사코드 :" position="absolute 10 13 96 30" id="caption2" class="search_name" anchor="default"/>
  281. <Edit position="absolute 92 11 207 30" id="ipt_srchexamcurecd" class="input_search" anchor="default" oneditclick="grp_biz_grp_sea_ipt_srchexamcurecd_oneditclick" onkeydown="grp_biz_grp_sea_ipt_srchexamcurecd_onkeydown" autoselect="true"/>
  282. <Edit position="absolute 323 11 472 30" id="ipt_srchexamcurenm" class="input_search" anchor="default" autoselect="true"/>
  283. <Static text="검사코드명 :" position="absolute 227 13 327 30" id="caption3" class="search_name" anchor="default"/>
  284. <Button position="absolute 593 11 693 31" id="button1" visible="false" text="button1" anchor="default"/>
  285. <Static text="구/신코드 :" position="absolute 915 13 1015 30" id="caption4" class="search_name" anchor="default"/>
  286. <Combo position="absolute 1004 11 1094 30" id="combo1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  287. <Dataset id="innerdataset">
  288. <ColumnInfo>
  289. <Column id="codecolumn"/>
  290. <Column id="datacolumn"/>
  291. </ColumnInfo>
  292. <Rows>
  293. <Row>
  294. <Col id="codecolumn">1</Col>
  295. <Col id="datacolumn">신코드</Col>
  296. </Row>
  297. <Row>
  298. <Col id="codecolumn">2</Col>
  299. <Col id="datacolumn">구코드</Col>
  300. </Row>
  301. <Row>
  302. <Col id="codecolumn">
  303. </Col>
  304. <Col id="datacolumn">전체</Col>
  305. </Row>
  306. </Rows>
  307. </Dataset>
  308. </Combo>
  309. <Combo position="absolute 570 11 695 30" id="cmb_deptcd" innerdataset="@ds_init_cmb_suppdept" datacolumn="depthngnm" codecolumn="suppdeptcd" anchor="default" onitemchanged="grp_biz_grp_sea_cmb_deptcd_onitemchanged"/>
  310. <Static text="지원부서 :" position="absolute 485 13 571 30" id="caption5" class="search_name" anchor="default"/>
  311. <Static text="검사실 :" position="absolute 711 13 776 30" id="caption7" class="search_name" anchor="default"/>
  312. <Combo position="absolute 780 11 900 30" id="cmb_excuroom" class="combo_default" taborder="1" innerdataset="@ds_init_cmb_excuroom" datacolumn="basecdflagdesc" codecolumn="basecd" anchor="default" onitemchanged="grp_biz_grp_sea_cmb_excuroom_onitemchanged"/>
  313. </Layout>
  314. </Layouts>
  315. </Div>
  316. <Static text="검사/치료 코드 현황" position="absolute 0 54 154 71" id="caption1" class="tit_2" anchor="default"/>
  317. <Button position="absolute 1006 48 1059 70" id="btn_grdcopy" class="btn2" text="행복사" anchor="default" onclick="grp_biz_btn_grdcopy_onclick"/>
  318. <Button position="absolute 624 48 677 70" id="btn_grdadd" class="btn2" visible="false" text="행추가" anchor="default" onclick="grp_biz_btn_grdadd_onclick"/>
  319. <Button position="absolute 1060 48 1113 70" id="btn_grddel" class="btn2" text="행삭제" anchor="default" onclick="grp_biz_btn_grddel_onclick"/>
  320. <Button position="absolute 877 48 1004 70" id="btn_selcalcscorcd" class="btn2" text="검사코드조회및추가" anchor="default" onclick="grp_biz_btn_selcalcscorcd_onclick"/>
  321. <Button position="absolute 756 48 875 70" id="button2" class="btn2" text="수가코드조회-보험" anchor="default" onclick="grp_biz_button2_onclick"/>
  322. <Button position="absolute 679 48 754 70" id="button6" class="btn2" text="마스터검증" anchor="default" onclick="grp_biz_button6_onclick"/>
  323. <Div position="absolute 432 267 854 510" id="grp_excucdrem" visible="true" anchor="default">
  324. <Layouts>
  325. <Layout>
  326. <Shape id="rectangle1" type="rectangle" visible="true" position="absolute 0 0 413 232" anchor="default"/>
  327. <TextArea position="absolute 9 26 404 195" id="textarea2" anchor="default" oneditclick="grp_biz_grp_excucdrem_textarea2_oneditclick"/>
  328. <Static text="분류 상세내역" position="absolute 9 8 132 30" id="caption8" class="tit_2" anchor="default"/>
  329. <Button position="absolute 289 201 345 223" id="button5" class="btn4" text="적용" anchor="default" onclick="grp_biz_grp_excucdrem_button5_onclick"/>
  330. <Button position="absolute 348 201 404 223" id="button4" class="btn4" text="닫기" anchor="default" onclick="grp_biz_grp_excucdrem_button4_onclick"/>
  331. </Layout>
  332. </Layouts>
  333. </Div>
  334. <Shape id="line1" class="line_10" position="absolute 0 70 1194 76"/>
  335. <Radio id="rdo_mech" taborder="1" columncount="0" rowcount="1" position="absolute 218 46 616 69" codecolumn="codecolumn" datacolumn="datacolumn" index="0" style="buttonborder:0 solid #808080ff ;background:transparent;border:1 solid #808080ff ;">
  336. <Dataset id="innerdataset">
  337. <ColumnInfo>
  338. <Column id="codecolumn" size="256"/>
  339. <Column id="datacolumn" size="256"/>
  340. </ColumnInfo>
  341. <Rows>
  342. <Row>
  343. <Col id="codecolumn"/>
  344. <Col id="datacolumn">전체</Col>
  345. </Row>
  346. <Row>
  347. <Col id="codecolumn">가능</Col>
  348. <Col id="datacolumn">가능</Col>
  349. </Row>
  350. <Row>
  351. <Col id="codecolumn">INVISIBLE</Col>
  352. <Col id="datacolumn">INVISIBLE</Col>
  353. </Row>
  354. <Row>
  355. <Col id="codecolumn">불가</Col>
  356. <Col id="datacolumn">불가</Col>
  357. </Row>
  358. <Row>
  359. <Col id="codecolumn">종료</Col>
  360. <Col id="datacolumn">종료</Col>
  361. </Row>
  362. </Rows>
  363. </Dataset>
  364. </Radio>
  365. </Layout>
  366. </Layouts>
  367. </Div>
  368. <Static text="검사/치료코드관리" position="absolute 0 0 160 25" id="caption6" class="tit_1"/>
  369. <Button position="absolute 1114 69 1194 91" id="button12" class="btn7" text="엑셀저장" onclick="button12_onclick"/>
  370. <Div id="grp_btn" taborder="1" position="absolute 0 759 1195 786">
  371. <Layouts>
  372. <Layout>
  373. <Button id="btn_save" taborder="0" text="저장" onclick="grp_btn_btn_save_onclick" class="btn4" position="absolute 1138 5 1194 27" anchor="default"/>
  374. </Layout>
  375. </Layouts>
  376. </Div>
  377. </Layout>
  378. </Layouts>
  379. <Objects>
  380. <Dataset id="ds_init_cmb_excuroom" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  381. <ColumnInfo>
  382. <Column id="basecd" type="STRING"/>
  383. <Column id="basecdflagdesc" type="STRING"/>
  384. </ColumnInfo>
  385. </Dataset>
  386. <Dataset id="ds_grd_examcurecdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_examcurecdlist_oncolumnchanged">
  387. <ColumnInfo>
  388. <Column id="update" type="STRING"/>
  389. <Column id="excucd" type="STRING"/>
  390. <Column id="excucdnm" type="STRING"/>
  391. <Column id="excuroomcd" type="STRING"/>
  392. <Column id="excupartcd" type="STRING"/>
  393. <Column id="execbaseflag" type="STRING"/>
  394. <Column id="rcptacptyn" type="STRING"/>
  395. <Column id="rcptrsrvyn" type="STRING"/>
  396. <Column id="prcptdayaftrcptyn" type="STRING"/>
  397. <Column id="prcptdayrcptyn" type="STRING"/>
  398. <Column id="rsrvplceflag" type="STRING"/>
  399. <Column id="excuclscd" type="STRING"/>
  400. <Column id="lrgcd" type="STRING"/>
  401. <Column id="mdlcd" type="STRING"/>
  402. <Column id="ioexamflag" type="STRING"/>
  403. <Column id="excucdrem" type="STRING"/>
  404. <Column id="angioaltprcpcd" type="STRING"/>
  405. <Column id="angiouseyn" type="STRING"/>
  406. <Column id="autroomassgyn" type="STRING"/>
  407. <Column id="autroomassgcd" type="STRING"/>
  408. <Column id="section" type="STRING"/>
  409. <Column id="specdrcd" type="STRING"/>
  410. <Column id="rslttmplcd" type="STRING"/>
  411. <Column id="rslttmplcdnm" type="STRING"/>
  412. <Column id="rslttmplcd2nd" type="STRING"/>
  413. <Column id="ocrtmplcd" type="STRING"/>
  414. <Column id="eqmtifyn" type="STRING"/>
  415. <Column id="readdrid3" type="STRING"/>
  416. <Column id="readdrid3nm" type="STRING"/>
  417. <Column id="rsltdispyn" type="STRING"/>
  418. <Column id="rsltdispgbn" type="STRING"/>
  419. <Column id="rsltclscd1" type="STRING"/>
  420. <Column id="rsltclscd2" type="STRING"/>
  421. <Column id="partcntstats" type="STRING"/>
  422. <Column id="phocntstats" type="STRING"/>
  423. <Column id="curetims" type="STRING"/>
  424. <Column id="rsrvexcupossyn" type="STRING"/>
  425. <Column id="rsrvexcuroomposscd" type="STRING"/>
  426. <Column id="rsrvexcuroomposscd2" type="STRING"/>
  427. <Column id="rsrvsono" type="STRING"/>
  428. <Column id="excutm" type="STRING"/>
  429. <Column id="rsrvexmptmplcd" type="STRING"/>
  430. <Column id="rsrvmultitmplcd" type="STRING"/>
  431. <Column id="rsrvexmptmplexecrnm" type="STRING"/>
  432. <Column id="rsrvexmpcnt" type="STRING"/>
  433. <Column id="fastyn" type="STRING"/>
  434. <Column id="enemayn" type="STRING"/>
  435. <Column id="rsrvaprvtmplcd" type="STRING"/>
  436. <Column id="slepyn" type="STRING"/>
  437. <Column id="dcusrsrvyn" type="STRING"/>
  438. <Column id="rsrvupdtcncllimdayno" type="STRING"/>
  439. <Column id="modality" type="STRING"/>
  440. <Column id="pacsnocretyn" type="STRING"/>
  441. <Column id="etceqmtifyn" type="STRING"/>
  442. <Column id="prestddappyn" type="STRING"/>
  443. <Column id="anotestyn" type="STRING"/>
  444. <Column id="sytserdispyn" type="STRING"/>
  445. <Column id="sytshealdispyn" type="STRING"/>
  446. <Column id="glycostestyn" type="STRING"/>
  447. <Column id="bonedentestyn" type="STRING"/>
  448. <Column id="emryn" type="STRING"/>
  449. <Column id="prcpexecdeptcd" type="STRING"/>
  450. <Column id="prcpexecdeptcd1" type="STRING"/>
  451. <Column id="nextexcuroomcd" type="STRING"/>
  452. <Column id="excurem" type="STRING"/>
  453. <Column id="basesuppdeptcd" type="STRING"/>
  454. <Column id="excutodd" type="STRING"/>
  455. <Column id="excupatrem" type="STRING"/>
  456. <Column id="saveflag" type="STRING"/>
  457. <Column id="grupsnglflag" type="STRING"/>
  458. <Column id="selectdryn" type="STRING" size="0"/>
  459. <Column id="ordinptflag" type="STRING" size="256"/>
  460. <Column id="mechtodd" type="STRING" size="256"/>
  461. </ColumnInfo>
  462. </Dataset>
  463. <Dataset id="ds_init_A0071" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  464. <ColumnInfo>
  465. <Column id="cdid" type="STRING" size="256"/>
  466. <Column id="cdnm" type="STRING" size="256"/>
  467. </ColumnInfo>
  468. </Dataset>
  469. <Dataset id="ds_init_A0072" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  470. <ColumnInfo>
  471. <Column id="cdid" type="STRING" size="256"/>
  472. <Column id="cdnm" type="STRING" size="256"/>
  473. </ColumnInfo>
  474. </Dataset>
  475. <Dataset id="ds_init_A0073" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  476. <ColumnInfo>
  477. <Column id="cdid" type="STRING" size="256"/>
  478. <Column id="cdnm" type="STRING" size="256"/>
  479. </ColumnInfo>
  480. </Dataset>
  481. <Dataset id="ds_init_A0463" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  482. <ColumnInfo>
  483. <Column id="cdid" type="STRING" size="256"/>
  484. <Column id="cdnm" type="STRING" size="256"/>
  485. </ColumnInfo>
  486. </Dataset>
  487. <Dataset id="ds_init_A0481" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  488. <ColumnInfo>
  489. <Column id="cdid" type="STRING" size="256"/>
  490. <Column id="cdnm" type="STRING" size="256"/>
  491. </ColumnInfo>
  492. </Dataset>
  493. <Dataset id="ds_init_A0502" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  494. <ColumnInfo>
  495. <Column id="cdid" type="STRING" size="256"/>
  496. <Column id="cdnm" type="STRING" size="256"/>
  497. </ColumnInfo>
  498. </Dataset>
  499. <Dataset id="ds_init_A0501" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  500. <ColumnInfo>
  501. <Column id="cdid" type="STRING" size="256"/>
  502. <Column id="cdnm" type="STRING" size="256"/>
  503. </ColumnInfo>
  504. </Dataset>
  505. <Dataset id="ds_init_A0482" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  506. <ColumnInfo>
  507. <Column id="cdid" type="STRING" size="256"/>
  508. <Column id="cdnm" type="STRING" size="256"/>
  509. </ColumnInfo>
  510. </Dataset>
  511. <Dataset id="ds_send_globalinstance" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  512. <ColumnInfo>
  513. <Column id="instance1" type="STRING" size="256"/>
  514. </ColumnInfo>
  515. <Rows>
  516. <Row/>
  517. </Rows>
  518. </Dataset>
  519. <Dataset id="ds_init_cmb_excuroomgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  520. <ColumnInfo>
  521. <Column id="basecdcnts" type="STRING" size="256"/>
  522. <Column id="basecdcnts2" type="STRING" size="256"/>
  523. <Column id="seq" type="STRING" size="256"/>
  524. </ColumnInfo>
  525. </Dataset>
  526. <Dataset id="ds_init_cmb_roomcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  527. <ColumnInfo>
  528. <Column id="wardcd" type="STRING" size="256"/>
  529. <Column id="wardroomcdid" type="STRING" size="256"/>
  530. <Column id="wardroomcdnm" type="STRING" size="256"/>
  531. </ColumnInfo>
  532. </Dataset>
  533. <Dataset id="ds_init_cmb_wardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  534. <ColumnInfo>
  535. <Column id="wardroomcdid" type="STRING" size="256"/>
  536. <Column id="wardroomcdnm" type="STRING" size="256"/>
  537. </ColumnInfo>
  538. </Dataset>
  539. <Dataset id="ds_init_cmb_execrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  540. <ColumnInfo>
  541. <Column id="execrid1cdid" type="STRING" size="256"/>
  542. <Column id="execrid1cdnm" type="STRING" size="256"/>
  543. <Column id="equaluserid" type="STRING" size="256"/>
  544. </ColumnInfo>
  545. </Dataset>
  546. <Dataset id="ds_init_cmb_excuroomgrp2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  547. <ColumnInfo>
  548. <Column id="basecdcnts" type="STRING"/>
  549. <Column id="basecdcnts2" type="STRING"/>
  550. <Column id="sortno" type="STRING" size="256"/>
  551. <Column id="dispseq" type="STRING" size="256"/>
  552. </ColumnInfo>
  553. </Dataset>
  554. <Dataset id="ds_init_cmb_execrid2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  555. <ColumnInfo>
  556. <Column id="execrid2cdid" type="STRING" size="256"/>
  557. <Column id="execrid2cdnm" type="STRING" size="256"/>
  558. </ColumnInfo>
  559. </Dataset>
  560. <Dataset id="ds_init_cmb_execrid3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  561. <ColumnInfo>
  562. <Column id="execrid3cdid" type="STRING" size="256"/>
  563. <Column id="execrid3cdnm" type="STRING" size="256"/>
  564. </ColumnInfo>
  565. </Dataset>
  566. <Dataset id="ds_init_cmb_execrid4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  567. <ColumnInfo>
  568. <Column id="execrid4cdid" type="STRING" size="256"/>
  569. <Column id="execrid4cdnm" type="STRING" size="256"/>
  570. </ColumnInfo>
  571. </Dataset>
  572. <Dataset id="ds_init_cmb_suppdept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  573. <ColumnInfo>
  574. <Column id="suppdeptcd" type="STRING" size="256"/>
  575. <Column id="depthngnm" type="STRING" size="256"/>
  576. </ColumnInfo>
  577. </Dataset>
  578. <Dataset id="ds_init_cmb_systgrd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  579. <ColumnInfo>
  580. <Column id="rsltclscd1" type="STRING" size="256"/>
  581. <Column id="rsltclsnm1" type="STRING" size="256"/>
  582. </ColumnInfo>
  583. </Dataset>
  584. <Dataset id="ds_init_cmb_systmdl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  585. <ColumnInfo>
  586. <Column id="rsltclscd2" type="STRING" size="256"/>
  587. <Column id="rsltclsnm2" type="STRING" size="256"/>
  588. <Column id="basecdcnts" type="STRING" size="256"/>
  589. </ColumnInfo>
  590. </Dataset>
  591. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_oncolumnchanged">
  592. <ColumnInfo>
  593. <Column id="srchexamcurecd" type="STRING" size="256" sumtext="검사실코드"/>
  594. <Column id="srchexamcurenm" type="STRING" size="256" sumtext="등록번호"/>
  595. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  596. <Column id="excuroomcd" type="STRING" size="256" sumtext="적용시작일자"/>
  597. <Column id="newoldyb" type="STRING" size="256" sumtext="적용종료일자"/>
  598. <Column id="saveflag" type="STRING" size="256"/>
  599. <Column id="grupcdid" type="STRING" size="256"/>
  600. <Column id="excupatrem" type="STRING" size="256"/>
  601. <Column id="excucdrem" type="STRING" size="256"/>
  602. <Column id="windowloadinstance" type="STRING" size="256"/>
  603. </ColumnInfo>
  604. <Rows>
  605. <Row/>
  606. </Rows>
  607. </Dataset>
  608. <Dataset id="ds_send_instance1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  609. <ColumnInfo>
  610. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  611. <Column id="rbasecdflag" type="STRING" size="256"/>
  612. <Column id="ebasecdflag" type="STRING" size="256"/>
  613. <Column id="instcd" type="STRING" size="256"/>
  614. <Column id="initflag" type="STRING" size="256"/>
  615. <Column id="alladdyn" type="STRING" size="256"/>
  616. <Column id="bbasecdflag" type="STRING" size="256"/>
  617. </ColumnInfo>
  618. <Rows>
  619. <Row/>
  620. </Rows>
  621. </Dataset>
  622. <Dataset id="ds_init_bodypart" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  623. <ColumnInfo>
  624. <Column id="sortno" type="STRING" size="256" sumtext="부서코드"/>
  625. <Column id="basecd" type="STRING" size="256" sumtext="기본코드구분"/>
  626. <Column id="basecdflagdesc" type="STRING" size="256" sumtext="기본코드구분"/>
  627. <Column id="basecdcnts" type="STRING" size="256" sumtext="부서코드"/>
  628. <Column id="basesuppdeptcd" type="STRING" size="256" sumtext="지원부서코드"/>
  629. <Column id="basecdflag" type="STRING" size="256" sumtext="부서코드"/>
  630. </ColumnInfo>
  631. </Dataset>
  632. <Dataset id="ds_init_bodypartgrp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  633. <ColumnInfo>
  634. <Column id="basecd" type="STRING" size="256"/>
  635. <Column id="basecdflagdesc" type="STRING" size="256"/>
  636. </ColumnInfo>
  637. </Dataset>
  638. <Dataset id="ds_init_dept_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  639. <ColumnInfo>
  640. <Column id="prcpexecdeptcdid" type="STRING" size="256" sumtext="시행부서코드"/>
  641. <Column id="prcpexecdeptcdnm" type="STRING" size="256" sumtext="시행부서명"/>
  642. </ColumnInfo>
  643. </Dataset>
  644. <Dataset id="ds_init_comcd_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  645. <ColumnInfo>
  646. <Column id="comgrupcdid" type="STRING" size="256" sumtext="공통그룹코드"/>
  647. <Column id="comgrupcdnm" type="STRING" size="256" sumtext="공통그룹코드명"/>
  648. </ColumnInfo>
  649. </Dataset>
  650. <Dataset id="ds_init_cmb2_initsection" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  651. <ColumnInfo>
  652. <Column id="cdid" type="STRING" size="256" sumtext="SECTION 코드"/>
  653. <Column id="cdnm" type="STRING" size="256" sumtext="SECTION 명칭"/>
  654. <Column id="grupcdid" type="STRING" size="256" sumtext="GRUPCDID"/>
  655. </ColumnInfo>
  656. </Dataset>
  657. <Dataset id="ds_init_cmb2_initmodal" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  658. <ColumnInfo>
  659. <Column id="cdid" type="STRING" size="256" sumtext="Modal코드"/>
  660. <Column id="cdnm" type="STRING" size="256" sumtext="Modal명칭"/>
  661. <Column id="grupcdid" type="STRING" size="256" sumtext="GRUPCDID"/>
  662. </ColumnInfo>
  663. </Dataset>
  664. <Dataset id="ds_init_cmb2_initrsltgb" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  665. <ColumnInfo>
  666. <Column id="cdid" type="STRING" size="256" sumtext="initrsltgb코드"/>
  667. <Column id="cdnm" type="STRING" size="256" sumtext="initrsltgb명칭"/>
  668. <Column id="grupcdid" type="STRING" size="256" sumtext="GRUPCDID"/>
  669. </ColumnInfo>
  670. </Dataset>
  671. <Dataset id="ds_init_pacs_kind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  672. <ColumnInfo>
  673. <Column id="label" type="STRING" size="256"/>
  674. <Column id="value" type="STRING" size="256"/>
  675. </ColumnInfo>
  676. <Rows>
  677. <Row>
  678. <Col id="label">-</Col>
  679. <Col id="value">-</Col>
  680. </Row>
  681. <Row>
  682. <Col id="label">Main Pacs</Col>
  683. <Col id="value">0</Col>
  684. </Row>
  685. <Row>
  686. <Col id="label">Cardiac Pacs</Col>
  687. <Col id="value">1</Col>
  688. </Row>
  689. </Rows>
  690. </Dataset>
  691. <Dataset id="ds_init_check" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  692. <ColumnInfo>
  693. <Column id="label" type="STRING" size="256"/>
  694. <Column id="value" type="STRING" size="256"/>
  695. </ColumnInfo>
  696. </Dataset>
  697. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  698. <ColumnInfo>
  699. <Column id="checkseq" type="STRING" size="256"/>
  700. <Column id="grupcdid" type="STRING" size="256"/>
  701. <Column id="count" type="STRING" size="256"/>
  702. </ColumnInfo>
  703. <Rows>
  704. <Row/>
  705. </Rows>
  706. </Dataset>
  707. <Dataset id="ds_main_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  708. <ColumnInfo>
  709. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  710. </ColumnInfo>
  711. </Dataset>
  712. <Dataset id="ds_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  713. <Dataset id="ds_hidden_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  714. <ColumnInfo>
  715. <Column id="excucd" type="STRING" size="256"/>
  716. <Column id="excucdnm" type="STRING" size="256"/>
  717. <Column id="excuroomcd" type="STRING" size="256"/>
  718. <Column id="excupartcd" type="STRING" size="256"/>
  719. <Column id="execbaseflag" type="STRING" size="256"/>
  720. <Column id="rcptacptyn" type="STRING" size="256"/>
  721. <Column id="rcptrsrvyn" type="STRING" size="256"/>
  722. <Column id="prcptdayaftrcptyn" type="STRING" size="256"/>
  723. <Column id="excuclscd" type="STRING" size="256"/>
  724. <Column id="lrgcd" type="STRING" size="256"/>
  725. <Column id="mdlcd" type="STRING" size="256"/>
  726. <Column id="ioexamflag" type="STRING" size="256"/>
  727. <Column id="excucdrem" type="STRING" size="256"/>
  728. <Column id="angioaltprcpcd" type="STRING" size="256"/>
  729. <Column id="angiouseyn" type="STRING" size="256"/>
  730. <Column id="autroomassgyn" type="STRING" size="256"/>
  731. <Column id="autroomassgcd" type="STRING" size="256"/>
  732. <Column id="section" type="STRING" size="256"/>
  733. <Column id="rslttmplcd" type="STRING" size="256"/>
  734. <Column id="ocrtmplcd" type="STRING" size="256"/>
  735. <Column id="eqmtifyn" type="STRING" size="256"/>
  736. <Column id="readdrid3" type="STRING" size="256"/>
  737. <Column id="readdrid3nm" type="STRING" size="256"/>
  738. <Column id="rsltdispyn" type="STRING" size="256"/>
  739. <Column id="rsltdispgbn" type="STRING" size="256"/>
  740. <Column id="rsltclscd1" type="STRING" size="256"/>
  741. <Column id="rsltclscd2" type="STRING" size="256"/>
  742. <Column id="partcntstats" type="STRING" size="256"/>
  743. <Column id="phocntstats" type="STRING" size="256"/>
  744. <Column id="curetims" type="STRING" size="256"/>
  745. <Column id="rsrvexcupossyn" type="STRING" size="256"/>
  746. <Column id="rsrvexcuroomposscd" type="STRING" size="256"/>
  747. <Column id="rsrvexcuroomposscd2" type="STRING" size="256"/>
  748. <Column id="rsrvsono" type="STRING" size="256"/>
  749. <Column id="rsrvplceflag" type="STRING" size="256"/>
  750. <Column id="excutm" type="STRING" size="256"/>
  751. <Column id="rsrvexmptmplcd" type="STRING" size="256"/>
  752. <Column id="rsrvexmptmplexecrnm" type="STRING" size="256"/>
  753. <Column id="rsrvexmpcnt" type="STRING" size="256"/>
  754. <Column id="fastyn" type="STRING" size="256"/>
  755. <Column id="enemayn" type="STRING" size="256"/>
  756. <Column id="rsrvaprvtmplcd" type="STRING" size="256"/>
  757. <Column id="slepyn" type="STRING" size="256"/>
  758. <Column id="dcusrsrvyn" type="STRING" size="256"/>
  759. <Column id="rsrvupdtcncllimdayno" type="STRING" size="256"/>
  760. <Column id="modality" type="STRING" size="256"/>
  761. <Column id="pacsnocretyn" type="STRING" size="256"/>
  762. <Column id="etceqmtifyn" type="STRING" size="256"/>
  763. <Column id="prestddappyn" type="STRING" size="256"/>
  764. <Column id="anotestyn" type="STRING" size="256"/>
  765. <Column id="sytserdispyn" type="STRING" size="256"/>
  766. <Column id="sytshealdispyn" type="STRING" size="256"/>
  767. <Column id="glycostestyn" type="STRING" size="256"/>
  768. <Column id="bonedentestyn" type="STRING" size="256"/>
  769. <Column id="prcpexecdeptcd" type="STRING" size="256"/>
  770. <Column id="nextexcuroomcd" type="STRING" size="256"/>
  771. <Column id="excurem" type="STRING" size="256"/>
  772. <Column id="basesuppdeptcd" type="STRING" size="256"/>
  773. <Column id="excutodd" type="STRING" size="256"/>
  774. <Column id="prcpexecdeptcd1" type="STRING" size="256"/>
  775. </ColumnInfo>
  776. <Rows>
  777. <Row>
  778. <Col id="excucd"/>
  779. <Col id="excucdnm"/>
  780. <Col id="excuroomcd"/>
  781. <Col id="excupartcd"/>
  782. <Col id="execbaseflag"/>
  783. <Col id="rcptacptyn"/>
  784. <Col id="rcptrsrvyn"/>
  785. <Col id="prcptdayaftrcptyn">N</Col>
  786. <Col id="excuclscd"/>
  787. <Col id="lrgcd"/>
  788. <Col id="mdlcd"/>
  789. <Col id="ioexamflag"/>
  790. <Col id="excucdrem"/>
  791. <Col id="angioaltprcpcd"/>
  792. <Col id="angiouseyn"/>
  793. <Col id="autroomassgyn"/>
  794. <Col id="autroomassgcd"/>
  795. <Col id="section"/>
  796. <Col id="rslttmplcd"/>
  797. <Col id="ocrtmplcd"/>
  798. <Col id="eqmtifyn"/>
  799. <Col id="readdrid3"/>
  800. <Col id="readdrid3nm"/>
  801. <Col id="rsltdispyn"/>
  802. <Col id="rsltdispgbn"/>
  803. <Col id="rsltclscd1"/>
  804. <Col id="rsltclscd2"/>
  805. <Col id="partcntstats"/>
  806. <Col id="phocntstats"/>
  807. <Col id="curetims"/>
  808. <Col id="rsrvexcupossyn"/>
  809. <Col id="rsrvexcuroomposscd"/>
  810. <Col id="rsrvexcuroomposscd2"/>
  811. <Col id="rsrvsono"/>
  812. <Col id="rsrvplceflag"/>
  813. <Col id="excutm"/>
  814. <Col id="rsrvexmptmplcd"/>
  815. <Col id="rsrvexmptmplexecrnm"/>
  816. <Col id="rsrvexmpcnt"/>
  817. <Col id="fastyn"/>
  818. <Col id="enemayn"/>
  819. <Col id="rsrvaprvtmplcd"/>
  820. <Col id="slepyn"/>
  821. <Col id="dcusrsrvyn"/>
  822. <Col id="rsrvupdtcncllimdayno"/>
  823. <Col id="modality"/>
  824. <Col id="pacsnocretyn"/>
  825. <Col id="etceqmtifyn"/>
  826. <Col id="prestddappyn"/>
  827. <Col id="anotestyn">Y</Col>
  828. <Col id="sytserdispyn"/>
  829. <Col id="sytshealdispyn"/>
  830. <Col id="glycostestyn"/>
  831. <Col id="bonedentestyn"/>
  832. <Col id="prcpexecdeptcd"/>
  833. <Col id="nextexcuroomcd"/>
  834. <Col id="excurem"/>
  835. <Col id="basesuppdeptcd"/>
  836. <Col id="excutodd"/>
  837. <Col id="prcpexecdeptcd1"/>
  838. </Row>
  839. </Rows>
  840. </Dataset>
  841. <Dataset id="ds_temp_templst_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  842. <Dataset id="ds_main_userpopupinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  843. <Dataset id="ds_main_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  844. <Dataset id="ds_send_req_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  845. <Dataset id="ds_cond_formdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  846. <ColumnInfo>
  847. <Column id="formcd" type="STRING" size="256"/>
  848. <Column id="formkind" type="STRING" size="256"/>
  849. <Column id="pid" type="STRING" size="256"/>
  850. <Column id="orddd" type="STRING" size="256"/>
  851. <Column id="cretno" type="STRING" size="256"/>
  852. <Column id="btnvisible" type="STRING" size="256"/>
  853. <Column id="btnenable" type="STRING" size="256"/>
  854. <Column id="unpreprec" type="STRING" size="256"/>
  855. <Column id="modalyn" type="STRING" size="256"/>
  856. </ColumnInfo>
  857. <Rows>
  858. <Row>
  859. <Col id="formkind"/>
  860. <Col id="formcd"/>
  861. <Col id="pid"/>
  862. <Col id="orddd"/>
  863. <Col id="cretno"/>
  864. <Col id="btnvisible"/>
  865. </Row>
  866. </Rows>
  867. </Dataset>
  868. </Objects>
  869. <Bind>
  870. <BindItem id="item0" compid="grp_biz.grp_sea.cmb_deptcd" propid="value" datasetid="ds_send_globalinstance" columnid="instance1"/>
  871. <BindItem id="item1" compid="grp_biz.grp_sea.cmb_excuroom" propid="value" datasetid="ds_send" columnid="excuroomcd"/>
  872. <BindItem id="item2" compid="grp_biz.grp_excucdrem.textarea2" propid="value" datasetid="ds_send" columnid="excucdrem"/>
  873. <BindItem id="item3" compid="grp_biz.grp_excupatrem.textarea1" propid="value" datasetid="ds_send" columnid="excupatrem"/>
  874. <BindItem id="item4" compid="grp_biz.grp_sea.ipt_srchexamcurecd" propid="value" datasetid="ds_send" columnid="srchexamcurecd"/>
  875. <BindItem id="item5" compid="grp_biz.grp_sea.ipt_srchexamcurenm" propid="value" datasetid="ds_send" columnid="srchexamcurenm"/>
  876. <BindItem id="item6" compid="grp_biz.grp_sea.combo1" propid="value" datasetid="ds_send" columnid="newoldyb"/>
  877. </Bind>
  878. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  879. * System Name :
  880. * Job Name :
  881. * Creator :
  882. * Make Date : 2015-11-13
  883. * Description :
  884. *---------------------------------------------------------------------------------------
  885. * Modify Date Modifier Modify Description
  886. *---------------------------------------------------------------------------------------
  887. * 2015-11-13 Live Converter TF->XP
  888. *
  889. *---------------------------------------------------------------------------------------
  890. ****************************************************************************************/
  891. include "com_commonxp::comm_main.xjs";
  892. include "ast_examcurexp::AEZ0001.xjs";
  893. include "com_departmentcodexp::ZSD001.xjs";
  894. include "emr_medirecxp::MMR01100.xjs";
  895. var arErrorCode = new HashArray();
  896. function fn_TRAEA01301(){
  897. if (ds_send_instance1.rowcount < 1 ) {
  898. ds_send_instance1.addRow();
  899. }
  900. // ds_send_instance1.setColumn(0,'basesuppdeptcd', utlf_transNullToEmpty(frmf_getParameter("AST_DEPTCD"))); //부서코드
  901. ds_send_instance1.setColumn(0,'basesuppdeptcd', grp_biz.grp_sea.cmb_deptcd.value); //부서코드
  902. ds_send_instance1.setColumn(0,'rbasecdflag', 'R'); //검사실기본코드구분
  903. ds_send_instance1.setColumn(0,'ebasecdflag', 'E'); //실시자기본코드구분
  904. ds_send_instance1.setColumn(0,'initflag', '1'); //astlib,병동병실코드구분,1:병동조회
  905. ds_send_instance1.setColumn(0,'instcd', sysf_getUserInfo("dutplceinstcd") ); //전체항목index추가
  906. ds_send_instance1.setColumn(0,'alladdyn', "");
  907. var oParam = {};
  908. oParam.id = "TRAEA01301";
  909. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  910. oParam.method = "reqGetInitExamCureRoomGrpCodeList";
  911. oParam.inds = "reqparam=ds_send_instance1";
  912. oParam.outds = "ds_init_cmb_excuroomgrp=initexcuroomgrp ds_init_cmb_excuroomgrp2=initexcuroomgrp2 ds_init_cmb_excuroom=initexcuroom ds_init_cmb_execrid1=initexecrid ds_init_cmb_execrid2=initexecrid ds_init_cmb_execrid3=initexecrid ds_init_cmb_execrid4=initexecrid ds_init_cmb_wardcd=initexcuward ds_init_cmb_suppdept=suppdept ds_init_cmb_systgrd=initsystgrd ds_init_cmb_systmdl=initsystmdl";
  913. oParam.async = false;
  914. oParam.callback = "cf_TRAEA01301";
  915. tranf_submit(oParam);
  916. }
  917. function cf_TRAEA01301(strSvcID, nErrorCode, strErrorMsg){
  918. //에러 처리
  919. if(nErrorCode < 0) return;
  920. ds_init_cmb_excuroomgrp.updateColID("basecdcnts","excuroomgrpcdid");
  921. ds_init_cmb_excuroomgrp.updateColID("basecdcnts2","excuroomgrpcdnm");
  922. ds_init_cmb_systgrd.updateColID("basecd","rsltclscd1");
  923. ds_init_cmb_systgrd.updateColID("basecdflagdesc","rsltclsnm1");
  924. ds_init_cmb_systmdl.updateColID("basecd","rsltclscd2");
  925. ds_init_cmb_systmdl.updateColID("basecdflagdesc","rsltclsnm2");
  926. dsf_setDefaultVal(ds_init_cmb_excuroomgrp,"all");
  927. dsf_setDefaultVal(ds_init_cmb_systgrd,"all");
  928. dsf_setDefaultVal(ds_init_cmb_systmdl,"all");
  929. // var nRow = ds_init_cmb_excuroomgrp.findRow("basecdcnts2", "- 선택 -");
  930. // ds_init_cmb_excuroomgrp.setColumn(nRow, "basecdcnts", "-");
  931. // group3.cmb_excuroomgrp.value = "-";
  932. grp_biz_grp_sea_btn_sea_onclick();
  933. }
  934. function fn_TRAEA01313() {
  935. ds_send.updateColID("basesuppdeptcd", "suppdeptcd");
  936. var oParam = {};
  937. oParam.id = "TRAEA01313";
  938. oParam.service = "examcureacptexecapp.ExamCureAcpt";
  939. oParam.method = "reqGetInitCdCodeList";
  940. oParam.inds = "req=ds_send";
  941. oParam.outds = "ds_init_cmb2_initsection=initsection ds_init_cmb2_initmodal=initmodal ds_init_cmb2_initrsltgb=initrsltgb";
  942. oParam.async = false;
  943. oParam.callback = "cf_TRAEA01313";
  944. tranf_submit(oParam);
  945. }
  946. function cf_TRAEA01313(sSvcId, nErrorCode, sErrorMsg) {
  947. if(nErrorCode < 0) return;
  948. ds_send.updateColID("suppdeptcd", "basesuppdeptcd");
  949. }
  950. function fn_TRAEB00201() {
  951. dsf_createDsRow("ds_req", [
  952. {col:"srchexamcurecd", type:"STRING", size:256, val:ds_send.getColumn(0,"srchexamcurecd")}
  953. , {col:"srchexamcurenm", type:"STRING", size:256, val:ds_send.getColumn(0,"srchexamcurenm")}
  954. , {col:"basesuppdeptcd", type:"STRING", size:256, val:ds_send_globalinstance.getColumn(0,"instance1")}
  955. , {col:"newoldyb", type:"STRING", size:256, val:ds_send.getColumn(0,"newoldyb")}
  956. , {col:"excuroomcd", type:"STRING", size:256, val:ds_send.getColumn(0,"excuroomcd")}
  957. , {col:"saveflag", type:"STRING", size:256, val:ds_send.getColumn(0,"saveflag")}
  958. ]);
  959. var oParam = {};
  960. oParam.id = "TRAEB00201";
  961. oParam.service = "examcurebaseapp.ExamCureCode";
  962. oParam.method = "reqGetExamCureCodeList";
  963. oParam.inds = "req=ds_req";
  964. oParam.outds = "ds_grd_examcurecdlist=item";
  965. oParam.async = false;
  966. oParam.callback = "cf_TRAEB00201";
  967. tranf_submit(oParam);
  968. }
  969. function cf_TRAEB00201(sSvcId, nErrorCode, sErrorMsg) {
  970. if(nErrorCode < 0) return;
  971. ds_grd_examcurecdlist.updatecontrol = false;
  972. fMakeCopyColumn(ds_grd_examcurecdlist,"rcptrsrvyn","bfrcptrsrvyn");
  973. fMakeCopyColumn(ds_grd_examcurecdlist,"prcptdayrcptyn","bfprcptdayrcptyn");
  974. ds_grd_examcurecdlist.updateColID("suppdeptcd","basesuppdeptcd");
  975. ds_grd_examcurecdlist.updatecontrol = true;
  976. }
  977. function fn_TRAEB00205() {
  978. var oParam = {};
  979. oParam.id = "TRAEB00205";
  980. oParam.service = "examcurebaseapp.ComCode";
  981. oParam.method = "reqGetPrcpExecDeptCdList";
  982. oParam.inds = "req=ds_send_instance1";
  983. oParam.outds = "ds_init_dept_info=item";
  984. oParam.async = false;
  985. oParam.callback = "cf_TRAEB00205";
  986. tranf_submit(oParam);
  987. }
  988. function cf_TRAEB00205(sSvcId, nErrorCode, sErrorMsg) {
  989. if(nErrorCode < 0) return;
  990. }
  991. function fn_TRAEB00206() {
  992. var oParam = {};
  993. oParam.id = "TRAEB00206";
  994. oParam.service = "examcurebaseapp.ComCode";
  995. oParam.method = "reqGetComGrupCdList";
  996. oParam.inds = "req=ds_send_instance1";
  997. oParam.outds = "ds_init_comcd_info=item";
  998. oParam.async = false;
  999. oParam.callback = "cf_TRAEB00206";
  1000. tranf_submit(oParam);
  1001. }
  1002. function cf_TRAEB00206(sSvcId, nErrorCode, sErrorMsg) {
  1003. if(nErrorCode < 0) return;
  1004. }
  1005. function fn_TRAEB00601() {
  1006. if (ds_send_instance1.rowcount < 1 ) {
  1007. ds_send_instance1.addRow();
  1008. }
  1009. ds_send_instance1.setColumn(0,'bbasecdflag', 'B'); //부서코드
  1010. var oParam = {};
  1011. oParam.id = "TRAEB00601";
  1012. oParam.service = "examcurebaseapp.BodyPart";
  1013. oParam.method = "reqGetBodyPartList";
  1014. oParam.inds = "req=ds_send_instance1";
  1015. oParam.outds = "ds_init_bodypart=bodypart ds_init_bodypartgrp=bodypartgrp";
  1016. oParam.async = false;
  1017. oParam.callback = "cf_TRAEB00601";
  1018. tranf_submit(oParam);
  1019. }
  1020. function cf_TRAEB00601(sSvcId, nErrorCode, sErrorMsg) {
  1021. if(nErrorCode < 0) return;
  1022. }
  1023. function SMAEB00200_onload(obj:Form, e:LoadEventInfo) {
  1024. grp_biz.grp_excucdrem.visible = false ;
  1025. lf_aezfSetSuppDeptcd(); //AEZ0001.xjs
  1026. ds_send_globalinstance.setColumn(0,"instance1",frmf_getParameter("AST_DEPTCD"));
  1027. //sysf_trace("suppdeptcd = " + frmf_getParameter("AST_DEPTCD"));
  1028. appf_getCodeList([{dsNm: "ds_init_A0071", cdGrpId: "A0071"}
  1029. , {dsNm: "ds_init_A0072", cdGrpId: "A0072"}
  1030. , {dsNm: "ds_init_A0073", cdGrpId: "A0073"}
  1031. , {dsNm: "ds_init_A0463", cdGrpId: "A0463"}
  1032. , {dsNm: "ds_init_A0481", cdGrpId: "A0481"}
  1033. , {dsNm: "ds_init_A0502", cdGrpId: "A0502"}
  1034. , {dsNm: "ds_init_A0501", cdGrpId: "A0501"}], true);
  1035. //appf_getCodeListSubmit("A0481", "", "A0482", "cdnm", "asc", true, "ds_init_A0482", "false", "cf_TRAEB00201");
  1036. //appf_getSubCodeList("A0481", "", "A0482", "cdnm", "asc", true, "ds_init_A0482", "false", "cf_TRAEB00201");
  1037. //검사치료실 가져오기
  1038. fn_TRAEA01301();
  1039. ds_grd_examcurecdlist.clearData();
  1040. grdf_setRowTypeIcon(grp_biz.grd_examcurecdlist, 1); //status 표시 : 입력, 삭제, 갱신
  1041. grdf_setGridSort(grp_biz.grd_examcurecdlist); // 그리드 소트만
  1042. grp_biz.grp_sea.combo1.index = 0;
  1043. //sysf_trace("cmb_deptcd = " + utlf_transNullToEmpty(grp_biz.grp_sea.cmb_deptcd.value));
  1044. if ( utlf_transNullToEmpty(grp_biz.grp_sea.cmb_deptcd.text) =="" ) {
  1045. grp_biz.grp_sea.caption5.visible = true;
  1046. grp_biz.grp_sea.cmb_deptcd.visible = true;
  1047. grp_biz.btn_grdadd.disabled = true;
  1048. grp_biz.btn_grdcopy.disabled = true;
  1049. grp_biz.btn_grddel.disabled = true;
  1050. //btn_save.disabled = true;
  1051. //2010.11.02 통합예약에서 주의사항 저장기능 추가 - 박재영
  1052. //2014/11/17 이정택 추가 원무과 및 원무팀에서 저장 할 수 있도록 플래그값 수정(미수예약, 검사일수납, 예약구분, 상세내역, 주의사항만 수정할 수 있도록)
  1053. //model.setValue("/root/send/saveflag","A");
  1054. if(sysf_getUserInfo("dutplcecd")=="4040300000" || sysf_getUserInfo("dutplcecd")=="4040326000" || sysf_getUserInfo("userid")=="PAM"){
  1055. for(var i=0 ; i< grp_biz.grd_examcurecdlist.getCellCount("Body"); i++){
  1056. if(i==grp_biz.grd_examcurecdlist.getBindCellIndex("body","rcptrsrvyn") || i==grp_biz.grd_examcurecdlist.getBindCellIndex("body","prcptdayrcptyn")){
  1057. //grd_examcurecdlist.colDisabled(i)=false;
  1058. grp_biz.grd_examcurecdlist.setCellProperty("body",i,"edittype","checkbox");
  1059. }else if(i==grp_biz.grd_examcurecdlist.getBindCellIndex("body","rsrvplceflag")){
  1060. //grd_examcurecdlist.colDisabled(i)=false;
  1061. grp_biz.grd_examcurecdlist.setCellProperty("body",i,"edittype","combo");
  1062. }
  1063. else if(i==grp_biz.grd_examcurecdlist.getBindCellIndex("body","excucdrem") ||
  1064. i==grp_biz.grd_examcurecdlist.getBindCellIndex("body","excupatrem")){
  1065. //grd_examcurecdlist.colDisabled(i)=false;
  1066. grp_biz.grd_examcurecdlist.setCellProperty("body",i,"edittype","expand");
  1067. }
  1068. else{
  1069. //grd_examcurecdlist.colDisabled(i)=true;
  1070. grp_biz.grd_examcurecdlist.setCellProperty("body",i,"edittype","none");
  1071. grp_biz.grd_examcurecdlist.setCellProperty("body",i,"controlbackground","silver");
  1072. }
  1073. }
  1074. }else{
  1075. ds_send.setColumn(0, "saveflag","A");
  1076. }
  1077. //2014/11/17 이정택 추가
  1078. grp_btn.btn_save.disabled = false;
  1079. grp_biz.btn_selcalcscorcd.disabled = true;
  1080. }else{
  1081. //2014/11/21 이정택 수정(위치 변경에 따른 옵션 변경)
  1082. //caption5.visible = false;
  1083. //cmb_deptcd.visible = false;
  1084. grp_biz.grp_sea.caption5.visible = true;
  1085. grp_biz.grp_sea.cmb_deptcd.visible = true;
  1086. grp_biz.grp_sea.cmb_deptcd.enable = false;
  1087. //2014/11/21 이정택 수정(위치 변경에 따른 옵션 변경)
  1088. grp_biz.btn_grdadd.enable = true;
  1089. grp_biz.btn_grdcopy.enable = true;
  1090. grp_biz.btn_grddel.endable = true;
  1091. grp_btn.btn_save.enable = true;
  1092. grp_biz.btn_selcalcscorcd.enable = true;
  1093. }
  1094. fn_TRAEB00601(); // 부위코드 가져오기
  1095. fn_TRAEB00205(); // 수행부서 코드 가져오기
  1096. fn_TRAEB00206(); // 공통 그룹코드 가져오기
  1097. ds_send.setColumn(0, "basesuppdeptcd",ds_send_globalinstance.getColumn(0,"instance1"));
  1098. ds_send.setColumn(0, "srchexamcurecd","%");
  1099. ds_send.setColumn(0, "srchexamcurenm","%");
  1100. fn_TRAEB00201();
  1101. ds_send.setColumn(0, "srchexamcurecd","");
  1102. ds_send.setColumn(0, "srchexamcurenm","");
  1103. //copyNodesetType("/root/hidden1/initsystmdl", "/root/init/cmb_info/initsystmdl");
  1104. //model.removeNodeset("/root/main/examcurecdlist/item");
  1105. // Section, Modal 등의 공통정보를 가져온다. App단에서 그룹코드별 셋팅을 입력해 놓는다.
  1106. ds_send.setColumn(0,"grupcdid","A");
  1107. fn_TRAEA01313();
  1108. }
  1109. function grp_biz_grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  1110. {
  1111. // 2014/11/20 이정택 추가(원무과로 로그인시에 지원부서를 먼저 선택 후 검색 할 수 있도록 제어)
  1112. if(sysf_getUserInfo("dutplcecd")=="4040300000" || sysf_getUserInfo("dutplcecd")=="4040326000" || sysf_getUserInfo("userid")=="PAM"){
  1113. var deptcd = utlf_transNullToEmpty(grp_biz.grp_sea.cmb_deptcd.value);
  1114. if( deptcd=="" || deptcd=="4040300000" || deptcd=="4040326000" || deptcd=="3170000000"){ // 검사통합예약실 : 3170000000
  1115. sysf_messageBox("검색은 지원부서 선택 후 가능합니다.", "E");
  1116. return;
  1117. }
  1118. }
  1119. // 2014/11/20 이정택 추가(원무과로 로그인시에 지원부서를 먼저 선택 후 검색 할 수 있도록 제어)
  1120. ds_grd_examcurecdlist.clearData();
  1121. var examcurecd = utlf_transNullToEmpty(grp_biz.grp_sea.ipt_srchexamcurecd.value);
  1122. // sysf_trace( "examcurecd = " + examcurecd );
  1123. if ( examcurecd == "" ) {
  1124. ds_send.setColumn(0, "srchexamcurecd", "%");
  1125. }else {
  1126. ds_send.setColumn(0, "srchexamcurecd", "%" + examcurecd.toUpperCase()+"%");
  1127. }
  1128. // if ( grp_biz.grp_sea.ipt_srchexamcurenm.value == "" ) {
  1129. // ds_send.setColumn(0, "srchexamcurenm", "%");
  1130. // }else {
  1131. // ds_send.setColumn(0, "srchexamcurenm", "%" + grp_biz.grp_sea.ipt_srchexamcurenm.value.toUpperCase()+"%");
  1132. // }
  1133. fn_TRAEB00201();
  1134. ds_send.setColumn(0, "srchexamcurecd","");
  1135. ds_send.setColumn(0, "srchexamcurenm","");
  1136. //for (var i = 1; i < grd_examcurecdlist.rowcount; i ++){
  1137. // grd_examcurecdlist.cellStyle("background-image", i, 1) = "../../../com/commonweb/images/icon_n.gif";
  1138. //}
  1139. //grd_examcurecdlist.topRow = 1;
  1140. if (!utlf_isNull(grp_biz.rdo_mech.value)) {
  1141. var filterStr = "ordinptflag == '" + grp_biz.rdo_mech.value + "'";
  1142. }else{
  1143. var filterStr = "1==1";
  1144. }
  1145. ds_grd_examcurecdlist.filter(filterStr);
  1146. }
  1147. function grp_biz_grp_sea_cmb_deptcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1148. {
  1149. ds_send_globalinstance.setColumn(0,"instance1",obj.value);
  1150. fn_TRAEA01301();
  1151. }
  1152. function grp_biz_grp_excucdrem_button5_onclick(obj:Button, e:ClickEventInfo)
  1153. {
  1154. var rownum = ds_grd_examcurecdlist.rowposition;
  1155. var excucdrem = ds_send.getColumn(0, "excucdrem");
  1156. ds_grd_examcurecdlist.setColumn(rownum, "excucdrem",excucdrem);
  1157. ds_send.setColumn(0, "excucdrem", "");
  1158. grp_biz.grp_excucdrem.visible = false;
  1159. }
  1160. function grp_biz_grp_excucdrem_button4_onclick(obj:Button, e:ClickEventInfo)
  1161. {
  1162. grp_biz.grp_excucdrem.visible = false;
  1163. }
  1164. //주의사항
  1165. function grp_biz_grp_excupatrem_button3_onclick(obj:Button, e:ClickEventInfo)
  1166. {
  1167. var rownum = ds_grd_examcurecdlist.rowposition;
  1168. var excupatrem = ds_send.getColumn(0, "excupatrem");
  1169. ds_grd_examcurecdlist.setColumn(rownum, "excupatrem",excupatrem);
  1170. ds_send.setColumn(0, "excupatrem", "");
  1171. grp_biz.grp_excupatrem.visible = false;
  1172. }
  1173. function grp_biz_grp_excupatrem_btn_cls_onclick(obj:Button, e:ClickEventInfo)
  1174. {
  1175. grp_biz.grp_excupatrem.visible = false;
  1176. }
  1177. function grp_biz_grp_sea_ipt_srchexamcurecd_onkeydown(obj:Edit, e:KeyEventInfo)
  1178. {
  1179. if(e.keycode == 13) {
  1180. grp_biz_grp_sea_btn_sea_onclick();
  1181. }
  1182. }
  1183. function grp_biz_grd_examcurecdlist_ontextchanged(obj:Grid, e:GridEditTextChangedEventInfo)
  1184. {return;
  1185. var iRow = obj.currentrow ;
  1186. /*
  1187. * 장비연동(CDIS/PACS) 중복 체크
  1188. */
  1189. if ( e.col == obj.getBindCellIndex("body", "eqmtifyn")) {
  1190. var eqmtifyn = ds_grd_examcurecdlist.getColumn(iRow,"eqmtifyn");
  1191. var pacsnocretyn = ds_grd_examcurecdlist.getColumn(iRow,"pacsnocretyn");
  1192. if ( eqmtifyn != "N" ) {
  1193. if ( pacsnocretyn != "N" ) {
  1194. sysf_messageBox("검사코드에 CDIS 장비연동과 PACS연동을 동시적용 불가입니다. PACS연동을 해제합니다.","I999");
  1195. ds_grd_examcurecdlist.setColumn(iRow,"pacsnocretyn", "N");
  1196. }
  1197. }
  1198. }
  1199. if (ds_grd_examcurecdlist.getColumn(iRow,"pacsnocretyn") == "N" ) {
  1200. ds_grd_examcurecdlist.setColumn(iRow,"etceqmtifyn", "-");
  1201. }
  1202. if (e.col == obj.getBindCellIndex("body", "pacsnocretyn")) {
  1203. var pacsnocretyn = ds_grd_examcurecdlist.getColumn(iRow, "pacsnocretyn");
  1204. var eqmtifyn = ds_grd_examcurecdlist.getColumn(iRow, "eqmtifyn");
  1205. if ( pacsnocretyn != "N" ) {
  1206. if ( eqmtifyn != "N" ) {
  1207. sysf_messageBox("검사코드에 CDIS 장비연동과 PACS연동을 동시적용 불가입니다. CDIS연동을 해제합니다.","I999");
  1208. ds_grd_examcurecdlist.setColumn(iRow,"eqmtifyn", "N");
  1209. }
  1210. }
  1211. }
  1212. /**
  1213. * 분류코드1,2 가져오기.
  1214. */
  1215. if (e.col == obj.getBindCellIndex("body", "rsltclscd1")) {
  1216. ds_grd_examcurecdlist.setColumn(iRow,"rsltclscd2", "");
  1217. var idx = ds_grd_examcurecdlist.getColumn(iRow, "rsltclscd1");
  1218. }
  1219. // //2015/02/11 이정택 M-SET처방의 싱글 관리추가
  1220. // if(colidx==grd_examcurecdlist.colRef("prcptdayrcptyn") && grd_examcurecdlist.valueMatrix(grd_examcurecdlist.row, grd_examcurecdlist.colRef("grupsnglflag"))=='M'){
  1221. // if(grd_examcurecdlist.valueMatrix(grd_examcurecdlist.row, grd_examcurecdlist.colRef("prcptdayrcptyn"))=='Y'){
  1222. // frmf_setParameter("excucd", grd_examcurecdlist.valueMatrix(grd_examcurecdlist.row, grd_examcurecdlist.colRef("excucd")));
  1223. // frmf_modal("SPAEB00020");
  1224. // }
  1225. // }
  1226. // //2015/02/11 이정택 M-SET처방의 싱글 관리추가
  1227. }
  1228. function grp_biz_btn_grdadd_onclick(obj:Button, e:ClickEventInfo)
  1229. {
  1230. var nRow = ds_grd_examcurecdlist.addRow();
  1231. // 행추가 시 bottomRow 사용하지 마세요!! 꼭
  1232. grp_biz.grd_examcurecdlist.setCellPos(nRow);
  1233. ds_grd_examcurecdlist.setColumn(nRow,"basesuppdeptcd",ds_send_globalinstance.getColumn(0,"instance1"));
  1234. ds_grd_examcurecdlist.setColumn(nRow,"sortno",nRow + 1);
  1235. }
  1236. function grp_biz_btn_grddel_onclick(obj:Button, e:ClickEventInfo)
  1237. {
  1238. // var arrRow = new Array();
  1239. // arrRow[0] = ds_grd_examcurecdlist.rowposition;
  1240. // grdf_setStatus(grp_biz.grd_examcurecdlist, "D", arrRow);
  1241. var cRow = ds_grd_examcurecdlist.rowposition;
  1242. if( ds_grd_examcurecdlist.getRowType(cRow) == 2 ) {
  1243. ds_grd_examcurecdlist.deleteRow(cRow);
  1244. }else{
  1245. grdf_setStatus(grp_biz.grd_examcurecdlist, "D", [cRow]);
  1246. }
  1247. }
  1248. function button12_onclick(obj:Button, e:ClickEventInfo)
  1249. {
  1250. grdf_exportExcel(grp_biz.grd_examcurecdlist, "검사치료코드" , "검사치료코드");
  1251. }
  1252. function grp_biz_btn_grdcopy_onclick(obj:Button, e:ClickEventInfo)
  1253. {
  1254. ds_hidden_item.clearData();
  1255. var grdrow = ds_grd_examcurecdlist.rowposition;
  1256. if (grdrow < 0){
  1257. sysf_messageBox("복사할 행을 선택하시기 바랍니다.", "E999", "");
  1258. return;
  1259. }
  1260. var cRow = ds_hidden_item.addRow();
  1261. ds_hidden_item.copyRow(cRow, ds_grd_examcurecdlist, grdrow);
  1262. ds_hidden_item.setColumn(cRow, "excucd", "");
  1263. ds_hidden_item.setColumn(cRow, "excucdnm", "");
  1264. ds_grd_examcurecdlist.insertRow(grdrow);
  1265. ds_grd_examcurecdlist.copyRow(grdrow, ds_hidden_item, cRow);
  1266. }
  1267. function grp_biz_button6_onclick(obj:Button, e:ClickEventInfo)
  1268. {
  1269. // var objArg = new Object();
  1270. // objArg.arg_ds_source = "";
  1271. frmf_modal("SMAEA04300", "SMAEA04300" ,"","","", "100", "100", "", "", "", "", "","M");
  1272. }
  1273. function grp_biz_button2_onclick(obj:Button, e:ClickEventInfo)
  1274. {
  1275. // var objArg = new Object();
  1276. // objArg.arg_ds_source = "";
  1277. frmf_open("SMPIC00700", "SMPIC00700" ,"","","", "100", "100", "", "", "", "", "","M")
  1278. }
  1279. function grp_biz_btn_selcalcscorcd_onclick(obj:Button, e:ClickEventInfo)
  1280. {
  1281. ds_temp_templst_list.clearData();
  1282. var sessiondept = ds_send_globalinstance.getColumn(0, "instance1");
  1283. fGetCalScorCd("cd", "", "Y"/*bMultiyn*/ , "ds_temp_templst_list" /*vMultiDestXPath*/, "" /*vCdDestXPath*/, "" /*vNmDestXPath*/, "" /*vAmtDestXPath*/);
  1284. // 2010.11.19 c y w 검사코드 추가시 기본값셋팅
  1285. var tempcnt = ds_temp_templst_list.rowcount;
  1286. for( var i = 0 ; i < tempcnt ; i++ ) {
  1287. ds_temp_templst_list.setColumn( i, "rsltdispgbn" , ds_grd_examcurecdlist.getColumn(0, "rsltdispgbn") );
  1288. ds_temp_templst_list.setColumn( i, "prcpexecdeptcd" , ds_grd_examcurecdlist.getColumn(0, "prcpexecdeptcd") );
  1289. ds_temp_templst_list.setColumn( i, "prcpexecdeptcd1", ds_grd_examcurecdlist.getColumn(0, "prcpexecdeptcd") );
  1290. }
  1291. fSetOcd(grp_biz.grd_examcurecdlist , "ds_temp_templst_list" , 2, "Y", "excucd", "excucdnm", sessiondept);
  1292. }
  1293. function SMAEB00200_oninit(obj:Form, e:InitEventInfo)
  1294. {
  1295. frmf_initForm(obj);
  1296. }
  1297. function ds_grd_examcurecdlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1298. {
  1299. if(e.columnid=="rcptrsrvyn" || e.columnid=="rcptacptyn" || e.columnid=="prcptdayaftrcptyn" || e.columnid=="prcptdayrcptyn"
  1300. || e.columnid=="angiouseyn" || e.columnid=="autroomassgyn" || e.columnid=="rsltdispyn" || e.columnid=="rsrvexcupossyn" || e.columnid=="slepyn"
  1301. || e.columnid=="dcusrsrvyn" || e.columnid=="prestddappyn" || e.columnid=="anotestyn" || e.columnid=="sytserdispyn" || e.columnid=="sytshealdispyn"
  1302. || e.columnid=="glycostestyn" || e.columnid=="bonedentestyn" || e.columnid=="emryn") {
  1303. obj.setColumn(e.row,e.columnid,(e.newvalue=="Y"||e.newvalue==1)?"Y":"N");
  1304. }
  1305. var iRow = e.row;
  1306. /*
  1307. * 장비연동(CDIS/PACS) 중복 체크
  1308. */
  1309. if (e.columnid == "eqmtifyn") {
  1310. var eqmtifyn = obj.getColumn(iRow,"eqmtifyn");
  1311. var pacsnocretyn = obj.getColumn(iRow,"pacsnocretyn");
  1312. if ( eqmtifyn != "N" ) {
  1313. if ( pacsnocretyn != "N" ) {
  1314. sysf_messageBox("검사코드에 CDIS 장비연동과 PACS연동을 동시적용 불가입니다. PACS연동을 해제합니다.","I999");
  1315. obj.setColumn(iRow,"pacsnocretyn", "N");
  1316. }
  1317. }
  1318. }
  1319. if (obj.getColumn(iRow,"pacsnocretyn") == "N" ) {
  1320. obj.setColumn(iRow,"etceqmtifyn", "-");
  1321. }
  1322. if (e.columnid == "pacsnocretyn") {
  1323. var pacsnocretyn = obj.getColumn(iRow, "pacsnocretyn");
  1324. var eqmtifyn = obj.getColumn(iRow, "eqmtifyn");
  1325. if ( pacsnocretyn != "N" ) {
  1326. if ( eqmtifyn != "N" ) {
  1327. sysf_messageBox("검사코드에 CDIS 장비연동과 PACS연동을 동시적용 불가입니다. CDIS연동을 해제합니다.","I999");
  1328. obj.setColumn(iRow,"eqmtifyn", "N");
  1329. }
  1330. }
  1331. }
  1332. /**
  1333. * 분류코드1,2 가져오기.
  1334. */
  1335. if (e.columnid == "rsltclscd1") {
  1336. obj.setColumn(iRow,"rsltclscd2", "");
  1337. var idx = obj.getColumn(iRow, "rsltclscd1");
  1338. }
  1339. //2015/02/11 이정택 M-SET처방의 싱글 관리추가
  1340. if(e.columnid == "prcptdayrcptyn" && obj.getColumn(e.row, "grupsnglflag") == "M") {
  1341. if(obj.getColumn(e.row, "prcptdayrcptyn") == "Y") {
  1342. frmf_setParameter("excucd", obj.getColumn(e.row, "excucd"));
  1343. frmf_modal("SPAEB00020","SPAEB00020","","","","","","","","","","","M");
  1344. }
  1345. }
  1346. //2015/02/11 이정택 M-SET처방의 싱글 관리추가
  1347. }
  1348. /* @group : 검사치료코드 제 3판독의 등록
  1349. * @ver :
  1350. * @by : 장준원
  1351. * @-----------------------------------
  1352. * @type : function
  1353. * @access : public
  1354. * @desc : 제 3판독의를 통한 PACS 오더 전달..
  1355. */
  1356. function fSrchDrInfo() {
  1357. ds_main_userinfolist.clear();
  1358. ds_main_userpopupinfo.clearData();
  1359. dsf_makeValue(ds_main_userpopupinfo,"param","string","_OneS");
  1360. var objArg = new Object();
  1361. objArg.param = ds_main_userpopupinfo.getColumn(0,"param");
  1362. objArg.flag = "";
  1363. objArg.searchitem = "";
  1364. var iParam = frmf_modal("SPZSU10103", "SPZSU10103", objArg, "", 0, 200, 200, "", "", "", "", "", "M");
  1365. // setCSVToNode("/root/temp/useroneselect", iParam);
  1366. ds_main_userinfolist.copyData(iParam);
  1367. }
  1368. function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo)
  1369. {
  1370. if ( sysf_messageBox("검사코드를","Q002")==6 ) {
  1371. var check = fCheckExCuCd();
  1372. if ( check == "1" ) return;
  1373. // model.makeValue("/root/send/req/data1", grd_examcurecdlist.getUpdateData());
  1374. var dsUpdate = grdf_getGridUpdateData(grp_biz.grd_examcurecdlist, "all");
  1375. grdf_setStatusColumn(dsUpdate, "m");
  1376. ds_send_req_data1.copyData(dsUpdate,true);
  1377. dsf_setDefaultVal(ds_send_req_data1, "curetims:0,etceqmtifyn:-,emryn:N,rsrvupdtcncllimdayno:0,rsrvupdtcncllimdayno:0");
  1378. var oParam = {};
  1379. oParam.id = "TXAEB00201";
  1380. oParam.service = "examcurebaseapp.ExamCureCode";
  1381. oParam.method = "reqExeExamCureCode";
  1382. oParam.inds = "req=ds_send_req_data1";
  1383. oParam.outds = "ds_hidden=item";
  1384. oParam.async = false;
  1385. oParam.callback = "cf_TXAEB00201";
  1386. tranf_submit(oParam);
  1387. if( arErrorCode.pop("TXAEB00201") > -1 ) {
  1388. ds_send.setColumn(0,"srchexamcurecd","%");
  1389. ds_send.setColumn(0,"srchexamcurenm","%");
  1390. grp_biz_grp_sea_btn_sea_onclick();
  1391. // grd_examcurecdlist.topRow = 1;
  1392. }
  1393. }
  1394. }
  1395. function cf_TXAEB00201(sSvcId, nErrorCode, sErrorMsg) {
  1396. arErrorCode.push(sSvcId, nErrorCode);
  1397. }
  1398. function fCheckExCuCd() {
  1399. var srchLength1 = ds_grd_examcurecdlist.rowcount;
  1400. var msg = "";
  1401. var msgCnt = 0;
  1402. for ( var i = 0 ; i < srchLength1; i++ ) {
  1403. if ( utlf_isNull(ds_grd_examcurecdlist.getColumn(i,"excucd")) ) {
  1404. sysf_messageBox("검사코드[필수입력사항]를 입력 해야 합니다.","I999");
  1405. return "1";
  1406. }
  1407. if ( utlf_isNull(ds_grd_examcurecdlist.getColumn(i,"excucdnm")) ) {
  1408. sysf_messageBox("["+ds_grd_examcurecdlist.getColumn(i,"excucd")+"]코드의 검사코드명칭[필수입력사항]를 입력 해야 합니다.","I999");
  1409. return "1";
  1410. }
  1411. if ( utlf_isNull(ds_grd_examcurecdlist.getColumn(i,"prcpexecdeptcd")) ) {
  1412. sysf_messageBox("["+ds_grd_examcurecdlist.getColumn(i,"excucd")+"]코드의 시행부서코드[필수입력사항]를 선택 해야 합니다.","I999");
  1413. return "1";
  1414. }
  1415. ////20180130 영상의학과일경우 ,분류코드를 필수항목으로 입력
  1416. if ( ds_send_globalinstance.getColumn(0,"instance1") == "2160000000" ) {
  1417. //trace( "excuclscd =" + ds_grd_examcurecdlist.getColumn(i,"excuclscd"));
  1418. if ( utlf_isNull(ds_grd_examcurecdlist.getColumn(i,"excuclscd")) || ds_grd_examcurecdlist.getColumn(i,"excuclscd") == "-") {
  1419. sysf_messageBox("["+ds_grd_examcurecdlist.getColumn(i,"excuclscd")+"]코드의 분류코드[필수입력사항]를 선택 해야 합니다.","I999");
  1420. return "1";
  1421. }
  1422. } else {
  1423. if ( utlf_isNull(ds_grd_examcurecdlist.getColumn(i,"excuclscd")) ) {
  1424. ds_grd_examcurecdlist.setColumn(i,"excuclscd", "-");
  1425. }
  1426. }
  1427. ////////////////////////////////////////////////////////////////////
  1428. if ( utlf_isNull(ds_grd_examcurecdlist.getColumn(i,"rsltclscd1")) ) {
  1429. ds_grd_examcurecdlist.setColumn(i,"rsltclscd1", "-");
  1430. }
  1431. if ( utlf_isNull(ds_grd_examcurecdlist.getColumn(i,"rsltclscd2")) ) {
  1432. ds_grd_examcurecdlist.setColumn(i,"rsltclscd2", "-");
  1433. }
  1434. if ( ds_grd_examcurecdlist.getColumn(i,"pacsnocretyn") == "N" ) {
  1435. ds_grd_examcurecdlist.setColumn(i,"etceqmtifyn", "-");
  1436. } else {
  1437. if (ds_grd_examcurecdlist.getColumn(i,"etceqmtifyn") == "-"){
  1438. sysf_messageBox("Pacs연동시 장비구분은 필수 선택항목입니다.", "E999", "");
  1439. return "1";
  1440. }
  1441. }
  1442. if ( utlf_isNull(ds_grd_examcurecdlist.getColumn(i,"rsrvmultitmplcd")) ){
  1443. ds_grd_examcurecdlist.setColumn(i,"rsrvmultitmplcd", "-");
  1444. }
  1445. // 미수예약 및 당일수납 체크 변경시 확인
  1446. var rsrvFlag = ds_grd_examcurecdlist.getColumn(i,"rcptrsrvyn") != ds_grd_examcurecdlist.getColumn(i,"bfrcptrsrvyn");
  1447. var dayFlag = ds_grd_examcurecdlist.getColumn(i,"prcptdayrcptyn") != ds_grd_examcurecdlist.getColumn(i,"bfprcptdayrcptyn");
  1448. if (rsrvFlag || dayFlag) {
  1449. msgCnt++;
  1450. if (msgCnt < 11) {
  1451. msg += ( msg != "" ? "\n" : "" );
  1452. msg += "[ " + i + " ] 행 - ";
  1453. msg += ( rsrvFlag ? "[ 미수예약 ]" : "" );
  1454. msg += ( dayFlag ? " " : "" );
  1455. msg += ( dayFlag ? "[ 당일수납 ]" : "" );
  1456. } else if (msgCnt == 11) {
  1457. msg += "\n...";
  1458. }
  1459. }
  1460. if ( utlf_isNull(ds_grd_examcurecdlist.getColumn(i,"rsrvmultitmplcd")) ){
  1461. ds_grd_examcurecdlist.setColumn(i,"rsrvmultitmplcd", "-");
  1462. }
  1463. }
  1464. if (msg != "") {
  1465. if (sysf_messageBox("아래와 같은 변경 사항이 있습니다.\n\n" + msg + "\n\n진행하시겠습니까?", "Q999") != 6) {
  1466. return "1";
  1467. }
  1468. }
  1469. }
  1470. function fMakeCopyColumn(objDs,sColSrc,sColTgt) {
  1471. if(utlf_isNull(objDs.getColumnInfo(sColTgt))) objDs.addColumn(sColTgt,"string");
  1472. for(var i = 0 ; i < objDs.rowcount ; i++) {
  1473. objDs.setColumn(i,sColTgt,objDs.getColumn(i,sColSrc));
  1474. }
  1475. }
  1476. function grp_biz_grp_sea_cmb_excuroom_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1477. {
  1478. grp_biz_grp_sea_btn_sea_onclick();
  1479. }
  1480. function grp_biz_grd_examcurecdlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1481. {
  1482. // var iRow = grd_examcurecdlist.row - 1 ;
  1483. // var colidx = grd_examcurecdlist.col;
  1484. //
  1485. // // 자동방배정 체크박스
  1486. // if(grd_examcurecdlist.colAttribute(colidx, "ref") == "autroomassgyn") {
  1487. // var check = ds_main_examcurecdlist_item.getColumn(iRow, "autroomassgyn");
  1488. //
  1489. // if ( check == "N" ) ds_main_examcurecdlist.setColumn( iRow , "autroomassgcd", "");
  1490. // }
  1491. //
  1492. // if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rslttmplcd") {
  1493. // grd_examcurecdlist.addStatus(iRow, "update");
  1494. // }
  1495. // if(grd_examcurecdlist.colAttribute(colidx, "ref") == "ocrtmplcd") {
  1496. // grd_examcurecdlist.addStatus(iRow, "update");
  1497. // }
  1498. // if(grd_examcurecdlist.colAttribute(colidx, "ref") == "eqmtifyn") {
  1499. // grd_examcurecdlist.addStatus(iRow, "update");
  1500. // }
  1501. // // 예약여부 체크박스
  1502. // if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvexcupossyn") {
  1503. // var check = ds_main_examcurecdlist_item.getColumn(iRow, "rsrvexcupossyn"));
  1504. //
  1505. // if ( check == "N" ) {
  1506. // ds_main_examcurecdlist.setColumn( iRow , "rsrvexcuroomposscd", "");
  1507. // ds_main_examcurecdlist.setColumn( iRow , "rsrvplceflag", "");
  1508. // ds_main_examcurecdlist.setColumn( iRow , "excutm", "");
  1509. // ds_main_examcurecdlist.setColumn( iRow , "rsrvexmptmplcd", "");
  1510. // }
  1511. // }
  1512. // if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvexcuroomposscd") {
  1513. // grd_examcurecdlist.addStatus(iRow, "update");
  1514. // }
  1515. // if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvexmptmplcd") {
  1516. // //alert('rsrvexmptmplcd');
  1517. // grd_examcurecdlist.addStatus(iRow, "update");
  1518. // }
  1519. // if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rsrvaprvtmplcd") {
  1520. // //alert('rsrvaprvtmplcd');
  1521. // grd_examcurecdlist.addStatus(iRow, "update");
  1522. // }
  1523. //
  1524. // //2014_11_19 이정택 추가(원무과, 원무팀, PAM)
  1525. // if(sysf_getUserInfo("dutplcecd")=='4040300000' || sysf_getUserInfo("dutplcecd")=='4040326000' || sysf_getUserInfo("userid")=='PAM'){
  1526. // //이정택 추가(검사일수납 클릭시 미수예약도 같이 움직이도록 프로그램 수정)
  1527. // if(grd_examcurecdlist.col==grd_examcurecdlist.colRef("prcptdayrcptyn")){
  1528. // var row = grd_examcurecdlist.row;
  1529. // grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("rcptrsrvyn"))=grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("prcptdayrcptyn"));
  1530. // }
  1531. //
  1532. // // 이정택 추가(미수예약 클릭시 검사일 수납항목을 체크하도록 프로그램 수정)
  1533. // if(grd_examcurecdlist.col==grd_examcurecdlist.colRef("rcptrsrvyn")){
  1534. // var row = grd_examcurecdlist.row;
  1535. // if(grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("rcptrsrvyn"))=="N"){
  1536. // if(grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("prcptdayrcptyn"))=="Y"){
  1537. // sysf_messageBox("검사일 수납에 체크가 되어 있을시, 미수예약은 체크해제가\n불가능합니다.", "E");
  1538. // grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("rcptrsrvyn"))=grd_examcurecdlist.valueMatrix(row, grd_examcurecdlist.colRef("prcptdayrcptyn"));
  1539. // return;
  1540. // }
  1541. // }
  1542. // }
  1543. // }
  1544. // //2014_11_19 이정택 추가
  1545. }
  1546. function grp_biz_grd_examcurecdlist_onexpandup(obj:Grid, e:GridMouseEventInfo)
  1547. {
  1548. //sysf_trace("col = " + obj.currentcol);
  1549. ds_send.setColumn(0, "windowloadinstance", "SMAEB00200"); //코드조회 참조정보
  1550. ds_hidden.setColumn(0, "checkseq","");
  1551. ds_hidden.setColumn(0, "grupcdid","");
  1552. /**
  1553. * 상세내역 입력
  1554. */
  1555. if ( e.col == obj.getBindCellIndex("body", "excucdrem")) { //상세내역
  1556. ds_send.setColumn(0, "excucdrem", "");
  1557. grp_biz.grp_excucdrem.visible = true;
  1558. var rownum = obj.currentrow;
  1559. var excucdrem = ds_grd_examcurecdlist.getColumn( rownum, "excucdrem");
  1560. ds_send.setColumn(0, "excucdrem",excucdrem);
  1561. }
  1562. /**
  1563. * 제3판독의 가져오기.
  1564. */
  1565. if ( e.col == obj.getBindCellIndex("body", "readdrid3nm") )
  1566. {
  1567. var rownum = e.row;
  1568. fSrchDrInfo();
  1569. ds_grd_examcurecdlist.setColumn( rownum , "readdrid3" , ds_main_userinfolist.getColumn(0, "userid") ); // 사용자 ID
  1570. ds_grd_examcurecdlist.setColumn( rownum , "readdrid3nm" , ds_main_userinfolist.getColumn(0, "usernm") ); // 사용자 이름
  1571. //grd_examcurecdlist.addStatus(grd_examcurecdlist.row,"update");
  1572. //grd_examcurecdlist.dispatch("xforms-value-changed");
  1573. }
  1574. /**
  1575. * 대체코드 가져오기.
  1576. */
  1577. //if ( obj.currentcol == 16) { //대체코드
  1578. if ( e.col == obj.getBindCellIndex("body", "angioaltprcpcd")) {
  1579. var rownum = obj.currentrow;
  1580. var angiouseyn = utlf_transNullToEmpty(ds_grd_examcurecdlist.getColumn( rownum,"angiouseyn"));
  1581. //sysf_trace("angiouseyn = " + angiouseyn);
  1582. if ( angiouseyn != "Y" ) {
  1583. sysf_messageBox("[조영제사용여부]를 선택하십시오.","I999");
  1584. return true;
  1585. }
  1586. ds_send.setColumn(0, "windowloadinstance", "SMAEB00200"); //코드조회 참조정보
  1587. dsf_createDsRow("ds_temp_source"
  1588. , [{col: "SMAEB00200_param_srcXpath1", val: "/root/main/examcurecdlist/item"}
  1589. , {col: "SMAEB00200_param_srcXgrid1" , val: "ds_grd_examcurecdlist"}
  1590. , {col: "SMAEB00200_param_srcXrow1" , val: ds_grd_examcurecdlist.rowposition}
  1591. , {col: "SMAEB00200_param_srcXnode1" , val: "angioaltprcpcd"}
  1592. ]);
  1593. var objArg = new Object();
  1594. objArg.arg_ds_source = ds_temp_source;
  1595. //sysf_trace( "objArg =" + objArg);
  1596. frmf_modal("SPAEA02302", "SPAEA02302" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  1597. }
  1598. /**
  1599. * 배정가능검사실코드 가져오기.
  1600. */
  1601. //if ( obj.currentcol == 19) { //배정검사실
  1602. if ( e.col == obj.getBindCellIndex("body", "autroomassgcd")) {
  1603. var rownum = obj.currentrow;
  1604. var assgyn = utlf_transNullToEmpty(ds_grd_examcurecdlist.getColumn( rownum,"autroomassgyn"));
  1605. //sysf_trace("assgyn = " + assgyn);
  1606. if ( assgyn != "Y" ) {
  1607. sysf_messageBox("[자동방배정여부]를 선택하십시오.","I999");
  1608. return true;
  1609. }
  1610. var objArg = new Object();
  1611. objArg.arg_ds_source = "";
  1612. //sysf_trace(" call SPAEA02301 " );
  1613. frmf_modal("SPAEA02301", "SPAEA02301" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  1614. }
  1615. /**
  1616. * 20150921 권영애 선택진료의 가져오기.
  1617. */
  1618. //if( obj.currentcol == 21) // "specdrcd"
  1619. if( e.col == obj.getBindCellIndex("body", "specdrcd"))
  1620. {
  1621. ds_hidden.setColumn(0, "checkseq","57");
  1622. ds_hidden.setColumn(0, "grupcdid","A0012");
  1623. var objArg = new Object();
  1624. objArg.arg_ds_source = "";
  1625. frmf_modal("SPAEA02301", "SPAEA02301" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  1626. }
  1627. /**
  1628. * 결과서식 가져오기.
  1629. */
  1630. //if(obj.currentcol == 22) // rslttmplcd"
  1631. if( e.col == obj.getBindCellIndex("body", "rslttmplcd")) {
  1632. frmf_setParameter("winid", "SMAEB00200");
  1633. frmf_setParameter("SPMMR01000_param_flag", "F");
  1634. frmf_modal("SPMMR01000", "SPMMR01000" ,"","","", "100", "100", "", "", "", "", "","M");
  1635. var rownum = obj.currentrow;;
  1636. if(!utlf_isNull(frmf_getParameter("SPMMR01000_formcd_rtn"))){
  1637. ds_grd_examcurecdlist.setColumn(rownum,"rslttmplcd", frmf_getParameter("SPMMR01000_formcd_rtn"));
  1638. ds_grd_examcurecdlist.setColumn(rownum,"rslttmplcdnm", frmf_getParameter("SPMMR01000_formnm_rtn"));
  1639. }
  1640. }
  1641. /**
  1642. * 결과 tmpl 미리보기
  1643. * 20101013 -박재영
  1644. */
  1645. //if(grd_examcurecdlist.colAttribute(colidx, "ref") == "rslttmplcdnm"){
  1646. if ( e.col == obj.getBindCellIndex("body", "rslttmplcdnm")) {
  1647. var rownum = obj.currentrow;;
  1648. var valu = ds_grd_examcurecdlist.getColumn( rownum, "rslttmplcd");
  1649. if( !utlf_isNull(valu)){
  1650. // frmf_setParameter("openmode", "preview"); //오픈모드는 “newform”
  1651. // frmf_setParameter("formcd", valu); //서식테이블의 formcd(서식코드)
  1652. //
  1653. // // frmf_modal("SSMMR01100", 1, 0, 0 ,"", "", "");
  1654. // frmf_modal("SSMMR01100", "SSMMR01100", null, null, 1, 0, 0, null, null, null, null, null, "M");
  1655. var path = "";
  1656. var objArg = new Object();
  1657. var vFormKind = "new";
  1658. ds_cond_formdata.clearData();
  1659. ds_cond_formdata.addRow();
  1660. ds_cond_formdata.setColumn(0, "formcd", valu); // 서식목록 - linkcd, 기록목록 - formrecseq 컬럼값.
  1661. ds_cond_formdata.setColumn(0, "formkind", vFormKind); // 서식목록 탭 - new , 기록목록 - rec
  1662. ds_cond_formdata.setColumn(0, "btnvisible", false);
  1663. ds_cond_formdata.setColumn(0, "pid", "");
  1664. ds_cond_formdata.setColumn(0, "orddd", "");
  1665. ds_cond_formdata.setColumn(0, "cretno", "");
  1666. ds_cond_formdata.setColumn(0, "orddeptcd", "");
  1667. ds_cond_formdata.setColumn(0, "ioflag", "");
  1668. ds_cond_formdata.setColumn(0, "modalyn", "Y");
  1669. objArg.ds_cond_formdata = ds_cond_formdata;
  1670. lf_loadSMMMR01100(true, objArg, path);
  1671. }
  1672. }
  1673. /**
  1674. * 예약가능검사실코드 가져오기.
  1675. */
  1676. //if( obj.currentcol == 37) // "rsrvexcuroomposscd"
  1677. if( e.col == obj.getBindCellIndex("body", "rsrvexcuroomposscd")) {
  1678. var rownum = obj.currentrow;
  1679. var assgyn = utlf_transNullToEmpty(ds_grd_examcurecdlist.getColumn( rownum,"rsrvexcupossyn"));
  1680. if ( assgyn != "Y" ) {
  1681. sysf_messageBox("[예약여부]를 선택하십시오.","I999");
  1682. return true;
  1683. }
  1684. ds_hidden.setColumn(0, "checkseq","23");
  1685. var objArg = new Object();
  1686. objArg.arg_ds_source = "";
  1687. frmf_modal("SPAEA02301", "SPAEA02301" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  1688. }
  1689. /**
  1690. * 자체예약 검사/치료실 가져오기.
  1691. */
  1692. //if(obj.currentcol == 38) //rsrvexcuroomposscd2"
  1693. if( e.col == obj.getBindCellIndex("body", "rsrvexcuroomposscd2")) {
  1694. var rownum = obj.currentrow;
  1695. var assgyn = utlf_transNullToEmpty(ds_grd_examcurecdlist.getColumn( rownum,"rsrvexcupossyn"));
  1696. if ( assgyn != "Y" ) {
  1697. sysf_messageBox("[예약여부]를 선택하십시오.","I999");
  1698. return true;
  1699. }
  1700. ds_hidden.setColumn(0, "checkseq","55");
  1701. var objArg = new Object();
  1702. objArg.arg_ds_source = "";
  1703. frmf_modal("SPAEA02301", "SPAEA02301" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  1704. }
  1705. /**
  1706. * 나이제한 검사/치료실 가져오기.
  1707. */
  1708. //if(obj.currentcol == 39) // "rsrvsono"
  1709. if( e.col == obj.getBindCellIndex("body", "rsrvsono")) {
  1710. ds_hidden.setColumn(0, "checkseq","56");
  1711. frmf_modal("SPAEA02301", "SPAEA02301" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  1712. }
  1713. /**
  1714. * 예약예문코드 가져오기.
  1715. */
  1716. //if(obj.currentcol == 41) // "rsrvexmptmplcd"
  1717. if( e.col == obj.getBindCellIndex("body", "rsrvexmptmplcd")) {
  1718. ds_hidden.setColumn(0, "checkseq","26");
  1719. var objArg = new Object();
  1720. objArg.arg_ds_source = "";
  1721. frmf_modal("SPAEA02301", "SPAEA02301" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  1722. }
  1723. /**
  1724. * 멀티예약예문코드 가져오기.
  1725. */
  1726. //if(obj.currentcol == 42) // "rsrvmultitmplcd"
  1727. if( e.col == obj.getBindCellIndex("body", "rsrvmultitmplcd")) {
  1728. ds_hidden.setColumn(0, "checkseq","27");
  1729. var objArg = new Object();
  1730. objArg.arg_ds_source = "";
  1731. frmf_modal("SPAEA02301", "SPAEA02301" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  1732. }
  1733. if( e.col == obj.getBindCellIndex("body", "rsrvaprvtmplcd")) {
  1734. sysf_setParameter("formlistflag","true");
  1735. //window.load( "../../../emr/medirecweb/xrw/SMMMR02500_서식리스트.xrw","modal","code", "left:100px; top:150px; width:530px; height:380px;min:hidden;max:hidden;resize:false;" );
  1736. var objArg = new Object();
  1737. objArg.arg_ds_source = "";
  1738. frmf_modal("SMMMR02500", "SMMMR02500" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  1739. var rownum = obj.currentrow;
  1740. ds_grd_examcurecdlist.setColumn( rownum, "rsrvaprvtmplcd", sysf_getParameter("formcd"));
  1741. }
  1742. /**
  1743. * 검사코드별주의사항 입력
  1744. */
  1745. //if(obj.currentcol == 67 ) //"excupatrem"
  1746. if( e.col == obj.getBindCellIndex("body", "excupatrem")){
  1747. ds_send.setColumn(0, "excupatrem", "");
  1748. grp_biz.grp_excupatrem.visible = true;
  1749. var rownum = obj.currentrow;
  1750. var excupatrem = ds_grd_examcurecdlist.getColumn(rownum, "excupatrem");
  1751. ds_send.setColumn(0, "excupatrem",excupatrem);
  1752. }
  1753. // 2010.12.23 c y w 시행부서 팝업추가
  1754. //if(obj.currentcol == 67) // "prcpexecdeptcd1")
  1755. if ( e.col == obj.getBindCellIndex("body", "prcpexecdeptcd1")) {
  1756. var rownum = obj.currentrow;
  1757. var objArg = new Object();
  1758. objArg.arg_ds_source = "";
  1759. ds_main_prcplist.clearData();
  1760. ds_main_prcplist.addRow();
  1761. frmf_modal("SPMMB02500", "SPMMB02500" ,objArg,"","", "100", "100", "", "", "", "", "","M");
  1762. if( !utlf_isNull(ds_main_prcplist.getColumn(0, "prcpexecdeptcd")) ){
  1763. ds_grd_examcurecdlist.setColumn( rownum, "prcpexecdeptcd1", ds_main_prcplist.getColumn(0, "prcpexecdeptcd") );
  1764. ds_grd_examcurecdlist.setColumn( rownum,"prcpexecdeptcd", ds_main_prcplist.getColumn(0, "prcpexecdeptcd"));
  1765. }
  1766. }
  1767. }
  1768. function grp_biz_grd_examcurecdlist_onmousemove(obj:Grid, e:GridMouseEventInfo)
  1769. {
  1770. if(e.row < 0) return;
  1771. if(obj.getCellProperty("body",e.col,"expandshow") == "show") obj.autoenter = "select";
  1772. else obj.autoenter = "key";
  1773. }
  1774. ]]></Script>
  1775. </Form>
  1776. </FDL>