SPARH05100_심평원HIE병원조회.xfdl 81 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPARH05100" classname="SPARH05100_심평원HIE병원조회" inheritanceid="" position="absolute 0 0 1010 596" titletext="심평원HIE병원조회" onload="SPARH05100_onload" oninit="SPARH05100_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="통합병원조회" class="tit_1" position="absolute 0 0 114 23"/>
  8. <Tab id="Tab00" taborder="2" tabindex="0" scrollbars="autoboth" position="absolute 0 25 1004 594" onchanged="Tab00_onchanged">
  9. <Tabpages>
  10. <Tabpage id="tabpage1" text="실시간(심평원)">
  11. <Layouts>
  12. <Layout>
  13. <Grid id="grd_hosplist" taborder="0" binddataset="ds_hosplist" useinputpanel="false" autofittype="col" position="absolute 0 73 771 539" oncelldblclick="Tab00_tabpage1_grd_hosplist_oncelldblclick" cellsizingtype="col" cellclickbound="cell">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="83"/>
  18. <Column size="236"/>
  19. <Column size="50"/>
  20. <Column size="518"/>
  21. <Column size="110"/>
  22. </Columns>
  23. <Rows>
  24. <Row size="24" band="head"/>
  25. <Row size="24"/>
  26. </Rows>
  27. <Band id="head">
  28. <Cell displaytype="normal" text="요양코드"/>
  29. <Cell col="1" displaytype="normal" text="요양기관명"/>
  30. <Cell col="2" displaytype="normal" text="HIE"/>
  31. <Cell col="3" displaytype="normal" text="주소"/>
  32. <Cell col="4" displaytype="normal" text="전화번호"/>
  33. </Band>
  34. <Band id="body">
  35. <Cell displaytype="normal" edittype="readonly" text="bind:yadmid" editautoselect="true"/>
  36. <Cell col="1" displaytype="text" edittype="readonly" style="align:left;" text="bind:yadmnm" editautoselect="true"/>
  37. <Cell col="2" displaytype="normal" text="bind:hieyn"/>
  38. <Cell col="3" displaytype="text" edittype="readonly" style="align:left;" text="bind:addr" editautoselect="true"/>
  39. <Cell col="4" displaytype="normal" edittype="readonly" text="bind:telno" editautoselect="true"/>
  40. </Band>
  41. </Format>
  42. </Formats>
  43. </Grid>
  44. <Div id="Div00" taborder="1" class="div_SA2" position="absolute 0 0 1004 48">
  45. <Layouts>
  46. <Layout width="1004" height="48">
  47. <Static id="caption3" text="병원명 :" class="search_name" position="absolute 8 12 95 32" anchor="default"/>
  48. <Edit id="edt_hospnm" taborder="0" position="absolute 81 12 293 32" anchor="default" onkeydown="Tab00_tabpage1_Div00_Edit00_onkeydown" imemode="hangul" autoselect="true"/>
  49. <Static id="caption00" text="지역 :" class="search_name" position="absolute 360 12 447 32" anchor="default"/>
  50. <Combo id="cmb_sido" taborder="1" position="absolute 433 12 533 32" anchor="default" innerdataset="@ds_init_sido" datacolumn="label" codecolumn="value" onitemchanged="Tab00_tabpage1_Div00_cmb_sido_onitemchanged"/>
  51. <Combo id="cmb_sidodetl" taborder="2" position="absolute 537 12 637 32" anchor="default" innerdataset="@ds_init_sidodetl" codecolumn="value" datacolumn="label"/>
  52. <CheckBox id="CheckBox00" taborder="3" text="협력병원" position="absolute 807 12 907 32" anchor="default"/>
  53. <Button id="Button00" taborder="4" text="조회" onclick="Div00_Button00_onclick" class="btn1" position="absolute 927 12 987 32" anchor="default"/>
  54. </Layout>
  55. </Layouts>
  56. </Div>
  57. <Static id="caption01" text="병원선택" class="tit_2" position="absolute 0 52 183 69" anchor="left top"/>
  58. <Static id="caption00" text="과선택" class="tit_2" position="absolute 776 52 871 69" anchor="left top"/>
  59. <Grid id="grd_deptlist" taborder="2" useinputpanel="false" position="absolute 776 73 1000 539" binddataset="ds_deptlist" autofittype="col" oncelldblclick="Tab00_tabpage1_grd_deptlist_oncelldblclick">
  60. <Formats>
  61. <Format id="default">
  62. <Columns>
  63. <Column size="224"/>
  64. </Columns>
  65. <Rows>
  66. <Row size="24" band="head"/>
  67. <Row size="24"/>
  68. </Rows>
  69. <Band id="head">
  70. <Cell displaytype="normal" text="부서명"/>
  71. </Band>
  72. <Band id="body">
  73. <Cell displaytype="normal" style="align:left;" text="bind:dept_nm"/>
  74. </Band>
  75. </Format>
  76. </Formats>
  77. </Grid>
  78. <Shape id="line9" class="line_10" position="absolute 0 68 771 74"/>
  79. <Shape id="line00" class="line_10" position="absolute 776 68 1000 74"/>
  80. </Layout>
  81. </Layouts>
  82. </Tabpage>
  83. <Tabpage id="tabpage2" text="병원정보" onclick="Tab00_tabpage2_onclick">
  84. <Layouts>
  85. <Layout>
  86. <Grid id="grd_list" taborder="0" binddataset="ds_main_list_req_hosp_list" useinputpanel="false" cellsizingtype="both" cellsizebandtype="allband" autosizingtype="row" oncelldblclick="group3_grd_list_oncelldblclick" position="absolute 0 67 1004 515" autoenter="select" cellclickbound="cell">
  87. <Formats>
  88. <Format id="default">
  89. <Columns>
  90. <Column size="163" band="left"/>
  91. <Column size="75" band="left"/>
  92. <Column size="60"/>
  93. <Column size="80"/>
  94. <Column size="360"/>
  95. <Column size="145"/>
  96. <Column size="90"/>
  97. <Column size="84"/>
  98. <Column size="150"/>
  99. <Column size="80"/>
  100. <Column size="80"/>
  101. <Column size="50"/>
  102. <Column size="0"/>
  103. <Column size="0"/>
  104. <Column size="0"/>
  105. <Column size="0"/>
  106. <Column size="0"/>
  107. <Column size="0"/>
  108. <Column size="0"/>
  109. <Column size="0"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. <Column size="0"/>
  114. <Column size="0"/>
  115. <Column size="0"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. <Column size="0"/>
  129. <Column size="0"/>
  130. <Column size="0"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. <Column size="0"/>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. <Column size="0"/>
  148. <Column size="0"/>
  149. <Column size="0"/>
  150. <Column size="0"/>
  151. <Column size="0"/>
  152. </Columns>
  153. <Rows>
  154. <Row size="24" band="head"/>
  155. <Row size="24"/>
  156. </Rows>
  157. <Band id="head">
  158. <Cell text="병원명"/>
  159. <Cell col="1" text="의사명"/>
  160. <Cell col="2" colspan="2" text="지역" taborder="undefined"/>
  161. <Cell col="4" text="주소"/>
  162. <Cell col="5" text="주소"/>
  163. <Cell col="6" text="전화번호"/>
  164. <Cell col="7" text="FAX번호"/>
  165. <Cell col="8" text="E-mail"/>
  166. <Cell col="9" text="면허번호"/>
  167. <Cell col="10" text="병원구분"/>
  168. <Cell col="11" text="동문"/>
  169. <Cell col="12" text="caption1"/>
  170. <Cell col="13" text="caption2"/>
  171. <Cell col="14" text="caption3"/>
  172. <Cell col="15" text="caption4"/>
  173. <Cell col="16" text="caption5"/>
  174. <Cell col="17" text="caption6"/>
  175. <Cell col="18" text="caption7"/>
  176. <Cell col="19" text="caption8"/>
  177. <Cell col="20" text="caption9"/>
  178. <Cell col="21" text="caption10"/>
  179. <Cell col="22" text="caption11"/>
  180. <Cell col="23" text="caption12"/>
  181. <Cell col="24" text="caption13"/>
  182. <Cell col="25" text="caption14"/>
  183. <Cell col="26" text="caption15"/>
  184. <Cell col="27" text="caption16"/>
  185. <Cell col="28" text="caption17"/>
  186. <Cell col="29" text="caption18"/>
  187. <Cell col="30" text="caption19"/>
  188. <Cell col="31" text="caption20"/>
  189. <Cell col="32" text="caption21"/>
  190. <Cell col="33" text="caption22"/>
  191. <Cell col="34" text="caption23"/>
  192. <Cell col="35" text="caption24"/>
  193. <Cell col="36" text="caption25"/>
  194. <Cell col="37" text="caption26"/>
  195. <Cell col="38" text="caption27"/>
  196. <Cell col="39" text="caption28"/>
  197. <Cell col="40" text="caption29"/>
  198. <Cell col="41" text="caption30"/>
  199. <Cell col="42" text="caption31"/>
  200. <Cell col="43" text="caption32"/>
  201. <Cell col="44" text="caption33"/>
  202. <Cell col="45" text="caption34"/>
  203. <Cell col="46" text="caption35"/>
  204. <Cell col="47" text="caption36"/>
  205. <Cell col="48" text="caption37"/>
  206. <Cell col="49" text="caption38"/>
  207. <Cell col="50" text="caption39"/>
  208. <Cell col="51" text="caption40"/>
  209. <Cell col="52" text="caption41"/>
  210. <Cell col="53" text="caption42"/>
  211. <Cell col="54" text="caption43"/>
  212. <Cell col="55" text="caption44"/>
  213. <Cell col="56" text="caption45"/>
  214. <Cell col="57" text="caption46"/>
  215. <Cell col="58" text="caption47"/>
  216. <Cell col="59" text="caption48"/>
  217. <Cell col="60" text="replflag"/>
  218. <Cell col="61" text="repltype"/>
  219. </Band>
  220. <Band id="body">
  221. <Cell style="align:left top;padding:2 1 2 1;" text="bind:coophospnm" wordwrap="char"/>
  222. <Cell col="1" style="align:left middle;padding:5 3 5 3;" text="bind:drnm" combodataset="ds_init_areacd1_a0426" combocodecol="cdid" combodatacol="cdnm"/>
  223. <Cell col="2" displaytype="combo" style="align:center middle;padding:5 3 5 3;" text="bind:sidocd" combodataset="ds_init_areacd" combocodecol="sidocd" combodatacol="sidonm" enable="false"/>
  224. <Cell col="3" displaytype="combo" style="align:center middle;" text="bind:sidocddetl" combodataset="ds_init_areacddelt" combocodecol="sidocddetl" combodatacol="sidonmdetl"/>
  225. <Cell col="4" displaytype="text" style="align:left middle;padding:5 3 5 3;" text="bind:detladdr1" wordwrap="char"/>
  226. <Cell col="5" style="align:left middle;padding:5 3 5 3;" text="bind:detladdr2" wordwrap="char"/>
  227. <Cell col="6" style="align:left middle;padding:5 3 5 3;" text="bind:telno"/>
  228. <Cell col="7" style="align:left middle;padding:5 3 5 3;" text="bind:faxno"/>
  229. <Cell col="8" style="align:left middle;padding:5 3 5 3;" text="bind:emailnm"/>
  230. <Cell col="9" style="align:left middle;padding:5 3 5 3;" text="bind:licnsno"/>
  231. <Cell col="10" displaytype="combo" edittype="combo" style="align:left middle;padding:5 3 5 3;" text="bind:hospgrade" combodataset="ds_init_hospgrade_a0429" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  232. <Cell col="11" displaytype="checkbox" edittype="checkbox" text="bind:clsmatyn" enable="false"/>
  233. <Cell col="12" text="bind:coophospcd"/>
  234. <Cell col="13" text="bind:coopdrcd"/>
  235. <Cell col="14" text="bind:fromdd"/>
  236. <Cell col="15" text="bind:coopconcltdd"/>
  237. <Cell col="16" text="bind:cooptodd"/>
  238. <Cell col="17" text="bind:opnofhospdd"/>
  239. <Cell col="18" text="bind:dirofhospnm"/>
  240. <Cell col="19" text="bind:bedcnt"/>
  241. <Cell col="20" text="bind:rgstdd"/>
  242. <Cell col="21" text="bind:perchgrnm"/>
  243. <Cell col="22" text="bind:perchgrjobpos"/>
  244. <Cell col="23" text="bind:perchgrtel"/>
  245. <Cell col="24" text="bind:perchgrmpphone"/>
  246. <Cell col="25" text="bind:zipcd1"/>
  247. <Cell col="26" text="bind:zipcd2"/>
  248. <Cell col="27" text="bind:zipcdseq"/>
  249. <Cell col="28" text="bind:homepgnm"/>
  250. <Cell col="29" text="bind:hospemailid"/>
  251. <Cell col="30" text="bind:hospemailaddr"/>
  252. <Cell col="31" text="bind:corpno"/>
  253. <Cell col="32" text="bind:rgstflag"/>
  254. <Cell col="33" text="bind:hosprem"/>
  255. <Cell col="34" text="bind:todd"/>
  256. <Cell col="35" text="bind:rrgstno1"/>
  257. <Cell col="36" text="bind:rrgstno2"/>
  258. <Cell col="37" text="bind:tradehosp"/>
  259. <Cell col="38" text="bind:gradsch"/>
  260. <Cell col="39" text="bind:drflag"/>
  261. <Cell col="40" text="bind:orddeptcd"/>
  262. <Cell col="41" text="bind:drcls"/>
  263. <Cell col="42" text="bind:medispclno"/>
  264. <Cell col="43" text="bind:drclsmatyn"/>
  265. <Cell col="44" text="bind:gradyear"/>
  266. <Cell col="45" text="bind:replmethod"/>
  267. <Cell col="46" text="bind:drtelno"/>
  268. <Cell col="47" text="bind:drmpphontel"/>
  269. <Cell col="48" text="bind:dremailid"/>
  270. <Cell col="49" text="bind:dremailaddr"/>
  271. <Cell col="50" text="bind:detlfrmrmert"/>
  272. <Cell col="51" text="bind:relign"/>
  273. <Cell col="52" text="bind:hoby"/>
  274. <Cell col="53" text="bind:btype"/>
  275. <Cell col="54" text="bind:epid"/>
  276. <Cell col="55" text="bind:localrgstdd"/>
  277. <Cell col="56" text="bind:eprgstdd"/>
  278. <Cell col="57" text="bind:aprvdd"/>
  279. <Cell col="58" text="bind:secssdd"/>
  280. <Cell col="59" text="bind:secssresn"/>
  281. <Cell col="60" text="bind:replflag"/>
  282. <Cell col="61" text="bind:repltype"/>
  283. </Band>
  284. </Format>
  285. </Formats>
  286. </Grid>
  287. <Div id="group1" taborder="1" class="div_SA2" position="absolute 0 0 1004 62">
  288. <Layouts>
  289. <Layout>
  290. <Shape id="line8" linetype="vertical" class="line_4" position="absolute 902 5 908 58" anchor="default"/>
  291. <Static id="caption13" text="병원구분 :" class="search_name" position="absolute 535 10 626 27" anchor="default"/>
  292. <Static id="caption1" text="지역 :" class="search_name" position="absolute 20 35 111 52" anchor="default"/>
  293. <Static id="caption4" text="의뢰의사 :" class="search_name" position="absolute 300 10 394 27" anchor="default"/>
  294. <Static id="caption3" text="의뢰병원명 :" class="search_name" position="absolute 20 10 119 27" anchor="default"/>
  295. <Static id="caption5" text="면허번호 :" class="search_name" position="absolute 300 35 394 52" anchor="default"/>
  296. <Edit id="ipt_coophospnm" taborder="1" onkeydown="group3_group1_ipt_coophospnm_onkeydown" class="input_search" position="absolute 117 9 278 28" anchor="default" autoselect="true"/>
  297. <Edit id="ipt_drnm" taborder="2" onkeydown="group3_group1_ipt_drnm_onkeydown" class="input_search" position="absolute 395 9 495 28" anchor="default" autoselect="true"/>
  298. <Combo id="cmb_hospgrade" taborder="3" innerdataset="ds_init_hospgrade_a0429" codecolumn="cdid" datacolumn="cdnm" onitemchanged="group3_group1_cmb_hospgrade_onitemchanged" class="combo_search" position="absolute 630 9 770 28" anchor="default"/>
  299. <Combo id="cmb_areacd" taborder="4" innerdataset="@ds_init_areacd" codecolumn="sidocd" datacolumn="sidonm" class="combo_search" position="absolute 117 34 193 53" anchor="default" onitemchanged="Tab00_tabpage2_group1_cmb_areacd_onitemchanged"/>
  300. <Edit id="ipt_licnsno" taborder="5" onkeydown="group3_group1_ipt_licnsno_onkeydown" class="input_search" position="absolute 395 34 495 53" anchor="default" autoselect="true"/>
  301. <CheckBox id="chk_clsmatyn" taborder="6" text="동문" onchanged="group3_group1_chk_clsmatyn_onchanged" position="absolute 540 35 595 55" anchor="default"/>
  302. <Button id="btn_search" taborder="7" text="조회" class="btn1" position="absolute 923 20 979 42" anchor="default" onclick="Tab00_tabpage2_group1_btn_search_onclick"/>
  303. <Combo id="cmb_areacddelt" taborder="8" innerdataset="ds_cmb_areadetl" codecolumn="sidocddetl" datacolumn="sidonmdetl" onitemchanged="group3_group1_cmb_areacd_onitemchanged" class="combo_search" position="absolute 194 34 278 53" enable="false"/>
  304. </Layout>
  305. </Layouts>
  306. </Div>
  307. <Button id="btn_smarh00100" taborder="2" text="병의원의사관리" onclick="group2_btn_smarh00100_onclick" class="btn3" position="absolute 2 517 118 539"/>
  308. <Button id="btn_confirm" taborder="3" text="확인" onclick="group2_btn_confirm_onclick" class="btn4" position="absolute 886 517 942 539"/>
  309. <Button id="btn_cancel" taborder="4" text="취소" onclick="group2_btn_cancel_onclick" class="btn4" position="absolute 945 517 1001 539"/>
  310. <Shape id="line9" class="line_10" position="absolute 0 62 1004 68"/>
  311. </Layout>
  312. </Layouts>
  313. </Tabpage>
  314. <Tabpage id="tabpage_hie" text="실시간(HIE)">
  315. <Layouts>
  316. <Layout>
  317. <Div id="Div00" taborder="0" class="div_SA2" position="absolute 0 0 1004 48" onkeydown="Tab00_tabpage_hie_Div00_onkeydown">
  318. <Layouts>
  319. <Layout>
  320. <Static id="caption3" text="병원명 :" class="search_name" position="absolute 8 13 95 33"/>
  321. <Edit id="edt_hospnm" taborder="5" imemode="hangul" position="absolute 81 13 293 33" autoselect="true"/>
  322. <Static id="caption00" text="병원타입 :" class="search_name" position="absolute 360 13 447 33"/>
  323. <Combo id="cmb_hosptype" taborder="6" innerdataset="@ds_init_hiehosptype" codecolumn="comn_cd" datacolumn="comn_cd_nm" position="absolute 441 13 541 33"/>
  324. <Button id="btn_search" taborder="9" text="조회" class="btn1" position="absolute 928 12 988 32" onclick="Tab00_tabpage_hie_Div00_btn_search_onclick"/>
  325. </Layout>
  326. </Layouts>
  327. </Div>
  328. <Static id="caption01" text="병원선택" class="tit_2" position="absolute 0 52 183 69" anchor="left top"/>
  329. <Grid id="grd_hosplist" taborder="1" binddataset="ds_hiehosplist" useinputpanel="false" autofittype="col" position="absolute 0 73 771 539" oncelldblclick="Tab00_tabpage_hie_grd_hosplist_oncelldblclick">
  330. <Formats>
  331. <Format id="default">
  332. <Columns>
  333. <Column size="69"/>
  334. <Column size="258"/>
  335. <Column size="72"/>
  336. <Column size="288"/>
  337. <Column size="84"/>
  338. </Columns>
  339. <Rows>
  340. <Row size="24" band="head"/>
  341. <Row size="24"/>
  342. </Rows>
  343. <Band id="head">
  344. <Cell displaytype="normal" text="요양코드"/>
  345. <Cell col="1" displaytype="normal" text="요양기관명"/>
  346. <Cell col="2" displaytype="normal" text="병원타입"/>
  347. <Cell col="3" displaytype="normal" text="주소"/>
  348. <Cell col="4" displaytype="normal" text="전화번호"/>
  349. </Band>
  350. <Band id="body">
  351. <Cell displaytype="normal" edittype="readonly" text="bind:rcorg_no" editautoselect="true"/>
  352. <Cell col="1" displaytype="text" edittype="readonly" style="align:left;" text="bind:mdins_nm" editautoselect="true"/>
  353. <Cell col="2" displaytype="text" text="bind:mdins_cls_cd" editautoselect="true" combodataset="ds_init_hiehosptype" combocodecol="comn_cd" combodatacol="comn_cd_nm"/>
  354. <Cell col="3" displaytype="text" edittype="readonly" style="align:left;" text="bind:mdins_addr" editautoselect="true"/>
  355. <Cell col="4" displaytype="text" edittype="readonly" text="bind:mdins_tel_no" editautoselect="true"/>
  356. </Band>
  357. </Format>
  358. </Formats>
  359. </Grid>
  360. <Static id="caption00" text="과선택" class="tit_2" position="absolute 776 52 871 69" anchor="left top"/>
  361. <Grid id="grd_deptlist" taborder="2" binddataset="ds_hiedeptlist" useinputpanel="false" autofittype="col" position="absolute 776 73 1000 539" oncelldblclick="Tab00_tabpage_hie_grd_deptlist_oncelldblclick">
  362. <Formats>
  363. <Format id="default">
  364. <Columns>
  365. <Column size="224"/>
  366. </Columns>
  367. <Rows>
  368. <Row size="24" band="head"/>
  369. <Row size="24"/>
  370. </Rows>
  371. <Band id="head">
  372. <Cell displaytype="normal" text="부서명"/>
  373. </Band>
  374. <Band id="body">
  375. <Cell displaytype="text" style="align:left;" text="bind:dept_nm"/>
  376. </Band>
  377. </Format>
  378. </Formats>
  379. </Grid>
  380. <Shape id="line9" class="line_10" position="absolute 0 68 771 74"/>
  381. <Shape id="line00" class="line_10" position="absolute 776 68 1000 74"/>
  382. </Layout>
  383. </Layouts>
  384. </Tabpage>
  385. </Tabpages>
  386. </Tab>
  387. <ActiveX id="ActiveX00" position="absolute 712 27 751 44" useautobitmapcache="1" anchor="default" taborder="3" progid="{60324751-03FF-3BFF-96E7-DC18D1247824}" windowed="true" visible="false"/>
  388. <ActiveX id="ActiveX01" position="absolute 670 27 709 44" progid="{72906CD8-4ABE-300F-BC7C-DBF567CEED2C}" useautobitmapcache="1" anchor="default" taborder="4" windowed="true" visible="false"/>
  389. </Layout>
  390. </Layouts>
  391. <Objects>
  392. <Dataset id="ds_hosplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  393. <ColumnInfo>
  394. <Column id="yadmid" type="STRING" size="256"/>
  395. <Column id="yadmnm" type="STRING" size="256"/>
  396. <Column id="addr" type="STRING" size="256"/>
  397. <Column id="telno" type="STRING" size="256"/>
  398. <Column id="hieyn" type="STRING" size="256"/>
  399. <Column id="organizationoid" type="STRING" size="256"/>
  400. </ColumnInfo>
  401. </Dataset>
  402. <Dataset id="ds_send_hosplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  403. <ColumnInfo>
  404. <Column id="hospnm" type="STRING" size="256"/>
  405. <Column id="sidocd" type="STRING" size="256"/>
  406. <Column id="sidodetlcd" type="STRING" size="256"/>
  407. <Column id="coopyn" type="STRING" size="256"/>
  408. <Column id="hospdata" type="STRING" size="256"/>
  409. </ColumnInfo>
  410. <Rows>
  411. <Row/>
  412. </Rows>
  413. </Dataset>
  414. <Dataset id="ds_send_hira" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  415. <ColumnInfo>
  416. <Column id="hospnm" type="STRING" size="256"/>
  417. <Column id="sidocd" type="STRING" size="256"/>
  418. <Column id="sidodetlcd" type="STRING" size="256"/>
  419. <Column id="coopyn" type="STRING" size="256"/>
  420. <Column id="hospdata" type="STRING" size="256"/>
  421. </ColumnInfo>
  422. <Rows>
  423. <Row/>
  424. </Rows>
  425. </Dataset>
  426. <Dataset id="ds_hosplist_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  427. <ColumnInfo>
  428. <Column id="yadmid" type="STRING" size="256"/>
  429. <Column id="yadmnm" type="STRING" size="256"/>
  430. <Column id="addr" type="STRING" size="256"/>
  431. <Column id="telno" type="STRING" size="256"/>
  432. <Column id="hieyn" type="STRING" size="256"/>
  433. </ColumnInfo>
  434. </Dataset>
  435. <Dataset id="ds_init_sido" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  436. <ColumnInfo>
  437. <Column id="value" type="STRING" size="256"/>
  438. <Column id="label" type="STRING" size="256"/>
  439. </ColumnInfo>
  440. </Dataset>
  441. <Dataset id="ds_init_sidodetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  442. <ColumnInfo>
  443. <Column id="value" type="STRING" size="256"/>
  444. <Column id="label" type="STRING" size="256"/>
  445. </ColumnInfo>
  446. </Dataset>
  447. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  448. <ColumnInfo>
  449. <Column id="coophospnm" type="STRING" size="256"/>
  450. <Column id="drnm" type="STRING" size="256"/>
  451. <Column id="hospgrade" type="STRING" size="256"/>
  452. <Column id="sidocd" type="STRING" size="256"/>
  453. <Column id="sidocddetl" type="STRING" size="256"/>
  454. <Column id="licnsno" type="STRING" size="256"/>
  455. <Column id="clsmatyn" type="STRING" size="256"/>
  456. <Column id="offset" type="STRING" size="256"/>
  457. <Column id="pagesize" type="STRING" size="256"/>
  458. </ColumnInfo>
  459. <Rows>
  460. <Row>
  461. <Col id="coophospnm"/>
  462. <Col id="drnm"/>
  463. <Col id="hospgrade"/>
  464. <Col id="sidocd"/>
  465. <Col id="licnsno"/>
  466. <Col id="clsmatyn"/>
  467. <Col id="offset">0</Col>
  468. <Col id="pagesize">1000</Col>
  469. </Row>
  470. </Rows>
  471. </Dataset>
  472. <Dataset id="ds_init_areacd_a0426" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  473. <ColumnInfo>
  474. <Column id="cdnm" type="STRING"/>
  475. <Column id="cdid" type="STRING"/>
  476. </ColumnInfo>
  477. </Dataset>
  478. <Dataset id="ds_init_hospgrade_a0429" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  479. <ColumnInfo>
  480. <Column id="cdnm" type="STRING"/>
  481. <Column id="cdid" type="STRING"/>
  482. </ColumnInfo>
  483. </Dataset>
  484. <Dataset id="ds_init_hospgradeall_a0429" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  485. <ColumnInfo>
  486. <Column id="cdnm" type="STRING"/>
  487. <Column id="cdid" type="STRING"/>
  488. </ColumnInfo>
  489. </Dataset>
  490. <Dataset id="ds_main_list_req_hosp_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  491. <ColumnInfo>
  492. <Column id="coophospnm" type="STRING" size="256"/>
  493. <Column id="drnm" type="STRING" size="256"/>
  494. <Column id="areacd" type="STRING" size="256"/>
  495. <Column id="detladdr1" type="STRING" size="256"/>
  496. <Column id="detladdr2" type="STRING" size="256"/>
  497. <Column id="telno" type="STRING" size="256"/>
  498. <Column id="faxno" type="STRING" size="256"/>
  499. <Column id="emailnm" type="STRING" size="256"/>
  500. <Column id="licnsno" type="STRING" size="256"/>
  501. <Column id="hospgrade" type="STRING" size="256"/>
  502. <Column id="clsmatyn" type="STRING" size="256"/>
  503. <Column id="coophospcd" type="STRING" size="256"/>
  504. <Column id="coopdrcd" type="STRING" size="256"/>
  505. <Column id="fromdd" type="STRING" size="256"/>
  506. <Column id="coopconcltdd" type="STRING" size="256"/>
  507. <Column id="cooptodd" type="STRING" size="256"/>
  508. <Column id="opnofhospdd" type="STRING" size="256"/>
  509. <Column id="dirofhospnm" type="STRING" size="256"/>
  510. <Column id="bedcnt" type="STRING" size="256"/>
  511. <Column id="rgstdd" type="STRING" size="256"/>
  512. <Column id="perchgrnm" type="STRING" size="256"/>
  513. <Column id="perchgrjobpos" type="STRING" size="256"/>
  514. <Column id="perchgrtel" type="STRING" size="256"/>
  515. <Column id="perchgrmpphone" type="STRING" size="256"/>
  516. <Column id="zipcd1" type="STRING" size="256"/>
  517. <Column id="zipcd2" type="STRING" size="256"/>
  518. <Column id="zipcdseq" type="STRING" size="256"/>
  519. <Column id="homepgnm" type="STRING" size="256"/>
  520. <Column id="hospemailid" type="STRING" size="256"/>
  521. <Column id="hospemailaddr" type="STRING" size="256"/>
  522. <Column id="corpno" type="STRING" size="256"/>
  523. <Column id="rgstflag" type="STRING" size="256"/>
  524. <Column id="hosprem" type="STRING" size="256"/>
  525. <Column id="todd" type="STRING" size="256"/>
  526. <Column id="rrgstno1" type="STRING" size="256"/>
  527. <Column id="rrgstno2" type="STRING" size="256"/>
  528. <Column id="tradehosp" type="STRING" size="256"/>
  529. <Column id="gradsch" type="STRING" size="256"/>
  530. <Column id="drflag" type="STRING" size="256"/>
  531. <Column id="orddeptcd" type="STRING" size="256"/>
  532. <Column id="drcls" type="STRING" size="256"/>
  533. <Column id="medispclno" type="STRING" size="256"/>
  534. <Column id="drclsmatyn" type="STRING" size="256"/>
  535. <Column id="gradyear" type="STRING" size="256"/>
  536. <Column id="replmethod" type="STRING" size="256"/>
  537. <Column id="drtelno" type="STRING" size="256"/>
  538. <Column id="drmpphontel" type="STRING" size="256"/>
  539. <Column id="dremailid" type="STRING" size="256"/>
  540. <Column id="dremailaddr" type="STRING" size="256"/>
  541. <Column id="detlfrmrmert" type="STRING" size="256"/>
  542. <Column id="relign" type="STRING" size="256"/>
  543. <Column id="hoby" type="STRING" size="256"/>
  544. <Column id="btype" type="STRING" size="256"/>
  545. <Column id="epid" type="STRING" size="256"/>
  546. <Column id="localrgstdd" type="STRING" size="256"/>
  547. <Column id="eprgstdd" type="STRING" size="256"/>
  548. <Column id="aprvdd" type="STRING" size="256"/>
  549. <Column id="secssdd" type="STRING" size="256"/>
  550. <Column id="secssresn" type="STRING" size="256"/>
  551. <Column id="drrem" type="STRING" size="256"/>
  552. </ColumnInfo>
  553. <Rows>
  554. <Row>
  555. <Col id="coophospnm"/>
  556. <Col id="drnm"/>
  557. <Col id="areacd"/>
  558. <Col id="detladdr1"/>
  559. <Col id="detladdr2"/>
  560. <Col id="telno"/>
  561. <Col id="faxno"/>
  562. <Col id="emailnm"/>
  563. <Col id="licnsno"/>
  564. <Col id="hospgrade"/>
  565. <Col id="clsmatyn"/>
  566. <Col id="coophospcd"/>
  567. <Col id="coopdrcd"/>
  568. <Col id="fromdd"/>
  569. <Col id="coopconcltdd"/>
  570. <Col id="cooptodd"/>
  571. <Col id="opnofhospdd"/>
  572. <Col id="dirofhospnm"/>
  573. <Col id="bedcnt"/>
  574. <Col id="rgstdd"/>
  575. <Col id="perchgrnm"/>
  576. <Col id="perchgrjobpos"/>
  577. <Col id="perchgrtel"/>
  578. <Col id="perchgrmpphone"/>
  579. <Col id="zipcd1"/>
  580. <Col id="zipcd2"/>
  581. <Col id="zipcdseq"/>
  582. <Col id="homepgnm"/>
  583. <Col id="hospemailid"/>
  584. <Col id="hospemailaddr"/>
  585. <Col id="corpno"/>
  586. <Col id="rgstflag"/>
  587. <Col id="hosprem"/>
  588. <Col id="todd"/>
  589. <Col id="rrgstno1"/>
  590. <Col id="rrgstno2"/>
  591. <Col id="tradehosp"/>
  592. <Col id="gradsch"/>
  593. <Col id="drflag"/>
  594. <Col id="orddeptcd"/>
  595. <Col id="drcls"/>
  596. <Col id="medispclno"/>
  597. <Col id="drclsmatyn"/>
  598. <Col id="gradyear"/>
  599. <Col id="replmethod"/>
  600. <Col id="drtelno"/>
  601. <Col id="drmpphontel"/>
  602. <Col id="dremailid"/>
  603. <Col id="dremailaddr"/>
  604. <Col id="detlfrmrmert"/>
  605. <Col id="relign"/>
  606. <Col id="hoby"/>
  607. <Col id="btype"/>
  608. <Col id="epid"/>
  609. <Col id="localrgstdd"/>
  610. <Col id="eprgstdd"/>
  611. <Col id="aprvdd"/>
  612. <Col id="secssdd"/>
  613. <Col id="secssresn"/>
  614. <Col id="drrem"/>
  615. </Row>
  616. </Rows>
  617. </Dataset>
  618. <Dataset id="ds_init_hardcd_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  619. <Dataset id="ds_init_areacdall_a0426" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  620. <ColumnInfo>
  621. <Column id="cdnm" type="STRING"/>
  622. <Column id="cdid" type="STRING"/>
  623. </ColumnInfo>
  624. </Dataset>
  625. <Dataset id="ds_send_hospdetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  626. <ColumnInfo>
  627. <Column id="corpno" type="STRING" size="256"/>
  628. </ColumnInfo>
  629. <Rows>
  630. <Row/>
  631. </Rows>
  632. </Dataset>
  633. <Dataset id="ds_hospdetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  634. <Dataset id="ds_send_savehosp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  635. <ColumnInfo>
  636. <Column id="coophospnm" type="STRING" size="256"/>
  637. <Column id="corpno" type="STRING" size="256"/>
  638. <Column id="zipcdaddr" type="STRING" size="256"/>
  639. <Column id="telno" type="STRING" size="256"/>
  640. </ColumnInfo>
  641. <Rows>
  642. <Row/>
  643. </Rows>
  644. </Dataset>
  645. <Dataset id="ds_send_ishie" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  646. <ColumnInfo>
  647. <Column id="hiracd" type="STRING" size="256"/>
  648. </ColumnInfo>
  649. <Rows>
  650. <Row/>
  651. </Rows>
  652. </Dataset>
  653. <Dataset id="ds_main_ishie" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  654. <ColumnInfo>
  655. <Column id="ishie" type="STRING" size="256"/>
  656. </ColumnInfo>
  657. </Dataset>
  658. <Dataset id="ds_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  659. <ColumnInfo>
  660. <Column id="dept_cd" type="STRING" size="256"/>
  661. <Column id="dept_nm" type="STRING" size="256"/>
  662. </ColumnInfo>
  663. </Dataset>
  664. <Dataset id="ds_deptlist_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  665. <ColumnInfo>
  666. <Column id="deptcd" type="STRING" size="256"/>
  667. <Column id="deptnm" type="STRING" size="256"/>
  668. <Column id="yadmid" type="STRING" size="256"/>
  669. </ColumnInfo>
  670. </Dataset>
  671. <Dataset id="ds_send_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  672. <ColumnInfo>
  673. <Column id="organizationoid" type="STRING" size="256"/>
  674. </ColumnInfo>
  675. <Rows>
  676. <Row/>
  677. </Rows>
  678. </Dataset>
  679. <Dataset id="ds_hospinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  680. <ColumnInfo>
  681. <Column id="rgstyn" type="STRING" size="256"/>
  682. <Column id="coophospcd" type="STRING" size="256"/>
  683. <Column id="coophospnm" type="STRING" size="256"/>
  684. <Column id="telno" type="STRING" size="256"/>
  685. <Column id="zipcdaddr" type="STRING" size="256"/>
  686. <Column id="detladdr" type="STRING" size="256"/>
  687. <Column id="deptcd" type="STRING" size="256"/>
  688. <Column id="deptnm" type="STRING" size="256"/>
  689. <Column id="corpno" type="STRING" size="256"/>
  690. <Column id="mdins_cls_cd" type="STRING" size="256"/>
  691. </ColumnInfo>
  692. </Dataset>
  693. <Dataset id="ds_hiehosplist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  694. <ColumnInfo>
  695. <Column id="mdins_oid" type="STRING" size="256"/>
  696. <Column id="rcorg_no" type="STRING" size="256"/>
  697. <Column id="mdins_cls_cd" type="STRING" size="256"/>
  698. <Column id="mdins_nm" type="STRING" size="256"/>
  699. <Column id="mdins_tel_no" type="STRING" size="256"/>
  700. <Column id="rpg_id" type="STRING" size="256"/>
  701. <Column id="rpst_nm" type="STRING" size="256"/>
  702. <Column id="rgsy_id" type="STRING" size="256"/>
  703. <Column id="mdins_post_no" type="STRING" size="256"/>
  704. <Column id="mdins_addr" type="STRING" size="256"/>
  705. <Column id="instcd" type="STRING" size="256"/>
  706. </ColumnInfo>
  707. </Dataset>
  708. <Dataset id="ds_init_hiehosptype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  709. <ColumnInfo>
  710. <Column id="comn_cd" type="STRING" size="256"/>
  711. <Column id="comn_cd_nm" type="STRING" size="256"/>
  712. </ColumnInfo>
  713. </Dataset>
  714. <Dataset id="ds_send_hiehosplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  715. <ColumnInfo>
  716. <Column id="hospnm" type="STRING" size="256"/>
  717. <Column id="hosptype" type="STRING" size="256"/>
  718. </ColumnInfo>
  719. <Rows>
  720. <Row/>
  721. </Rows>
  722. </Dataset>
  723. <Dataset id="ds_send_hiehospdetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  724. <ColumnInfo>
  725. <Column id="corpno" type="STRING" size="256"/>
  726. </ColumnInfo>
  727. <Rows>
  728. <Row/>
  729. </Rows>
  730. </Dataset>
  731. <Dataset id="ds_hiedeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  732. <Dataset id="ds_knuhhosplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  733. <Dataset id="ds_knuhhospinfo">
  734. <ColumnInfo>
  735. <Column id="mdins_post_no" type="STRING" size="255"/>
  736. <Column id="rpst_nm" type="STRING" size="255"/>
  737. <Column id="rcorg_no" type="STRING" size="255"/>
  738. <Column id="rpg_id" type="STRING" size="255"/>
  739. <Column id="rgsy_id" type="STRING" size="255"/>
  740. <Column id="mdins_nm" type="STRING" size="255"/>
  741. <Column id="mdins_tel_no" type="STRING" size="255"/>
  742. <Column id="mdins_addr" type="STRING" size="255"/>
  743. <Column id="mdins_cls_cd" type="STRING" size="255"/>
  744. <Column id="mdins_oid" type="STRING" size="255"/>
  745. </ColumnInfo>
  746. <Rows>
  747. <Row>
  748. <Col id="mdins_post_no">41944</Col>
  749. <Col id="rpst_nm">백운이</Col>
  750. <Col id="rcorg_no">37100017</Col>
  751. <Col id="rpg_id">1.2.410.100110.40.1.2.4</Col>
  752. <Col id="rgsy_id">1.2.410.100110.40.1.1.1</Col>
  753. <Col id="mdins_nm">경북대학교병원</Col>
  754. <Col id="mdins_tel_no">053-200-5114</Col>
  755. <Col id="mdins_addr">대구광역시 중구 동덕로 130 </Col>
  756. <Col id="mdins_cls_cd">C001</Col>
  757. <Col id="mdins_oid">1.2.410.100110.10.37100017</Col>
  758. </Row>
  759. <Row>
  760. <Col id="mdins_post_no">41404</Col>
  761. <Col id="rpst_nm">백운이</Col>
  762. <Col id="rcorg_no">37100467</Col>
  763. <Col id="rpg_id">1.2.410.100110.40.1.2.4</Col>
  764. <Col id="rgsy_id">1.2.410.100110.40.1.1.1</Col>
  765. <Col id="mdins_nm">칠곡경북대학교병원</Col>
  766. <Col id="mdins_tel_no">053-200-2000</Col>
  767. <Col id="mdins_addr">대구광역시 북구 호국로 807칠곡경북대학교병원 </Col>
  768. <Col id="mdins_cls_cd">C001</Col>
  769. <Col id="mdins_oid">1.2.410.100110.10.37100467</Col>
  770. </Row>
  771. </Rows>
  772. </Dataset>
  773. <ColumnInfo>
  774. <Column id="mdins_post_no" type="STRING" size="255"/>
  775. <Column id="rpst_nm" type="STRING" size="255"/>
  776. <Column id="rcorg_no" type="STRING" size="255"/>
  777. <Column id="rpg_id" type="STRING" size="255"/>
  778. <Column id="rgsy_id" type="STRING" size="255"/>
  779. <Column id="mdins_nm" type="STRING" size="255"/>
  780. <Column id="mdins_tel_no" type="STRING" size="255"/>
  781. <Column id="mdins_addr" type="STRING" size="255"/>
  782. <Column id="mdins_cls_cd" type="STRING" size="255"/>
  783. <Column id="mdins_oid" type="STRING" size="255"/>
  784. <Column id="instcd" type="STRING" size="256"/>
  785. </ColumnInfo>
  786. <Rows>
  787. <Row>
  788. <Col id="mdins_post_no">41944</Col>
  789. <Col id="rpst_nm">백운이</Col>
  790. <Col id="rcorg_no">37100017</Col>
  791. <Col id="rpg_id">1.2.410.100110.40.1.2.4</Col>
  792. <Col id="rgsy_id">1.2.410.100110.40.1.1.1</Col>
  793. <Col id="mdins_nm">경북대학교병원</Col>
  794. <Col id="mdins_tel_no">053-200-5114</Col>
  795. <Col id="mdins_addr">대구광역시 중구 동덕로 130 </Col>
  796. <Col id="mdins_cls_cd">C001</Col>
  797. <Col id="mdins_oid">1.2.410.100110.10.37100017</Col>
  798. <Col id="instcd">031</Col>
  799. </Row>
  800. <Row>
  801. <Col id="mdins_post_no">41404</Col>
  802. <Col id="rpst_nm">백운이</Col>
  803. <Col id="rcorg_no">37100467</Col>
  804. <Col id="rpg_id">1.2.410.100110.40.1.2.4</Col>
  805. <Col id="rgsy_id">1.2.410.100110.40.1.1.1</Col>
  806. <Col id="mdins_nm">칠곡경북대학교병원</Col>
  807. <Col id="mdins_tel_no">053-200-2000</Col>
  808. <Col id="mdins_addr">대구광역시 북구 호국로 807칠곡경북대학교병원 </Col>
  809. <Col id="mdins_cls_cd">C001</Col>
  810. <Col id="mdins_oid">1.2.410.100110.10.37100467</Col>
  811. <Col id="instcd">032</Col>
  812. </Row>
  813. </Rows>
  814. </Dataset>
  815. <Dataset id="ds_init_areacddelt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  816. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  817. <ColumnInfo>
  818. <Column id="instcd" type="STRING" size="256"/>
  819. </ColumnInfo>
  820. <Rows>
  821. <Row/>
  822. </Rows>
  823. </Dataset>
  824. <Dataset id="ds_init_areacd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  825. <Dataset id="ds_cmb_areadetl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  826. </Objects>
  827. <Bind>
  828. <BindItem id="item0" compid="Tab00.tabpage1.Div00.cmb_sido" propid="value" datasetid="ds_send_hira" columnid="sidocd"/>
  829. <BindItem id="item1" compid="Tab00.tabpage1.Div00.cmb_sidodetl" propid="value" datasetid="ds_send_hira" columnid="sidodetlcd"/>
  830. <BindItem id="item2" compid="Tab00.tabpage1.Div00.edt_hospnm" propid="value" datasetid="ds_send_hira" columnid="hospnm"/>
  831. <BindItem id="item3" compid="Tab00.tabpage2.group1.ipt_coophospnm" propid="value" datasetid="ds_send_search" columnid="coophospnm"/>
  832. <BindItem id="item4" compid="Tab00.tabpage2.group1.ipt_drnm" propid="value" datasetid="ds_send_search" columnid="drnm"/>
  833. <BindItem id="item5" compid="Tab00.tabpage2.group1.cmb_hospgrade" propid="value" datasetid="ds_send_search" columnid="hospgrade"/>
  834. <BindItem id="item6" compid="Tab00.tabpage2.group1.cmb_areacd" propid="value" datasetid="ds_send_search" columnid="sidocd"/>
  835. <BindItem id="item7" compid="Tab00.tabpage2.group1.ipt_licnsno" propid="value" datasetid="ds_send_search" columnid="licnsno"/>
  836. <BindItem id="item8" compid="Tab00.tabpage2.group1.chk_clsmatyn" propid="value" datasetid="ds_send_search" columnid="clsmatyn"/>
  837. <BindItem id="item9" compid="Tab00.tabpage_hie.Div00.edt_hospnm" propid="value" datasetid="ds_send_hiehosplist" columnid="hospnm"/>
  838. <BindItem id="item10" compid="Tab00.tabpage_hie.Div00.cmb_hosptype" propid="value" datasetid="ds_send_hiehosplist" columnid="hosptype"/>
  839. <BindItem id="item11" compid="Tab00.tabpage2.group1.cmb_areacddelt" propid="value" datasetid="ds_send_search" columnid="sidocddetl"/>
  840. </Bind>
  841. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"; // 전체공통 스크립트
  842. include "ast_soclworkxp::AWMCommon.xjs";
  843. include "emr_prcpmngtxp::MMO001.xjs";
  844. include "ast_healcarecoopxp::HIECommon.xjs";
  845. var lib;
  846. var YadmId;
  847. var objActiveX;
  848. var inithie = false;
  849. var inithira = false;
  850. var initknuh = false;
  851. var inityn = "N";
  852. var arErrorCode = new HashArray();
  853. function SPARH05100_oninit(obj:Form, e:InitEventInfo)
  854. {
  855. frmf_initForm(obj);
  856. }
  857. function SPARH05100_onload(obj:Form, e:LoadEventInfo)
  858. {
  859. if(frmf_checkOpener()){
  860. var scrncd = opener.frmf_getScreenID();
  861. if(scrncd == "SMARC05100"){
  862. var knuhyn = opener.frmf_getParameter("SMARC05100_knuhyn");
  863. if(knuhyn == "Y"){
  864. Tab00.tabindex = 2;
  865. var instcd = sysf_getUserInfo("dutplceinstcd");
  866. if(instcd == "031"){
  867. ds_knuhhosplist.filter("instcd=='032'");
  868. }else if(instcd == "032"){
  869. ds_knuhhosplist.filter("instcd=='031'");
  870. }
  871. ds_hiehosplist.copyData(ds_knuhhosplist, true);
  872. frmf_inputEnterKey('Tab00.tabpage_hie.grd_hosplist', 'oncelldblclick', new GridClickEventInfo);
  873. //fSearch_HIE_Dept();
  874. return;
  875. }
  876. }
  877. }
  878. fInit();
  879. }
  880. function fInit()
  881. {
  882. fInit_Hira();
  883. // 조회 파라미터 입력
  884. var instcd = sysf_getUserInfo("dutplceinstcd");
  885. ds_send.setColumn(0, "instcd");
  886. if(instcd == "031")
  887. YadmId = "37100017";
  888. else if(instcd == "032")
  889. YadmId = "37100467";
  890. }
  891. function fInit_Inner()
  892. {
  893. // hard코드 가져오기
  894. //mmbfGetHardCodeInfo("_root_send_reqdata" , "_root_init_hardcd" , 220);
  895. lf_getHardCDList("N", 220, null, ds_init_hardcd_hardcd);
  896. // 공통코드 목록 가져오기
  897. var arrParam = [{dsNm: "ds_init_hospgrade_a0429", cdGrpId: "A0429"}
  898. ,{dsNm: "ds_init_hospgradeall_a0429", cdGrpId: "A0429"}];
  899. appf_getCodeList(arrParam, true);
  900. // 유형코드
  901. // appf_getKindCodeListSubmit([{bizId:"A0014", cdGrpId:"A0426", dsNm:"ds_init_areacd_a0426", sortField:"dispseq", sortMehotd:""}]);
  902. //
  903. // ds_init_areacdall_a0426.copyData(ds_init_areacd_a0426);
  904. //진료협력에서 관리하는 전체 지역코드 조회
  905. var oParam = {};
  906. oParam.id = "TXARH00101";
  907. oParam.service = "healcarecoopapp.CoopHospMngt";
  908. oParam.method = "reqGetAreaList";
  909. oParam.inds = "req=ds_send";
  910. oParam.outds = "ds_init_areacddelt=hosparea";
  911. oParam.async = false;
  912. tranf_submit(oParam);
  913. //진료협력에서 관리하는 시/도 지역코드 조회
  914. var oParam = {};
  915. oParam.id = "TXARH00101";
  916. oParam.service = "healcarecoopapp.CoopHospMngt";
  917. oParam.method = "reqGetAreaSDList";
  918. oParam.inds = "req=ds_send";
  919. oParam.outds = "ds_init_areacd=hosparea";
  920. oParam.async = false;
  921. tranf_submit(oParam);
  922. frmf_addComboItem("Tab00.tabpage2.group1.cmb_hospgrade", "-전체-", "", "above");
  923. frmf_addComboItem("Tab00.tabpage2.group1.cmb_areacd", "- 전 체 -", "-", "above");
  924. Tab00.tabpage2.group1.cmb_areacd.index = 0; //select(0);
  925. Tab00.tabpage2.group1.cmb_hospgrade.index = 0; //.select(0);
  926. }
  927. function fSearchInitCode_Hira()
  928. {
  929. // 조회 파라미터 입력
  930. var instcd = sysf_getUserInfo("dutplceinstcd");
  931. if(instcd == "031")
  932. YadmId = "37100017";
  933. else if(instcd == "032")
  934. YadmId = "37100467";
  935. var res = lib.SrchSdbkYadmInfoList(YadmId);
  936. if (!res.Success) {
  937. sysf_messageBox( "심평원 진료의뢰회송 연계 프로그램에 조건 오류가 발생했습니다.\n\n" + res.ErrCd + ": " + res.ErrMsg + "\n\n조건 수정 후 전송 바랍니다.", "E999");
  938. return;
  939. }
  940. var info = res.SdbkYadmInfo;
  941. if (info.LenSdbkYadmSidoInfos() > 0) {
  942. for (i = 0; i < info.LenSdbkYadmSidoInfos(); i++) {
  943. var item = info.GetSdbkYadmSidoInfo(i);
  944. var position = "append";
  945. if(item.SidoNm == "대구" || item.SidoNm == "경북"){
  946. position = "above";
  947. }
  948. frmf_addComboItem("Tab00.tabpage1.Div00.cmb_sido", item.SidoNm, item.SidoCd, position );
  949. }
  950. }
  951. frmf_addComboItemAll("Tab00.tabpage1.Div00.cmb_sido", "전체");
  952. // 지역코드를 대구로 초기세팅
  953. ds_send_hira.setColumn(0,"sidocd","23");
  954. ds_send_hira.setColumn(0,"sidodetlcd","");
  955. fSearchSidoDetl_Hira();
  956. }
  957. function fSearchInitCode_HIE()
  958. {
  959. }
  960. function Div00_Button00_onclick(obj:Button, e:ClickEventInfo)
  961. {
  962. var hospnm = ds_send_hira.getColumn(0,"hospnm");
  963. if(utlf_isNull(hospnm)){
  964. sysf_messageBox("의뢰병원명은","I003");
  965. return;
  966. }
  967. fSearch_Hira();
  968. }
  969. function fSearch_Hira()
  970. {
  971. //model.removenode("/root/main/hirainfo");
  972. //model.makeNode("/root/main/hirainfo");
  973. //grd_list_hira.refresh();
  974. //var HIRA_PATH = "/root/main/hirainfo/";
  975. //var p_rcvYadmNm = model.getValue(HIRA_PATH + "");
  976. var hospnm = ds_send_hira.getColumn(0, "hospnm");
  977. var sidocd = ds_send_hira.getColumn(0, "sidocd");
  978. var sidodetlcd = ds_send_hira.getColumn(0, "sidodetlcd");
  979. var coopyn = ds_send_hira.getColumn(0, "coopyn");
  980. // 조회 파라미터 입력
  981. /*
  982. //var paramSdbkYadm = new ActiveX("Hira.Di.Com.Model.ParamSdbkYadm");
  983. var paramSdbkYadmAX = new ActiveX("paramSdbkYadm",0,0,0,0);
  984. paramSdbkYadmAX.progid = "{72906CD8-4ABE-300F-BC7C-DBF567CEED2C}";
  985. this.addChild("paramSdbkYadm", paramSdbkYadmAX);
  986. // paramSdbkYadm.rcvYadmId = ""; // 수신요양기관기호
  987. paramSdbkYadmAX.show();
  988. */
  989. //var paramSdbkYadm = ActiveX01;
  990. var paramSdbkYadm = ActiveX01.createObject("Hira.Di.Com.Model.ParamSdbkYadm");
  991. paramSdbkYadm.RcvYadmNm = hospnm
  992. paramSdbkYadm.SidoCd = sidocd;
  993. paramSdbkYadm.SgguCd = sidodetlcd;
  994. var flag = coopyn;
  995. if(flag == "Y"){
  996. paramSdbkYadm.ClbtYn = true;
  997. }
  998. paramSdbkYadm.CurPage = "1";
  999. var res = lib.SrchSdbkYadmList(YadmId, paramSdbkYadm);
  1000. if (!res.Success) {
  1001. sysf_messageBox( "심평원 진료의뢰회송 연계 프로그램에 조건 오류가 발생했습니다.\n\n" + res.ErrCd + ": " + res.ErrMsg + "\n\n조건 수정 후 전송 바랍니다.", "E999");
  1002. return;
  1003. }
  1004. //var hospdata = "";
  1005. ds_hosplist_temp.clearData();
  1006. if (res.LenSdbkYadms() > 0) {
  1007. for (i = 0; i < res.LenSdbkYadms(); i++) {
  1008. //hospdata += item.YadmId + sColSep;
  1009. var item = res.GetSdbkYadm(i);
  1010. var row = ds_hosplist_temp.addRow()
  1011. ds_hosplist_temp.setColumn(row, "yadmid", item.YadmId);
  1012. ds_hosplist_temp.setColumn(row, "yadmnm", item.YadmNm);
  1013. ds_hosplist_temp.setColumn(row, "addr", item.Addr);
  1014. ds_hosplist_temp.setColumn(row, "telno", item.TelNo);
  1015. }
  1016. }
  1017. if(ds_hosplist_temp.rowcount == 0){
  1018. sysf_messageBox("조회된 병원이 없습니다.", "I999");
  1019. return;
  1020. }
  1021. var oParam = {};
  1022. oParam.id = "TRARH05101";
  1023. oParam.service = "healcarecoopapp.CoopHospMngt";
  1024. oParam.method = "reqGetHIEYNList";
  1025. oParam.inds = "req=ds_send_hosplist reqdata=ds_hosplist_temp";
  1026. oParam.outds = "ds_hosplist=hosplist";
  1027. oParam.async = false;
  1028. //oParam.callback = "cf_TRARC00105";
  1029. tranf_submit(oParam);
  1030. }
  1031. function fSearch_Hira_Dept()
  1032. {
  1033. ds_deptlist.clearData();
  1034. var row = ds_hosplist.rowposition;
  1035. var hieyn = ds_hosplist.getColumn(row, "hieyn");
  1036. if(hieyn != "Y") return;
  1037. var organizationoid = ds_hosplist.getColumn(row, "organizationoid");
  1038. ds_send_deptlist.setColumn(0, "organizationoid", organizationoid);
  1039. var oParam = {};
  1040. oParam.id = "TRARH00507";
  1041. oParam.service = "healcarecoopapp.HIEMngt";
  1042. oParam.method = "reqGetHospDeptList";
  1043. oParam.inds = "req=ds_send_deptlist";
  1044. oParam.outds = "ds_deptlist=deptlist";
  1045. oParam.async = false;
  1046. //oParam.callback = "cf_TRARC00105";
  1047. tranf_submit(oParam);
  1048. /*
  1049. var res = lib.SrchSdbkYadmInfoList(yadmid);
  1050. if (!res.Success) {
  1051. sysf_messageBox( "심평원 진료의뢰회송 연계 프로그램에 조건 오류가 발생했습니다.\n\n" + res.ErrCd + ": " + res.ErrMsg + "\n\n조건 수정 후 전송 바랍니다.", "E999");
  1052. return;
  1053. }
  1054. ds_deptlist_temp.clearData();
  1055. var info = res.SdbkYadmInfo;
  1056. alert(info.LenSdbkYadmDeptInfos);
  1057. */
  1058. /*
  1059. //var paramSdbkYadm = ActiveX01;
  1060. var paramSdbkYadm = ActiveX01.createObject("Hira.Di.Com.Model.ParamSdbkYadm");
  1061. paramSdbkYadm.RcvYadmNm = hospnm
  1062. paramSdbkYadm.SidoCd = sidocd;
  1063. paramSdbkYadm.SgguCd = sidodetlcd;
  1064. var flag = coopyn;
  1065. if(flag == "Y"){
  1066. paramSdbkYadm.ClbtYn = true;
  1067. }
  1068. paramSdbkYadm.CurPage = "1";
  1069. var res = lib.SrchSdbkYadmList(yadmId, paramSdbkYadm);
  1070. if (!res.Success) {
  1071. sysf_messageBox( "심평원 진료의뢰회송 연계 프로그램에 조건 오류가 발생했습니다.\n\n" + res.ErrCd + ": " + res.ErrMsg + "\n\n조건 수정 후 전송 바랍니다.", "E999");
  1072. return;
  1073. }
  1074. //var hospdata = "";
  1075. ds_hosplist_temp.clearData();
  1076. if (res.LenSdbkYadms() > 0) {
  1077. for (i = 0; i < res.LenSdbkYadms(); i++) {
  1078. //hospdata += item.YadmId + sColSep;
  1079. var item = res.GetSdbkYadm(i);
  1080. var row = ds_hosplist_temp.addRow()
  1081. ds_hosplist_temp.setColumn(row, "yadmid", item.YadmId);
  1082. ds_hosplist_temp.setColumn(row, "yadmnm", item.YadmNm);
  1083. ds_hosplist_temp.setColumn(row, "addr", item.Addr);
  1084. ds_hosplist_temp.setColumn(row, "telno", item.TelNo);
  1085. }
  1086. }
  1087. if(ds_hosplist_temp.rowcount == 0){
  1088. sysf_messageBox("조회된 병원이 없습니다.", "I999");
  1089. return;
  1090. }
  1091. var oParam = {};
  1092. oParam.id = "TRARH05101";
  1093. oParam.service = "healcarecoopapp.CoopHospMngt";
  1094. oParam.method = "reqGetHIEYNList";
  1095. oParam.inds = "req=ds_send_hosplist reqdata=ds_hosplist_temp";
  1096. oParam.outds = "ds_hosplist=hosplist";
  1097. oParam.async = false;
  1098. //oParam.callback = "cf_TRARC00105";
  1099. tranf_submit(oParam);
  1100. */
  1101. }
  1102. function Tab00_tabpage1_Div00_cmb_sido_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1103. {
  1104. ds_init_sidodetl.clearData();
  1105. ds_send_hira.setColumn(0,"sidodetlcd", "");
  1106. if(!utlf_isNull(ds_send_hira.getColumn(0,"sidocd"))){
  1107. fSearchSidoDetl_Hira();
  1108. Tab00.tabpage1.Div00.cmb_sidodetl.visible = true;
  1109. }else{
  1110. Tab00.tabpage1.Div00.cmb_sidodetl.visible = false;
  1111. }
  1112. }
  1113. function fSearchSidoDetl_Hira()
  1114. {
  1115. // 조회 파라미터 입력
  1116. var sidocd = ds_send_hira.getColumn(0,"sidocd")
  1117. var res = lib.SrchSdbkYadmAddrCityList(YadmId, sidocd);
  1118. if (!res.Success) {
  1119. sysf_messageBox( "심평원 진료의뢰회송 연계 프로그램에 조건 오류가 발생했습니다.\n\n" + res.ErrCd + ": " + res.ErrMsg + "\n\n조건 수정 후 전송 바랍니다.", "E999");
  1120. return;
  1121. }
  1122. if (res.LenSdbkYadmAddrCitys() > 0) {
  1123. for (i = 0; i < res.LenSdbkYadmAddrCitys(); i++) {
  1124. var item = res.GetSdbkYadmAddrCity(i);
  1125. frmf_addComboItem("Tab00.tabpage1.Div00.cmb_sidodetl", item.SgguNm, item.SgguCd, "append" );
  1126. }
  1127. }
  1128. frmf_addComboItemAll("Tab00.tabpage1.Div00.cmb_sidodetl", "전체");
  1129. }
  1130. function Tab00_tabpage1_grd_hosplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1131. {
  1132. var corpno = ds_hosplist.getColumn(e.row, "yadmid");
  1133. var coophospnm = ds_hosplist.getColumn(e.row, "yadmnm");
  1134. var zipcdaddr = ds_hosplist.getColumn(e.row, "addr");
  1135. var telno = ds_hosplist.getColumn(e.row, "telno");
  1136. var hieyn = ds_hosplist.getColumn(e.row, "hieyn");
  1137. ds_send_hospdetl.setColumn(0,"corpno",corpno);
  1138. // 요양기관번호 등록 여부 체크
  1139. var oParam = {};
  1140. oParam.id = "TRARC00108";
  1141. oParam.service = "healcarecoopapp.ReqMngt";
  1142. oParam.method = "reqGetEvoRgstChsp";
  1143. oParam.inds = "req=ds_send_hospdetl";
  1144. oParam.outds = "ds_hospinfo=hospinfo";
  1145. oParam.async = false;
  1146. tranf_submit(oParam);
  1147. if(ds_hospinfo.rowcount == 0){
  1148. var msg = sysf_messageBox("해당 요양기관번호로 등록된 병원이 없습니다. 등록하시겠습니까?", "Q999", "");
  1149. if (msg != 6) {
  1150. return;
  1151. }
  1152. frmf_setParameter("SPARH05100_coophospnm", coophospnm);
  1153. frmf_setParameter("SPARH05100_corpno", corpno);
  1154. frmf_setParameter("SPARH05100_zipcdaddr", zipcdaddr);
  1155. frmf_setParameter("SPARH05100_telno", telno);
  1156. frmf_setParameter("SPARH05100_hospkind", "");
  1157. frmf_setParameter("SPARH05100_HIRA", "Y");
  1158. frmf_setParameter("SPARH05100_HIE", hieyn);
  1159. var fPopup = frmf_findPopup("SMARH00100");
  1160. if(utlf_isNull(fPopup))
  1161. {
  1162. frmf_open("SMARH00100", "SMARH00100", null, null, null, null, null, null, null, null, null, null, "M");
  1163. }
  1164. else
  1165. {
  1166. fPopup.fInit();
  1167. fPopup.setFocus();
  1168. }
  1169. return;
  1170. }
  1171. fIsHIEHosp(corpno);
  1172. if(hieyn == "Y"){ // HIE 병원인 경우
  1173. Tab00.tabpage1.grd_deptlist.enable = true;
  1174. fSearch_Hira_Dept();
  1175. }else{ // HIE 병원 아닌 경우
  1176. Tab00.tabpage1.grd_deptlist.enable = false;
  1177. fConfirm_HiraHosp();
  1178. }
  1179. }
  1180. function fIsHIEHosp(hiracd)
  1181. {
  1182. ds_send_ishie.setColumn(0, "hiracd", hiracd );
  1183. // 선택한 병원이 HIE인지 여부 체크
  1184. var oParam = {};
  1185. oParam.id = "TRARH05103";
  1186. oParam.service = "healcarecoopapp.CoopHospMngt";
  1187. oParam.method = "reqGetEvoHIEYN";
  1188. oParam.inds = "req=ds_send_ishie";
  1189. oParam.outds = "ds_main_ishie=ishie";
  1190. oParam.async = false;
  1191. //oParam.callback = "cf_TRARH05103";
  1192. tranf_submit(oParam);
  1193. var ishie = ds_main_ishie.getColumn(0, "ishie");
  1194. dsf_makeValue( ds_hospinfo, "ishie", "string", ishie );
  1195. }
  1196. /*
  1197. function cf_TRARH05103(sSvcId, nErrorCode, sErrorMsg) {
  1198. arErrorCode.push(sSvcId, nErrorCode);
  1199. if(nErrorCode < 0) return;
  1200. var ishie = ds_main_ishie.getColumn(0, "ishie");
  1201. dsf_makeValue( ds_hospinfo, "ishie", "string", ishie );
  1202. }
  1203. */
  1204. // 병원 선택
  1205. function fConfirm_HiraHosp() {
  1206. if (ds_hosplist.rowcount < 1) return;
  1207. if ( frmf_checkOpener() ) {
  1208. var row = ds_hosplist.rowposition;
  1209. opener.dsf_copyDs(opener.ds_transhospinfo, ds_hospinfo);
  1210. this.close();
  1211. } else {
  1212. messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  1213. }
  1214. }
  1215. // 부서 선택(HIE 경우에만 수행)
  1216. function fConfirm_HiraDept() {
  1217. if (ds_deptlist.rowcount < 1) return;
  1218. if ( frmf_checkOpener() ) {
  1219. var row = ds_deptlist.rowposition;
  1220. var deptcd = ds_deptlist.getColumn(row, "dept_cd");
  1221. var deptnm = ds_deptlist.getColumn(row, "dept_nm");
  1222. dsf_makeValue( ds_hospinfo, "deptcd", "string", deptcd );
  1223. dsf_makeValue( ds_hospinfo, "deptnm", "string", deptnm );
  1224. opener.dsf_copyDs(opener.ds_transhospinfo, ds_hospinfo);
  1225. this.close();
  1226. }
  1227. }
  1228. function Tab00_tabpage1_Div00_Edit00_onkeydown(obj:Edit, e:KeyEventInfo)
  1229. {
  1230. fSearchHiraEnterKey(e);
  1231. }
  1232. function fSearchHiraEnterKey(e)
  1233. {
  1234. if (e.keycode == 13)
  1235. {
  1236. ds_send_hira.setColumn( 0, "hospnm", Tab00.tabpage1.Div00.edt_hospnm.text);
  1237. // 조회
  1238. fSearch_Hira();
  1239. }
  1240. }
  1241. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1242. // tabpage2
  1243. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  1244. function group3_grd_list_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1245. {
  1246. fConfirm();
  1247. }
  1248. // 병원 선택
  1249. function fConfirm() {
  1250. if (Tab00.tabpage2.grd_list.rowcount <= 0) return;
  1251. if (Tab00.tabpage2.grd_list.currentrow < 0) return;
  1252. /*
  1253. if (checkOpener()) {
  1254. opener.javascript.frmf_setParameter("flag", "Y");
  1255. opener.javascript.frmf_setParameter("coophospnm", ds_main_list_req_hosp_list.getColumn(grd_list.row, "coophospnm"));
  1256. opener.javascript.frmf_setParameter("hospflag", ds_main_list_req_hosp_list.getColumn(grd_list.row, "hospflag"));
  1257. opener.javascript.frmf_setParameter("drnm", ds_main_list_req_hosp_list.getColumn(grd_list.row, "drnm"));
  1258. opener.javascript.frmf_setParameter("emailnm", ds_main_list_req_hosp_list.getColumn(grd_list.row, "emailnm"));
  1259. opener.javascript.frmf_setParameter("telno", ds_main_list_req_hosp_list.getColumn(grd_list.row, "telno"));
  1260. opener.javascript.frmf_setParameter("coophospcd", ds_main_list_req_hosp_list.getColumn(grd_list.row, "coophospcd"));
  1261. opener.javascript.frmf_setParameter("coopdrcd", ds_main_list_req_hosp_list.getColumn(grd_list.row, "coopdrcd"));
  1262. opener.javascript.frmf_setParameter("fromdd", ds_main_list_req_hosp_list.getColumn(grd_list.row, "fromdd"));
  1263. opener.javascript.frmf_setParameter("areacd", ds_main_list_req_hosp_list.getColumn(grd_list.row, "areacd"));
  1264. opener.javascript.frmf_setParameter("faxno", ds_main_list_req_hosp_list.getColumn(grd_list.row, "faxno"));
  1265. model.close();
  1266. }
  1267. */
  1268. if ( frmf_checkOpener() ) {
  1269. var row = Tab00.tabpage2.grd_list.currentrow;
  1270. if( row >= 0 ){
  1271. if( ds_main_list_req_hosp_list.rowcount > 0 ){
  1272. //opener.model.copyNode("_root_main_hospinfo_hospinfolist", grd_list.getNode( row ));
  1273. //ds_main_list_req_hosp_list.getColumn( row, ""));
  1274. opener.ds_transhospinfo.copyRow(0, ds_main_list_req_hosp_list, row);
  1275. opener.ds_transhospinfo.clearData();
  1276. dsf_makeValue( opener.ds_transhospinfo, "coophospnm", "string", ds_main_list_req_hosp_list.getColumn( row, "coophospnm"));
  1277. dsf_makeValue( opener.ds_transhospinfo, "drnm", "string", ds_main_list_req_hosp_list.getColumn( row, "drnm"));
  1278. dsf_makeValue( opener.ds_transhospinfo, "areacd", "string", ds_main_list_req_hosp_list.getColumn( row, "sidocd"));
  1279. dsf_makeValue( opener.ds_transhospinfo, "zipcdaddr", "string", ds_main_list_req_hosp_list.getColumn( row, "detladdr1"));
  1280. dsf_makeValue( opener.ds_transhospinfo, "detladdr", "string", ds_main_list_req_hosp_list.getColumn( row, "detladdr2"));
  1281. dsf_makeValue( opener.ds_transhospinfo, "telno", "string", ds_main_list_req_hosp_list.getColumn( row, "telno"));
  1282. dsf_makeValue( opener.ds_transhospinfo, "faxno", "string", ds_main_list_req_hosp_list.getColumn( row, "faxno"));
  1283. dsf_makeValue( opener.ds_transhospinfo, "emailnm", "string", ds_main_list_req_hosp_list.getColumn( row, "emailnm"));
  1284. dsf_makeValue( opener.ds_transhospinfo, "licnsno", "string", ds_main_list_req_hosp_list.getColumn( row, "licnsno"));
  1285. dsf_makeValue( opener.ds_transhospinfo, "hospgrade", "string", ds_main_list_req_hosp_list.getColumn( row, "hospgrade"));
  1286. dsf_makeValue( opener.ds_transhospinfo, "clsmatyn", "string", ds_main_list_req_hosp_list.getColumn( row, "clsmatyn"));
  1287. dsf_makeValue( opener.ds_transhospinfo, "coophospcd", "string", ds_main_list_req_hosp_list.getColumn( row, "coophospcd"));
  1288. dsf_makeValue( opener.ds_transhospinfo, "coopdrcd", "string", ds_main_list_req_hosp_list.getColumn( row, "coopdrcd"));
  1289. dsf_makeValue( opener.ds_transhospinfo, "fromdd", "string", ds_main_list_req_hosp_list.getColumn( row, "fromdd"));
  1290. dsf_makeValue( opener.ds_transhospinfo, "coopconcltdd", "string", ds_main_list_req_hosp_list.getColumn( row, "coopconcltdd"));
  1291. dsf_makeValue( opener.ds_transhospinfo, "cooptodd", "string", ds_main_list_req_hosp_list.getColumn( row, "cooptodd"));
  1292. dsf_makeValue( opener.ds_transhospinfo, "opnofhospdd", "string", ds_main_list_req_hosp_list.getColumn( row, "opnofhospdd"));
  1293. dsf_makeValue( opener.ds_transhospinfo, "dirofhospnm", "string", ds_main_list_req_hosp_list.getColumn( row, "dirofhospnm"));
  1294. dsf_makeValue( opener.ds_transhospinfo, "bedcnt", "string", ds_main_list_req_hosp_list.getColumn( row, "bedcnt"));
  1295. dsf_makeValue( opener.ds_transhospinfo, "rgstdd", "string", ds_main_list_req_hosp_list.getColumn( row, "rgstdd"));
  1296. dsf_makeValue( opener.ds_transhospinfo, "perchgrnm", "string", ds_main_list_req_hosp_list.getColumn( row, "perchgrnm"));
  1297. dsf_makeValue( opener.ds_transhospinfo, "perchgrjobpos", "string", ds_main_list_req_hosp_list.getColumn( row, "perchgrjobpos"));
  1298. dsf_makeValue( opener.ds_transhospinfo, "perchgrtel", "string", ds_main_list_req_hosp_list.getColumn( row, "perchgrtel"));
  1299. dsf_makeValue( opener.ds_transhospinfo, "perchgrmpphone", "string", ds_main_list_req_hosp_list.getColumn( row, "perchgrmpphone"));
  1300. dsf_makeValue( opener.ds_transhospinfo, "zipcd1", "string", ds_main_list_req_hosp_list.getColumn( row, "zipcd1"));
  1301. dsf_makeValue( opener.ds_transhospinfo, "zipcd2", "string", ds_main_list_req_hosp_list.getColumn( row, "zipcd2"));
  1302. dsf_makeValue( opener.ds_transhospinfo, "zipcdseq", "string", ds_main_list_req_hosp_list.getColumn( row, "zipcdseq"));
  1303. dsf_makeValue( opener.ds_transhospinfo, "homepgnm", "string", ds_main_list_req_hosp_list.getColumn( row, "homepgnm"));
  1304. dsf_makeValue( opener.ds_transhospinfo, "hospemailid", "string", ds_main_list_req_hosp_list.getColumn( row, "hospemailid"));
  1305. dsf_makeValue( opener.ds_transhospinfo, "hospemailaddr", "string", ds_main_list_req_hosp_list.getColumn( row, "hospemailaddr"));
  1306. dsf_makeValue( opener.ds_transhospinfo, "corpno", "string", ds_main_list_req_hosp_list.getColumn( row, "corpno"));
  1307. dsf_makeValue( opener.ds_transhospinfo, "rgstflag", "string", ds_main_list_req_hosp_list.getColumn( row, "rgstflag"));
  1308. dsf_makeValue( opener.ds_transhospinfo, "hosprem", "string", ds_main_list_req_hosp_list.getColumn( row, "hosprem"));
  1309. dsf_makeValue( opener.ds_transhospinfo, "todd", "string", ds_main_list_req_hosp_list.getColumn( row, "todd"));
  1310. dsf_makeValue( opener.ds_transhospinfo, "rrgstno1", "string", ds_main_list_req_hosp_list.getColumn( row, "rrgstno1"));
  1311. dsf_makeValue( opener.ds_transhospinfo, "rrgstno2", "string", ds_main_list_req_hosp_list.getColumn( row, "rrgstno2"));
  1312. dsf_makeValue( opener.ds_transhospinfo, "tradehosp", "string", ds_main_list_req_hosp_list.getColumn( row, "tradehosp"));
  1313. dsf_makeValue( opener.ds_transhospinfo, "gradsch", "string", ds_main_list_req_hosp_list.getColumn( row, "gradsch"));
  1314. dsf_makeValue( opener.ds_transhospinfo, "drflag", "string", ds_main_list_req_hosp_list.getColumn( row, "drflag"));
  1315. dsf_makeValue( opener.ds_transhospinfo, "orddeptcd", "string", ds_main_list_req_hosp_list.getColumn( row, "orddeptcd"));
  1316. dsf_makeValue( opener.ds_transhospinfo, "drcls", "string", ds_main_list_req_hosp_list.getColumn( row, "drcls"));
  1317. dsf_makeValue( opener.ds_transhospinfo, "medispclno", "string", ds_main_list_req_hosp_list.getColumn( row, "medispclno"));
  1318. dsf_makeValue( opener.ds_transhospinfo, "drclsmatyn", "string", ds_main_list_req_hosp_list.getColumn( row, "drclsmatyn"));
  1319. dsf_makeValue( opener.ds_transhospinfo, "gradyear", "string", ds_main_list_req_hosp_list.getColumn( row, "gradyear"));
  1320. dsf_makeValue( opener.ds_transhospinfo, "replmethod", "string", ds_main_list_req_hosp_list.getColumn( row, "replmethod"));
  1321. dsf_makeValue( opener.ds_transhospinfo, "drtelno", "string", ds_main_list_req_hosp_list.getColumn( row, "drtelno"));
  1322. dsf_makeValue( opener.ds_transhospinfo, "drmpphontel", "string", ds_main_list_req_hosp_list.getColumn( row, "drmpphontel"));
  1323. dsf_makeValue( opener.ds_transhospinfo, "dremailid", "string", ds_main_list_req_hosp_list.getColumn( row, "dremailid"));
  1324. dsf_makeValue( opener.ds_transhospinfo, "dremailaddr", "string", ds_main_list_req_hosp_list.getColumn( row, "dremailaddr"));
  1325. dsf_makeValue( opener.ds_transhospinfo, "detlfrmrmert", "string", ds_main_list_req_hosp_list.getColumn( row, "detlfrmrmert"));
  1326. dsf_makeValue( opener.ds_transhospinfo, "relign", "string", ds_main_list_req_hosp_list.getColumn( row, "relign"));
  1327. dsf_makeValue( opener.ds_transhospinfo, "hoby", "string", ds_main_list_req_hosp_list.getColumn( row, "hoby"));
  1328. dsf_makeValue( opener.ds_transhospinfo, "btype", "string", ds_main_list_req_hosp_list.getColumn( row, "btype"));
  1329. dsf_makeValue( opener.ds_transhospinfo, "epid", "string", ds_main_list_req_hosp_list.getColumn( row, "epid"));
  1330. dsf_makeValue( opener.ds_transhospinfo, "localrgstdd", "string", ds_main_list_req_hosp_list.getColumn( row, "localrgstdd"));
  1331. dsf_makeValue( opener.ds_transhospinfo, "eprgstdd", "string", ds_main_list_req_hosp_list.getColumn( row, "eprgstdd"));
  1332. dsf_makeValue( opener.ds_transhospinfo, "aprvdd", "string", ds_main_list_req_hosp_list.getColumn( row, "aprvdd"));
  1333. dsf_makeValue( opener.ds_transhospinfo, "secssdd", "string", ds_main_list_req_hosp_list.getColumn( row, "secssdd"));
  1334. dsf_makeValue( opener.ds_transhospinfo, "secssresn", "string", ds_main_list_req_hosp_list.getColumn( row, "secssresn"));
  1335. dsf_makeValue( opener.ds_transhospinfo, "drrem", "string", ds_main_list_req_hosp_list.getColumn( row, "drrem"));
  1336. dsf_makeValue( opener.ds_transhospinfo, "repltype", "string", ds_main_list_req_hosp_list.getColumn( row, "repltype"));
  1337. dsf_makeValue( opener.ds_transhospinfo, "replflag", "string", ds_main_list_req_hosp_list.getColumn( row, "replflag"));
  1338. var ishie = fIsHIEHosp(ds_main_list_req_hosp_list.getColumn( row, "corpno"));
  1339. dsf_makeValue( opener.ds_transhospinfo, "ishie", "string", ishie );
  1340. this.close();
  1341. }
  1342. }
  1343. } else {
  1344. sysf_messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  1345. }
  1346. }
  1347. function group2_btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  1348. {
  1349. fConfirm();
  1350. }
  1351. function group2_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
  1352. {
  1353. if (frmf_checkOpener()) {
  1354. this.close();
  1355. }
  1356. }
  1357. function fInit_HIE()
  1358. {
  1359. var oParam = {};
  1360. oParam.id = "TRARH00506";
  1361. oParam.service = "healcarecoopapp.HIEMngt";
  1362. oParam.method = "reqGetHIEInit_SPARH00500";
  1363. oParam.inds = "req=ds_hiehosptype";
  1364. oParam.outds = "ds_init_hiehosptype=hosptypelist";
  1365. oParam.async = false;
  1366. tranf_submit(oParam);
  1367. dsf_addDsItem(ds_init_hiehosptype, "comn_cd", "comn_cd_nm", "- 전 체 -", "", "above");
  1368. ds_send_hiehosplist.setColumn(0,"hosptype", "");
  1369. }
  1370. function fInit_Hira()
  1371. {
  1372. try{
  1373. lib = ActiveX00.createObject("Hira.Di.Com.Service.Library.ServiceLibrary");
  1374. Tab00.tabpage1.Div00.edt_hospnm.setFocus();
  1375. fSearchInitCode_Hira();
  1376. }catch(e){
  1377. sysf_messageBox("진료의뢰회송 중계포털 Agent 다운받아 설치 후 이용바랍니다.\n( https://di.hira.or.kr/rsweb/index.do )","E999");
  1378. this.close();
  1379. }
  1380. }
  1381. function Tab00_tabpage2_group1_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1382. {
  1383. fSearch();
  1384. }
  1385. // 조회
  1386. function fSearch()
  1387. {
  1388. ds_main_list_req_hosp_list.clearData();
  1389. ds_send_search.setColumn( 0, "offset", "0"); // grid의 header row는 제외
  1390. dsf_setDefaultVal(ds_send_search, "sidocd:-,sidocddetl:-");
  1391. var oParam = {};
  1392. oParam.id = "TRARH00201";
  1393. oParam.service = "healcarecoopapp.CoopHospMngt";
  1394. oParam.method = "reqGetHospList";
  1395. oParam.inds = "req=ds_send_search";
  1396. oParam.outds = "ds_main_list_req_hosp_list=req_hosp_list";
  1397. oParam.async = false;
  1398. oParam.callback = "cf_TRARH00201";
  1399. tranf_submit(oParam);
  1400. if (arErrorCode.pop("TRARH00201") > -1)
  1401. {
  1402. if (ds_main_list_req_hosp_list.rowcount <= 0)
  1403. {
  1404. sysf_messageBox("조회된 병원이 없습니다.", "I999");
  1405. }
  1406. }
  1407. }
  1408. function cf_TRARH00201(sSvcId, nErrorCode, sErrorMsg) {
  1409. arErrorCode.push(sSvcId, nErrorCode);
  1410. }
  1411. function Tab00_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1412. {
  1413. if(obj.tabindex==1){
  1414. if(initknuh == false){
  1415. // 내부쪽 초기화
  1416. fInit_Inner();
  1417. initknuh = true;
  1418. }
  1419. }else if(obj.tabindex==2){
  1420. if(inithie == false){
  1421. fInit_HIE();
  1422. inithie = true;
  1423. }
  1424. }else if(obj.tabindex == 0){
  1425. if(inithira == false){
  1426. fInit_Hira();
  1427. inithira = true;
  1428. }
  1429. }
  1430. }
  1431. function Tab00_tabpage1_grd_deptlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1432. {
  1433. fConfirm_HiraDept();
  1434. }
  1435. function Tab00_tabpage_hie_Div00_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1436. {
  1437. fSearch_HIE();
  1438. }
  1439. function fSearch_HIE()
  1440. {
  1441. var oParam = {};
  1442. oParam.id = "TRARH00505";
  1443. oParam.service = "healcarecoopapp.HIEMngt";
  1444. oParam.method = "reqGetHospList";
  1445. oParam.inds = "req=ds_send_hiehosplist";
  1446. oParam.outds = "ds_hiehosplist=hosplist";
  1447. oParam.async = false;
  1448. tranf_submit(oParam);
  1449. }
  1450. function Tab00_tabpage_hie_Div00_onkeydown(obj:Div, e:KeyEventInfo)
  1451. {
  1452. if (e.keycode == 13) {
  1453. Tab00.tabpage_hie.Div00.btn_search.setFocus();
  1454. frmf_inputEnterKey('Tab00.tabpage_hie.Div00.btn_search', 'onclick', new ClickEventInfo);
  1455. }
  1456. }
  1457. function Tab00_tabpage_hie_grd_hosplist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1458. {
  1459. if(ds_hiehosplist.rowcount < 1) return;
  1460. fSearch_HIE_Dept();
  1461. }
  1462. function fSearch_HIE_Dept()
  1463. {
  1464. var row = ds_hiehosplist.rowposition;
  1465. var corpno = ds_hiehosplist.getColumn(row, "rcorg_no");//병원요양코드
  1466. var coophospnm = ds_hiehosplist.getColumn(row, "mdins_nm");//병원이름
  1467. var hospkind = ds_hiehosplist.getColumn(row, "mdins_cls_cd"); //병원분류
  1468. var addr = ds_hiehosplist.getColumn(row, "mdins_addr"); //병원주소
  1469. var telno = ds_hiehosplist.getColumn(row, "mdins_tel_no"); //병원전화번호
  1470. ds_send_hospdetl.setColumn(0,"corpno",corpno);
  1471. // 요양기관번호 등록 여부 체크
  1472. var oParam = {};
  1473. oParam.id = "TRARC00108";
  1474. oParam.service = "healcarecoopapp.ReqMngt";
  1475. oParam.method = "reqGetEvoRgstChsp";
  1476. oParam.inds = "req=ds_send_hospdetl";
  1477. oParam.outds = "ds_hospinfo=hospinfo";
  1478. oParam.async = false;
  1479. tranf_submit(oParam);
  1480. if(ds_hospinfo.rowcount == 0){
  1481. var msg = sysf_messageBox("해당 요양기관번호로 등록된 병원이 없습니다. 등록하시겠습니까?", "Q999", "");
  1482. if (msg != 6) {
  1483. return;
  1484. }
  1485. frmf_setParameter("SPARH05100_coophospnm", coophospnm);
  1486. frmf_setParameter("SPARH05100_corpno", corpno);
  1487. frmf_setParameter("SPARH05100_hospkind", hospkind);
  1488. frmf_setParameter("SPARH05100_zipcdaddr", addr);
  1489. frmf_setParameter("SPARH05100_telno", telno);
  1490. frmf_setParameter("SPARH05100_HIRA", "");
  1491. frmf_setParameter("SPARH05100_HIE", "Y");
  1492. var fPopup = frmf_findPopup("SMARH00100");
  1493. if(utlf_isNull(fPopup))
  1494. {
  1495. frmf_open("SMARH00100", "SMARH00100", null, null, null, null, null, null, null, null, null, null, "M");
  1496. }
  1497. else
  1498. {
  1499. fPopup.fInit();
  1500. fPopup.setFocus();
  1501. }
  1502. return;
  1503. }
  1504. dsf_makeValue( ds_hospinfo, "mdins_cls_cd", "string", hospkind );
  1505. ds_hiedeptlist.clearData();
  1506. var row = ds_hiehosplist.rowposition;
  1507. var organizationoid = ds_hiehosplist.getColumn(row, "mdins_oid");
  1508. ds_send_deptlist.setColumn(0, "organizationoid", organizationoid);
  1509. var oParam = {};
  1510. oParam.id = "TRARH00507";
  1511. oParam.service = "healcarecoopapp.HIEMngt";
  1512. oParam.method = "reqGetHospDeptList";
  1513. oParam.inds = "req=ds_send_deptlist";
  1514. oParam.outds = "ds_hiedeptlist=deptlist";
  1515. oParam.async = false;
  1516. //oParam.callback = "cf_TRARC00105";
  1517. tranf_submit(oParam);
  1518. }
  1519. function Tab00_tabpage_hie_grd_deptlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1520. {
  1521. fConfirm_HIEDept();
  1522. }
  1523. function fConfirm_HIEDept()
  1524. {
  1525. if (ds_hiedeptlist.rowcount < 1) return;
  1526. if ( frmf_checkOpener() ) {
  1527. var row = ds_hiedeptlist.rowposition;
  1528. dsf_makeValue( ds_hospinfo, "ishie", "string", "1" );
  1529. var deptcd = ds_hiedeptlist.getColumn(row, "dept_cd");
  1530. var deptnm = ds_hiedeptlist.getColumn(row, "dept_nm");
  1531. dsf_makeValue( ds_hospinfo, "deptcd", "string", deptcd );
  1532. dsf_makeValue( ds_hospinfo, "deptnm", "string", deptnm );
  1533. opener.dsf_copyDs(opener.ds_transhospinfo, ds_hospinfo);
  1534. this.close();
  1535. }
  1536. }
  1537. function Tab00_tabpage2_group1_cmb_areacd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1538. {
  1539. var areacd = obj.value;
  1540. if(areacd != "-")
  1541. {
  1542. ds_init_areacddelt.filterstr = "sidocd == '"+areacd+"'";
  1543. ds_cmb_areadetl.copyData(ds_init_areacddelt, true);
  1544. ds_init_areacddelt.filterstr = "";
  1545. Tab00.tabpage2.group1.cmb_areacddelt.enable = true;
  1546. frmf_addComboItem("Tab00.tabpage2.group1.cmb_areacddelt", "- 전 체 -", "-", "above");
  1547. Tab00.tabpage2.group1.cmb_areacddelt.index = 0;
  1548. Tab00.tabpage2.group1.cmb_areacddelt.value = "-";
  1549. }
  1550. else
  1551. {
  1552. ds_cmb_areadetl.clearData();
  1553. Tab00.tabpage2.group1.cmb_areacddelt.enable = false;
  1554. }
  1555. }
  1556. ]]></Script>
  1557. </Form>
  1558. </FDL>