SMPMO00600_외래등록조회.xfdl 112 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMO00600" position="absolute 0 0 1196 751" titletext="외래등록조회" onload="SMPMO00600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 5 1195 749" id="group2" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Grid id="grd_outupdtcncl" class="datagrid1" taborder="3" binddataset="ds_main_patinfoupdt_patinfoupdtlist" useinputpanel="false" position="absolute 0 109 1194 712" anchor="all" visible="false">
  11. <Formats>
  12. <Format id="default">
  13. <Columns>
  14. <Column size="25" band="left"/>
  15. <Column size="70"/>
  16. <Column size="70"/>
  17. <Column size="60"/>
  18. <Column size="80"/>
  19. <Column size="100"/>
  20. <Column size="0"/>
  21. <Column size="100"/>
  22. <Column size="0"/>
  23. <Column size="120"/>
  24. <Column size="0"/>
  25. <Column size="120"/>
  26. <Column size="0"/>
  27. <Column size="70"/>
  28. <Column size="80"/>
  29. <Column size="70"/>
  30. <Column size="0"/>
  31. <Column size="100"/>
  32. <Column size="100"/>
  33. <Column size="115"/>
  34. <Column size="100"/>
  35. <Column size="120"/>
  36. <Column size="172"/>
  37. <Column size="0"/>
  38. <Column size="251"/>
  39. <Column size="251"/>
  40. </Columns>
  41. <Rows>
  42. <Row size="24" band="head"/>
  43. <Row size="53"/>
  44. </Rows>
  45. <Band id="head">
  46. <Cell/>
  47. <Cell col="1" text="변경구분"/>
  48. <Cell col="2" text="등록번호"/>
  49. <Cell col="3" text="성명"/>
  50. <Cell col="4" text="보험유형"/>
  51. <Cell col="5" text="유형보조"/>
  52. <Cell col="6" text="초재진"/>
  53. <Cell col="7" text="진찰료산정여부"/>
  54. <Cell col="8" text="센터코드"/>
  55. <Cell col="9" text="센터"/>
  56. <Cell col="10" text="진료과코드"/>
  57. <Cell col="11" text="진료과"/>
  58. <Cell col="12" text="진료의ID"/>
  59. <Cell col="13" text="진료의"/>
  60. <Cell col="14" text="진료일자"/>
  61. <Cell col="15" text="진료시간"/>
  62. <Cell col="16" text="최초수정과"/>
  63. <Cell col="17" text="최초입력자"/>
  64. <Cell col="18" text="최초입력일시"/>
  65. <Cell col="19" text="최종수정과"/>
  66. <Cell col="20" text="최종수정자"/>
  67. <Cell col="21" text="최종수정일시"/>
  68. <Cell col="22" text="변경사유"/>
  69. <Cell col="23" text="histstat"/>
  70. <Cell col="24" text="참고사항"/>
  71. <Cell col="25" text="전화예약 참고사항"/>
  72. </Band>
  73. <Band id="body">
  74. <Cell celltype="head" expr="expr:currow + 1"/>
  75. <Cell col="1" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:histstat" combodataset="ds_init_comncdlist_P0029list" combocodecol="cdid" combodatacol="cdnm" tooltiptype="bottom,right" enable="false"/>
  76. <Cell col="2" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:pid"/>
  77. <Cell col="3" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:pathngnm"/>
  78. <Cell col="4" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:insukindnm" combodataset="ds_init_comncdlist_P0008list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  79. <Cell col="5" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:suppkindnm" combodataset="ds_init_comncdlist_P0010list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  80. <Cell col="6" displaytype="combo" edittype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fsexamflagnm" combodataset="ds_init_comncdlist_P0021list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  81. <Cell col="7" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:medamtestmyn"/>
  82. <Cell col="8" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:centcd"/>
  83. <Cell col="9" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:centnm"/>
  84. <Cell col="10" displaytype="combo" edittype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddeptcd" combodataset="ds_init_pam_init_orddeptcd" combocodecol="cd" combodatacol="nm" enable="false"/>
  85. <Cell col="11" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddeptnm"/>
  86. <Cell col="12" displaytype="combo" edittype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddrid" combodataset="ds_init_pam_init_orddrid" combocodecol="cd" combodatacol="nm" enable="false"/>
  87. <Cell col="13" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddrnm"/>
  88. <Cell col="14" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  89. <Cell col="15" displaytype="normal" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:ordtm" mask="##:##" calendardisplaynulltype="nulltext"/>
  90. <Cell col="16" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fstrgstdeptnm"/>
  91. <Cell col="17" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fstrgstrnm"/>
  92. <Cell col="18" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="none"/>
  93. <Cell col="19" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtdeptnm"/>
  94. <Cell col="20" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtrnm"/>
  95. <Cell col="21" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm" calendardisplaynulltype="none"/>
  96. <Cell col="22" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:updtcnclresn" wordwrap="word"/>
  97. <Cell col="23" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:histstat" wordwrap="word"/>
  98. <Cell col="24" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:remfact" wordwrap="word"/>
  99. <Cell col="25" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:telrsrvrem" wordwrap="word"/>
  100. </Band>
  101. </Format>
  102. </Formats>
  103. </Grid>
  104. <Div position="absolute 0 82 1195 737" id="group6" anchor="all">
  105. <Layouts>
  106. <Layout width="1195" height="655">
  107. <Tab position="absolute 0 0 1195 643" id="swt_outpatient" anchor="all" onlbuttonup="group2_group6_swt_outpatient_onlbuttonup">
  108. <Tabpages>
  109. <Tabpage text="외래등록" id="case_outrgst">
  110. <Layouts>
  111. <Layout width="1195" height="616">
  112. <Shape position="absolute 1 23 1195 29" linetype="horizontal" id="line17" class="line_1" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  113. <Button position="absolute 1119 1 1195 23" id="btn_rgstexcel" class="btn7" text="엑셀저장" anchor="top right" onclick="group2_group6_swt_outpatient_case_outrgst_btn_rgstexcel_onclick"/>
  114. <Grid position="absolute 0 28 1195 603" align="align:center middle;" id="mgrd_outrgst" class="datagrid2" binddataset="ds_main_patinforgst_patinforgstlist" anchor="all" oncelldblclick="group2_group6_swt_outpatient_case_outrgst_mgrd_outrgst_oncelldblclick">
  115. <Formats>
  116. <Format id="default">
  117. <Columns>
  118. <Column size="25" band="left"/>
  119. <Column size="110"/>
  120. <Column size="70"/>
  121. <Column size="70"/>
  122. <Column size="36"/>
  123. <Column size="0"/>
  124. <Column size="100"/>
  125. <Column size="120"/>
  126. <Column size="100"/>
  127. <Column size="70"/>
  128. <Column size="0"/>
  129. <Column size="70"/>
  130. <Column size="60"/>
  131. <Column size="53"/>
  132. <Column size="56"/>
  133. <Column size="60"/>
  134. <Column size="55"/>
  135. <Column size="100"/>
  136. <Column size="47"/>
  137. <Column size="56"/>
  138. <Column size="56"/>
  139. <Column size="0"/>
  140. <Column size="120"/>
  141. <Column size="70"/>
  142. <Column size="129"/>
  143. <Column size="129"/>
  144. </Columns>
  145. <Rows>
  146. <Row size="35" band="head"/>
  147. <Row size="24"/>
  148. </Rows>
  149. <Band id="head">
  150. <Cell/>
  151. <Cell col="1" text="진료일시"/>
  152. <Cell col="2" text="등록번호"/>
  153. <Cell col="3" text="환자명"/>
  154. <Cell col="4" text="진료여부" wordwrap="word"/>
  155. <Cell col="5" text="진료과코드"/>
  156. <Cell col="6" text="센터"/>
  157. <Cell col="7" text="진료과"/>
  158. <Cell col="8" text="하위부서"/>
  159. <Cell col="9" text="진료의"/>
  160. <Cell col="10" text="진료의ID"/>
  161. <Cell col="11" text="보험유형"/>
  162. <Cell col="12" text="보조유형"/>
  163. <Cell col="13" text="초_재진"/>
  164. <Cell col="14" text="예약구분"/>
  165. <Cell col="15" text="진찰료&#10;산정여부" wordwrap="word"/>
  166. <Cell col="16" text="기타진료구분" wordwrap="word"/>
  167. <Cell col="17" text="계정감면"/>
  168. <Cell col="18" text="진찰료수납" wordwrap="word"/>
  169. <Cell col="19" text="등록자"/>
  170. <Cell col="20" text="수납자"/>
  171. <Cell col="21" text="접수상태"/>
  172. <Cell col="22" text="수납일시"/>
  173. <Cell col="23" text="수정자"/>
  174. <Cell col="24" text="수정일시"/>
  175. <Cell col="25" text="최초등록일시"/>
  176. </Band>
  177. <Band id="body">
  178. <Cell celltype="head" expr="expr:currow + 1"/>
  179. <Cell col="1" displaytype="date" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  180. <Cell col="2" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:pid"/>
  181. <Cell col="3" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:pathngnm"/>
  182. <Cell col="4" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:ordflag"/>
  183. <Cell col="5" displaytype="combo" edittype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddeptcd" enable="false"/>
  184. <Cell col="6" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:centcd"/>
  185. <Cell col="7" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddeptnm" combodataset="ds_init_pam_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
  186. <Cell col="8" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:subdeptcd"/>
  187. <Cell col="9" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddrnm"/>
  188. <Cell col="10" displaytype="combo" edittype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddrid" combodataset="ds_init_pam_init_orddrid" combocodecol="cd" combodatacol="nm" enable="false"/>
  189. <Cell col="11" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:insukindnm" combodataset="ds_init_comncdlist_P0008list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  190. <Cell col="12" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:suppkindnm" combodataset="ds_init_comncdlist_P0010list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  191. <Cell col="13" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fsexamflagnm" combodataset="ds_init_comncdlist_P0021list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  192. <Cell col="14" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:rsrvflagnm" combodataset="ds_init_comncdlist_P0341list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  193. <Cell col="15" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:medamtestmyn"/>
  194. <Cell col="16" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:etcordflagnm" combodataset="ds_init_comncdlist_P0022list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  195. <Cell col="17" displaytype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:disccdnm" combodataset="ds_init_pam_init_disccd" combocodecol="cd" combodatacol="nm" enable="false"/>
  196. <Cell col="18" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:rcptyn"/>
  197. <Cell col="19" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fstrgstrnm"/>
  198. <Cell col="20" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:rcptrnm"/>
  199. <Cell col="21" displaytype="combo" edittype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:histstat" combodataset="ds_init_comncdlist_P0029list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  200. <Cell col="22" displaytype="date" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:rcptdd" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="none"/>
  201. <Cell col="23" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtrid"/>
  202. <Cell col="24" displaytype="date" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="none"/>
  203. <Cell col="25" displaytype="date" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="none"/>
  204. </Band>
  205. </Format>
  206. </Formats>
  207. </Grid>
  208. </Layout>
  209. </Layouts>
  210. </Tabpage>
  211. <Tabpage text="외래변경" id="case_outupdt">
  212. <Layouts>
  213. <Layout width="1195" height="616">
  214. <Shape position="absolute 0 23 1195 29" linetype="horizontal" id="line1" class="line_1" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  215. <Grid position="absolute 0 28 1195 603" align="align:center middle;" id="grd_outupdtcncl" class="datagrid1" binddataset="ds_main_patinfoupdt_patinfoupdtlist" anchor="all">
  216. <Formats>
  217. <Format id="default">
  218. <Columns>
  219. <Column size="25" band="left"/>
  220. <Column size="70"/>
  221. <Column size="70"/>
  222. <Column size="60"/>
  223. <Column size="80"/>
  224. <Column size="100"/>
  225. <Column size="0"/>
  226. <Column size="100"/>
  227. <Column size="0"/>
  228. <Column size="120"/>
  229. <Column size="0"/>
  230. <Column size="120"/>
  231. <Column size="0"/>
  232. <Column size="70"/>
  233. <Column size="80"/>
  234. <Column size="70"/>
  235. <Column size="0"/>
  236. <Column size="100"/>
  237. <Column size="100"/>
  238. <Column size="115"/>
  239. <Column size="100"/>
  240. <Column size="120"/>
  241. <Column size="172"/>
  242. <Column size="0"/>
  243. <Column size="251"/>
  244. <Column size="251"/>
  245. </Columns>
  246. <Rows>
  247. <Row size="24" band="head"/>
  248. <Row size="53"/>
  249. </Rows>
  250. <Band id="head">
  251. <Cell/>
  252. <Cell col="1" text="변경구분"/>
  253. <Cell col="2" text="등록번호"/>
  254. <Cell col="3" text="성명"/>
  255. <Cell col="4" text="보험유형"/>
  256. <Cell col="5" text="유형보조"/>
  257. <Cell col="6" text="초재진"/>
  258. <Cell col="7" text="진찰료산정여부"/>
  259. <Cell col="8" text="센터코드"/>
  260. <Cell col="9" text="센터"/>
  261. <Cell col="10" text="진료과코드"/>
  262. <Cell col="11" text="진료과"/>
  263. <Cell col="12" text="진료의ID"/>
  264. <Cell col="13" text="진료의"/>
  265. <Cell col="14" text="진료일자"/>
  266. <Cell col="15" text="진료시간"/>
  267. <Cell col="16" text="최초수정과"/>
  268. <Cell col="17" text="최초입력자"/>
  269. <Cell col="18" text="최초입력일시"/>
  270. <Cell col="19" text="최종수정과"/>
  271. <Cell col="20" text="최종수정자"/>
  272. <Cell col="21" text="최종수정일시"/>
  273. <Cell col="22" text="변경사유"/>
  274. <Cell col="23" text="histstat"/>
  275. <Cell col="24" text="참고사항"/>
  276. <Cell col="25" text="전화예약 참고사항"/>
  277. </Band>
  278. <Band id="body">
  279. <Cell celltype="head" expr="expr:currow + 1"/>
  280. <Cell col="1" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:histstat" combodataset="ds_init_comncdlist_P0029list" combocodecol="cdid" combodatacol="cdnm" tooltiptype="bottom,right" enable="false"/>
  281. <Cell col="2" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:pid"/>
  282. <Cell col="3" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:pathngnm"/>
  283. <Cell col="4" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:insukindnm" combodataset="ds_init_comncdlist_P0008list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  284. <Cell col="5" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:suppkindnm" combodataset="ds_init_comncdlist_P0010list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  285. <Cell col="6" displaytype="combo" edittype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fsexamflagnm" combodataset="ds_init_comncdlist_P0021list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  286. <Cell col="7" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:medamtestmyn"/>
  287. <Cell col="8" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:centcd"/>
  288. <Cell col="9" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:centnm"/>
  289. <Cell col="10" displaytype="combo" edittype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddeptcd" combodataset="ds_init_pam_init_orddeptcd" combocodecol="cd" combodatacol="nm" enable="false"/>
  290. <Cell col="11" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddeptnm"/>
  291. <Cell col="12" displaytype="combo" edittype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddrid" combodataset="ds_init_pam_init_orddrid" combocodecol="cd" combodatacol="nm" enable="false"/>
  292. <Cell col="13" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddrnm"/>
  293. <Cell col="14" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  294. <Cell col="15" displaytype="normal" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:ordtm" mask="##:##" calendardisplaynulltype="nulltext"/>
  295. <Cell col="16" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fstrgstdeptnm"/>
  296. <Cell col="17" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fstrgstrnm"/>
  297. <Cell col="18" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fstrgstdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="none"/>
  298. <Cell col="19" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtdeptnm"/>
  299. <Cell col="20" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtrnm"/>
  300. <Cell col="21" displaytype="date" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtdt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="none"/>
  301. <Cell col="22" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:updtcnclresn" wordwrap="word"/>
  302. <Cell col="23" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:histstat"/>
  303. <Cell col="24" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:remfact" wordwrap="word"/>
  304. <Cell col="25" style="align:left middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:telrsrvrem" wordwrap="word"/>
  305. </Band>
  306. </Format>
  307. </Formats>
  308. </Grid>
  309. <Button position="absolute 1119 1 1195 23" id="btn_updtexcel" class="btn7" text="엑셀저장" anchor="top right" onclick="group2_group6_swt_outpatient_case_outupdt_btn_updtexcel_onclick"/>
  310. </Layout>
  311. </Layouts>
  312. </Tabpage>
  313. <Tabpage text="외래취소" id="case_outcncl">
  314. <Layouts>
  315. <Layout>
  316. <Shape position="absolute 0 23 1194 29" linetype="horizontal" id="line2" class="line_1" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
  317. <Grid position="absolute 0 28 1195 603" id="grd_outcncl" class="datagrid2" binddataset="ds_main_patinfocncl_patinfocncllist" anchor="all">
  318. <Formats>
  319. <Format id="default">
  320. <Columns>
  321. <Column size="25"/>
  322. <Column size="110"/>
  323. <Column size="72"/>
  324. <Column size="80"/>
  325. <Column size="0"/>
  326. <Column size="120"/>
  327. <Column size="70"/>
  328. <Column size="0"/>
  329. <Column size="70"/>
  330. <Column size="60"/>
  331. <Column size="60"/>
  332. <Column size="77"/>
  333. <Column size="54"/>
  334. <Column size="89"/>
  335. <Column size="44"/>
  336. <Column size="150"/>
  337. <Column size="70"/>
  338. <Column size="120"/>
  339. <Column size="67"/>
  340. </Columns>
  341. <Rows>
  342. <Row size="35" band="head"/>
  343. <Row size="24"/>
  344. </Rows>
  345. <Band id="head">
  346. <Cell/>
  347. <Cell col="1" text="진료일시"/>
  348. <Cell col="2" text="등록번호"/>
  349. <Cell col="3" text="성명"/>
  350. <Cell col="4" text="진료과코드"/>
  351. <Cell col="5" text="진료과"/>
  352. <Cell col="6" text="진료의"/>
  353. <Cell col="7" text="진료의ID"/>
  354. <Cell col="8" text="보험유형"/>
  355. <Cell col="9" text="유형보조"/>
  356. <Cell col="10" text="초재진"/>
  357. <Cell col="11" text="예약구분"/>
  358. <Cell col="12" text="기타진료구분" wordwrap="word"/>
  359. <Cell col="13" text="계정감면"/>
  360. <Cell col="14" text="진찰료수납" wordwrap="word"/>
  361. <Cell col="15" text="취소사유"/>
  362. <Cell col="16" text="최종수정자"/>
  363. <Cell col="17" text="최종수정일시"/>
  364. <Cell col="18" text="접수상태"/>
  365. </Band>
  366. <Band id="body">
  367. <Cell celltype="head" expr="expr:currow + 1"/>
  368. <Cell col="1" displaytype="date" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddt" mask="yyyy-MM-dd HH:mm" calendardisplaynulltype="nulltext"/>
  369. <Cell col="2" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:pid"/>
  370. <Cell col="3" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:pathngnm"/>
  371. <Cell col="4" displaytype="combo" edittype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddeptcd" enable="false"/>
  372. <Cell col="5" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddeptnm" combodataset="ds_init_pam_init_orddeptcd" combocodecol="cd" combodatacol="nm"/>
  373. <Cell col="6" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddrnm"/>
  374. <Cell col="7" displaytype="combo" edittype="combo" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:orddrid" combodataset="ds_init_pam_init_orddrid" combocodecol="cd" combodatacol="nm" enable="false"/>
  375. <Cell col="8" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:insukindnm" combodataset="ds_init_comncdlist_P0008list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  376. <Cell col="9" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:suppkindnm" combodataset="ds_init_comncdlist_P0010list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  377. <Cell col="10" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:fsexamflagnm" combodataset="ds_init_comncdlist_P0021list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  378. <Cell col="11" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:rsrvflagnm" combodataset="ds_init_comncdlist_P0341list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  379. <Cell col="12" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:etcordflagnm" combodataset="ds_init_comncdlist_P0022list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  380. <Cell col="13" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:disccdnm" combodataset="ds_init_pam_init_disccd" combocodecol="cd" combodatacol="nm" enable="false"/>
  381. <Cell col="14" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:rcptyn"/>
  382. <Cell col="15" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:updtcnclresn"/>
  383. <Cell col="16" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtrnm"/>
  384. <Cell col="17" displaytype="date" style="background:BIND(bgColor);background2:BIND(bgColor);" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="none"/>
  385. <Cell col="18" displaytype="combo" style="align:center middle;background:BIND(bgColor);background2:BIND(bgColor);" text="bind:histstat" combodataset="ds_init_comncdlist_P0029list" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  386. </Band>
  387. </Format>
  388. </Formats>
  389. </Grid>
  390. <Button position="absolute 1119 1 1195 23" id="btn_cnclexcel" class="btn7" text="엑셀저장" anchor="top right" onclick="group2_group6_swt_outpatient_case_outcncl_btn_cnclexcel_onclick"/>
  391. </Layout>
  392. </Layouts>
  393. </Tabpage>
  394. </Tabpages>
  395. </Tab>
  396. </Layout>
  397. </Layouts>
  398. </Div>
  399. <Shape id="line2" class="line_10" position="absolute 0 104 1195 110" style="strokepen:3 solid #33bbbbff;" anchor="left top right" visible="false"/>
  400. <Button id="btn_cnclexcel2" taborder="2" text="엑셀저장" onclick="group2_group6_swt_outpatient_case_outcncl_btn_cnclexcel2_onclick" class="btn7" position="absolute 1119 82 1195 104" anchor="top right" visible="false"/>
  401. <Div position="absolute 0 20 1195 80" align="align:center top;" id="group5" class="div_SA" anchor="left top right">
  402. <Layouts>
  403. <Layout>
  404. <Shape position="absolute 1103 11 1109 50" linetype="vertical" id="line13" class="line_4" anchor="top right"/>
  405. <Static text="~" position="absolute 989 10 999 27" id="caption83" anchor="default"/>
  406. <Static text="진료과 :" position="absolute 17 34 78 51" id="caption1" class="search_name" anchor="default"/>
  407. <Combo position="absolute 100 33 242 52" id="cmb_orddept" class="combo_search" innerdataset="@ds_init_pam_init_orddeptcd" datacolumn="nm" codecolumn="cd" anchor="default" onitemchanged="group2_group5_cmb_orddept_onitemchanged"/>
  408. <Static text="진료의 :" position="absolute 255 34 316 51" id="caption3" class="search_name" anchor="default"/>
  409. <Static text="예약구분 :" position="absolute 664 34 737 51" id="caption5" class="search_name" anchor="default"/>
  410. <Combo position="absolute 752 33 888 52" id="cmb_rsrvflag" class="combo_search" innerdataset="@ds_init_comncdlist_P0341list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  411. <Combo position="absolute 324 33 394 52" id="cmb_orddr" class="combo_search" innerdataset="@ds_init_pam_init_orddrid" datacolumn="nm" codecolumn="cd" anchor="default" onitemchanged="group2_group5_cmb_orddr_onitemchanged"/>
  412. <Calendar position="absolute 894 9 984 28" id="ipt_fromdd" class="input_essential" anchor="default" dateformat="yyyy-MM-dd" value="null" autoskip="true" autoselect="true"/>
  413. <Calendar position="absolute 1004 9 1094 28" id="ipt_todd" class="input_essential" anchor="default" dateformat="yyyy-MM-dd" value="null" autoskip="true" autoselect="true"/>
  414. <Button position="absolute 219 11 235 27" id="btn_ptbs_search" class="icon_search" text="" anchor="default" onclick="group2_group5_btn_ptbs_search_onclick"/>
  415. <Edit position="absolute 100 9 210 28" id="ipt_pid" class="input_essential" anchor="default" onkeydown="group2_group5_ipt_pid_onkeydown"/>
  416. <Static text="등록번호 :" position="absolute 16 10 90 27" id="caption21" class="search_name" anchor="default"/>
  417. <Static text="선택진료 :" position="absolute 420 34 494 51" id="caption7" class="search_name" anchor="default"/>
  418. <Combo position="absolute 508 33 652 52" id="combo1" class="combo_search" enable="false" innerdataset="@ds_init_comncdlist_P0344list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  419. <Combo position="absolute 988 33 1094 52" id="combo2" class="combo_search" innerdataset="@ds_init_comncdlist_P0008list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  420. <Static text="보험유형 :" position="absolute 900 34 986 51" id="caption8" class="search_name" anchor="default"/>
  421. <Radio position="absolute 754 11 823 27" id="radio1" class="radio_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  422. <Dataset id="innerdataset">
  423. <ColumnInfo>
  424. <Column id="codecolumn"/>
  425. <Column id="datacolumn"/>
  426. </ColumnInfo>
  427. <Rows>
  428. <Row>
  429. <Col id="codecolumn">O</Col>
  430. <Col id="datacolumn">진료일자</Col>
  431. </Row>
  432. </Rows>
  433. </Dataset>
  434. </Radio>
  435. <Radio position="absolute 823 11 893 27" id="radio2" class="s" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  436. <Dataset id="innerdataset">
  437. <ColumnInfo>
  438. <Column id="codecolumn"/>
  439. <Column id="datacolumn"/>
  440. </ColumnInfo>
  441. <Rows>
  442. <Row>
  443. <Col id="codecolumn">A</Col>
  444. <Col id="datacolumn">접수일자</Col>
  445. </Row>
  446. </Rows>
  447. </Dataset>
  448. </Radio>
  449. <Static text="일자구분 :" position="absolute 664 10 737 27" id="caption9" class="search_name" anchor="default"/>
  450. <Edit position="absolute 324 9 408 28" id="input1" class="input_search" enable="false" anchor="default"/>
  451. <Static text="이름 :" position="absolute 255 10 301 27" id="caption2" class="search_name" anchor="default"/>
  452. <Static text="주민번호 :" position="absolute 420 10 494 27" id="caption10" class="search_name" anchor="default"/>
  453. <MaskEdit position="absolute 508 9 578 28" id="input2" class="input_search" enable="false" mask="999999" anchor="default" type="string" style=":disabled {align:left middle;}" maskchar=" "/>
  454. <MaskEdit position="absolute 582 9 652 28" id="input3" class="input_search" enable="false" mask="9999999" anchor="default" type="string" style=":disabled {align:left middle;}" maskchar=" "/>
  455. <Button position="absolute 1124 18 1180 40" id="btn_search" class="btn1" text="조회" anchor="top right" onclick="group2_group5_btn_search_onclick"/>
  456. </Layout>
  457. </Layouts>
  458. </Div>
  459. <Div position="absolute 0 20 1195 80" align="align:center top;" id="group3" class="div_SA" anchor="left top right">
  460. <Layouts>
  461. <Layout width="1195" height="66">
  462. <Static text="진료과 :" position="absolute 17 34 103 51" id="caption12" class="search_name" visible="false" anchor="default"/>
  463. <Combo position="absolute 100 33 242 52" id="combo3" class="combo_search" visible="false" innerdataset="@ds_init_pam_init_orddeptcd" datacolumn="nm" codecolumn="cd" anchor="default" onitemchanged="group2_group3_combo3_onitemchanged"/>
  464. <Static text="진료의 :" position="absolute 255 34 341 51" id="caption13" class="search_name" visible="false" anchor="default"/>
  465. <Static text="예약구분 :" position="absolute 664 34 750 51" id="caption14" class="search_name" visible="false" anchor="default"/>
  466. <Combo position="absolute 752 33 842 52" id="combo4" class="combo_search" visible="false" innerdataset="@ds_init_comncdlist_P0341list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  467. <Combo position="absolute 324 33 394 52" id="combo5" class="combo_search" visible="false" innerdataset="@ds_init_pam_init_orddrid" datacolumn="nm" codecolumn="cd" anchor="default" onitemchanged="group2_group3_combo5_onitemchanged"/>
  468. <Calendar position="absolute 894 9 984 28" id="input4" class="input_essential" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
  469. <Calendar position="absolute 1004 9 1094 28" id="input5" class="input_essential" anchor="default" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true"/>
  470. <Button position="absolute 214 11 230 27" id="button1" class="icon_search" text="" anchor="default" onclick="group2_group3_button1_onclick"/>
  471. <Edit position="absolute 100 9 210 28" id="input6" class="input_essential" anchor="default" onkeydown="group2_group3_input6_onkeydown" autoselect="true"/>
  472. <Static text="등록번호 :" position="absolute 16 10 102 27" id="caption15" class="search_name" anchor="default"/>
  473. <Static text="선택진료 :" position="absolute 420 34 506 51" id="caption16" class="search_name" visible="false" anchor="default"/>
  474. <Combo position="absolute 508 33 652 52" id="combo6" class="combo_search" enable="false" visible="false" innerdataset="@ds_init_comncdlist_P0344list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  475. <Combo position="absolute 988 33 1094 52" id="combo7" class="combo_search" visible="false" innerdataset="@ds_init_comncdlist_P0008list" datacolumn="cdnm" codecolumn="cdid" anchor="default"/>
  476. <Static text="보험유형 :" position="absolute 900 34 986 51" id="caption17" class="search_name" visible="false" anchor="default"/>
  477. <Radio position="absolute 754 11 823 27" id="radio3" class="radio_search" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  478. <Dataset id="innerdataset">
  479. <ColumnInfo>
  480. <Column id="codecolumn"/>
  481. <Column id="datacolumn"/>
  482. </ColumnInfo>
  483. <Rows>
  484. <Row>
  485. <Col id="codecolumn">O</Col>
  486. <Col id="datacolumn">진료일자</Col>
  487. </Row>
  488. </Rows>
  489. </Dataset>
  490. </Radio>
  491. <Radio position="absolute 823 11 893 27" id="radio4" class="s" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  492. <Dataset id="innerdataset">
  493. <ColumnInfo>
  494. <Column id="codecolumn"/>
  495. <Column id="datacolumn"/>
  496. </ColumnInfo>
  497. <Rows>
  498. <Row>
  499. <Col id="codecolumn">A</Col>
  500. <Col id="datacolumn">접수일자</Col>
  501. </Row>
  502. </Rows>
  503. </Dataset>
  504. </Radio>
  505. <Static text="일자구분 :" position="absolute 664 10 750 27" id="caption18" class="search_name" anchor="default"/>
  506. <Edit position="absolute 324 9 408 28" id="input7" class="input_search" enable="false" anchor="default"/>
  507. <Static text="이름 :" position="absolute 255 10 316 27" id="caption19" class="search_name" anchor="default"/>
  508. <Static text="주민번호 :" position="absolute 420 10 506 27" id="caption20" class="search_name" anchor="default"/>
  509. <MaskEdit position="absolute 508 9 578 28" id="input8" class="input_search" enable="false" mask="999999" anchor="default" style=":disabled {align:left middle;}"/>
  510. <MaskEdit position="absolute 582 9 652 28" id="input9" class="input_search" enable="false" mask="9999999" anchor="default" style=":disabled {align:left middle;}"/>
  511. <Button position="absolute 1124 19 1180 41" id="button2" class="btn1" text="조회" anchor="top right" onclick="group2_group3_button2_onclick"/>
  512. <Static text="~" position="absolute 989 10 1004 27" id="caption11" anchor="default"/>
  513. <Shape id="line3" linetype="vertical" class="line_4" position="absolute 1103 13 1112 51" anchor="top right"/>
  514. </Layout>
  515. </Layouts>
  516. </Div>
  517. </Layout>
  518. </Layouts>
  519. </Div>
  520. <Div position="absolute 0 0 1195 25" id="group1">
  521. <Layouts>
  522. <Layout>
  523. <Static text="외래등록조회" position="absolute 0 0 120 25" id="caption6" class="tit_1"/>
  524. <Static id="caption4" class="patient_text_black"/>
  525. </Layout>
  526. </Layouts>
  527. </Div>
  528. <Div position="absolute 0 718 1195 745" id="group4" scrollbars="autoboth" anchor="left right bottom">
  529. <Layouts>
  530. <Layout>
  531. <Shape position="absolute 0 -2 1194 4" linetype="horizontal" id="line88" class="line_6" anchor="left top right"/>
  532. <Button position="absolute 1126 5 1194 27" id="btn_clear" class="btn4" text="초기화" onclick="group4_btn_clear_onclick" anchor="top right"/>
  533. </Layout>
  534. </Layouts>
  535. </Div>
  536. </Layout>
  537. </Layouts>
  538. <Objects>
  539. <Dataset id="ds_init_combo3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  540. <ColumnInfo>
  541. <Column id="nm" type="STRING"/>
  542. <Column id="cd" type="STRING"/>
  543. </ColumnInfo>
  544. </Dataset>
  545. <Dataset id="ds_init_combo4" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  546. <ColumnInfo>
  547. <Column id="cdnm" type="STRING"/>
  548. <Column id="cdid" type="STRING"/>
  549. </ColumnInfo>
  550. </Dataset>
  551. <Dataset id="ds_init_combo5" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  552. <ColumnInfo>
  553. <Column id="nm" type="STRING"/>
  554. <Column id="cd" type="STRING"/>
  555. </ColumnInfo>
  556. </Dataset>
  557. <Dataset id="ds_init_combo6" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  558. <ColumnInfo>
  559. <Column id="cdnm" type="STRING"/>
  560. <Column id="cdid" type="STRING"/>
  561. </ColumnInfo>
  562. </Dataset>
  563. <Dataset id="ds_init_combo7" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  564. <ColumnInfo>
  565. <Column id="cdnm" type="STRING"/>
  566. <Column id="cdid" type="STRING"/>
  567. </ColumnInfo>
  568. </Dataset>
  569. <Dataset id="ds_init_cmb_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  570. <ColumnInfo>
  571. <Column id="nm" type="STRING"/>
  572. <Column id="cd" type="STRING"/>
  573. </ColumnInfo>
  574. </Dataset>
  575. <Dataset id="ds_init_cmb_rsrvflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  576. <ColumnInfo>
  577. <Column id="cdnm" type="STRING"/>
  578. <Column id="cdid" type="STRING"/>
  579. </ColumnInfo>
  580. </Dataset>
  581. <Dataset id="ds_init_cmb_orddr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  582. <ColumnInfo>
  583. <Column id="nm" type="STRING"/>
  584. <Column id="cd" type="STRING"/>
  585. </ColumnInfo>
  586. </Dataset>
  587. <Dataset id="ds_init_combo1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  588. <ColumnInfo>
  589. <Column id="cdnm" type="STRING"/>
  590. <Column id="cdid" type="STRING"/>
  591. </ColumnInfo>
  592. </Dataset>
  593. <Dataset id="ds_init_combo2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  594. <ColumnInfo>
  595. <Column id="cdnm" type="STRING"/>
  596. <Column id="cdid" type="STRING"/>
  597. </ColumnInfo>
  598. </Dataset>
  599. <Dataset id="ds_mgrd_outrgst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  600. <ColumnInfo>
  601. <Column id="orddt" type="STRING"/>
  602. <Column id="pid" type="STRING"/>
  603. <Column id="pathngnm" type="STRING"/>
  604. <Column id="ordflag" type="STRING"/>
  605. <Column id="orddeptcd" type="STRING"/>
  606. <Column id="centcd" type="STRING"/>
  607. <Column id="orddeptnm" type="STRING"/>
  608. <Column id="subdeptcd" type="STRING"/>
  609. <Column id="orddrnm" type="STRING"/>
  610. <Column id="orddrid" type="STRING"/>
  611. <Column id="insukindnm" type="STRING"/>
  612. <Column id="suppkindnm" type="STRING"/>
  613. <Column id="fsexamflagnm" type="STRING"/>
  614. <Column id="rsrvflagnm" type="STRING"/>
  615. <Column id="medamtestmyn" type="STRING"/>
  616. <Column id="etcordflagnm" type="STRING"/>
  617. <Column id="disccdnm" type="STRING"/>
  618. <Column id="rcptyn" type="STRING"/>
  619. <Column id="fstrgstrnm" type="STRING"/>
  620. <Column id="rcptrnm" type="STRING"/>
  621. <Column id="histstat" type="STRING"/>
  622. <Column id="rcptdd" type="STRING"/>
  623. <Column id="lastupdtrid" type="STRING"/>
  624. <Column id="lastupdtdt" type="STRING"/>
  625. <Column id="fstrgstdt" type="STRING"/>
  626. </ColumnInfo>
  627. </Dataset>
  628. <Dataset id="ds_grd_outcncl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  629. <ColumnInfo>
  630. <Column id="orddt" type="STRING"/>
  631. <Column id="pid" type="STRING"/>
  632. <Column id="pathngnm" type="STRING"/>
  633. <Column id="orddeptcd" type="STRING"/>
  634. <Column id="orddeptnm" type="STRING"/>
  635. <Column id="orddrnm" type="STRING"/>
  636. <Column id="orddrid" type="STRING"/>
  637. <Column id="insukindnm" type="STRING"/>
  638. <Column id="suppkindnm" type="STRING"/>
  639. <Column id="fsexamflagnm" type="STRING"/>
  640. <Column id="rsrvflagnm" type="STRING"/>
  641. <Column id="etcordflagnm" type="STRING"/>
  642. <Column id="disccdnm" type="STRING"/>
  643. <Column id="rcptyn" type="STRING"/>
  644. <Column id="updtcnclresn" type="STRING"/>
  645. <Column id="lastupdtrnm" type="STRING"/>
  646. <Column id="lastupdtdt" type="STRING"/>
  647. <Column id="histstat" type="STRING"/>
  648. </ColumnInfo>
  649. </Dataset>
  650. <Dataset id="ds_grd_outupdtcncl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  651. <ColumnInfo>
  652. <Column id="histstat" type="STRING"/>
  653. <Column id="pid" type="STRING"/>
  654. <Column id="pathngnm" type="STRING"/>
  655. <Column id="insukindnm" type="STRING"/>
  656. <Column id="suppkindnm" type="STRING"/>
  657. <Column id="fsexamflagnm" type="STRING"/>
  658. <Column id="medamtestmyn" type="STRING"/>
  659. <Column id="centcd" type="STRING"/>
  660. <Column id="centnm" type="STRING"/>
  661. <Column id="orddeptcd" type="STRING"/>
  662. <Column id="orddeptnm" type="STRING"/>
  663. <Column id="orddrid" type="STRING"/>
  664. <Column id="orddrnm" type="STRING"/>
  665. <Column id="orddd" type="STRING"/>
  666. <Column id="ordtm" type="STRING"/>
  667. <Column id="fstrgstdeptnm" type="STRING"/>
  668. <Column id="fstrgstrnm" type="STRING"/>
  669. <Column id="fstrgstdt" type="STRING"/>
  670. <Column id="lastupdtdeptnm" type="STRING"/>
  671. <Column id="lastupdtrnm" type="STRING"/>
  672. <Column id="lastupdtdt" type="STRING"/>
  673. <Column id="updtcnclresn" type="STRING"/>
  674. <Column id="histstat" type="STRING"/>
  675. <Column id="remfact" type="STRING"/>
  676. <Column id="telrsrvrem" type="STRING"/>
  677. </ColumnInfo>
  678. </Dataset>
  679. <Dataset id="ds_main_patinforgst_patinforgstlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  680. <Dataset id="ds_main_patinfoupdt_patinfoupdtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  681. <Dataset id="ds_main_patinfocncl_patinfocncllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  682. <Dataset id="ds_main_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  683. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  684. <ColumnInfo>
  685. <Column id="result" type="STRING" size="256"/>
  686. <Column id="popupendflag" type="STRING" size="256"/>
  687. </ColumnInfo>
  688. <Rows>
  689. <Row/>
  690. </Rows>
  691. </Dataset>
  692. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  693. <ColumnInfo>
  694. <Column id="pid" type="STRING" size="256"/>
  695. <Column id="hngnm" type="STRING" size="256"/>
  696. <Column id="rrgstno1" type="STRING" size="256"/>
  697. <Column id="rrgstno2" type="STRING" size="256"/>
  698. <Column id="dayflag" type="STRING" size="256"/>
  699. <Column id="fromdd" type="STRING" size="256"/>
  700. <Column id="todd" type="STRING" size="256"/>
  701. <Column id="orddept" type="STRING" size="256"/>
  702. <Column id="orddr" type="STRING" size="256"/>
  703. <Column id="specordyn" type="STRING" size="256"/>
  704. <Column id="rsrvflag" type="STRING" size="256"/>
  705. <Column id="insukind" type="STRING" size="256"/>
  706. <Column id="acptdd" type="STRING" size="256"/>
  707. <Column id="acptno" type="STRING" size="256"/>
  708. <Column id="tablename" type="STRING" size="256"/>
  709. <Column id="openflag" type="STRING" size="256"/>
  710. <Column id="fstacptdt" type="STRING" size="256"/>
  711. <Column id="flag" type="STRING" size="256"/>
  712. <Column id="fstrgstdt" type="STRING" size="256"/>
  713. </ColumnInfo>
  714. <Rows>
  715. <Row>
  716. <Col id="pid"/>
  717. <Col id="hngnm"/>
  718. <Col id="rrgstno1"/>
  719. <Col id="rrgstno2"/>
  720. <Col id="dayflag"/>
  721. <Col id="fromdd"/>
  722. <Col id="todd"/>
  723. <Col id="orddept"/>
  724. <Col id="orddr"/>
  725. <Col id="specordyn"/>
  726. <Col id="rsrvflag"/>
  727. <Col id="insukind"/>
  728. <Col id="acptdd"/>
  729. <Col id="acptno"/>
  730. <Col id="tablename"/>
  731. <Col id="openflag"/>
  732. <Col id="fstacptdt"/>
  733. <Col id="flag"/>
  734. <Col id="fstrgstdt"/>
  735. </Row>
  736. </Rows>
  737. </Dataset>
  738. <Dataset id="ds_init_comncdlist_P0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  739. <ColumnInfo>
  740. <Column id="cdid" type="STRING" size="256"/>
  741. <Column id="cdnm" type="STRING" size="256"/>
  742. </ColumnInfo>
  743. <Rows>
  744. <Row/>
  745. </Rows>
  746. </Dataset>
  747. <Dataset id="ds_init_comncdlist_P0021list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  748. <ColumnInfo>
  749. <Column id="cdid" type="STRING" size="256"/>
  750. <Column id="cdnm" type="STRING" size="256"/>
  751. </ColumnInfo>
  752. <Rows>
  753. <Row/>
  754. </Rows>
  755. </Dataset>
  756. <Dataset id="ds_init_comncdlist_P0341list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  757. <ColumnInfo>
  758. <Column id="cdid" type="STRING" size="256"/>
  759. <Column id="cdnm" type="STRING" size="256"/>
  760. </ColumnInfo>
  761. <Rows>
  762. <Row/>
  763. </Rows>
  764. </Dataset>
  765. <Dataset id="ds_init_comncdlist_P0022list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  766. <ColumnInfo>
  767. <Column id="cdid" type="STRING" size="256"/>
  768. <Column id="cdnm" type="STRING" size="256"/>
  769. </ColumnInfo>
  770. <Rows>
  771. <Row/>
  772. </Rows>
  773. </Dataset>
  774. <Dataset id="ds_init_comncdlist_P0020list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  775. <ColumnInfo>
  776. <Column id="cdid" type="STRING" size="256"/>
  777. <Column id="cdnm" type="STRING" size="256"/>
  778. </ColumnInfo>
  779. <Rows>
  780. <Row/>
  781. </Rows>
  782. </Dataset>
  783. <Dataset id="ds_init_comncdlist_P0029list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  784. <ColumnInfo>
  785. <Column id="cdid" type="STRING" size="256"/>
  786. <Column id="cdnm" type="STRING" size="256"/>
  787. </ColumnInfo>
  788. <Rows>
  789. <Row/>
  790. </Rows>
  791. </Dataset>
  792. <Dataset id="ds_init_comncdlist_P0344list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  793. <ColumnInfo>
  794. <Column id="cdid" type="STRING" size="256"/>
  795. <Column id="cdnm" type="STRING" size="256"/>
  796. </ColumnInfo>
  797. <Rows>
  798. <Row/>
  799. </Rows>
  800. </Dataset>
  801. <Dataset id="ds_init_comncdlist_P0010list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  802. <ColumnInfo>
  803. <Column id="cdid" type="STRING" size="256"/>
  804. <Column id="cdnm" type="STRING" size="256"/>
  805. </ColumnInfo>
  806. <Rows>
  807. <Row/>
  808. </Rows>
  809. </Dataset>
  810. <Dataset id="ds_init_disccd_disccdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  811. <ColumnInfo>
  812. <Column id="cd" type="STRING" size="256"/>
  813. <Column id="nm" type="STRING" size="256"/>
  814. </ColumnInfo>
  815. <Rows>
  816. <Row/>
  817. </Rows>
  818. </Dataset>
  819. <Dataset id="ds_init_pam_init_disccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  820. <ColumnInfo>
  821. <Column id="cd" type="STRING" size="256"/>
  822. <Column id="nm" type="STRING" size="256"/>
  823. </ColumnInfo>
  824. <Rows>
  825. <Row/>
  826. </Rows>
  827. </Dataset>
  828. <Dataset id="ds_init_pam_init_insukind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  829. <ColumnInfo>
  830. <Column id="cd" type="STRING" size="256"/>
  831. <Column id="nm" type="STRING" size="256"/>
  832. </ColumnInfo>
  833. <Rows>
  834. <Row/>
  835. </Rows>
  836. </Dataset>
  837. <Dataset id="ds_init_pam_init_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  838. <ColumnInfo>
  839. <Column id="cd" type="STRING" size="256"/>
  840. <Column id="nm" type="STRING" size="256"/>
  841. <Column id="up" type="STRING" size="256"/>
  842. <Column id="io" type="STRING" size="256"/>
  843. </ColumnInfo>
  844. <Rows>
  845. <Row/>
  846. </Rows>
  847. </Dataset>
  848. <Dataset id="ds_init_pam_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  849. <ColumnInfo>
  850. <Column id="cd" type="STRING" size="256"/>
  851. <Column id="nm" type="STRING" size="256"/>
  852. <Column id="deptengabbr" type="STRING" size="256"/>
  853. <Column id="reqdeptno" type="STRING" size="256"/>
  854. </ColumnInfo>
  855. <Rows>
  856. <Row/>
  857. </Rows>
  858. </Dataset>
  859. <Dataset id="ds_init_pam_init_orddrid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  860. <ColumnInfo>
  861. <Column id="cd" type="STRING" size="256"/>
  862. <Column id="nm" type="STRING" size="256"/>
  863. <Column id="dp" type="STRING" size="256"/>
  864. <Column id="sp" type="STRING" size="256"/>
  865. </ColumnInfo>
  866. <Rows>
  867. <Row/>
  868. </Rows>
  869. </Dataset>
  870. <Dataset id="ds_init_pam_init_reducd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  871. <ColumnInfo>
  872. <Column id="cd" type="STRING" size="256"/>
  873. <Column id="nm" type="STRING" size="256"/>
  874. </ColumnInfo>
  875. <Rows>
  876. <Row/>
  877. </Rows>
  878. </Dataset>
  879. <Dataset id="ds_init_pam_init_uncocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  880. <ColumnInfo>
  881. <Column id="cd" type="STRING" size="256"/>
  882. <Column id="nm" type="STRING" size="256"/>
  883. </ColumnInfo>
  884. <Rows>
  885. <Row/>
  886. </Rows>
  887. </Dataset>
  888. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  889. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  890. <ColumnInfo>
  891. <Column id="srchcond" type="STRING" size="256"/>
  892. <Column id="pid" type="STRING" size="256"/>
  893. <Column id="hngnm" type="STRING" size="256"/>
  894. <Column id="rrgstno1" type="STRING" size="256"/>
  895. <Column id="rrgstno2" type="STRING" size="256"/>
  896. <Column id="acptdd" type="STRING" size="256"/>
  897. </ColumnInfo>
  898. <Rows>
  899. <Row>
  900. <Col id="srchcond"/>
  901. <Col id="pid"/>
  902. <Col id="hngnm"/>
  903. <Col id="rrgstno1"/>
  904. <Col id="rrgstno2"/>
  905. <Col id="acptdd"/>
  906. </Row>
  907. </Rows>
  908. </Dataset>
  909. <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  910. <ColumnInfo>
  911. <Column id="flag" type="STRING" size="256"/>
  912. <Column id="openflag" type="STRING" size="256"/>
  913. </ColumnInfo>
  914. <Rows>
  915. <Row>
  916. <Col id="flag"/>
  917. <Col id="openflag"/>
  918. </Row>
  919. </Rows>
  920. </Dataset>
  921. <Dataset id="ds_init_orddeptcd_orddeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  922. <ColumnInfo>
  923. <Column id="cd" type="STRING" size="256"/>
  924. <Column id="nm" type="STRING" size="256"/>
  925. </ColumnInfo>
  926. </Dataset>
  927. <Dataset id="ds_init_orddrid_orddridlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  928. <Dataset id="ds_hidden_session" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  929. <Dataset id="ds_init_pam_init_subjno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  930. <Dataset id="ds_init_pam_init_rcptflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  931. <Dataset id="ds_init_pam_init_proccd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  932. </Objects>
  933. <Bind>
  934. <BindItem id="item0" compid="group2.group5.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
  935. <BindItem id="item1" compid="group2.group5.input1" propid="value" datasetid="ds_send" columnid="hngnm"/>
  936. <BindItem id="item2" compid="group2.group5.input2" propid="value" datasetid="ds_send" columnid="rrgstno1"/>
  937. <BindItem id="item3" compid="group2.group5.input3" propid="value" datasetid="ds_send" columnid="rrgstno2"/>
  938. <BindItem id="item4" compid="group2.group5.radio1" propid="value" datasetid="ds_send" columnid="dayflag"/>
  939. <BindItem id="item5" compid="group2.group5.radio2" propid="value" datasetid="ds_send" columnid="dayflag"/>
  940. <BindItem id="item6" compid="group2.group5.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  941. <BindItem id="item7" compid="group2.group5.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  942. <BindItem id="item8" compid="group2.group5.cmb_orddept" propid="value" datasetid="ds_send" columnid="orddept"/>
  943. <BindItem id="item9" compid="group2.group5.cmb_orddr" propid="value" datasetid="ds_send" columnid="orddr"/>
  944. <BindItem id="item10" compid="group2.group5.combo1" propid="value" datasetid="ds_send" columnid="specordyn"/>
  945. <BindItem id="item11" compid="group2.group5.cmb_rsrvflag" propid="value" datasetid="ds_send" columnid="rsrvflag"/>
  946. <BindItem id="item12" compid="group2.group5.combo2" propid="value" datasetid="ds_send" columnid="insukind"/>
  947. <BindItem id="item13" compid="group2.group3.input6" propid="value" datasetid="ds_send" columnid="pid"/>
  948. <BindItem id="item14" compid="group2.group3.input7" propid="value" datasetid="ds_send" columnid="hngnm"/>
  949. <BindItem id="item15" compid="group2.group3.input8" propid="value" datasetid="ds_send" columnid="rrgstno1"/>
  950. <BindItem id="item16" compid="group2.group3.input9" propid="value" datasetid="ds_send" columnid="rrgstno2"/>
  951. <BindItem id="item17" compid="group2.group3.radio3" propid="value" datasetid="ds_send" columnid="dayflag"/>
  952. <BindItem id="item18" compid="group2.group3.radio4" propid="value" datasetid="ds_send" columnid="dayflag"/>
  953. <BindItem id="item19" compid="group2.group3.input4" propid="value" datasetid="ds_send" columnid="fromdd"/>
  954. <BindItem id="item20" compid="group2.group3.input5" propid="value" datasetid="ds_send" columnid="todd"/>
  955. <BindItem id="item21" compid="group2.group3.combo3" propid="value" datasetid="ds_send" columnid="orddept"/>
  956. <BindItem id="item22" compid="group2.group3.combo5" propid="value" datasetid="ds_send" columnid="orddr"/>
  957. <BindItem id="item23" compid="group2.group3.combo6" propid="value" datasetid="ds_send" columnid="specordyn"/>
  958. <BindItem id="item24" compid="group2.group3.combo4" propid="value" datasetid="ds_send" columnid="rsrvflag"/>
  959. <BindItem id="item25" compid="group2.group3.combo7" propid="value" datasetid="ds_send" columnid="insukind"/>
  960. </Bind>
  961. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  962. * System Name :
  963. * Job Name :
  964. * Creator :
  965. * Make Date : 2015-03-16
  966. * Description :
  967. *---------------------------------------------------------------------------------------
  968. * Modify Date Modifier Modify Description
  969. *---------------------------------------------------------------------------------------
  970. * 2015-03-16 Live Converter TF->XP
  971. *
  972. *---------------------------------------------------------------------------------------
  973. ****************************************************************************************/
  974. include "com_commonxp::comm_main.xjs";
  975. include "com_basiccodexp::ZBC001.xjs";
  976. include "pam_pamcomnxp::PAM.xjs";
  977. function fCheckSearchValues() {
  978. var pid = utlf_transNullToEmpty(ds_send.getColumn(0, "pid"));
  979. var fromdd = utlf_transNullToEmpty(ds_send.getColumn(0, "fromdd"));
  980. var todd = utlf_transNullToEmpty(ds_send.getColumn(0, "todd"));
  981. var orddeptcd = ds_send.getColumn(0, "orddept");
  982. var orddrid = ds_send.getColumn(0, "orddr");
  983. var openflag = ds_tmp.getColumn(0, "openflag");
  984. if (openflag != 'T') {
  985. if (pid == "" || pid == " " || pid == "-") {
  986. sysf_messageBox("등록번호는 필수 입력입니다.", "E999", "");
  987. return false;
  988. }
  989. }
  990. if (fromdd == '' || fromdd == ' ' || todd == '' || todd == ' ') {
  991. sysf_messageBox("일자구분은 외래등록조회 필수조건입니다.", "E999", "");
  992. return false;
  993. } else if (!utlf_isValidDateTime(fromdd, 'YYYYMMDD') || !utlf_isValidDateTime(todd, 'YYYYMMDD')) {
  994. sysf_messageBox("입력하신 일자구분이 정확한 날짜타입이 아닙니다.", "E999", "");
  995. return false;
  996. } else if (utlf_getDateInterval(fromdd, todd) < 0) {
  997. sysf_messageBox("일자구분에서 시작일자가 종료일자보다 미래일자 입니다. 확인하세요!", "E999", "");
  998. return false;
  999. }
  1000. return true;
  1001. }
  1002. function fInitialize() {
  1003. ds_send.clearData();
  1004. ds_send.addRow();
  1005. ds_main_patinforgst_patinforgstlist.clearData();
  1006. ds_main_patinfoupdt_patinfoupdtlist.clearData();
  1007. ds_main_patinfocncl_patinfocncllist.clearData();
  1008. //외래변경 탭 선택 조건
  1009. // ds_tmp.setColumn( 0, "flag", '');
  1010. //일자구분 세팅 - 2007-10-16 이동식 추가
  1011. ds_send.setColumn(0, "dayflag", "O"); //기본 진료일자로 세팅한다..
  1012. //날자 입력 항목에 오늘 날자 세팅
  1013. var curDate = utlf_getCurrentDate();
  1014. ds_send.setColumn(0, "dayflag", "O");
  1015. ds_send.setColumn(0, "fromdd", utlf_getCurrentDate().toDate().getAddDate(-2, "Y").getDateFormat());
  1016. ds_send.setColumn(0, "todd", '99991231');
  1017. group2.group3.button2.enable = true;
  1018. group2.group5.btn_search.enable = true;
  1019. group2.group5.ipt_pid.setFocus();
  1020. if (frmf_checkOpener()) { //팝업화면으로 사용될 때
  1021. var flag = opener.frmf_getParameter("openflag");
  1022. if (flag == 'T') {
  1023. group2.group6.swt_outpatient.tabindex = 1;
  1024. group2.group6.swt_outpatient.style.buttonbackground = "stretch 10,26";
  1025. group2.group6.swt_outpatient.style.background = "stretch 10,10";
  1026. var curDate = utlf_getCurrentDate();
  1027. ds_send.setColumn(0, "fromdd", curDate);
  1028. ds_send.setColumn(0, "todd", curDate);
  1029. }
  1030. } else {
  1031. group2.group6.swt_outpatient.tabindex = 0;
  1032. }
  1033. }
  1034. //------------------------------------------------------------------------------
  1035. // 사용되는 부분이 없고 outds의 파일에 관련된 정보를 찾을 수 없어서
  1036. // 2016.9.5 kimdo3 막아서 처리함.
  1037. //------------------------------------------------------------------------------
  1038. // function fSearch(){
  1039. //
  1040. // if( ds_main.getColumn(0, "popupendflag") == "ok" ){
  1041. // //인적사항에 변경이 있는지를 비교하기 위해서 tmp에 인적사항을 미리 저장해 놓는다.
  1042. // dsf_makeValue( ds_hidden, "tmpnode", "string", "" );
  1043. // ds_hidden_tmpnode.copyData(ds_main_patinfo);
  1044. //
  1045. // //보험_감면_진료기록_신생하*산모내역 조회
  1046. // ds_send.setColumn( 0, "pid", ds_main_patinfo_patinfolist.getColumn(0, "pid"));
  1047. //
  1048. // ☆ patinsuinfolist
  1049. // dsf_createDs("ds_", [
  1050. // {col:"pid", type:"STRING", size:256}
  1051. // , {col:"insukind", type:"STRING", size:256}
  1052. // , {col:"todd", type:"STRING", size:256}
  1053. // , {col:"seqno", type:"INT", size:256}
  1054. // , {col:"instcd", type:"STRING", size:256}
  1055. // , {col:"histstat", type:"STRING", size:256}
  1056. // , {col:"fromdd", type:"STRING", size:256}
  1057. // , {col:"insucd", type:"STRING", size:256}
  1058. // , {col:"insuno", type:"STRING", size:256}
  1059. // , {col:"insdnm", type:"STRING", size:256}
  1060. // , {col:"insdrrgstno1", type:"STRING", size:256}
  1061. // , {col:"insdrrgstno2", type:"STRING", size:256}
  1062. // , {col:"insdrela", type:"STRING", size:256}
  1063. // , {col:"fstrgstrid", type:"STRING", size:256}
  1064. // , {col:"fstrgstdt", type:"STRING", size:256}
  1065. // , {col:"lastupdtrid", type:"STRING", size:256}
  1066. // , {col:"lastupdtdt", type:"STRING", size:256}
  1067. // ]);
  1068. // dsf_setTypeFormat(oDataset, "seqno:INT");
  1069. //
  1070. // ☆ patdiscinfolist
  1071. // dsf_createDs("ds_", [
  1072. // {col:"pid", type:"STRING", size:256}
  1073. // , {col:"disccd", type:"STRING", size:256}
  1074. // , {col:"discflag", type:"STRING", size:256}
  1075. // , {col:"disccls", type:"STRING", size:256}
  1076. // , {col:"todd", type:"STRING", size:256}
  1077. // , {col:"seqno", type:"INT", size:256}
  1078. // , {col:"instcd", type:"STRING", size:256}
  1079. // , {col:"histstat", type:"STRING", size:256}
  1080. // , {col:"fromdd", type:"STRING", size:256}
  1081. // , {col:"empid", type:"STRING", size:256}
  1082. // , {col:"rrgstno1", type:"STRING", size:256}
  1083. // , {col:"rrgstno2", type:"STRING", size:256}
  1084. // , {col:"hngnm", type:"STRING", size:256}
  1085. // , {col:"emprela", type:"STRING", size:256}
  1086. // , {col:"discappacptyn", type:"STRING", size:256}
  1087. // , {col:"profacptyn", type:"STRING", size:256}
  1088. // , {col:"profacptdd", type:"STRING", size:256}
  1089. // , {col:"remfact", type:"STRING", size:256}
  1090. // , {col:"fstrgstrid", type:"STRING", size:256}
  1091. // , {col:"fstrgstdt", type:"STRING", size:256}
  1092. // , {col:"lastupdtrid", type:"STRING", size:256}
  1093. // , {col:"lastupdtdt", type:"STRING", size:256}
  1094. // ]);
  1095. // dsf_setTypeFormat(oDataset, "seqno:INT");
  1096. //
  1097. // ☆ patordrecinfolist
  1098. // dsf_createDs("ds_", [
  1099. // {col:"outfromdd", type:"STRING", size:256}
  1100. // , {col:"infromdd", type:"STRING", size:256}
  1101. // , {col:"intimes", type:"STRING", size:256}
  1102. // ]);
  1103. //
  1104. // ☆ nbabyinfolist
  1105. // dsf_createDs("ds_", [
  1106. // {col:"nbabyindd", type:"STRING", size:256}
  1107. // , {col:"sickbabyyn", type:"STRING", size:256}
  1108. // , {col:"womnbrthdd", type:"STRING", size:256}
  1109. // , {col:"womnindd", type:"STRING", size:256}
  1110. // , {col:"womnpid", type:"STRING", size:256}
  1111. // , {col:"womnnm", type:"STRING", size:256}
  1112. // ]);
  1113. // //submit("TRPMC01401");
  1114. // var oParam = {};
  1115. // oParam.id = "TRPMC01401";
  1116. // oParam.service = "patinfomngtapp.PatBaseInfo";
  1117. // oParam.method = "reqGetPatBaseInfo";
  1118. // oParam.inds = "req=ds_send";
  1119. // oParam.outds = "ds_=patinsuinfolist ds_=patdiscinfolist ds_=patordrecinfolist ds_=nbabyinfolist";
  1120. // oParam.async = false;
  1121. // oParam.callback = "cf_TRPMC01401";
  1122. //
  1123. // tranf_submit(oParam);
  1124. //
  1125. // //dsf_makeValue( ds_main, "popupendflag", "string", "" );
  1126. // }
  1127. // }
  1128. //------------------------------------------------------------------------------
  1129. function SMPMO00600_onload(obj:Form, e:LoadEventInfo)
  1130. {
  1131. frmf_initForm(obj); // 폼 초기화
  1132. // grdf_initGrid(this.group2.group6.swt_outpatient.case_outcncl.grd_outcncl); //Grid 초기화
  1133. // grdf_initGrid(this.group2.group6.swt_outpatient.case_outrgst.mgrd_outrgst); //Grid 초기화
  1134. // grdf_initGrid(this.group2.group6.swt_outpatient.case_outupdt.grd_outupdtcncl); //Grid 초기화
  1135. //팝업화면으로 사용될 때
  1136. if (frmf_checkOpener()) {
  1137. var flag = opener.frmf_getParameter("openflag");
  1138. ds_tmp.setColumn(0, "openflag", flag);
  1139. if (flag == 'T') {
  1140. group2.group5.visible = false;
  1141. group2.group3.visible = true;
  1142. group2.group6.visible = false;
  1143. group2.btn_cnclexcel2.visible = true;
  1144. group2.line2.visible = true;
  1145. group2.grd_outupdtcncl.visible = true;
  1146. // group2.group6.swt_outpatient.tabindex = 2;
  1147. // group2.group6.swt_outpatient.style.buttonbackground.image = 'URL("")';
  1148. // group2.group6.swt_outpatient.enable = false;
  1149. //group2.group6.swt_outpatient.style.buttonbackground.image = "";
  1150. //group2.group6.swt_outpatient.style.background.image = "";
  1151. // group2.group6.swt_outpatient.case_outcncl.text = ""; //외래취소
  1152. // group2.group6.swt_outpatient.case_outrgst.text = ""; //외래등록
  1153. // group2.group6.swt_outpatient.case_outupdt.text = ""; //외래변경
  1154. } else {
  1155. group2.group5.visible = true;
  1156. group2.group3.visible = false;
  1157. group2.btn_cnclexcel2.visible = false;
  1158. group2.line2.visible = false;
  1159. group2.grd_outupdtcncl.visible = false;
  1160. }
  1161. }
  1162. appf_getCodeList([
  1163. { dsNm: "ds_init_comncdlist_P0008list", cdGrpId: "P0008" },
  1164. { dsNm: "ds_init_comncdlist_P0021list", cdGrpId: "P0021" },
  1165. { dsNm: "ds_init_comncdlist_P0341list", cdGrpId: "P0341" },
  1166. { dsNm: "ds_init_comncdlist_P0022list", cdGrpId: "P0022" },
  1167. { dsNm: "ds_init_comncdlist_P0020list", cdGrpId: "P0020" },
  1168. { dsNm: "ds_init_comncdlist_P0029list", cdGrpId: "P0029" },
  1169. { dsNm: "ds_init_comncdlist_P0344list", cdGrpId: "P0344" },
  1170. { dsNm: "ds_init_comncdlist_P0010list", cdGrpId: "P0010" }]);
  1171. dsf_makeValue(ds_hidden_session, "sess_posinstcd", sysf_getUserInfo("dutplceinstcd"));
  1172. var oParam = {};
  1173. oParam.id = "TRPAMCOM01";
  1174. oParam.service = "pamcomnapp.PamComn";
  1175. oParam.method = "reqGetComCD";
  1176. oParam.inds = "req=ds_hidden_session";
  1177. oParam.outds = "ds_init_pam_init_disccd=disccd " +
  1178. "ds_init_pam_init_insukind=insukind " +
  1179. "ds_init_pam_init_suppkind=suppkind " +
  1180. "ds_init_pam_init_orddeptcd=orddeptcd " +
  1181. "ds_init_pam_init_orddrid=orddrid " +
  1182. "ds_init_pam_init_reducd=reducd " +
  1183. "ds_init_pam_init_uncocd=uncocd " +
  1184. "ds_init_pam_init_proccd=proccd " +
  1185. "ds_init_pam_init_subjno=subjno " +
  1186. "ds_init_pam_init_rcptflag=rcptflag";
  1187. oParam.async = false;
  1188. tranf_submit(oParam);
  1189. frmf_addComboItem("group2.group5.cmb_orddept","전체","","above");
  1190. frmf_addComboItem("group2.group5.cmb_rsrvflag"," ","","above");
  1191. frmf_addComboItem("group2.group5.combo2"," ","","above");
  1192. fInitialize();
  1193. //간호 요청사항 추가 - 2008-01-04
  1194. var node = sysf_getGlobalVariable("paminfo");
  1195. if (!utlf_isNull(node)) {
  1196. var orddrid = '';
  1197. var orddeptcd = '';
  1198. var pid = '';
  1199. dsf_setCSVToDs("ds_temp_paminfo_list", node);
  1200. var ioflag = ds_temp_paminfo_list.getColumn(0, "ioflag");
  1201. if (ioflag == 'O' || ioflag == 'o') {
  1202. orddrid = ds_temp_paminfo_list.getColumn(0, "orddrid");
  1203. } else {
  1204. orddrid = ds_temp_paminfo_list.getColumn(0, "medispclid");
  1205. }
  1206. orddeptcd = ds_temp_paminfo_list.getColumn(0, "orddeptcd");
  1207. pid = ds_temp_paminfo_list.getColumn(0, "pid");
  1208. ds_send.setColumn(0, "pid", pid);
  1209. ds_send.setColumn(0, "orddept", orddeptcd);
  1210. ds_send.setColumn(0, "orddr", orddrid);
  1211. // 2018.11.20 서재영_수정
  1212. ds_init_pam_init_orddrid.filter("dp == '" + ds_send.getColumn(0, 'orddept') + "'");
  1213. var nRow = ds_init_pam_init_orddrid.insertRow(0);
  1214. ds_init_pam_init_orddrid.setColumn(nRow, "cd" , "");
  1215. ds_init_pam_init_orddrid.setColumn(nRow, "nm" , "전체");
  1216. ds_init_pam_init_orddrid.setColumn(nRow, "dp" , "0000000000");
  1217. ds_init_pam_init_orddrid.setColumn(nRow, "sp" , "N");
  1218. group2.group5.cmb_orddr.innerdataset = ds_init_pam_init_orddrid;
  1219. //---------------------
  1220. group2.group6.swt_outpatient.tabindex = 0;
  1221. group2.group5.btn_search.click();
  1222. //ipt_pid_onclick(null, null);
  1223. } else if (frmf_checkOpener()) {
  1224. //팝업화면으로 사용될 때
  1225. var flag = opener.frmf_getParameter("openflag");
  1226. var pid = opener.frmf_getParameter("pid");
  1227. ds_send.setColumn(0, "openflag", opener.frmf_getParameter("openflag"));
  1228. ds_send.setColumn(0, "pid", opener.frmf_getParameter("pid"));
  1229. ds_send.setColumn(0, "hngnm", opener.frmf_getParameter("hngnm"));
  1230. ds_send.setColumn(0, "rrgstno1", opener.frmf_getParameter("rrgstno1"));
  1231. ds_send.setColumn(0, "rrgstno2", opener.frmf_getParameter("rrgstno2"));
  1232. ds_send.setColumn(0, "orddept", opener.frmf_getParameter("orddeptcd"));
  1233. ds_send.setColumn(0, "orddr", opener.frmf_getParameter("orddrid"));
  1234. ds_send.setColumn(0, "specordyn", opener.frmf_getParameter("specordyn"));
  1235. ds_send.setColumn(0, "rsrvflag", opener.frmf_getParameter("rsrvflag"));
  1236. ds_send.setColumn(0, "insukind", opener.frmf_getParameter("insukind"));
  1237. ds_send.setColumn(0, "acptdd", opener.frmf_getParameter("acptdd"));
  1238. ds_send.setColumn(0, "acptno", opener.frmf_getParameter("acptno"));
  1239. ds_send.setColumn(0, "tablename", opener.frmf_getParameter("tablename"));
  1240. ds_send.setColumn(0, "fstacptdt", opener.frmf_getParameter("fstacptdt"));
  1241. ds_send.setColumn(0, "fstrgstdt", opener.frmf_getParameter("fstrgstdt"));
  1242. var flag = ds_tmp.getColumn(0, "openflag");
  1243. var pid = ds_send.getColumn(0, "pid");
  1244. var hngnm = String(ds_send.getColumn(0, "hngnm"));
  1245. var rrgstno1 = ds_send.getColumn(0, "rrgstno1");
  1246. var rrgstno2 = ds_send.getColumn(0, "rrgstno2");
  1247. if (flag == 'T') {
  1248. if (hngnm.length > 0) {
  1249. group2.group3.button2.click();
  1250. }
  1251. } else {
  1252. group2.group6.swt_outpatient.tabindex = 0; //.selectedIndex = 0;
  1253. if (pid.length > 0) {
  1254. group2.group5.btn_search.click();
  1255. }
  1256. }
  1257. } else {
  1258. group2.group5.visible = true;
  1259. group2.group3.visible = false;
  1260. }
  1261. }
  1262. function group2_group5_btn_search_onclick(obj: Button, e: ClickEventInfo) {
  1263. var flag = ds_tmp.getColumn(0, "openflag");
  1264. var pid = utlf_transNullToEmpty(ds_send.getColumn(0, "pid"));
  1265. var hngnm = utlf_transNullToEmpty(ds_send.getColumn(0, "hngnm"));
  1266. var rrgstno1 = utlf_transNullToEmpty(ds_send.getColumn(0, "rrgstno1"));
  1267. var rrgstno2 = utlf_transNullToEmpty(ds_send.getColumn(0, "rrgstno2"));
  1268. var fromdd = ds_send.getColumn(0, "fromdd");
  1269. var todd = ds_send.getColumn(0, "todd");
  1270. //전화예약에서 조회시 환자정보가 없을경우
  1271. if (flag == 'T') {
  1272. if (pid == '' || pid == '-' || pid == ' ') {
  1273. if (hngnm == '' || hngnm == '-' || hngnm == ' ') {
  1274. if (rrgstno1 == '' || rrgstno1 == '-' || rrgstno1 == ' ') {
  1275. if (rrgstno2 == '' || rrgstno2 == '-' || rrgstno2 == ' ') {
  1276. if (utlf_getDateInterval(fromdd, todd) > 7) {
  1277. if (sysf_messageBox("일주일 이상의 이력을 조회 하시면 시스템에 과부하가 발생 할 수도 있습니다. 계속 하시겠습니까?", "Q999", "") != 6) {
  1278. return;
  1279. }
  1280. }
  1281. }
  1282. }
  1283. }
  1284. }
  1285. }
  1286. if (fCheckSearchValues()) {
  1287. if (group2.group6.swt_outpatient.tabindex == 0) {
  1288. ds_main_patinforgst_patinforgstlist.clearData();
  1289. ds_main_patinforgst_patinforgstlist.clearData();
  1290. //submit("TRPMO00603");
  1291. var oParam = {};
  1292. oParam.id = "TRPMO00603";
  1293. oParam.service = "opatmngtapp.OutRgst";
  1294. oParam.method = "reqGetOutRgstSpec1";
  1295. oParam.inds = "req=ds_send";
  1296. oParam.outds = "ds_main_patinforgst_patinforgstlist=patinforgstlist";
  1297. oParam.async = false;
  1298. tranf_submit(oParam);
  1299. //group2.group6.swt_outpatient.tabindex = 0;
  1300. ds_main_patinforgst_patinforgstlist.addColumn('bgColor', 'string');
  1301. for(var i = 0; i < ds_main_patinforgst_patinforgstlist.rowcout; i++){
  1302. if(ds_main_patinforgst_patinforgstlist.getColumn(i, 'histstat') == 'Z'){
  1303. ds_main_patinforgst_patinforgstlist.setColumn(i, 'bgColor', '#f7a08b');
  1304. }
  1305. }
  1306. } else if (group2.group6.swt_outpatient.tabindex == 1) {
  1307. ds_main_patinfoupdt_patinfoupdtlist.clearData();
  1308. var oParam = {};
  1309. oParam.id = "TRPMO00605";
  1310. oParam.service = "opatmngtapp.OutRgst";
  1311. oParam.method = "reqGetOutRgstSpec2";
  1312. oParam.inds = "req=ds_send";
  1313. oParam.outds = "ds_main_patinfoupdt_patinfoupdtlist=patinfoupdtlist";
  1314. oParam.async = false;
  1315. tranf_submit(oParam);
  1316. ds_main_patinfoupdt_patinfoupdtlist.addColumn('bgColor', 'string');
  1317. //group2.group6.swt_outpatient.tabindex = 2;
  1318. for(var i = 0; i < ds_main_patinfoupdt_patinfoupdtlist.rowcount; i++){
  1319. var value = ds_main_patinfoupdt_patinfoupdtlist.getColumn(i, 'histstat');
  1320. if(value == 'T' || value == 'R' || value == 'X'){
  1321. ds_main_patinfoupdt_patinfoupdtlist.setColumn(i, 'bgColor', '#7BE6B7');
  1322. }
  1323. }
  1324. } else if (group2.group6.swt_outpatient.tabindex == 2) {
  1325. ds_main_patinfocncl_patinfocncllist.clearData();
  1326. //submit("TRPMO00604");
  1327. var oParam = {};
  1328. oParam.id = "TRPMO00604";
  1329. oParam.service = "opatmngtapp.OutRgst";
  1330. oParam.method = "reqGetOutRgstSpec3";
  1331. oParam.inds = "req=ds_send";
  1332. oParam.outds = "ds_main_patinfocncl_patinfocncllist=patinfocncllist";
  1333. oParam.async = false;
  1334. tranf_submit(oParam);
  1335. //group2.group6.swt_outpatient.tabindex = 1;
  1336. }
  1337. }
  1338. }
  1339. function group2_group3_button2_onclick(obj:Button, e:ClickEventInfo)
  1340. {
  1341. var flag = ds_tmp.getColumn(0, "openflag");
  1342. var pid = ds_send.getColumn(0, "pid");
  1343. var hngnm = ds_send.getColumn(0, "hngnm");
  1344. var rrgstno1 = ds_send.getColumn(0, "rrgstno1");
  1345. var rrgstno2 = ds_send.getColumn(0, "rrgstno2");
  1346. var fromdd = ds_send.getColumn(0, "fromdd");
  1347. var todd = ds_send.getColumn(0, "todd");
  1348. if( fCheckSearchValues()){
  1349. if (group2.group6.swt_outpatient.tabindex == 0) {
  1350. ds_main_patinforgst_patinforgstlist.clearData();
  1351. ds_main_patinfoupdt_patinfoupdtlist.clearData();
  1352. var oParam = {};
  1353. oParam.id = "TRPMO00603";
  1354. oParam.service = "opatmngtapp.OutRgst";
  1355. oParam.method = "reqGetOutRgstSpec1";
  1356. oParam.inds = "req=ds_send";
  1357. oParam.outds = "ds_main_patinforgst_patinforgstlist=patinforgstlist";
  1358. oParam.async = false;
  1359. tranf_submit(oParam);
  1360. ds_main_patinforgst_patinforgstlist.addColumn('bgColor', 'string');
  1361. //group2.group6.swt_outpatient.tabindex = 0;
  1362. var histstat = ds_main_patinforgst_patinforgstlist.getColumn(0, "histstat");
  1363. for(var i = 0; i < ds_main_patinforgst_patinforgstlist.rowcount; i++){
  1364. if(ds_main_patinforgst_patinforgstlist.getColumn(i, 'histstat') == 'Z'){
  1365. ds_main_patinforgst_patinforgstlist.setColumn(i, 'bgColor', '#f7a08b')
  1366. }
  1367. }
  1368. }else if (group2.group6.swt_outpatient.tabindex == 1) {
  1369. ds_main_patinfoupdt_patinfoupdtlist.clearData();
  1370. var oParam = {};
  1371. oParam.id = "TRPMO00605";
  1372. oParam.service = "opatmngtapp.OutRgst";
  1373. oParam.method = "reqGetOutRgstSpec2";
  1374. oParam.inds = "req=ds_send";
  1375. oParam.outds = "ds_main_patinfoupdt_patinfoupdtlist=patinfoupdtlist";
  1376. oParam.async = false;
  1377. tranf_submit(oParam);
  1378. ds_main_patinfoupdt_patinfoupdtlist.addColumn('bgColor', 'string');
  1379. //group2.group6.swt_outpatient.tabindex = 2;
  1380. for(var i = 0; i < ds_main_patinfoupdt_patinfoupdtlist.rowcount; i++){
  1381. var value = ds_main_patinfoupdt_patinfoupdtlist.getColumn(i, 'histstat');
  1382. if(value == 'T' || value == 'R' || value == 'X'){
  1383. ds_main_patinfoupdt_patinfoupdtlist.setColumn(i, 'bgColor', '#7BE6B7');
  1384. }
  1385. }
  1386. }else if (group2.group6.swt_outpatient.tabindex == 2) {
  1387. ds_main_patinfocncl_patinfocncllist.clearData();
  1388. var oParam = {};
  1389. oParam.id = "TRPMO00604";
  1390. oParam.service = "opatmngtapp.OutRgst";
  1391. oParam.method = "reqGetOutRgstSpec3";
  1392. oParam.inds = "req=ds_send";
  1393. oParam.outds = "ds_main_patinfocncl_patinfocncllist=patinfocncllist";
  1394. oParam.async = false;
  1395. tranf_submit(oParam);
  1396. //group2.group6.swt_outpatient.tabindex = 1; //.selectedIndex = 1;
  1397. }
  1398. }
  1399. }
  1400. function group2_group3_button1_onclick(obj: Button, e: ClickEventInfo) {
  1401. var objArg = new Object();
  1402. objArg.arg_ds_send = ds_source;
  1403. frmf_modal("SPPMC02500", "SPPMC02500", objArg, false, "1", "150", "150", "", "", "", "", "", "M");
  1404. var popupendflag = frmf_getParameter('SPPMC02500_popupendflag');
  1405. if (popupendflag == "ok") {
  1406. var ptbs_pid = ds_main_patinfo_patinfolist.getColumn(0, "pid");
  1407. var ptbs_hngnm = ds_main_patinfo_patinfolist.getColumn(0, "hngnm");
  1408. var ptbs_rrgstno1 = ds_main_patinfo_patinfolist.getColumn(0, "rrgstno1");
  1409. var ptbs_rrgstno2 = ds_main_patinfo_patinfolist.getColumn(0, "rrgstno2");
  1410. ds_send.setColumn(0, "pid", ptbs_pid);
  1411. ds_send.setColumn(0, "hngnm", ptbs_hngnm);
  1412. ds_send.setColumn(0, "rrgstno1", ptbs_rrgstno1);
  1413. ds_send.setColumn(0, "rrgstno2", ptbs_rrgstno2);
  1414. }
  1415. }
  1416. function group2_group3_input6_onkeydown(obj: Edit, e: KeyEventInfo) {
  1417. if (e.keycode == 13) {
  1418. obj.updateToDataset();
  1419. ds_main_patinforgst_patinforgstlist.clearData();
  1420. ds_main_patinfoupdt_patinfoupdtlist.clearData();
  1421. ds_main_patinfocncl_patinfocncllist.clearData();
  1422. vcheck_pid = utlf_transNullToEmpty(ds_send.getColumn(0, 'pid'));
  1423. //환자번호 null체크
  1424. if (vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  1425. ds_send.setColumn(0, "pid", "");
  1426. ds_send.setColumn(0, "hngnm", "");
  1427. ds_send.setColumn(0, "rrgstno1", "");
  1428. ds_send.setColumn(0, "rrgstno2", "");
  1429. sysf_messageBox("환자등록번호가 입력되지", "E007");
  1430. return;
  1431. }
  1432. //환자번호 조건으로 인적정보 조회
  1433. ds_source.setColumn(0, "srchcond", "1");
  1434. ds_source.setColumn(0, "pid", vcheck_pid);
  1435. ds_send.setColumn(0, "pid", vcheck_pid);
  1436. //환자기본정보 node clear
  1437. ds_main_patinfo_patinfolist.clearData();
  1438. ds_main_patinfo_patinfolist.addRow();
  1439. ds_send.setColumn(0, "hngnm", "");
  1440. ds_send.setColumn(0, "rrgstno1", "");
  1441. ds_send.setColumn(0, "rrgstno2", "");
  1442. dsf_makeValue(ds_send, "srchcond", "string", ds_source.getColumn(0, "srchcond"));
  1443. //환자등록번호 체크
  1444. var oParam = {};
  1445. oParam.id = "TRPMC02500";
  1446. oParam.service = "patinfomngtapp.PatBaseInfo";
  1447. oParam.method = "reqGetPatInfo";
  1448. oParam.inds = "req=ds_send";
  1449. oParam.outds = "ds_main_patinfo_patinfolist=patinfolist";
  1450. oParam.async = false;
  1451. oParam.callback = "cf_TRPMC02500";
  1452. tranf_submit(oParam);
  1453. if (arErrorCode.pop("TRPMC02500") > -1) {
  1454. var vcheck_pid = utlf_transNullToEmpty(ds_main_patinfo_patinfolist.getColumn(0, "pid"));
  1455. if (vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  1456. //조회내역 체크
  1457. ds_send_pid.clearData();
  1458. ds_send_pid.addRow();
  1459. sysf_messageBox("존재하지 않는 등록번호", "E008");
  1460. fInitialize();
  1461. return;
  1462. }
  1463. ds_send.setColumn(0, "hngnm", ds_main_patinfo_patinfolist.getColumn(0, "hngnm"));
  1464. ds_send.setColumn(0, "rrgstno1", ds_main_patinfo_patinfolist.getColumn(0, "rrgstno1"));
  1465. ds_send.setColumn(0, "rrgstno2", ds_main_patinfo_patinfolist.getColumn(0, "rrgstno2"));
  1466. //조회되는 항목들 clear
  1467. group2.group5.btn_search.click();
  1468. } else {
  1469. sysf_messageBox("존재하지 않는 등록번호", "E008");
  1470. fInitialize();
  1471. group2.group5.ipt_pid.setFocus();
  1472. return;
  1473. }
  1474. }
  1475. }
  1476. function cf_TRPMC02500(sSvcId, nErrorCode, sErrorMsg) {
  1477. arErrorCode.push(sSvcId, nErrorCode);
  1478. }
  1479. function group2_group3_combo3_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
  1480. ds_init_orddrid_orddridlist.filter("dp == '" + group2.group3.combo3.value + "'");
  1481. group2.group3.combo5.innerdataset = ds_init_orddrid_orddridlist;
  1482. ds_init_orddrid_orddridlist.filter("");
  1483. ds_send.setColumn(0, "orddr", "");
  1484. }
  1485. function group2_group3_combo5_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
  1486. var orddeptcd = utlf_transNullToEmpty(ds_send.getColumn(0, "orddept"));
  1487. if (orddeptcd == "" || orddeptcd == " " || orddeptcd == "-") {
  1488. sysf_messageBox("진료과 선택을 먼저 하십시요!", "E999", "");
  1489. ds_send.setColumn(0, "orddr", "");
  1490. group2.group5.cmb_orddept.setFocus();
  1491. return;
  1492. } else {
  1493. var specordyn = ds_init_orddrid_orddridlist.getColumn(ds_init_orddrid_orddridlist.findRowExpr("cd == '" + ds_send.getColumn(0, 'orddr') + "'"), "sp");
  1494. ds_send.setColumn(0, "specordyn", specordyn);
  1495. }
  1496. }
  1497. function group2_group5_ipt_pid_onkeydown(obj: Edit, e: KeyEventInfo) {
  1498. if (e.keycode == 13) {
  1499. obj.updateToDataset();
  1500. if (ds_send.rowcount <= 0) {
  1501. ds_send.addRow();
  1502. }
  1503. ds_main_patinforgst_patinforgstlist.clearData();
  1504. ds_main_patinfoupdt_patinfoupdtlist.clearData();
  1505. ds_main_patinfocncl_patinfocncllist.clearData();
  1506. vcheck_pid = utlf_transNullToEmpty(ds_send.getColumn(0, 'pid'));
  1507. //환자번호 null체크
  1508. if (vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  1509. ds_send.setColumn(0, "pid", "");
  1510. ds_send.setColumn(0, "hngnm", "");
  1511. ds_send.setColumn(0, "rrgstno1", "");
  1512. ds_send.setColumn(0, "rrgstno2", "");
  1513. sysf_messageBox("환자등록번호가 입력되지", "E007");
  1514. return;
  1515. }
  1516. //환자번호 조건으로 인적정보 조회
  1517. ds_source.setColumn(0, "srchcond", "1");
  1518. ds_source.setColumn(0, "pid", vcheck_pid);
  1519. ds_send.setColumn(0, "pid", vcheck_pid);
  1520. //환자기본정보 node clear
  1521. ds_main_patinfo_patinfolist.clearData();
  1522. ds_main_patinfo_patinfolist.addRow();
  1523. ds_send.setColumn(0, "hngnm", "");
  1524. ds_send.setColumn(0, "rrgstno1", "");
  1525. ds_send.setColumn(0, "rrgstno2", "");
  1526. dsf_makeValue(ds_send, "srchcond", "string", ds_source.getColumn(0, "srchcond"));
  1527. //환자등록번호 체크
  1528. var oParam = {};
  1529. oParam.id = "TRPMC02500";
  1530. oParam.service = "patinfomngtapp.PatBaseInfo";
  1531. oParam.method = "reqGetPatInfo";
  1532. oParam.inds = "req=ds_send";
  1533. oParam.outds = "ds_main_patinfo_patinfolist=patinfolist";
  1534. oParam.async = false;
  1535. oParam.callback = "cf_TRPMC02500";
  1536. tranf_submit(oParam);
  1537. if (arErrorCode.pop("TRPMC02500") > -1) {
  1538. var vcheck_pid = utlf_transNullToEmpty(ds_main_patinfo_patinfolist.getColumn(0, "pid"));
  1539. if (vcheck_pid == "" || vcheck_pid == " " || vcheck_pid == "-") {
  1540. //조회내역 체크
  1541. ds_send.setColumn(0, "pid", "");
  1542. sysf_messageBox("존재하지 않는 등록번호", "E008");
  1543. fInitialize();
  1544. return;
  1545. }
  1546. ds_send.setColumn(0, "hngnm", ds_main_patinfo_patinfolist.getColumn(0, "hngnm"));
  1547. ds_send.setColumn(0, "rrgstno1", ds_main_patinfo_patinfolist.getColumn(0, "rrgstno1"));
  1548. ds_send.setColumn(0, "rrgstno2", ds_main_patinfo_patinfolist.getColumn(0, "rrgstno2"));
  1549. //조회되는 항목들 clear
  1550. group2.group5.btn_search.click();
  1551. } else {
  1552. sysf_messageBox("존재하지 않는 등록번호", "E008");
  1553. fInitialize();
  1554. group2.group5.ipt_pid.setFocus();
  1555. return;
  1556. }
  1557. }
  1558. }
  1559. function group2_group5_btn_ptbs_search_onclick(obj: Button, e: ClickEventInfo) {
  1560. var objArg = new Object();
  1561. objArg.arg_ds_send = ds_source;
  1562. frmf_modal("SPPMC02500", "SPPMC02500", objArg, false, "1", "150", "150", "", "", "", "", "", "M");
  1563. var popupendflag = frmf_getParameter("SPPMC02500_popupendflag");
  1564. if (popupendflag == "ok") {
  1565. var ptbs_pid = ds_patinfolist.getColumn(0, "pid");
  1566. var ptbs_hngnm = ds_patinfolist.getColumn(0, "hngnm");
  1567. var ptbs_rrgstno1 = ds_patinfolist.getColumn(0, "rrgstno1");
  1568. var ptbs_rrgstno2 = ds_patinfolist.getColumn(0, "rrgstno2");
  1569. ds_send.setColumn(0, "pid", ptbs_pid);
  1570. ds_send.setColumn(0, "hngnm", ptbs_hngnm);
  1571. ds_send.setColumn(0, "rrgstno1", ptbs_rrgstno1);
  1572. ds_send.setColumn(0, "rrgstno2", ptbs_rrgstno2);
  1573. // 자동조회
  1574. group2.group5.btn_search.click();
  1575. }
  1576. }
  1577. function group2_group5_cmb_orddept_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
  1578. // 2018.11.19 서재영_수정
  1579. ds_init_pam_init_orddrid.filter("dp == '" + ds_send.getColumn(0, 'orddept') + "'");
  1580. var nRow = ds_init_pam_init_orddrid.insertRow(0);
  1581. ds_init_pam_init_orddrid.setColumn(nRow, "cd" , "");
  1582. ds_init_pam_init_orddrid.setColumn(nRow, "nm" , "전체");
  1583. ds_init_pam_init_orddrid.setColumn(nRow, "dp" , "0000000000");
  1584. ds_init_pam_init_orddrid.setColumn(nRow, "sp" , "N");
  1585. group2.group5.cmb_orddr.innerdataset = ds_init_pam_init_orddrid;
  1586. ds_send.setColumn(0, "orddr", "");
  1587. }
  1588. function group2_group5_cmb_orddr_onitemchanged(obj: Combo, e: ItemChangeEventInfo) {
  1589. var orddeptcd = utlf_transNullToEmpty(ds_send.getColumn(0, "orddept"));
  1590. if (orddeptcd == "" || orddeptcd == " " || orddeptcd == "-") {
  1591. sysf_messageBox("진료과 선택을 먼저 하십시요!", "E999", "");
  1592. ds_send.setColumn(0, "orddr", "");
  1593. group2.group5.cmb_orddept.setFocus();
  1594. return;
  1595. } else {
  1596. var specordyn = ds_init_orddrid_orddridlist.getColumn(ds_init_orddrid_orddridlist.findRowExpr(" cd == '" + ds_send.getColumn(0, 'orddr') + "'"), "sp");
  1597. ds_send.setColumn(0, "specordyn", specordyn);
  1598. }
  1599. }
  1600. function group2_group6_swt_outpatient_case_outrgst_btn_rgstexcel_onclick(obj: Button, e: ClickEventInfo) {
  1601. grdf_exportExcel(group2.group6.swt_outpatient.case_outrgst.mgrd_outrgst, "excel", "Sheet1", true, "", 'user', true);
  1602. }
  1603. function group4_btn_clear_onclick(obj: Button, e: ClickEventInfo) {
  1604. fInitialize();
  1605. }
  1606. function group2_group6_swt_outpatient_case_outcncl_btn_cnclexcel_onclick(obj: Button, e: ClickEventInfo) {
  1607. grdf_exportExcel(group2.group6.swt_outpatient.case_outcncl.grd_outcncl, "excel", "Sheet1", true, "", 'user', true);
  1608. }
  1609. function group2_group6_swt_outpatient_case_outupdt_btn_updtexcel_onclick(obj: Button, e: ClickEventInfo) {
  1610. grdf_exportExcel(group2.group6.swt_outpatient.case_outupdt.grd_outupdtcncl, "excel", "Sheet1", true, "", 'user', true);
  1611. }
  1612. function group2_group6_swt_outpatient_case_outrgst_mgrd_outrgst_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  1613. var row = group2.group6.swt_outpatient.case_outrgst.mgrd_outrgst.currentrow;
  1614. if (row >= 0) {
  1615. var pid = ds_send.getColumn(0, "pid");
  1616. var hngnm = ds_send.getColumn(0, "hngnm");
  1617. var rrgstno1 = ds_send.getColumn(0, "rrgstno1");
  1618. var rrgstno2 = ds_send.getColumn(0, "rrgstno2");
  1619. var dayflag = ds_send.getColumn(0, "dayflag");
  1620. var fromdd = ds_send.getColumn(0, "fromdd");
  1621. var todd = ds_send.getColumn(0, "todd");
  1622. var orddeptcd = ds_send.getColumn(0, "orddept");
  1623. var orddrid = ds_send.getColumn(0, "orddr");
  1624. var specordyn = ds_send.getColumn(0, "specordyn");
  1625. var insukind = ds_send.getColumn(0, "insukind");
  1626. var rsrvflag = ds_send.getColumn(0, "rsrvflag");
  1627. var fstacptdt = ds_send.getColumn(0, "fstacptdt");
  1628. ds_send.clearData();
  1629. ds_send.addRow();
  1630. ds_send.setColumn(0, "pid", ds_main_patinforgst_patinforgstlist.getColumn(row, "pid"));
  1631. ds_send.setColumn(0, "hngnm", ds_main_patinforgst_patinforgstlist.getColumn(row, "pathngnm"));
  1632. ds_send.setColumn(0, "rrgstno1", ds_main_patinforgst_patinforgstlist.getColumn(row, "rrgstno1"));
  1633. ds_send.setColumn(0, "rrgstno2", ds_main_patinforgst_patinforgstlist.getColumn(row, "rrgstno2"));
  1634. ds_send.setColumn(0, "orddept", ds_main_patinforgst_patinforgstlist.getColumn(row, "orddeptcd"));
  1635. ds_send.setColumn(0, "orddr", ds_main_patinforgst_patinforgstlist.getColumn(row, "orddrid"));
  1636. ds_send.setColumn(0, "fstacptdt", ds_main_patinforgst_patinforgstlist.getColumn(row, "fstacptdt"));
  1637. ds_send.setColumn(0, "fstrgstdt", ds_main_patinforgst_patinforgstlist.getColumn(row, "fstrgstdt2"));
  1638. //submit("TRPMO00605");
  1639. var oParam = {};
  1640. oParam.id = "TRPMO00605";
  1641. oParam.service = "opatmngtapp.OutRgst";
  1642. oParam.method = "reqGetOutRgstSpec2";
  1643. oParam.inds = "req=ds_send";
  1644. oParam.outds = "ds_main_patinfoupdt_patinfoupdtlist=patinfoupdtlist";
  1645. oParam.async = false;
  1646. tranf_submit(oParam);
  1647. group2.group6.swt_outpatient.tabindex = 1;
  1648. ds_tmp.setColumn(0, "flag", 'Y');
  1649. ds_main_patinfoupdt_patinfoupdtlist.addColumn('bgColor', 'string');
  1650. for(var i = 0; i < ds_main_patinfoupdt_patinfoupdtlist.rowcount; i++){
  1651. var value = ds_main_patinfoupdt_patinfoupdtlist.getColumn(i, 'histstat');
  1652. if(value == 'T' || value == 'R') {
  1653. ds_main_patinfoupdt_patinfoupdtlist.setColumn(i, 'bgColor', '#ffe79d');
  1654. }
  1655. }
  1656. ds_send.clearData();
  1657. ds_send.addRow();
  1658. ds_send.setColumn(0, "pid", pid);
  1659. ds_send.setColumn(0, "hngnm", hngnm);
  1660. ds_send.setColumn(0, "rrgstno1", rrgstno1);
  1661. ds_send.setColumn(0, "rrgstno2", rrgstno2);
  1662. ds_send.setColumn(0, "dayflag", dayflag);
  1663. ds_send.setColumn(0, "fromdd", fromdd);
  1664. ds_send.setColumn(0, "todd", todd);
  1665. ds_send.setColumn(0, "orddept", orddeptcd);
  1666. ds_send.setColumn(0, "orddr", orddrid);
  1667. ds_send.setColumn(0, "specordyn", specordyn);
  1668. ds_send.setColumn(0, "rsrvflag", rsrvflag);
  1669. ds_send.setColumn(0, "insukind", insukind);
  1670. }
  1671. group2.group3.button2.enable = false;
  1672. group2.group5.btn_search.enable = false;
  1673. }
  1674. var canChange = false;
  1675. function group2_group6_swt_outpatient_canchange(obj:Tab, e:TabIndexChangeEventInfo)
  1676. {
  1677. // if(!canChange){
  1678. // canChange = true;
  1679. // return;
  1680. // }
  1681. // switch (obj.tabindex) {
  1682. // case 0:
  1683. // group2.group3.button2.visible = true;
  1684. // group2.group5.btn_search.visible = true;
  1685. // break;
  1686. //
  1687. // case 1:
  1688. // //변경조회의 경우 탭선택이 아니라 외래등록내역을 더블클릭 했을시 조회
  1689. // var flag = ds_tmp.getColumn(0, "flag");
  1690. // group2.group3.button2.visible = false;
  1691. // group2.group5.btn_search.visible = false;
  1692. //
  1693. // if (flag != 'Y') {
  1694. // sysf_messageBox("변경내역조회는 외래등록 조회한 내역을 클릭시만 가능합니다.", "E999", "");
  1695. // return;
  1696. // }
  1697. // break;
  1698. //
  1699. // case 2:
  1700. // group2.group3.button2.visible = true;
  1701. // group2.group5.btn_search.visible = true;
  1702. //
  1703. // if (ds_main_patinfocncl_patinfocncllist.rowcount > 0) {
  1704. // group2.group6.swt_outpatient.tabindex = 1;
  1705. //
  1706. // } else {
  1707. // dsf_createDsRow('ds_TRPMO00604', [
  1708. // { col: 'pid', type: 'string', size: 256, val: '' },
  1709. // { col: 'hngnm', type: 'string', size: 256, val: '' },
  1710. // { col: 'rrgstno1', type: 'string', size: 256, val: '' },
  1711. // { col: 'rrgstno2', type: 'string', size: 256, val: '' },
  1712. // { col: 'orddept', type: 'string', size: 256, val: '' },
  1713. // { col: 'rsrvflag', type: 'string', size: 256, val: '' },
  1714. // { col: 'insukind', type: 'string', size: 256, val: '' },
  1715. // { col: 'orddr', type: 'string', size: 256, val: '' },
  1716. // { col: 'fromdd', type: 'string', size: 256, val: '' },
  1717. // { col: 'todd', type: 'string', size: 256, val: '' },
  1718. // { col: 'specordyn', type: 'string', size: 256, val: '' },
  1719. // { col: 'dayflag', type: 'string', size: 256, val: '' }
  1720. // ], false);
  1721. //
  1722. // ds_TRPMO00604.copyRow(0, ds_send, 0);
  1723. //
  1724. // ds_main_patinfocncl_patinfocncllist.clearData();
  1725. //
  1726. // var oParam = {};
  1727. // oParam.id = "TRPMO00604";
  1728. // oParam.service = "opatmngtapp.OutRgst";
  1729. // oParam.method = "reqGetOutRgstSpec3";
  1730. // oParam.inds = "req=ds_TRPMO00604";
  1731. // oParam.outds = "ds_main_patinfocncl_patinfocncllist=patinfocncllist";
  1732. // oParam.async = false;
  1733. //
  1734. // tranf_submit(oParam);
  1735. // group2.group6.swt_outpatient.tabindex = 1;
  1736. // }
  1737. // break;
  1738. // }
  1739. }
  1740. function group2_group6_swt_outpatient_case_outcncl_btn_cnclexcel2_onclick(obj:Button, e:ClickEventInfo)
  1741. {
  1742. grdf_exportExcel(group2.grd_outupdtcncl, "excel", "Sheet1", true, "", 'user', true);
  1743. }
  1744. function group2_group6_swt_outpatient_onlbuttonup(obj:Tab, e:TabMouseEventInfo)
  1745. {
  1746. if(e.fromreferenceobject.name == "swt_outpatient"){
  1747. var sIdx = obj.getIndex(e.clientX, e.canvasY);
  1748. if( sIdx != -1){
  1749. lf_tabbtn_onclick(sIdx);
  1750. }
  1751. }
  1752. }
  1753. function lf_tabbtn_onclick(sIdx) {
  1754. if(sIdx == 0) {
  1755. group2.group3.button2.enable = true;
  1756. group2.group5.btn_search.enable = true;
  1757. } else if(sIdx == 1) {
  1758. //변경조회의 경우 탭선택이 아니라 외래등록내역을 더블클릭 했을시 조회
  1759. var flag = ds_tmp.getColumn(0, "flag");
  1760. group2.group3.button2.enable = false;
  1761. group2.group5.btn_search.enable = false;
  1762. if(flag != 'Y'){
  1763. sysf_messageBox("변경내역조회는 외래등록 조회한 내역을 클릭시만 가능합니다.", "E999", "");
  1764. return;
  1765. }
  1766. } else {
  1767. group2.group3.button2.enable = true;
  1768. group2.group5.btn_search.enable = true;
  1769. //
  1770. // if( ds_main_patinfocncl_patinfocncllist.rowcount == 0 ){
  1771. // // 주석처리함(2018/02/08 이정택)
  1772. // // submit("TRPMO00604");
  1773. // // 주석처리함(2018/02/08 이정택)
  1774. // swt_outpatient.selectedIndex = 1;
  1775. // btn_outrgst.selected = false;
  1776. // btn_outupdt.selected = false;
  1777. // btn_outcncl.selected = true;
  1778. // model.refresh();
  1779. // }
  1780. }
  1781. }
  1782. ]]></Script>
  1783. </Form>
  1784. </FDL>