SMAIM00100_AI메인 - 복사본.xfdl 80 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMAIM00100_AI메인" classname="SMAIM00100_AI메인" inheritanceid="" position="absolute 0 0 1214 834" titletext="AI메인" oninit="SMAIM00100_AI메인_oninit" onload="SMAIM00100_AI메인_onload" scrollbars="none">
  5. <Layouts>
  6. <Layout>
  7. <Div id="div_detl" taborder="0" position="absolute 496 28 1190 832" scrollbars="none" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption01" text="인공지능 분석대상" class="tit_2" position="absolute 0 1 183 18" anchor="left top"/>
  11. <Shape id="line02" class="line_10" position="absolute 0 17 688 23" anchor="left top right"/>
  12. <Static id="caption02" text="등록번호" class="cell_1" position="absolute 0 22 82 45" anchor="left top" style="padding:0 0 0 5;align:left middle;"/>
  13. <Edit id="opt_pid" taborder="8" readonly="true" autoselect="true" position="absolute 84 22 184 45" anchor="left top" style="align:left middle;"/>
  14. <Static id="caption04" text="성명" class="cell_1" position="absolute 190 22 260 45" anchor="left top" style="padding:0 0 0 5;align:left middle;"/>
  15. <Edit id="opt_hngnm" taborder="9" readonly="true" autoselect="true" position="absolute 262 22 330 45" anchor="left top" style="align:left middle;"/>
  16. <Static id="caption00" text="인공지능 분석파일" class="tit_2" position="absolute 0 81 183 98" anchor="left top"/>
  17. <Shape id="line00" class="line_10" position="absolute 0 97 688 103" anchor="left top right"/>
  18. <Grid id="grd_files" taborder="12" binddataset="ds_file" scrollpixel="all" useinputpanel="false" selecttype="multirow" autofittype="col" onmousewheel="grd_files_onmousewheel" position="absolute 72 103 688 177" anchor="left top right" oncellclick="div_detl_grd_files_oncellclick">
  19. <Formats>
  20. <Format id="default">
  21. <Columns>
  22. <Column size="30"/>
  23. <Column size="531"/>
  24. <Column size="100"/>
  25. <Column size="30"/>
  26. <Column size="60"/>
  27. <Column size="60"/>
  28. </Columns>
  29. <Rows>
  30. <Row size="24"/>
  31. </Rows>
  32. <Band id="body">
  33. <Cell celltype="head" text="expr:currow + 1"/>
  34. <Cell col="1" displaytype="text" style="padding:0 8 0 8;" text="bind:filename"/>
  35. <Cell col="2" colspan="2" taborder="undefined">
  36. <Cell displaytype="number" style="align:right middle;padding:0 0 0 0;" text="bind:filesize" expr="expr:Math.ceil(filesize / 1024)"/>
  37. <Cell col="1" displaytype="text" style="align:left middle;padding:0 0 0 0;" text="KB"/>
  38. </Cell>
  39. <Cell col="4" displaytype="expr:utlf_isNull(filekey) ? &quot;normal&quot; : &quot;button&quot;" edittype="expr:utlf_isNull(filekey) ? &quot;none&quot; : &quot;button&quot;" text="expr:utlf_isNull(filekey) ? &quot;&quot; : &quot;미리보기&quot;"/>
  40. <Cell col="5" displaytype="expr:utlf_isNull(filekey) ? &quot;normal&quot; : &quot;button&quot;" edittype="expr:utlf_isNull(filekey) ? &quot;none&quot; : &quot;button&quot;" text="expr:utlf_isNull(filekey) ? &quot;&quot; : &quot;파일받기&quot;"/>
  41. </Band>
  42. </Format>
  43. </Formats>
  44. </Grid>
  45. <Static id="Static05" text="첨부파일" class="cell_1" position="absolute 0 102 69 177" style="padding:5 0 0 8;align:left top;" anchor="default"/>
  46. <Button id="btn_file_add" taborder="13" text="추가" class="btn5" position="absolute 5 127 54 147" anchor="default" onclick="div_detl_btn_file_add_onclick"/>
  47. <Button id="btn_file_del" taborder="14" text="삭제" onclick="btn_file_del_onclick" class="btn5" visible="true" position="absolute 5 151 54 171" anchor="default"/>
  48. <Static id="caption03" text="인공지능 분석결과" class="tit_2" position="absolute 0 182 183 199" anchor="left top"/>
  49. <Shape id="line01" class="line_10" position="absolute 0 198 688 204" anchor="left top right"/>
  50. <Static id="caption05" text="분석종류" class="cell_1" position="absolute 190 47 272 70" anchor="left top" style="padding:0 0 0 5;align:left middle;"/>
  51. <Combo id="cmb_formcd" taborder="16" innerdataset="@ds_init_gubun_AI002" codecolumn="cdid" datacolumn="cdnm" onitemchanged="Tab00_tabpage_trans_group1_cmb_orddeptcd_onitemchanged" class="combo_search" position="absolute 276 47 432 70" anchor="default"/>
  52. <Shape id="line04" class="line_1" position="absolute 0 70 688 76" anchor="left top right"/>
  53. <Static id="caption06" text="신청일자" class="cell_1" position="absolute 0 47 82 70" anchor="left top" style="padding:0 0 0 5;align:left middle;"/>
  54. <Calendar id="Calendar01" taborder="17" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 84 47 184 70" anchor="default"/>
  55. <Edit id="opt_age" taborder="18" readonly="true" autoselect="true" position="absolute 484 22 531 45" anchor="left top" style="align:left middle; :disabled {align:center middle;}"/>
  56. <Edit id="output1" taborder="19" readonly="true" autoselect="true" position="absolute 434 22 482 45" anchor="left top" style="align:left middle; :disabled {align:center middle;}"/>
  57. <Static id="caption08" text="성별/나이" class="cell_1" position="absolute 353 22 432 45" anchor="left top" style="padding:0 0 0 5;align:left middle;"/>
  58. <WebBrowser id="web_tableau" position="absolute 0 203 690 801" anchor="all" taborder="20" url="about:blank" useautobitmapcache="1"/>
  59. </Layout>
  60. </Layouts>
  61. </Div>
  62. <Button id="btn_save" taborder="2" text="저장" class="btn3" position="absolute 1150 4 1207 26" onclick="btn_save_onclick"/>
  63. <Static id="caption01" text="분석이력" class="tit_2" position="absolute 0 178 183 195" anchor="left top"/>
  64. <Shape id="line02" class="line_10" position="absolute 0 194 488 200"/>
  65. <Div id="group1" taborder="3" onkeydown="Tab00_tabpage_trans_group1_onkeydown" class="div_SA2" position="absolute 0 26 488 174">
  66. <Layouts>
  67. <Layout>
  68. <Calendar id="Calendar00" taborder="22" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" position="absolute 166 7 266 27" anchor="default"/>
  69. <Static id="Static00" text="~" position="absolute 272 7 286 27" anchor="default"/>
  70. <Calendar id="Calendar01" taborder="23" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 288 7 388 27" anchor="default"/>
  71. <Radio id="Radio00" taborder="24" codecolumn="codecolumn" datacolumn="datacolumn" direction="vertical" onitemchanged="Tab00_tabpage_trans_group1_Radio00_onitemchanged" position="absolute 188 74 423 94" anchor="top right" style="buttonsize:15;textpadding:0 5 0 3;itempadding:0 0 0 0;margin:0 0 0 0;padding:1 0 0 0;" onitemclick="group1_Radio00_onitemclick">
  72. <Dataset id="innerdataset">
  73. <ColumnInfo>
  74. <Column id="codecolumn" size="256"/>
  75. <Column id="datacolumn" size="256"/>
  76. </ColumnInfo>
  77. <Rows>
  78. <Row>
  79. <Col id="codecolumn"/>
  80. <Col id="datacolumn">전체</Col>
  81. </Row>
  82. <Row>
  83. <Col id="codecolumn">R</Col>
  84. <Col id="datacolumn">요청</Col>
  85. </Row>
  86. <Row>
  87. <Col id="codecolumn">P</Col>
  88. <Col id="datacolumn">진행중</Col>
  89. </Row>
  90. <Row>
  91. <Col id="codecolumn">E</Col>
  92. <Col id="datacolumn">완료</Col>
  93. </Row>
  94. </Rows>
  95. </Dataset>
  96. </Radio>
  97. <Button id="btn_search" taborder="25" text="조회" class="btn1" position="absolute 422 30 482 66" anchor="top right" onclick="group1_btn_search_onclick"/>
  98. <Static id="caption3" text="조회일자 :" class="search_name" position="absolute 5 8 92 28" anchor="default"/>
  99. <Combo id="combo5" taborder="26" value="A" text="작성일" codecolumn="codecolumn" datacolumn="datacolumn" index="0" onitemchanged="grp_sea_cmb_trgtmankind_onitemchanged" class="combo_search" position="absolute 84 7 164 27" style="align:center middle;" anchor="default">
  100. <Dataset id="innerdataset">
  101. <ColumnInfo>
  102. <Column id="codecolumn" size="256"/>
  103. <Column id="datacolumn" size="256"/>
  104. </ColumnInfo>
  105. <Rows>
  106. <Row>
  107. <Col id="codecolumn">A</Col>
  108. <Col id="datacolumn">작성일</Col>
  109. </Row>
  110. <Row>
  111. <Col id="codecolumn">B</Col>
  112. <Col id="datacolumn">완료일</Col>
  113. </Row>
  114. </Rows>
  115. </Dataset>
  116. </Combo>
  117. <Static id="caption5" text="등록번호 :" class="search_name" position="absolute 6 30 82 50" anchor="default"/>
  118. <Edit id="ipt_pid" taborder="27" autoselect="true" position="absolute 84 29 171 49" anchor="default"/>
  119. <Button id="btn_pat" taborder="28" onclick="Tab00_tabpage_trans_group1_btn_pat_onclick" class="icon_search" position="absolute 169 29 194 49" anchor="default"/>
  120. <Static id="caption2" text="환자명 : " class="search_name" position="absolute 239 30 310 50" anchor="default"/>
  121. <Edit id="ipt_hngnm" taborder="29" autoselect="true" position="absolute 300 29 387 49" anchor="default"/>
  122. <Static id="caption06" text="진료과 :" class="search_name" position="absolute 7 52 72 72" anchor="default"/>
  123. <Combo id="cmb_orddeptcd" taborder="30" innerdataset="ds_init_dept_dept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="Tab00_tabpage_trans_group1_cmb_orddeptcd_onitemchanged" class="combo_search" position="absolute 84 51 219 71" anchor="default"/>
  124. <Static id="caption9" text="진료의 : " class="search_name" position="absolute 239 52 312 72" anchor="default"/>
  125. <Combo id="cmb_orddrid" taborder="31" innerdataset="ds_init_trans_doct" codecolumn="doctid" datacolumn="doctnm" class="combo_search" position="absolute 300 51 387 71" anchor="default"/>
  126. <Shape id="line8" linetype="vertical" class="line_4" position="absolute 413 12 419 99" anchor="top right"/>
  127. <Static id="caption00" text="구분 : " class="search_name" position="absolute 7 74 76 94" anchor="default"/>
  128. <Combo id="cmb_formcd" taborder="32" innerdataset="ds_init_srcformcd_all" codecolumn="cdid" datacolumn="cdnm" onitemchanged="Tab00_tabpage_trans_group1_cmb_orddeptcd_onitemchanged" class="combo_search" position="absolute 84 73 188 93" anchor="default"/>
  129. </Layout>
  130. </Layouts>
  131. </Div>
  132. <Static id="cap_title" text="AI" class="tit_1" position="absolute 0 0 144 25"/>
  133. <Grid id="grd_list" taborder="4" useinputpanel="false" position="absolute 0 199 489 828" binddataset="ds_list" autofittype="col" oncellclick="grd_list_oncellclick" anchor="left top bottom">
  134. <Formats>
  135. <Format id="default">
  136. <Columns>
  137. <Column size="139"/>
  138. <Column size="80"/>
  139. <Column size="68"/>
  140. <Column size="80"/>
  141. <Column size="55"/>
  142. <Column size="65"/>
  143. </Columns>
  144. <Rows>
  145. <Row size="24" band="head"/>
  146. <Row size="24"/>
  147. </Rows>
  148. <Band id="head">
  149. <Cell text="구분"/>
  150. <Cell col="1" displaytype="normal" text="환자번호"/>
  151. <Cell col="2" displaytype="normal" text="환자명"/>
  152. <Cell col="3" displaytype="normal" text="신청일자"/>
  153. <Cell col="4" displaytype="normal" text="파일수"/>
  154. <Cell col="5" displaytype="normal" text="상태"/>
  155. </Band>
  156. <Band id="body">
  157. <Cell displaytype="combo" style="align:center;" text="bind:gubun" combodataset="ds_init_gubun_AI002" combocodecol="cdid" combodatacol="cdnm"/>
  158. <Cell col="1" displaytype="normal" style="align:center;" text="bind:pid"/>
  159. <Cell col="2" displaytype="normal" style="align:center;" text="bind:pnm"/>
  160. <Cell col="3" displaytype="date" style="align:center;" text="bind:reqdd"/>
  161. <Cell col="4" displaytype="normal" style="align:center;" text="bind:filecnt"/>
  162. <Cell col="5" displaytype="combo" style="align:center;" text="bind:status" combodataset="ds_init_status_AI001" combocodecol="cdid" combodatacol="cdnm"/>
  163. </Band>
  164. </Format>
  165. </Formats>
  166. </Grid>
  167. <Button id="btn_new" taborder="6" text="새요청" class="btn3" position="absolute 1082 4 1147 26" onclick="btn_new_onclick"/>
  168. <Div id="div_patinfo" taborder="7" position="absolute 1181 17 2002 493" anchor="top right" visible="false">
  169. <Layouts>
  170. <Layout>
  171. <Div id="div_patinfo_back" taborder="48" style="shadow:outer -5,5 10 gray;" position="absolute 34 0 807 464" anchor="default">
  172. <Layouts>
  173. <Layout/>
  174. </Layouts>
  175. </Div>
  176. <Button id="btn_close_light" taborder="51" text="확대보기(F2)" onclick="div_patinfo_btn_close_light_onclick" class="btn2" position="absolute 646 11 733 31" tooltiptext="환자리스트를 반만 닫습니다" hotkey="F2" anchor="default"/>
  177. <Button id="btn_close" taborder="52" text="닫기(F1)" onclick="div_patinfo_btn_close_onclick" class="btn2" position="absolute 735 11 799 31" tooltiptext="환자리스트 닫기" hotkey="F1" anchor="default"/>
  178. <Button id="btn_patinfo" taborder="53" text="환자입력 (F1, F2)" onclick="div_patinfo_btn_patinfo_onclick" class="btn_tab" position="absolute 11 151 146 175" tooltiptext="환자리스트 열고 닫기" hotkey="F1" style="glow:10 hotpink;transformation:0,0 [rotate -90];" anchor="default"/>
  179. <Div id="div_patlist" taborder="54" style="background:white;border:1 solid green ;" position="absolute 34 0 807 464" visible="true" anchor="default">
  180. <Layouts>
  181. <Layout>
  182. <Tab id="tabPatList" taborder="0" onchanged="div_patinfo_div_patlist_tabPatList_onchanged" tabindex="0" scrollbars="autoboth" position="absolute 8 8 763 454" style="buttonpadding:4 12 4 12;background:URL('theme://images/bg_tab_BodyTop.png') stretch 10,26;" anchor="default">
  183. <Tabpages>
  184. <Tabpage id="tab_out" text="외래">
  185. <Layouts>
  186. <Layout>
  187. <Div id="div_search_out" taborder="22" class="div_SA2" position="absolute 0 0 755 66" anchor="default">
  188. <Layouts>
  189. <Layout>
  190. <Static id="Static00" text="진료일자 :" class="search_name" position="absolute 10 10 83 30" anchor="default"/>
  191. <Calendar id="cal_orddd" taborder="67" autoselect="true" position="absolute 87 10 188 30" anchor="default"/>
  192. <Static id="Static01" text="진료과 :" class="search_name" position="absolute 249 10 309 30" anchor="default"/>
  193. <Combo id="cmb_dept" taborder="68" innerdataset="@ds_init_dept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_cmb_dept_onitemchanged" position="absolute 314 10 470 30" anchor="default"/>
  194. <Static id="Static02" text="진료의사 :" class="search_name" position="absolute 10 36 82 56" anchor="default"/>
  195. <Combo id="cmb_orddr" taborder="69" innerdataset="ds_init_cmb_orddr" codecolumn="userid" datacolumn="userdepthngnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_cmb_orddr_onitemchanged" position="absolute 87 36 283 56" anchor="default"/>
  196. <Radio id="Radio00" taborder="70" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_Radio00_onitemchanged" position="absolute 288 37 537 57" style="textpadding:0 5 0 3;" anchor="default">
  197. <Dataset id="innerdataset">
  198. <ColumnInfo>
  199. <Column id="codecolumn" size="256"/>
  200. <Column id="datacolumn" size="256"/>
  201. </ColumnInfo>
  202. <Rows>
  203. <Row>
  204. <Col id="codecolumn">A</Col>
  205. <Col id="datacolumn">진료일정의사</Col>
  206. </Row>
  207. <Row>
  208. <Col id="codecolumn">Y</Col>
  209. <Col id="datacolumn">진료의전체</Col>
  210. </Row>
  211. <Row>
  212. <Col id="codecolumn">R</Col>
  213. <Col id="datacolumn">퇴직의사</Col>
  214. </Row>
  215. </Rows>
  216. </Dataset>
  217. </Radio>
  218. <Radio id="Radio01" taborder="71" columncount="0" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" direction="vertical" position="absolute 551 37 684 57" style="textpadding:0 2 0 3;" anchor="default">
  219. <Dataset id="innerdataset">
  220. <ColumnInfo>
  221. <Column id="codecolumn" size="256"/>
  222. <Column id="datacolumn" size="256"/>
  223. </ColumnInfo>
  224. <Rows>
  225. <Row>
  226. <Col id="codecolumn">A</Col>
  227. <Col id="datacolumn">오전</Col>
  228. </Row>
  229. <Row>
  230. <Col id="codecolumn">P</Col>
  231. <Col id="datacolumn">오후</Col>
  232. </Row>
  233. <Row>
  234. <Col id="codecolumn">D</Col>
  235. <Col id="datacolumn">전일</Col>
  236. </Row>
  237. </Rows>
  238. </Dataset>
  239. </Radio>
  240. <Button id="btn_search" taborder="72" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_btn_search_onclick" class="btn1" position="absolute 694 22 746 42" anchor="default"/>
  241. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 687 22 693 42" anchor="top right"/>
  242. </Layout>
  243. </Layouts>
  244. </Div>
  245. <Grid id="grd_patlist_out" taborder="23" binddataset="ds_grd_opatmngt" useinputpanel="false" selecttype="multirow" cellsizingtype="col" autofittype="col" onlbuttonup="grd_patlist_onlbuttonup" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_out_grd_patlist_out_oncelldblclick" position="absolute 0 67 755 419" anchor="default">
  246. <Formats>
  247. <Format id="default">
  248. <Columns>
  249. <Column size="30"/>
  250. <Column size="60"/>
  251. <Column size="60"/>
  252. <Column size="60"/>
  253. <Column size="40"/>
  254. <Column size="40"/>
  255. <Column size="40"/>
  256. <Column size="60"/>
  257. <Column size="200"/>
  258. <Column size="100"/>
  259. </Columns>
  260. <Rows>
  261. <Row size="24" band="head"/>
  262. <Row size="24"/>
  263. </Rows>
  264. <Band id="head">
  265. <Cell/>
  266. <Cell col="1" text="예약시간"/>
  267. <Cell col="2" text="환자번호"/>
  268. <Cell col="3" text="환자명"/>
  269. <Cell col="4" text="S/A"/>
  270. <Cell col="5" text="초/재"/>
  271. <Cell col="6" text="수납"/>
  272. <Cell col="7" text="예약구분"/>
  273. <Cell col="8" text="Remark"/>
  274. <Cell col="9" text="휴대전화번호"/>
  275. </Band>
  276. <Band id="body">
  277. <Cell celltype="head" text="expr:currow + 1"/>
  278. <Cell col="1" text="bind:ordtm" mask="##:##"/>
  279. <Cell col="2" text="bind:pid"/>
  280. <Cell col="3" text="bind:hngnm"/>
  281. <Cell col="4" text="bind:sexage"/>
  282. <Cell col="5" text="bind:fsexamflag"/>
  283. <Cell col="6" text="bind:calcyn"/>
  284. <Cell col="7" text="bind:rsrvflag"/>
  285. <Cell col="8" displaytype="text" style="padding:1 2 1 4;" text="bind:remfact"/>
  286. <Cell col="9" text="bind:mpphontel"/>
  287. </Band>
  288. </Format>
  289. </Formats>
  290. </Grid>
  291. </Layout>
  292. </Layouts>
  293. </Tabpage>
  294. <Tabpage id="tab_in" text="입원">
  295. <Layouts>
  296. <Layout>
  297. <Div id="div_search_in" taborder="30" class="div_SA2" position="absolute 0 0 755 66" anchor="default">
  298. <Layouts>
  299. <Layout>
  300. <Calendar id="cal_workdd" taborder="70" autoselect="true" position="absolute 87 10 188 30" anchor="default"/>
  301. <Static id="Static00" text="업무일자 :" class="search_name" position="absolute 10 10 83 30" anchor="default"/>
  302. <Static id="Static01" text="병동 :" class="search_name" position="absolute 254 10 301 30" anchor="default"/>
  303. <Combo id="cmb_ward" taborder="71" innerdataset="ds_init_ward" codecolumn="wardcd" datacolumn="wardnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_cmb_ward_onitemchanged" position="absolute 317 10 417 30" anchor="default"/>
  304. <Static id="Static02" text="진료과 :" class="search_name" position="absolute 10 36 70 56" anchor="default"/>
  305. <Combo id="cmd_dept" taborder="72" innerdataset="ds_init_dept" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_cmd_dept_onitemchanged" position="absolute 87 36 235 56" anchor="default"/>
  306. <Static id="Static03" text="전문의 :" class="search_name" position="absolute 254 36 314 56" anchor="default"/>
  307. <Combo id="cmd_orddr" taborder="73" innerdataset="ds_init_orddr" codecolumn="userid" datacolumn="usernm" position="absolute 317 36 393 56" anchor="default"/>
  308. <Button id="btn_search" taborder="74" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_btn_search_onclick" class="btn1" position="absolute 682 22 734 42" anchor="default"/>
  309. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 666 22 672 42" anchor="top right"/>
  310. <CheckBox id="chk_in_schedule" taborder="75" text="입원예정자조회" value="N" truevalue="Y" falsevalue="N" onclick="div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_chk_in_schedule_onclick" position="absolute 551 23 659 43" anchor="default"/>
  311. </Layout>
  312. </Layouts>
  313. </Div>
  314. <Grid id="grd_patlist_in" taborder="31" binddataset="ds_grd_ipatmngt" useinputpanel="false" selecttype="multirow" cellsizingtype="col" autofittype="col" cellclickbound="cell" onlbuttonup="grd_patlist_onlbuttonup" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_in_oncelldblclick" position="absolute 0 67 755 419" anchor="default">
  315. <Formats>
  316. <Format id="default">
  317. <Columns>
  318. <Column size="24"/>
  319. <Column size="24"/>
  320. <Column size="40"/>
  321. <Column size="60"/>
  322. <Column size="80"/>
  323. <Column size="26"/>
  324. <Column size="26"/>
  325. <Column size="92"/>
  326. <Column size="38"/>
  327. <Column size="140"/>
  328. <Column size="58"/>
  329. <Column size="100"/>
  330. </Columns>
  331. <Rows>
  332. <Row size="24" band="head"/>
  333. <Row size="24"/>
  334. </Rows>
  335. <Band id="head">
  336. <Cell/>
  337. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  338. <Cell col="2" text="병실"/>
  339. <Cell col="3" text="등록번호"/>
  340. <Cell col="4" text="입원일자"/>
  341. <Cell col="5" colspan="2" text="재원상태" taborder="undefined"/>
  342. <Cell col="7" text="환자명"/>
  343. <Cell col="8" text="S/A"/>
  344. <Cell col="9" text="진료과"/>
  345. <Cell col="10" text="전문의"/>
  346. <Cell col="11" text="휴대전화번호"/>
  347. </Band>
  348. <Band id="body">
  349. <Cell celltype="head" text="expr:currow + 1"/>
  350. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
  351. <Cell col="2" text="bind:roomcd"/>
  352. <Cell col="3" text="bind:pid"/>
  353. <Cell col="4" displaytype="date" text="bind:indd"/>
  354. <Cell col="5" style="line:1 solid #b0b0b0ff,0 solid #b0b0b0ff,1 solid #b0b0b0ff,1 solid #b0b0b0ff;" text="bind:chngroomstat"/>
  355. <Cell col="6" text="bind:indschstat"/>
  356. <Cell col="7" text="bind:hngnm"/>
  357. <Cell col="8" text="bind:sexage"/>
  358. <Cell col="9" displaytype="text" style="padding:0 0 0 4;" text="bind:orddeptnm"/>
  359. <Cell col="10" displaytype="combo" style="align:center middle;" text="bind:orddrid" combodataset="ds_init_orddr_all" combocodecol="userid" combodatacol="usernm"/>
  360. <Cell col="11" text="bind:mpphontel" mask="expr:fGetPhoneNumMask(mpphontel)"/>
  361. </Band>
  362. </Format>
  363. </Formats>
  364. </Grid>
  365. <Grid id="grd_patlist_insche" taborder="32" binddataset="ds_grd_inreqhistlist" useinputpanel="false" selecttype="multirow" cellsizingtype="col" onlbuttonup="div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_insche_onlbuttonup" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_insche_oncelldblclick" visible="false" position="absolute 0 67 755 419" anchor="default">
  366. <Formats>
  367. <Format id="default">
  368. <Columns>
  369. <Column size="24" band="left"/>
  370. <Column size="40" band="left"/>
  371. <Column size="50" band="left"/>
  372. <Column size="60" band="left"/>
  373. <Column size="50" band="left"/>
  374. <Column size="40"/>
  375. <Column size="100"/>
  376. <Column size="70"/>
  377. <Column size="100"/>
  378. <Column size="50"/>
  379. <Column size="90"/>
  380. <Column size="60"/>
  381. <Column size="110"/>
  382. <Column size="24"/>
  383. <Column size="170"/>
  384. <Column size="70"/>
  385. <Column size="152"/>
  386. <Column size="160"/>
  387. <Column size="70"/>
  388. <Column size="40"/>
  389. <Column size="50"/>
  390. <Column size="160"/>
  391. </Columns>
  392. <Rows>
  393. <Row size="24" band="head"/>
  394. <Row size="24"/>
  395. </Rows>
  396. <Band id="head">
  397. <Cell/>
  398. <Cell col="1" text="종류"/>
  399. <Cell col="2" text="입원상태"/>
  400. <Cell col="3" text="환자번호"/>
  401. <Cell col="4" text="성명"/>
  402. <Cell col="5" text="S/A"/>
  403. <Cell col="6" text="결정일시"/>
  404. <Cell col="7" text="입원예정일"/>
  405. <Cell col="8" text="진료과"/>
  406. <Cell col="9" text="전문의"/>
  407. <Cell col="10" text="휴대전화번호"/>
  408. <Cell col="11" text="협진팀명"/>
  409. <Cell col="12" text="입원경로"/>
  410. <Cell col="13" text="CP"/>
  411. <Cell col="14" text="진단명"/>
  412. <Cell col="15" text="수술예정일"/>
  413. <Cell col="16" text="수술명"/>
  414. <Cell col="17" text="의료진참고사항"/>
  415. <Cell col="18" text="병동"/>
  416. <Cell col="19" text="병실"/>
  417. <Cell col="20" text="병상"/>
  418. <Cell col="21" text="원무참고사항"/>
  419. </Band>
  420. <Band id="body">
  421. <Cell celltype="head" text="expr:currow + 1"/>
  422. <Cell col="1" text="bind:inrsrvstat"/>
  423. <Cell col="2" text="bind:inflag"/>
  424. <Cell col="3" text="bind:pid"/>
  425. <Cell col="4" text="bind:dispnm2"/>
  426. <Cell col="5" text="bind:sa"/>
  427. <Cell col="6" text="bind:assgdt" mask="expr:utlf_isNull(assgdt) ? &quot;&quot; : &quot;####-##-## ##:##&quot;"/>
  428. <Cell col="7" displaytype="date" text="bind:inrsrvacptdd"/>
  429. <Cell col="8" text="bind:orddeptcd"/>
  430. <Cell col="9" text="bind:usernm"/>
  431. <Cell col="10" text="bind:mpphontel"/>
  432. <Cell col="11" text="bind:coopteam"/>
  433. <Cell col="12" text="bind:erreglyn"/>
  434. <Cell col="13" text="bind:cpyn"/>
  435. <Cell col="14" displaytype="text" text="bind:termengnm"/>
  436. <Cell col="15" text="bind:scheopdd"/>
  437. <Cell col="16" text="bind:opengnm"/>
  438. <Cell col="17" displaytype="text" text="bind:drrem"/>
  439. <Cell col="18" text="bind:assgwardnm"/>
  440. <Cell col="19" text="bind:assgroom"/>
  441. <Cell col="20" text="bind:assgbednm"/>
  442. <Cell col="21" displaytype="text" text="bind:inrsrvrem"/>
  443. </Band>
  444. </Format>
  445. </Formats>
  446. </Grid>
  447. </Layout>
  448. </Layouts>
  449. </Tabpage>
  450. <Tabpage id="tab_search" text="검색">
  451. <Layouts>
  452. <Layout>
  453. <Div id="div_search" taborder="12" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_onkeydown" class="div_SA2" position="absolute 0 0 755 38" anchor="default">
  454. <Layouts>
  455. <Layout>
  456. <Static id="Static00" text="검색조건" class="search_name" position="absolute 12 9 76 29" anchor="default"/>
  457. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 666 8 672 28" anchor="top right"/>
  458. <Button id="btn_search" taborder="36" text="조회" onclick="div_patinfo_div_patlist_tabPatList_tab_search_div_search_btn_search_onclick" class="btn1" position="absolute 682 8 734 28" anchor="default"/>
  459. <Edit id="edt_hngnm" taborder="37" imemode="hangul" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_hngnm_onkeydown" visible="false" position="absolute 284 8 368 28" anchor="default"/>
  460. <Edit id="edt_rrgstno1" taborder="38" inputtype="number,digit" maxlength="6" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_rrgstno1_onkeydown" visible="false" position="absolute 372 8 472 28" anchor="default"/>
  461. <Edit id="edt_rrgstno2" taborder="39" maxlength="7" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_rrgstno2_onkeydown" visible="false" position="absolute 474 8 574 28" anchor="default"/>
  462. <Edit id="edt_pid" taborder="40" autoselect="true" onkeydown="div_patinfo_div_patlist_tabPatList_tab_search_div_search_edt_pid_onkeydown" position="absolute 284 8 368 28" anchor="default"/>
  463. <Radio id="rdo_searchcond" taborder="41" columncount="-1" rowcount="-1" index="0" codecolumn="codecolumn" datacolumn="datacolumn" value="1" onitemchanged="div_patinfo_div_patlist_tabPatList_tab_search_div_search_rdo_searchcond_onitemchanged" position="absolute 84 9 278 29" style="textpadding:0 8 0 3;" anchor="default">
  464. <Dataset id="innerdataset">
  465. <ColumnInfo>
  466. <Column id="codecolumn" size="256"/>
  467. <Column id="datacolumn" size="256"/>
  468. </ColumnInfo>
  469. <Rows>
  470. <Row>
  471. <Col id="codecolumn">1</Col>
  472. <Col id="datacolumn">환자번호</Col>
  473. </Row>
  474. <Row>
  475. <Col id="codecolumn">4</Col>
  476. <Col id="datacolumn">환자명/주민번호</Col>
  477. </Row>
  478. </Rows>
  479. </Dataset>
  480. </Radio>
  481. </Layout>
  482. </Layouts>
  483. </Div>
  484. <Grid id="grd_pat_search" taborder="13" binddataset="ds_patinfolist" useinputpanel="false" cellsizingtype="col" autofittype="col" onlbuttonup="div_patinfo_div_patlist_tabPatList_tab_search_grd_pat_search_onlbuttonup" oncelldblclick="div_patinfo_div_patlist_tabPatList_tab_search_grd_pat_search_oncelldblclick" position="absolute 0 39 755 419" anchor="default">
  485. <Formats>
  486. <Format id="default">
  487. <Columns>
  488. <Column size="24"/>
  489. <Column size="24"/>
  490. <Column size="60"/>
  491. <Column size="60"/>
  492. <Column size="30"/>
  493. <Column size="30"/>
  494. <Column size="80"/>
  495. <Column size="90"/>
  496. <Column size="90"/>
  497. <Column size="167"/>
  498. <Column size="100"/>
  499. </Columns>
  500. <Rows>
  501. <Row size="24" band="head"/>
  502. <Row size="24"/>
  503. </Rows>
  504. <Band id="head">
  505. <Cell/>
  506. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
  507. <Cell col="2" text="환자번호"/>
  508. <Cell col="3" text="환자명"/>
  509. <Cell col="4" text="성별" taborder="undefined"/>
  510. <Cell col="5" text="나이" taborder="undefined"/>
  511. <Cell col="6" text="생년월일"/>
  512. <Cell col="7" text="휴대전화번호"/>
  513. <Cell col="8" text="연락처"/>
  514. <Cell col="9" text="주소"/>
  515. <Cell col="10" text="상세주소"/>
  516. </Band>
  517. <Band id="body">
  518. <Cell celltype="head" text="expr:currow + 1"/>
  519. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:acptyn"/>
  520. <Cell col="2" text="bind:pid"/>
  521. <Cell col="3" text="bind:hngnm"/>
  522. <Cell col="4" text="bind:sex"/>
  523. <Cell col="5" text="bind:age"/>
  524. <Cell col="6" text="bind:rrgstno1"/>
  525. <Cell col="7" text="bind:mpphontel"/>
  526. <Cell col="8" text="bind:hometel"/>
  527. <Cell col="9" displaytype="text" text="bind:addr"/>
  528. <Cell col="10" displaytype="text" text="bind:detladdr"/>
  529. </Band>
  530. </Format>
  531. </Formats>
  532. </Grid>
  533. </Layout>
  534. </Layouts>
  535. </Tabpage>
  536. </Tabpages>
  537. </Tab>
  538. </Layout>
  539. </Layouts>
  540. </Div>
  541. </Layout>
  542. </Layouts>
  543. </Div>
  544. </Layout>
  545. </Layouts>
  546. <Objects>
  547. <Dataset id="ds_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  548. <ColumnInfo>
  549. <Column id="gubun" type="STRING" size="256"/>
  550. <Column id="pid" type="STRING" size="256"/>
  551. <Column id="pnm" type="STRING" size="256"/>
  552. <Column id="seqno" type="STRING" size="256"/>
  553. <Column id="reqdd" type="STRING" size="256"/>
  554. <Column id="filecnt" type="STRING" size="256"/>
  555. <Column id="status" type="STRING" size="256"/>
  556. </ColumnInfo>
  557. </Dataset>
  558. <Dataset id="ds_send_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  559. <ColumnInfo>
  560. <Column id="fromdd" type="STRING" size="256"/>
  561. <Column id="todd" type="STRING" size="256"/>
  562. </ColumnInfo>
  563. <Rows>
  564. <Row/>
  565. </Rows>
  566. </Dataset>
  567. <PropertyAnimation id="pa_patinfo_move" endingmode="to" repeat="1" repeattype="normal" duration="300" starttime="0" targetcomp="div_patinfo" targetprop="position.x" interpolation="Interpolation.curve4InOut"/>
  568. <Dataset id="ds_grd_opatmngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  569. <ColumnInfo>
  570. <Column id="acptyn" type="STRING" size="256" sumtext="접수구분"/>
  571. <Column id="prcsflag" type="STRING" size="256" sumtext="진행상태구분"/>
  572. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  573. <Column id="ordtm" type="STRING" size="256" sumtext="예약일시"/>
  574. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  575. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  576. <Column id="sexage" type="STRING" size="256" sumtext="S/A"/>
  577. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
  578. <Column id="fsexamflag" type="STRING" size="256" sumtext="초/재"/>
  579. <Column id="calcyn" type="STRING" size="256" sumtext="수납"/>
  580. <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
  581. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  582. <Column id="nryn" type="STRING" size="256" sumtext="보험유형"/>
  583. <Column id="telrsrvrem" type="STRING" size="256" sumtext="Remark"/>
  584. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  585. <Column id="orddrid" type="STRING" size="256" sumtext="진료의사"/>
  586. <Column id="fstacptdd" type="STRING" size="256" sumtext="최초접수일"/>
  587. <Column id="nursacptyn" type="STRING" size="256" sumtext="간호사접수여부"/>
  588. <Column id="dracptyn" type="STRING" size="256" sumtext="의사접수여부"/>
  589. <Column id="prcpgenryn" type="STRING" size="256" sumtext="처방발행여부"/>
  590. <Column id="elbulbodstat" type="STRING" size="256" sumtext="전광판상태여부"/>
  591. <Column id="ordtype" type="STRING" size="256" sumtext="외래/입원구분"/>
  592. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  593. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  594. <Column id="acptseqno" type="STRING" size="256" sumtext="등록일련번호"/>
  595. <Column id="orgorddd" type="STRING" size="256" sumtext="원진료일자"/>
  596. <Column id="smsyn" type="STRING" size="256" sumtext="전송여부"/>
  597. <Column id="cntctel" type="STRING" size="256" sumtext="부서전화번호"/>
  598. <Column id="remfact" type="STRING" size="256" sumtext="진료예약Remark"/>
  599. </ColumnInfo>
  600. </Dataset>
  601. <Dataset id="ds_send_out" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  602. <ColumnInfo>
  603. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  604. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
  605. <Column id="orddrid" type="STRING" size="256" sumtext="진료의사ID"/>
  606. <Column id="ampmflag" type="STRING" size="256" sumtext="오전오후"/>
  607. <Column id="ordclsdeptflag" type="STRING" size="256" sumtext="진료과구분"/>
  608. <Column id="supdeptcd" type="STRING" size="256" sumtext="상위진료과코드"/>
  609. <Column id="prcpspecflag" type="STRING" size="256" sumtext="진료의구분"/>
  610. </ColumnInfo>
  611. <Rows>
  612. <Row>
  613. <Col id="ampmflag">D</Col>
  614. <Col id="prcpspecflag">A</Col>
  615. </Row>
  616. </Rows>
  617. </Dataset>
  618. <Dataset id="ds_send_in" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  619. <ColumnInfo>
  620. <Column id="instcd" type="STRING" size="256"/>
  621. <Column id="orddd" type="STRING" size="256"/>
  622. <Column id="wardcd" type="STRING" size="256"/>
  623. <Column id="orddeptcd" type="STRING" size="256"/>
  624. <Column id="orddrid" type="STRING" size="256"/>
  625. </ColumnInfo>
  626. <Rows>
  627. <Row>
  628. <Col id="orddd"/>
  629. <Col id="wardcd"/>
  630. <Col id="orddeptcd"/>
  631. <Col id="orddrid"/>
  632. </Row>
  633. </Rows>
  634. </Dataset>
  635. <Dataset id="ds_grd_ipatmngt" enableevent="true" updatecontrol="true">
  636. <ColumnInfo>
  637. <Column id="acptyn" type="STRING" size="0"/>
  638. <Column id="pid" type="STRING" size="256"/>
  639. <Column id="hngnm" type="STRING" size="256"/>
  640. <Column id="sexage" type="STRING" size="256"/>
  641. <Column id="indd" type="STRING" size="256"/>
  642. <Column id="cretno" type="STRING" size="256"/>
  643. <Column id="smsyn" type="STRING" size="256"/>
  644. <Column id="mpphontel" type="STRING" size="256"/>
  645. <Column id="chngroomstat" type="STRING" size="256"/>
  646. <Column id="indschstat" type="STRING" size="256"/>
  647. <Column id="usernm" type="STRING" size="256"/>
  648. <Column id="prcpdt" type="STRING" size="256"/>
  649. <Column id="wardcd" type="STRING" size="256"/>
  650. <Column id="roomcd" type="STRING" size="256"/>
  651. <Column id="cntctel" type="STRING" size="256"/>
  652. <Column id="orddeptnm" type="STRING" size="256"/>
  653. <Column id="orddrid" type="STRING" size="256"/>
  654. </ColumnInfo>
  655. </Dataset>
  656. <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  657. <Dataset id="ds_init_status_AI001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  658. <Dataset id="ds_init_gubun_AI002" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  659. <Dataset id="ds_detl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  660. <ColumnInfo>
  661. <Column id="m" type="STRING" size="256"/>
  662. <Column id="gubun" type="STRING" size="256"/>
  663. <Column id="pid" type="STRING" size="256"/>
  664. <Column id="pnm" type="STRING" size="256"/>
  665. <Column id="gender" type="STRING" size="256"/>
  666. <Column id="age" type="STRING" size="256"/>
  667. <Column id="seqno" type="STRING" size="256"/>
  668. <Column id="reqdd" type="STRING" size="256"/>
  669. <Column id="status" type="STRING" size="256"/>
  670. </ColumnInfo>
  671. </Dataset>
  672. <Dataset id="ds_temp_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  673. <ColumnInfo>
  674. <Column id="filekey" type="STRING" size="256"/>
  675. <Column id="fileseq" type="STRING" size="256"/>
  676. <Column id="filename" type="STRING" size="256" sumtext="파일명"/>
  677. <Column id="filepath" type="STRING" size="256" sumtext="파일서버경로"/>
  678. <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
  679. <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
  680. <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
  681. </ColumnInfo>
  682. <Rows>
  683. <Row/>
  684. </Rows>
  685. </Dataset>
  686. <Dataset id="ds_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  687. <ColumnInfo>
  688. <Column id="filekey" type="STRING" size="256"/>
  689. <Column id="fileseq" type="STRING" size="256"/>
  690. <Column id="filename" type="STRING" size="256" sumtext="파일명"/>
  691. <Column id="filepath" type="STRING" size="256" sumtext="파일서버경로"/>
  692. <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
  693. <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
  694. <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
  695. </ColumnInfo>
  696. </Dataset>
  697. <Dataset id="ds_send_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  698. <ColumnInfo>
  699. <Column id="srchcond" type="STRING" size="256"/>
  700. <Column id="pid" type="STRING" size="256"/>
  701. <Column id="hngnm" type="STRING" size="256"/>
  702. <Column id="rrgstno1" type="STRING" size="256"/>
  703. <Column id="rrgstno2" type="STRING" size="256"/>
  704. </ColumnInfo>
  705. <Rows>
  706. <Row>
  707. <Col id="srchcond">1</Col>
  708. </Row>
  709. </Rows>
  710. </Dataset>
  711. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  712. <ColumnInfo>
  713. <Column id="acptyn" type="STRING" size="256"/>
  714. <Column id="pid" type="STRING" size="256" sumtext="환자등록번호"/>
  715. <Column id="bindyn" type="STRING" size="256" sumtext="환자등록번호"/>
  716. <Column id="hngnm" type="STRING" size="256" sumtext="한글이름"/>
  717. <Column id="hngnm2" type="STRING" size="256" sumtext="표시이름"/>
  718. <Column id="engnm" type="STRING" size="256" sumtext="영문이름"/>
  719. <Column id="chinm" type="STRING" size="256" sumtext="영문이름"/>
  720. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호앞6자리"/>
  721. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호뒤7자리"/>
  722. <Column id="rrgstno3" type="STRING" size="256" sumtext="주민번호뒤4자리와별표3자리"/>
  723. <Column id="lastinsukind" type="STRING" size="256" sumtext="최근보험유형"/>
  724. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  725. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  726. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  727. <Column id="bindpid" type="STRING" size="256" sumtext="합본등록번호"/>
  728. <Column id="hometel" type="STRING" size="256" sumtext="집전화번호"/>
  729. <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화번호"/>
  730. <Column id="etctel1" type="STRING" size="256" sumtext="기타전화번호1"/>
  731. <Column id="etctel2" type="STRING" size="256" sumtext="기타전화번호2"/>
  732. <Column id="smsaprvyn" type="STRING" size="256" sumtext="SMS전송 승인 여부"/>
  733. <Column id="email" type="STRING" size="256" sumtext="이메일 게정"/>
  734. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호 앞 3자리"/>
  735. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호 뒤 3자리"/>
  736. <Column id="zipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
  737. <Column id="addr" type="STRING" size="256" sumtext="기본주소"/>
  738. <Column id="detladdr" type="STRING" size="256" sumtext="상세주소"/>
  739. <Column id="btype" type="STRING" size="256" sumtext="혈액형"/>
  740. <Column id="rh" type="STRING" size="256" sumtext="RH혈액형"/>
  741. <Column id="forgeryn" type="STRING" size="256" sumtext="외국인여부"/>
  742. <Column id="nati" type="STRING" size="256" sumtext="국적"/>
  743. <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
  744. <Column id="recmyn" type="STRING" size="256" sumtext="추천여부"/>
  745. <Column id="recmerid" type="STRING" size="256" sumtext="추천인ID"/>
  746. <Column id="recmernm" type="STRING" size="256" sumtext="추천인명"/>
  747. <Column id="recmerrela" type="STRING" size="256" sumtext="추천인과의 관계"/>
  748. <Column id="vipyn" type="STRING" size="256" sumtext="VIP여부"/>
  749. <Column id="viprem" type="STRING" size="256" sumtext="VIP비고"/>
  750. <Column id="religncd" type="STRING" size="256" sumtext="종교코드"/>
  751. <Column id="baptnm" type="STRING" size="256" sumtext="세례명"/>
  752. <Column id="chchnm" type="STRING" size="256" sumtext="성당명"/>
  753. <Column id="dethyn" type="STRING" size="256" sumtext="사망여부"/>
  754. <Column id="dethdt" type="STRING" size="256" sumtext="사망일시"/>
  755. <Column id="dethdd" type="STRING" size="256" sumtext="사망일자"/>
  756. <Column id="dethtm" type="STRING" size="256" sumtext="사망시간"/>
  757. <Column id="chosresn" type="STRING" size="256" sumtext="내원사유"/>
  758. <Column id="animyn" type="STRING" size="256" sumtext="동물여부"/>
  759. <Column id="exptresncd" type="STRING" size="256" sumtext="원외예외사유코드"/>
  760. <Column id="inhospyn" type="STRING" size="256" sumtext="재원여부"/>
  761. <Column id="handicapryn" type="STRING" size="256" sumtext="장애인여부"/>
  762. <Column id="pidflag" type="STRING" size="256" sumtext="등록번호구분"/>
  763. <Column id="remfact" type="STRING" size="256" sumtext="참고사항"/>
  764. <Column id="ptunyn" type="STRING" size="256" sumtext="미수안내"/>
  765. <Column id="lastorddd" type="STRING" size="256" sumtext="최근내원일"/>
  766. <Column id="lastorddeptcd" type="STRING" size="256" sumtext="최근내원과"/>
  767. <Column id="outuncoamt" type="STRING" size="256" sumtext="외래미수금"/>
  768. <Column id="dschuncoamt" type="STRING" size="256" sumtext="입원미수금"/>
  769. <Column id="kioskrcptnoyn" type="STRING" size="256" sumtext="무인수납불가여부"/>
  770. <Column id="carnum" type="STRING" size="256" sumtext="차량번호"/>
  771. <Column id="acptdd" type="STRING" size="256" sumtext="가예약 접수일자"/>
  772. <Column id="acptno" type="STRING" size="256" sumtext="가예약 접수일련번호"/>
  773. <Column id="patspcfyn" type="STRING" size="256" sumtext="특이환자여부"/>
  774. <Column id="tdaydsch" type="STRING" size="256" sumtext="특이환자여부"/>
  775. <Column id="mig" type="STRING" size="256" sumtext="마이그레이션여부"/>
  776. <Column id="scanyn" type="STRING" size="256" sumtext="동의서출력여부"/>
  777. <Column id="spifscanyn" type="STRING" size="256" sumtext="선택진료신청서스캔여부"/>
  778. <Column id="isolinfo" type="STRING" size="256" sumtext="격리환자정보"/>
  779. <Column id="builno" type="STRING" size="256" sumtext="도로명주소 코드"/>
  780. </ColumnInfo>
  781. </Dataset>
  782. <Dataset id="ds_save_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  783. <ColumnInfo>
  784. <Column id="filekey" type="STRING" size="256"/>
  785. <Column id="fileseq" type="STRING" size="256"/>
  786. <Column id="filename" type="STRING" size="256" sumtext="파일명"/>
  787. <Column id="filepath" type="STRING" size="256" sumtext="파일서버경로"/>
  788. <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
  789. <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
  790. <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
  791. </ColumnInfo>
  792. </Dataset>
  793. <Dataset id="ds_delete_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  794. <ColumnInfo>
  795. <Column id="filekey" type="STRING" size="256"/>
  796. <Column id="fileseq" type="STRING" size="256"/>
  797. <Column id="filename" type="STRING" size="256" sumtext="파일명"/>
  798. <Column id="filepath" type="STRING" size="256" sumtext="파일서버경로"/>
  799. <Column id="filesize" type="STRING" size="256" sumtext="파일크기"/>
  800. <Column id="filetype" type="STRING" size="256" sumtext="파일종류"/>
  801. <Column id="filedata" type="BLOB" size="256" sumtext="파일데이터"/>
  802. </ColumnInfo>
  803. </Dataset>
  804. <Dataset id="ds_send_detl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  805. <ColumnInfo>
  806. <Column id="gubun" type="STRING" size="256"/>
  807. <Column id="pid" type="STRING" size="256"/>
  808. <Column id="seqno" type="STRING" size="256"/>
  809. </ColumnInfo>
  810. <Rows>
  811. <Row/>
  812. </Rows>
  813. </Dataset>
  814. <Dataset id="ds_tableauinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  815. <ColumnInfo>
  816. <Column id="tableauURL" type="STRING" size="256"/>
  817. </ColumnInfo>
  818. </Dataset>
  819. <Dataset id="ds_send_tableau" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  820. <ColumnInfo>
  821. <Column id="clientip" type="STRING" size="256"/>
  822. <Column id="scrncd" type="STRING" size="256"/>
  823. </ColumnInfo>
  824. <Rows>
  825. <Row/>
  826. </Rows>
  827. </Dataset>
  828. </Objects>
  829. <Bind>
  830. <BindItem id="item9" compid="div_detl.output1" propid="value" datasetid="ds_detl" columnid="gender"/>
  831. <BindItem id="item10" compid="div_detl.opt_age" propid="value" datasetid="ds_detl" columnid="age"/>
  832. <BindItem id="item7" compid="div_detl.opt_pid" propid="value" datasetid="ds_detl" columnid="pid"/>
  833. <BindItem id="item8" compid="div_detl.opt_hngnm" propid="value" datasetid="ds_detl" columnid="pnm"/>
  834. <BindItem id="item14" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cmb_orddr" propid="value" datasetid="ds_send_out" columnid="orddeptcd"/>
  835. <BindItem id="item17" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cmb_dept" propid="value" datasetid="ds_send_out" columnid="orddeptcd"/>
  836. <BindItem id="item13" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_dept" propid="value" datasetid="ds_send_in" columnid="orddeptcd"/>
  837. <BindItem id="item6" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmd_orddr" propid="value" datasetid="ds_send_in" columnid="orddrid"/>
  838. <BindItem id="item11" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cal_workdd" propid="value" datasetid="ds_send_in" columnid="orddd"/>
  839. <BindItem id="item4" compid="div_patinfo.div_patlist.tabPatList.tab_in.div_search_in.cmb_ward" propid="value" datasetid="ds_send_in" columnid="wardcd"/>
  840. <BindItem id="item5" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.cal_orddd" propid="value" datasetid="ds_send_out" columnid="orddd"/>
  841. <BindItem id="item12" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.Radio00" propid="value" datasetid="ds_send_out" columnid="prcpspecflag"/>
  842. <BindItem id="item15" compid="div_patinfo.div_patlist.tabPatList.tab_out.div_search_out.Radio01" propid="value" datasetid="ds_send_out" columnid="ampmflag"/>
  843. <BindItem id="item16" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_pid" propid="value" datasetid="ds_send_search" columnid="pid"/>
  844. <BindItem id="item0" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_rrgstno1" propid="value" datasetid="ds_send_search" columnid="rrgstno1"/>
  845. <BindItem id="item1" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_rrgstno2" propid="value" datasetid="ds_send_search" columnid="rrgstno2"/>
  846. <BindItem id="item2" compid="div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_hngnm" propid="value" datasetid="ds_send_search" columnid="hngnm"/>
  847. <BindItem id="item3" compid="div_detl.cmb_formcd" propid="value" datasetid="ds_detl" columnid="gubun"/>
  848. <BindItem id="item18" compid="div_detl.Calendar01" propid="value" datasetid="ds_detl" columnid="reqdd"/>
  849. </Bind>
  850. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  851. include "emr_prcpmngtxp::MMO001.xjs";
  852. var gMaxSize = 10485760;
  853. function SMAIM00100_AI메인_oninit(obj:Form, e:InitEventInfo)
  854. {
  855. frmf_initForm(obj);
  856. // Grid Initialization
  857. grdf_initGrid(grd_list);
  858. //grdf_initGrid(div_detl.grd_rsltlist);
  859. }
  860. function SMAIM00100_AI메인_onload(obj:Form, e:LoadEventInfo)
  861. {
  862. lf_mmbfGetDeptCodeComboList(ds_init_dept, "A");
  863. grdf_sortNodeList(ds_init_dept, "depthngnm", "asc"); // 가나다 순으로 정리되도록 수정.
  864. var arrParam = [
  865. { dsNm: "ds_init_status_AI001", cdGrpId: "AI001" },
  866. { dsNm: "ds_init_gubun_AI002", cdGrpId: "AI002" }
  867. //{dsNm: "ds_init_rsrvflag_P0341", cdGrpId: "P0341", sortField: "dispseq", sortMehotd: "asc", showValue:false} //rsrvflag
  868. ];
  869. appf_getCodeList(arrParam, false);
  870. div_patinfo.visible = true;
  871. fInit();
  872. }
  873. function fInit()
  874. {
  875. div_patinfo.div_patlist.tabPatList.tabindex = 2;
  876. //div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_pid.setFocus();
  877. //fInit_outpat();
  878. }
  879. function fNew_detl()
  880. {
  881. div_patinfo.div_patlist.tabPatList.tabindex = 2;
  882. div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_pid.setFocus();
  883. //fInit_outpat();
  884. ds_detl.clearData();
  885. ds_detl.addRow();
  886. ds_detl.setColumn(0, "m", "i");
  887. }
  888. function fInit_outpat()
  889. {
  890. var curDate = utlf_getCurrentDate();
  891. var dutplcecd = sysf_getUserInfo("dutplcecd");
  892. ds_send_out.setColumn(0, "orddd", curDate);
  893. ds_send_out.setColumn(0, "orddeptcd", dutplcecd);
  894. }
  895. function fInit_inpat()
  896. {
  897. var curDate = utlf_getCurrentDate();
  898. var dutplcecd = sysf_getUserInfo("dutplcecd");
  899. ds_send_in.setColumn(0, "orddd", curDate);
  900. ds_send_in.setColumn(0, "wardcd", dutplcecd);
  901. }
  902. // Search
  903. function fSearch()
  904. {
  905. var oParam = {};
  906. oParam.id = "TRAIM00101";
  907. oParam.service = "aiapp.AIMngt";
  908. oParam.method = "reqGetAIReqList";
  909. oParam.inds = "req=ds_send_list";
  910. oParam.outds = "ds_list=list";
  911. oParam.async = true;
  912. oParam.callback = "cf_TRAIM00101";
  913. tranf_submit(oParam);
  914. }
  915. function cf_TRAIM00101(sSvcId, nErrorCode, sErrorMsg) {
  916. if(nErrorCode < 0) {
  917. sysf_messageBox("조회를", "E009");
  918. return;
  919. }
  920. }
  921. function group1_btn_search_onclick(obj:Button, e:ClickEventInfo)
  922. {
  923. fSearch();
  924. }
  925. function fViewTableau(obj:Form, e:LoadEventInfo)
  926. {
  927. ds_send_tableau.setColumn(0, "scrncd", "TBLAI00001");
  928. var oParam = {};
  929. oParam.id = "getUrl";
  930. oParam.service = "authinfoapp.TableauInfo";
  931. oParam.method = "reqGetTableauTicket";
  932. oParam.inds = "req=ds_send_tableau";
  933. oParam.outds = "ds_tableauinfo=tableauinfo";
  934. oParam.async = true;
  935. oParam.callback = "cf_getUrl";
  936. tranf_submit(oParam);
  937. }
  938. function cf_getUrl(sSvcId, nErrorCode, sErrorMsg) {
  939. if(nErrorCode < 0) return;
  940. var tableauURL = ds_tableauinfo.getColumn(0, "tableauURL");
  941. div_detl.web_tableau.url = tableauURL;
  942. }
  943. var sOpenState = "C"; // O : open, H : half open, C : close
  944. function div_patinfo_btn_patinfo_onclick(obj:Button, e:ClickEventInfo)
  945. {
  946. var rightPos = this.position.right - 23;
  947. if(sOpenState == "C") {
  948. div_patinfo.visible = true;
  949. pa_patinfo_move.stop();
  950. pa_patinfo_move.fromvalue = div_patinfo.position.x;
  951. pa_patinfo_move.tovalue = rightPos - 800;
  952. pa_patinfo_move.run();
  953. // 확대 보기 버튼 위치 조정
  954. div_patinfo.btn_close_light.position.x = div_patinfo.position.width - 410;
  955. //this.parent.style.background = "white";
  956. //div_dim.position.x = 1024;
  957. //div_dim.visible = false;
  958. // 환자리스트 버튼 클릭 시 동영상 재생 중이라면 리스트가 위로 올라오도록 썸네일로 변경해준다.
  959. //fViewThumbnail();
  960. sOpenState = "H";
  961. } else if(sOpenState == "O" || sOpenState == "H") {
  962. pa_patinfo_move.stop();
  963. pa_patinfo_move.fromvalue = div_patinfo.position.x;
  964. pa_patinfo_move.tovalue = rightPos - 20;
  965. pa_patinfo_move.run();
  966. // 확대 보기 버튼 위치 조정
  967. div_patinfo.btn_close_light.position.x = div_patinfo.position.width - div_patinfo.btn_close_light.position.width - div_patinfo.btn_close.position.width - 23;
  968. //this.parent.style.background = "white";
  969. //div_dim.position.x = 1024;
  970. //div_dim.visible = false;
  971. //div_patinfo.visible = false;
  972. sOpenState = "C";
  973. }
  974. }
  975. function div_patinfo_div_patlist_tabPatList_tab_out_div_search_out_btn_search_onclick(obj:Button, e:ClickEventInfo)
  976. {
  977. ds_grd_opatmngt.clearData();
  978. var oParam = {};
  979. oParam.id = "TRAIM00103";
  980. oParam.service = "aiapp.AIMngt";
  981. oParam.method = "reqGetOutPatList";
  982. oParam.inds = "req=ds_send_out";
  983. oParam.outds = "ds_grd_opatmngt=list";
  984. oParam.async = true;
  985. oParam.callback = "cf_TRAIM00103";
  986. tranf_submit(oParam);
  987. }
  988. function cf_TRAIM00103(sSvcId, nErrorCode, sErrorMsg) {
  989. if(nErrorCode < 0) return;
  990. }
  991. function div_patinfo_div_patlist_tabPatList_tab_in_div_search_in_btn_search_onclick(obj:Button, e:ClickEventInfo)
  992. {
  993. ds_grd_ipatmngt.clearData();
  994. if(obj.parent.chk_in_schedule.value == "Y") {
  995. var curDate = utlf_getCurrentDate();
  996. var year = curDate.substr(0, 4);
  997. var month = curDate.substr(4, 2);
  998. var orddd = ds_send_in.getColumn(0, "orddd");
  999. var wardcd = ds_send_in.getColumn(0, "wardcd");
  1000. var orddeptcd = ds_send_in.getColumn(0, "orddeptcd");
  1001. var orddrid = ds_send_in.getColumn(0, "orddrid");
  1002. if(utlf_isNull(orddeptcd)) orddeptcd = "-";
  1003. if(utlf_isNull(orddrid)) orddrid = "-";
  1004. ds_send_in_schedule.setColumn(0, "year", year);
  1005. ds_send_in_schedule.setColumn(0, "month", month);
  1006. ds_send_in_schedule.setColumn(0, "orddeptcd", orddeptcd);
  1007. ds_send_in_schedule.setColumn(0, "orddrid", orddrid);
  1008. ds_send_in_schedule.setColumn(0, "assgward", wardcd);
  1009. ds_send_in_schedule.setColumn(0, "pid", "");
  1010. ds_send_in_schedule.setColumn(0, "hngnm", "");
  1011. ds_send_in_schedule.setColumn(0, "fromdd", orddd);
  1012. ds_send_in_schedule.setColumn(0, "todd", orddd);
  1013. ds_send_in_schedule.setColumn(0, "erreglyn", "I");
  1014. ds_send_in_schedule.setColumn(0, "inflag", "G");
  1015. ds_send_in_schedule.setColumn(0, "statflag", "A");
  1016. ds_send_in_schedule.setColumn(0, "bedkind", "-");
  1017. var oParam = {};
  1018. oParam.id = "TRMMO09001";
  1019. oParam.service = "prcpmngtapp.EtcPrcpMngt";
  1020. oParam.method = "reqGetInReqHistInfoList";
  1021. oParam.inds = "req=ds_send_in_schedule";
  1022. oParam.outds = "ds_grd_inreqhistlist=inreqhistlist";
  1023. oParam.async = true;
  1024. oParam.callback = "cf_TRMMO09001";
  1025. tranf_submit(oParam);
  1026. } else {
  1027. var oParam = {};
  1028. oParam.id = "TRAIM00102";
  1029. oParam.service = "aiapp.AIMngt";
  1030. oParam.method = "reqGetInPatList";
  1031. oParam.inds = "req=ds_send_in";
  1032. oParam.outds = "ds_grd_ipatmngt=list";
  1033. oParam.async = true;
  1034. oParam.callback = "cf_TRAIM00102";
  1035. tranf_submit(oParam);
  1036. }
  1037. }
  1038. function cf_TRMMO09001(sSvcId, nErrorCode, sErrorMsg) {
  1039. if(nErrorCode < 0) return;
  1040. ds_grd_inreqhistlist.addColumn("acptyn", "string");
  1041. }
  1042. function cf_TRAIM00102(sSvcId, nErrorCode, sErrorMsg) {
  1043. if(nErrorCode < 0) return;
  1044. }
  1045. function div_patinfo_div_patlist_tabPatList_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1046. {
  1047. var instcd = sysf_getUserInfo("dutplceinstcd");
  1048. var curDate = utlf_getCurrentDate();
  1049. var dutplcecd = sysf_getUserInfo("dutplcecd");
  1050. if(e.postindex == 0) {
  1051. // 환자리스트 외래 초기화
  1052. if(utlf_isNull(ds_send_out.getColumn(0, "orddd"))) {
  1053. fInit_outpat();
  1054. //fDeptChanged();
  1055. }
  1056. } else if(e.postindex == 1) {
  1057. // 환자리스트 입원 초기화
  1058. if(utlf_isNull(ds_send_in.getColumn(0, "orddd"))) {
  1059. fInit_inpat();
  1060. //fDeptList();
  1061. }
  1062. } else if(e.postindex == 2){
  1063. div_patinfo.div_patlist.tabPatList.tab_search.div_search.edt_pid.setFocus();
  1064. }
  1065. }
  1066. function div_patinfo_div_patlist_tabPatList_tab_out_grd_patlist_out_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1067. {
  1068. var row = ds_grd_opatmngt.rowposition;
  1069. ds_detl.setColumn(0, "pid", ds_grd_opatmngt.getColumn(row, "pid"));
  1070. ds_detl.setColumn(0, "pnm", ds_grd_opatmngt.getColumn(row, "hngnm"));
  1071. div_patinfo.btn_patinfo.click();
  1072. }
  1073. function div_patinfo_div_patlist_tabPatList_tab_in_grd_patlist_insche_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1074. {
  1075. var row = ds_grd_ipatmngt.rowposition;
  1076. ds_detl.setColumn(0, "pid", ds_grd_ipatmngt.getColumn(row, "pid"));
  1077. ds_detl.setColumn(0, "pnm", ds_grd_ipatmngt.getColumn(row, "dispnm2"));
  1078. div_patinfo.btn_patinfo.click();
  1079. }
  1080. function div_patinfo_div_patlist_tabPatList_tab_search_grd_pat_search_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1081. {
  1082. var row = ds_patinfolist.rowposition;
  1083. ds_detl.setColumn(0, "pid", ds_patinfolist.getColumn(row, "pid"));
  1084. ds_detl.setColumn(0, "pnm", ds_patinfolist.getColumn(row, "hngnm"));
  1085. div_patinfo.btn_patinfo.click();
  1086. }
  1087. function div_patinfo_btn_close_onclick(obj:Button, e:ClickEventInfo)
  1088. {
  1089. div_patinfo.btn_patinfo.click();
  1090. }
  1091. function div_detl_btn_file_add_onclick(obj:Button, e:ClickEventInfo)
  1092. {
  1093. fFileAdd();
  1094. }
  1095. function fFileAdd(colName) {
  1096. //******파일을 첨부하기 위해 파일열기가 open 되게 한다.
  1097. var oDsSaveFile = ds_file;
  1098. //파일을 받아오기 위해 파일열기 팝업창을 띄운다.
  1099. var fd = new FileDialog;
  1100. var objVFileList = fd.open("첨부 할 파일을 선택하여 주십시오.", FileDialog.MULTILOAD);
  1101. if(utlf_isNull(objVFileList)) return;
  1102. ds_temp_file.clearData();
  1103. for(var i = 0; i < objVFileList.length; i++) {
  1104. var nRow = ds_temp_file.addRow();
  1105. var objFileinfo = dsf_writeFileToDs(objVFileList[i], ds_temp_file, nRow, "filedata");
  1106. if (!checkFileSize(objFileinfo.filesize)){
  1107. sysf_messageBox(objFileinfo.filename + " 파일의 크기가 최대치(" + gMaxSize + "Byte)를 초과하여 첨부할 수 없습니다", "E");
  1108. ds_temp_file.deleteRow(nRow);
  1109. } else {
  1110. ds_temp_file.setColumn(nRow, "filename", objFileinfo.filename);
  1111. ds_temp_file.setColumn(nRow, "filesize", objFileinfo.filesize);
  1112. ds_temp_file.setColumn(nRow, "filetype", objFileinfo.filetype);
  1113. }
  1114. }
  1115. oDsSaveFile.appendData(ds_temp_file);
  1116. div_detl.grd_files.vscrollbar.pos = div_detl.grd_files.vscrollbar.max;
  1117. oDsSaveFile.rowposition = oDsSaveFile.rowcount - 1;
  1118. }
  1119. function checkFileSize(fileSize)
  1120. {
  1121. if (fileSize <= gMaxSize)
  1122. return true;
  1123. else
  1124. return false;
  1125. }
  1126. function div_patinfo_div_patlist_tabPatList_tab_search_div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1127. {
  1128. if (fInputValueCheck(obj.parent)) {
  1129. // 2017/09/05 환자 조회시 function 조회 안하도록 수정(속도개선)
  1130. ds_send_search.addColumn("functionyn", "string");
  1131. ds_send_search.setColumn(0, "functionyn", "N");
  1132. // 2017/09/05 환자 조회시 function 조회 안하도록 수정(속도개선)
  1133. var oParam = {};
  1134. oParam.id = "TRPMC02500";
  1135. oParam.service = "patinfomngtapp.PatBaseInfo";
  1136. oParam.method = "reqGetPatInfo";
  1137. oParam.inds = "req=ds_send_search";
  1138. oParam.outds = "ds_patinfolist=patinfolist";
  1139. oParam.async = true;
  1140. oParam.callback = "cf_TRPMC02500";
  1141. tranf_submit(oParam);
  1142. }
  1143. }
  1144. function cf_TRPMC02500(sSvcId, nErrorCode, sErrorMsg) {
  1145. if(nErrorCode < 0) return;
  1146. ds_patinfolist.addColumn("acptyn", "string");
  1147. }
  1148. // 입력값의 유효범위 체크
  1149. function fInputValueCheck(oDiv) {
  1150. var cond = ds_send_search.getColumn(0, "srchcond");
  1151. switch(cond) {
  1152. case '1': // 환자번호 체크
  1153. if (utlf_isNull(ds_send_search.getColumn(0, "pid"))) {
  1154. sysf_messageBox("환자번호를 정확히", "C001");
  1155. oDiv.edt_pid.setFocus();
  1156. return false;
  1157. } else {
  1158. return true;
  1159. }
  1160. break;
  1161. case '2':
  1162. //환자이름 체크
  1163. if(utlf_transNull(ds_send_search.getColumn(0, "hngnm"), "").length >= 2) {
  1164. return true;
  1165. } else {
  1166. sysf_messageBox("환자이름을 2자리 이상", "C001");
  1167. oDiv.edt_hngnm.setFocus();
  1168. return false;
  1169. }
  1170. break;
  1171. case '3':
  1172. //환자 주민번호 체크
  1173. if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno1"), "").length >= 4 && utlf_transNull(ds_send_search.getColumn(0, "rrgstno2"), "").length >=1) {
  1174. return true;
  1175. } else {
  1176. if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno1"), "").length < 4) {
  1177. sysf_messageBox("환자 주민번호 앞자리를 4자리 이상", "C001");
  1178. oDiv.edt_rrgstno1.setFocus();
  1179. return false;
  1180. }
  1181. if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno2"), "").length < 1) {
  1182. sysf_messageBox("환자 주민번호 뒷자리를 1자리 이상", "C001");
  1183. oDiv.edt_rrgstno2.setFocus();
  1184. return false;
  1185. }
  1186. sysf_messageBox("환자 주민번호를", "C001");
  1187. oDiv.edt_rrgstno1.setFocus();
  1188. return false;
  1189. }
  1190. break;
  1191. case '4': // 환자이름 유효성 체크. 환자 주민번호 체크
  1192. // 환자이름 체크
  1193. if(utlf_transNull(ds_send_search.getColumn(0, "hngnm"), "").length < 2) {
  1194. sysf_messageBox("환자이름을 2자리 이상", "C001");
  1195. oDiv.edt_hngnm.setFocus();
  1196. return false;
  1197. }
  1198. // 환자 주민번호 체크
  1199. if(utlf_transNull(ds_send_search.getColumn(0, "rrgstno1"), "").length < 4) {
  1200. sysf_messageBox("환자 주민번호 앞자리를 4자리 이상", "C001");
  1201. oDiv.edt_rrgstno1.setFocus();
  1202. return false;
  1203. }
  1204. return true;
  1205. break;
  1206. case '5': // 예약일자 유효성 체크
  1207. if (utlf_isValidDateTime(ds_send_search.getColumn(0, "acptdd"), "YYYYMMDD")) {
  1208. return true;
  1209. } else {
  1210. sysf_messageBox("예약일자를 정확히", "C001");
  1211. return false;
  1212. }
  1213. break;
  1214. default :
  1215. sysf_messageBox("검색조건이 정확히 선택되지 않았습니다. 확인 후 다시 시도해 주십시요.", "E999", "");
  1216. oDiv.rdo_searchcond.setFocus();
  1217. return false;
  1218. break;
  1219. }
  1220. }
  1221. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  1222. {
  1223. ds_save_file.clearData();
  1224. if(ds_file.rowcount <= 0) {
  1225. ds_detl.setColumn(0, "filekey", "");
  1226. } else {
  1227. ds_file.filter("utlf_isNull(filekey) == true");
  1228. ds_save_file.copyData(ds_file, true);
  1229. ds_file.filter("");
  1230. }
  1231. var oParam = {};
  1232. oParam.id = "TXAIM00101";
  1233. oParam.service = "aiapp.AIMngt";
  1234. oParam.method = "reqExeSaveAIReq";
  1235. oParam.inds = "req=ds_detl savefiles=ds_save_file deletefiles=ds_delete_file";
  1236. oParam.outds = "ds_result=result ds_detl=detl ds_file=files";
  1237. oParam.async = false;
  1238. tranf_submit(oParam);
  1239. }
  1240. function btn_new_onclick(obj:Button, e:ClickEventInfo)
  1241. {
  1242. if(sOpenState=="C"){
  1243. div_patinfo.btn_patinfo.click();
  1244. }
  1245. fNew_detl();
  1246. }
  1247. function div_patinfo_div_patlist_tabPatList_tab_search_div_search_onkeydown(obj:Div, e:KeyEventInfo)
  1248. {
  1249. if (e.keycode == 13) {
  1250. div_patinfo.div_patlist.tabPatList.tab_search.div_search.btn_search.setFocus();
  1251. frmf_inputEnterKey('div_patinfo.div_patlist.tabPatList.tab_search.div_search.btn_search', 'onclick', new ClickEventInfo);
  1252. }
  1253. }
  1254. function div_detl_grd_files_oncellclick(obj:Grid, e:GridClickEventInfo)
  1255. {
  1256. if(e.col == 4) {
  1257. fPreview(ds_file.getColumn(e.row, "filename"), ds_file.getColumn(e.row, "filepath"));
  1258. } else if(e.col == 5) {
  1259. fFileDown(ds_file.getColumn(e.row, "filename"), ds_file.getColumn(e.row, "filepath"));
  1260. }
  1261. }
  1262. function grd_list_oncellclick(obj:Grid, e:GridClickEventInfo)
  1263. {
  1264. var row = ds_list.rowposition;
  1265. ds_send_detl.setColumn(0, "gubun", ds_list.getColumn(row, "gubun"));
  1266. ds_send_detl.setColumn(0, "pid", ds_list.getColumn(row, "pid"));
  1267. ds_send_detl.setColumn(0, "seqno", ds_list.getColumn(row, "seqno"));
  1268. var oParam = {};
  1269. oParam.id = "TRAIM00104";
  1270. oParam.service = "aiapp.AIMngt";
  1271. oParam.method = "reqGetAIReqDetl";
  1272. oParam.inds = "req=ds_send_detl";
  1273. oParam.outds = "ds_detl=detl ds_file=files";
  1274. oParam.async = true;
  1275. oParam.callback = "cf_TRAIM00104";
  1276. tranf_submit(oParam);
  1277. }
  1278. function cf_TRAIM00104(sSvcId, nErrorCode, sErrorMsg) {
  1279. if(nErrorCode < 0) return;
  1280. fViewTableau();
  1281. }]]></Script>
  1282. </Form>
  1283. </FDL>