SMMRI01700_미비기록관리.xfdl 95 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMRI01700" position="absolute 0 0 1200 798" titletext="미비기록관리" oninit="SMMRI01700_oninit" onload="SMMRI01700_onload" onkeydown="SMMRI01700_onkeydown">
  5. <Layouts>
  6. <Layout>
  7. <Div id="Div01" taborder="3" position="absolute 397 25 1195 114" class="div_SA2" anchor="left top right"/>
  8. <Div id="Div00" taborder="2" position="absolute 0 25 394 114" class="div_SA"/>
  9. <Static text="미비기록관리" position="absolute 0 0 189 25" id="cap_title" class="tit_1"/>
  10. <Static text="전달사항 From의사" position="absolute 600 726 739 742" id="caption10" class="tit_2" anchor="left bottom"/>
  11. <TextArea position="absolute 600 743 1194 794" id="textarea1" wordwrap="word" onsetfocus="textarea1_onsetfocus" anchor="left bottom"/>
  12. <TextArea position="absolute 0 743 591 794" id="textarea2" wordwrap="word" onsetfocus="textarea2_onsetfocus" anchor="left bottom" autoselect="true"/>
  13. <Static text="전달사항 From의무기록실" position="absolute 0 726 178 744" id="caption9" class="tit_2" anchor="left bottom"/>
  14. <Button position="absolute 918 121 982 140" id="btn_unprepcert" class="btn2" text="미비추가" onclick="btn_unprepcert_onclick" anchor="top right"/>
  15. <Button position="absolute 1099 121 1150 140" id="btn_ex" class="btn7" text="엑셀" onclick="btn_ex_onclick" anchor="top right"/>
  16. <Button position="absolute 983 121 1047 140" id="btn_del" class="btn2" text="미비삭제" onclick="btn_del_onclick" anchor="top right"/>
  17. <Button position="absolute 1151 121 1193 140" id="btn_save" class="btn5" enable="true" text="저장" onclick="btn_save_onclick" anchor="top right"/>
  18. <Shape position="absolute 0 140 1195 146" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
  19. <Button position="absolute 149 40 181 56" id="btn_patreq" class="icon_search" visible="true" text="" onclick="btn_patreq_onclick"/>
  20. <Combo position="absolute 571 93 649 112" id="cmb_inoutddflag" enable="false" codecolumn="codecolumn" datacolumn="datacolumn">
  21. <Dataset id="innerdataset">
  22. <ColumnInfo>
  23. <Column id="codecolumn"/>
  24. <Column id="datacolumn"/>
  25. </ColumnInfo>
  26. <Rows>
  27. <Row>
  28. <Col id="codecolumn">dsch</Col>
  29. <Col id="datacolumn">퇴원일자</Col>
  30. </Row>
  31. <Row>
  32. <Col id="codecolumn">indd</Col>
  33. <Col id="datacolumn">입원일자</Col>
  34. </Row>
  35. <Row>
  36. <Col id="codecolumn">orddd</Col>
  37. <Col id="datacolumn">진료일자</Col>
  38. </Row>
  39. </Rows>
  40. </Dataset>
  41. </Combo>
  42. <Edit position="absolute 775 27 852 46" id="ipt_unprepdrnm" onkeydown="ipt_unprepdrnm_onkeydown"/>
  43. <Edit position="absolute 89 39 154 58" id="ipt_pid" onkeydown="ipt_pid_onkeydown" autoselect="true" class="input_search"/>
  44. <Static text="~" position="absolute 750 93 765 108" id="caption1"/>
  45. <Static text="재원구분 :" position="absolute 407 49 493 66" id="caption2" class="search_name"/>
  46. <Radio position="absolute 494 49 693 69" id="rdo_inoutflag" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="rdo_inoutflag_onitemchanged">
  47. <Dataset id="innerdataset">
  48. <ColumnInfo>
  49. <Column id="codecolumn"/>
  50. <Column id="datacolumn"/>
  51. </ColumnInfo>
  52. <Rows>
  53. <Row>
  54. <Col id="codecolumn">D</Col>
  55. <Col id="datacolumn">퇴원</Col>
  56. </Row>
  57. <Row>
  58. <Col id="codecolumn">I</Col>
  59. <Col id="datacolumn">재원</Col>
  60. </Row>
  61. <Row>
  62. <Col id="codecolumn">O</Col>
  63. <Col id="datacolumn">외래</Col>
  64. </Row>
  65. <Row>
  66. <Col id="codecolumn">E</Col>
  67. <Col id="datacolumn">응급실</Col>
  68. </Row>
  69. </Rows>
  70. </Dataset>
  71. </Radio>
  72. <Static text="내원정보" position="absolute 13 63 91 80" id="caption3" class="search_name"/>
  73. <Combo position="absolute 855 27 925 46" id="combo2" codecolumn="codecolumn" datacolumn="datacolumn">
  74. <Dataset id="innerdataset">
  75. <ColumnInfo>
  76. <Column id="codecolumn"/>
  77. <Column id="datacolumn"/>
  78. </ColumnInfo>
  79. <Rows>
  80. <Row>
  81. <Col id="codecolumn">-</Col>
  82. <Col id="datacolumn">전체</Col>
  83. </Row>
  84. <Row>
  85. <Col id="codecolumn">St</Col>
  86. <Col id="datacolumn">스태프</Col>
  87. </Row>
  88. <Row>
  89. <Col id="codecolumn">R</Col>
  90. <Col id="datacolumn">레지던트</Col>
  91. </Row>
  92. <Row>
  93. <Col id="codecolumn">I</Col>
  94. <Col id="datacolumn">인턴</Col>
  95. </Row>
  96. </Rows>
  97. </Dataset>
  98. </Combo>
  99. <Static text="미비구분 :" position="absolute 407 71 493 88" id="caption4" class="search_name"/>
  100. <Static text="등록번호 :" position="absolute 13 39 91 56" id="caption5" class="search_name"/>
  101. <Calendar position="absolute 763 93 861 112" id="ipt_todd" enable="false" autoselect="true"/>
  102. <Static text="조회구분 :" position="absolute 406 93 492 110" id="cap_reqflag" class="search_name"/>
  103. <Static text="의사구분 :" position="absolute 295 25 384 42" id="caption6" class="search_name" visible="false"/>
  104. <Static text="의사 :" position="absolute 718 28 772 45" id="caption8" class="search_name"/>
  105. <Combo position="absolute 541 27 648 46" id="cmb_orddept" class="combo_search" innerdataset="@ds_init_orddept" datacolumn="depthngnm" codecolumn="deptcd" onitemchanged="cmb_orddept_onitemchanged"/>
  106. <Radio position="absolute 404 27 540 48" id="rdo_deptflag" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn">
  107. <Dataset id="innerdataset">
  108. <ColumnInfo>
  109. <Column id="codecolumn"/>
  110. <Column id="datacolumn"/>
  111. </ColumnInfo>
  112. <Rows>
  113. <Row>
  114. <Col id="codecolumn">unprep</Col>
  115. <Col id="datacolumn">미비과</Col>
  116. </Row>
  117. <Row>
  118. <Col id="codecolumn">dsch</Col>
  119. <Col id="datacolumn">재(퇴)원과</Col>
  120. </Row>
  121. </Rows>
  122. </Dataset>
  123. </Radio>
  124. <Shape position="absolute 1034 30 1040 106" linetype="vertical" id="line5" anchor="top right" class="line_4"/>
  125. <Calendar position="absolute 651 93 749 112" id="ipt_fromdd" enable="false" autoselect="true"/>
  126. <Static text="미비기록리스트&#13;&#10; if(chk_merge.visible == false)&#13;&#10; {&#13;&#10; chk_merge.visible = true;&#13;&#10; return;&#13;&#10; }&#13;&#10; &#13;&#10; if(chk_merge.visible == true)&#13;&#10; {&#13;&#10; chk_merge.visible = false;&#13;&#10; return;&#13;&#10; }&#13;&#10; " position="absolute 1 124 113 142" id="caption20" class="tit_2" onclick="caption20_onclick"/>
  127. <Edit position="absolute 177 39 247 58" id="input1" class="input_search"/>
  128. <Combo position="absolute 12 85 382 104" id="cmb_chosinfo" innerdataset="@ds_main_patinfo_pathistlist" datacolumn="chosinfo" codecolumn="rowcnt" onitemchanged="cmb_chosinfo_onitemchanged"/>
  129. <Button position="absolute 327 44 383 66" id="btn_requnpreppatbase" class="btn1" text="조회" onclick="btn_requnpreppatbase_onclick"/>
  130. <Shape position="absolute 315 35 321 75" linetype="vertical" id="line2" class="line_4"/>
  131. <Grid position="absolute 0 145 1195 724" id="grd_unprepreclist" binddataset="ds_main_unpreprecinfo_unprepreclist" onexpanddown="grd_unprepreclist_onexpanddown" onexpandup="grd_unprepreclist_onexpandup" oncellclick="grd_unprepreclist_oncellclick" onheadclick="grd_unprepreclist_onheadclick" oncelldblclick="grd_unprepreclist_oncelldblclick" selecttype="multirow" autoenter="key" onrbuttonup="grd_unprepreclist_onrbuttonup" onrbuttondown="grd_unprepreclist_onrbuttondown" anchor="all" onkeyup="grd_unprepreclist_onkeyup" cellsizingtype="col">
  132. <Formats>
  133. <Format id="default">
  134. <Columns>
  135. <Column size="0"/>
  136. <Column size="24"/>
  137. <Column size="30"/>
  138. <Column size="0"/>
  139. <Column size="0"/>
  140. <Column size="80"/>
  141. <Column size="0"/>
  142. <Column size="65"/>
  143. <Column size="0"/>
  144. <Column size="0"/>
  145. <Column size="45"/>
  146. <Column size="0"/>
  147. <Column size="75"/>
  148. <Column size="0"/>
  149. <Column size="55"/>
  150. <Column size="0"/>
  151. <Column size="30"/>
  152. <Column size="64"/>
  153. <Column size="35"/>
  154. <Column size="0"/>
  155. <Column size="58"/>
  156. <Column size="90"/>
  157. <Column size="0"/>
  158. <Column size="35"/>
  159. <Column size="0"/>
  160. <Column size="0"/>
  161. <Column size="0"/>
  162. <Column size="0"/>
  163. <Column size="0"/>
  164. <Column size="0"/>
  165. <Column size="0"/>
  166. <Column size="0"/>
  167. <Column size="0"/>
  168. <Column size="0"/>
  169. <Column size="130"/>
  170. <Column size="0"/>
  171. <Column size="0"/>
  172. <Column size="54"/>
  173. <Column size="72"/>
  174. <Column size="0"/>
  175. <Column size="152"/>
  176. <Column size="125"/>
  177. <Column size="100"/>
  178. <Column size="0"/>
  179. <Column size="49"/>
  180. <Column size="75"/>
  181. <Column size="120"/>
  182. <Column size="75"/>
  183. <Column size="120"/>
  184. <Column size="74"/>
  185. <Column size="75"/>
  186. <Column size="0"/>
  187. <Column size="120"/>
  188. </Columns>
  189. <Rows>
  190. <Row size="24" band="head"/>
  191. <Row size="24"/>
  192. </Rows>
  193. <Band id="head">
  194. <Cell text="status"/>
  195. <Cell col="1"/>
  196. <Cell col="2"/>
  197. <Cell col="3" text="delyn"/>
  198. <Cell col="4"/>
  199. <Cell col="5" text="등록번호"/>
  200. <Cell col="6" text="cretno"/>
  201. <Cell col="7" text="환자명"/>
  202. <Cell col="8" text="기록순번"/>
  203. <Cell col="9" text="dschdeptcd"/>
  204. <Cell col="10" text="퇴원과"/>
  205. <Cell col="11" text="미비번호"/>
  206. <Cell col="12" text="퇴원일"/>
  207. <Cell col="13" text="입원일"/>
  208. <Cell col="14" text="전문의"/>
  209. <Cell col="15" text="원미비상태"/>
  210. <Cell col="16" text="사본"/>
  211. <Cell col="17" text="미비상태"/>
  212. <Cell col="18" text="직종"/>
  213. <Cell col="19" text="orgdoctkindflag"/>
  214. <Cell col="20" text="진료상태"/>
  215. <Cell col="21" text="미비의사"/>
  216. <Cell col="22" text="orgunprepdrnm"/>
  217. <Cell col="23" text="과"/>
  218. <Cell col="24" text="분과"/>
  219. <Cell col="25" text="orgdetldeptnm"/>
  220. <Cell col="26" text="detldeptcd"/>
  221. <Cell col="27" text="orgdetldeptcd"/>
  222. <Cell col="28" text="orgunprepdeptnm"/>
  223. <Cell col="29" text="orddeptcd"/>
  224. <Cell col="30" text="orgorddeptcd"/>
  225. <Cell col="31" text="unprepdrid"/>
  226. <Cell col="32" text="orgunprepdrid"/>
  227. <Cell col="33" text="formcd"/>
  228. <Cell col="34" text="서식명"/>
  229. <Cell col="35" text="oprsrvno"/>
  230. <Cell col="36" text="StaffSign"/>
  231. <Cell col="37" text="항목명"/>
  232. <Cell col="38" text="진료일자"/>
  233. <Cell col="39" text="unprepitemcd"/>
  234. <Cell col="40" text="전달사항 From 의무기록실"/>
  235. <Cell col="41" text="전달사항 From의사"/>
  236. <Cell col="42" text="의사확인일시"/>
  237. <Cell col="43" text="srcformcd"/>
  238. <Cell col="44" text="담당의"/>
  239. <Cell col="45" text="최초생성자"/>
  240. <Cell col="46" text="최초생성일시"/>
  241. <Cell col="47" text="최종수정자"/>
  242. <Cell col="48" text="최종수정일시"/>
  243. <Cell col="49" text="경과시간"/>
  244. <Cell col="50" text="최종삭제자"/>
  245. <Cell col="51" text="최종삭제자ID"/>
  246. <Cell col="52" text="최종삭제일시"/>
  247. </Band>
  248. <Band id="body">
  249. <Cell displaytype="combo" edittype="combo" text="bind:status" enable="false"/>
  250. <Cell col="1" celltype="head" expr="expr:currow + 1"/>
  251. <Cell col="2" edittype="none" style="background:EXPR(bkcolorcheck);background2:EXPR(bkcolorcheck);" text="bind:check"/>
  252. <Cell col="3" text="bind:delyn"/>
  253. <Cell col="4" displaytype="none" edittype="none" text="bind:indschflag"/>
  254. <Cell col="5" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:pid" suppress="1"/>
  255. <Cell col="6" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:cretno"/>
  256. <Cell col="7" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:hngnm" suppress="2"/>
  257. <Cell col="8" displaytype="text" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:formrecseq" wordwrap="word"/>
  258. <Cell col="9" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:dschdeptcd"/>
  259. <Cell col="10" style="align:left;padding:0 2 0 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:dschdeptnm" wordwrap="word" suppress="3"/>
  260. <Cell col="11" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:unprepno"/>
  261. <Cell col="12" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:dschdd" suppress="4" calendardisplaynulltype="none"/>
  262. <Cell col="13" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:indd" calendardisplaynulltype="none"/>
  263. <Cell col="14" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:medispclnm" suppress="5"/>
  264. <Cell col="15" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgunprepstat"/>
  265. <Cell col="16" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:sabonyn"/>
  266. <Cell col="17" displaytype="combo" style="padding:1 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepstat" combodataset="ds_cbo_unprepstat" combocodecol="value" combodatacol="label" enable="false"/>
  267. <Cell col="18" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:doctkindflag"/>
  268. <Cell col="19" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgdoctkindflag"/>
  269. <Cell col="20" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:drstate"/>
  270. <Cell col="21" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepdrnm" wordwrap="word"/>
  271. <Cell col="22" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgunprepdrnm"/>
  272. <Cell col="23" style="align:left;padding:0 2 0 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepdeptnm"/>
  273. <Cell col="24" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:detldeptnm"/>
  274. <Cell col="25" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgdetldeptnm"/>
  275. <Cell col="26" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:detldeptcd"/>
  276. <Cell col="27" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgdetldeptcd"/>
  277. <Cell col="28" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgunprepdeptnm"/>
  278. <Cell col="29" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orddeptcd"/>
  279. <Cell col="30" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgorddeptcd"/>
  280. <Cell col="31" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepdrid"/>
  281. <Cell col="32" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:orgunprepdrid"/>
  282. <Cell col="33" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:formcd"/>
  283. <Cell col="34" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:formnm" wordwrap="word"/>
  284. <Cell col="35" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:oprsrvno"/>
  285. <Cell col="36" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:cosignyn"/>
  286. <Cell col="37" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepitemnm" wordwrap="word"/>
  287. <Cell col="38" displaytype="date" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:formrecdd" calendardisplaynulltype="none"/>
  288. <Cell col="39" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:unprepitemcd"/>
  289. <Cell col="40" displaytype="text" edittype="expand" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:medirecalertcnts" wordwrap="word" maskchar=" " editautoselect="true" expandshow="show"/>
  290. <Cell col="41" displaytype="text" edittype="expand" style="align:left top;padding:5 2 1 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:dralertcnts" wordwrap="word" expandshow="show"/>
  291. <Cell col="42" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:drcnfmdt" mask="####-##-## ##:##" maskchar=" "/>
  292. <Cell col="43" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:srcformcd"/>
  293. <Cell col="44" style="align:left middle;padding:0 0 0 2;background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:atdoctnm"/>
  294. <Cell col="45" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:fstrgstrnm"/>
  295. <Cell col="46" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:fstrgstdt" mask="####-##-## ##:##" maskchar=" "/>
  296. <Cell col="47" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:lastupdtrnm"/>
  297. <Cell col="48" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);color:EXPR(bkDelcolor);color2:EXPR(bkDelcolor);" text="bind:lastupdtdt" mask="####-##-## ##:##" maskchar=" "/>
  298. <Cell col="49" displaytype="text" style="align:center middle;background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:overchk"/>
  299. <Cell col="50" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:delusernm"/>
  300. <Cell col="51" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:deluserid"/>
  301. <Cell col="52" style="background:EXPR(bkcolor);background2:EXPR(bkcolor);" text="bind:deldt" mask="####-##-## ##:##" maskchar=" "/>
  302. </Band>
  303. </Format>
  304. </Formats>
  305. </Grid>
  306. <Button position="absolute 1044 33 1124 55" id="btn_requnprepdrbase" class="btn1" text="미비조회" onclick="btn_requnprepdrbase_onclick" anchor="top right"/>
  307. <Button position="absolute 471 120 535 140" id="button5" class="btn2" text="배치생성" onclick="button5_onclick"/>
  308. <Edit readonly="true" position="absolute 373 121 407 140" id="opt_formcd" class="output"/>
  309. <Static text="미비환자수 :" position="absolute 116 122 215 139" id="caption7" class="search_name"/>
  310. <Edit readonly="true" position="absolute 213 121 247 140" id="opt_pid" class="output"/>
  311. <Static text="미비기록건수 :" position="absolute 261 122 373 139" id="caption11" class="search_name"/>
  312. <Button position="absolute 1044 58 1184 80" id="btn_realunprep" class="btn1" text="StaffSign미비조회" onclick="btn_realunprep_onclick" anchor="top right"/>
  313. <Button position="absolute 728 121 822 140" id="btn_opinfo" class="btn2" text="수술정보조회" onclick="btn_opinfo_onclick" anchor="top right"/>
  314. <Button position="absolute 823 121 917 140" id="btn_totrec" class="btn2" text="통합기록조회" onclick="btn_totrec_onclick" anchor="top right"/>
  315. <CheckBox position="absolute 493 92 523 112" id="bool1" truevalue="Y" falsevalue="N" onclick="bool1_onclick"/>
  316. <Static text="날짜조회" position="absolute 516 93 566 113" id="caption15"/>
  317. <Button position="absolute 1044 83 1124 105" id="button1" class="btn1" text="전체조회" onclick="button1_onclick" anchor="top right"/>
  318. <Button position="absolute 441 120 469 140" id="button4" class="icon_right" onclick="button4_onclick"/>
  319. <Button position="absolute 412 120 440 140" id="button2" class="icon_left" onclick="button2_onclick"/>
  320. <Button position="absolute 1048 121 1098 140" id="button3" class="btn6" text="출력" onclick="button3_onclick" anchor="top right"/>
  321. <Grid position="absolute 562 193 1195 682" id="grd_patreclist" visible="false" binddataset="ds_main_patreclist_patreclist" oncellclick="grd_patreclist_oncellclick" onkeydown="grd_patreclist_onkeydown" oncelldblclick="grd_patreclist_oncelldblclick" onheadclick="grd_patreclist_onheadclick" anchor="top right" selecttype="multirow" onrbuttondown="grd_patreclist_onrbuttondown">
  322. <Formats>
  323. <Format id="default">
  324. <Columns>
  325. <Column size="26"/>
  326. <Column size="0"/>
  327. <Column size="71"/>
  328. <Column size="41"/>
  329. <Column size="0"/>
  330. <Column size="0"/>
  331. <Column size="0"/>
  332. <Column size="143"/>
  333. <Column size="53"/>
  334. <Column size="62"/>
  335. <Column size="0"/>
  336. <Column size="61"/>
  337. <Column size="0"/>
  338. <Column size="62"/>
  339. <Column size="111"/>
  340. </Columns>
  341. <Rows>
  342. <Row size="24" band="head"/>
  343. <Row size="24"/>
  344. </Rows>
  345. <Band id="head">
  346. <Cell text="X"/>
  347. <Cell col="1" text="formrecseq"/>
  348. <Cell col="2" text="기록일시"/>
  349. <Cell col="3" text="시간"/>
  350. <Cell col="4" text="oprsrvno"/>
  351. <Cell col="5" text="srcformcd"/>
  352. <Cell col="6" text="formcd"/>
  353. <Cell col="7" text="서식명"/>
  354. <Cell col="8" text="확정"/>
  355. <Cell col="9" text="StaffSign"/>
  356. <Cell col="10" text="caption1"/>
  357. <Cell col="11" text="작성과"/>
  358. <Cell col="12" text="caption2"/>
  359. <Cell col="13" text="작성자"/>
  360. <Cell col="14" text="기록순번"/>
  361. </Band>
  362. <Band id="body">
  363. <Cell displaytype="normal" edittype="none" text="bind:check"/>
  364. <Cell col="1" text="bind:formrecseq"/>
  365. <Cell col="2" displaytype="date" text="bind:formrecdd" calendardisplaynulltype="nulltext"/>
  366. <Cell col="3" displaytype="date" text="bind:formrechm" mask="HH:mm" calendardisplaynulltype="nulltext"/>
  367. <Cell col="4" text="bind:oprsrvno"/>
  368. <Cell col="5" text="bind:srcformcd"/>
  369. <Cell col="6" text="bind:formcd"/>
  370. <Cell col="7" style="align:left top;padding:5 2 1 2;" text="bind:formnm" wordwrap="word"/>
  371. <Cell col="8" text="bind:certyn"/>
  372. <Cell col="9" text="bind:cosignyn"/>
  373. <Cell col="10" text="bind:formrecdeptcd"/>
  374. <Cell col="11" style="align:left top;padding:5 2 1 2;" text="bind:formrecdeptnm" wordwrap="word"/>
  375. <Cell col="12" text="bind:formrecuserid"/>
  376. <Cell col="13" text="bind:formrecusernm"/>
  377. <Cell col="14" displaytype="text" style="align:left middle;padding:0 0 0 2;" text="bind:formrecseq"/>
  378. </Band>
  379. </Format>
  380. </Formats>
  381. </Grid>
  382. <Div position="absolute 480 315 725 315" id="group2" style="background:snow;">
  383. <Layouts>
  384. <Layout>
  385. <Button position="absolute 149 39 191 58" id="button7" class="btn2" text="확인" anchor="default" onclick="group2_button7_onclick"/>
  386. <Button position="absolute 194 39 236 58" id="button8" class="btn2" text="취소" anchor="default" onclick="group2_button8_onclick"/>
  387. <Radio position="absolute 4 19 189 39" id="radio1" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default" rowcount="-1">
  388. <Dataset id="innerdataset">
  389. <ColumnInfo>
  390. <Column id="codecolumn"/>
  391. <Column id="datacolumn"/>
  392. </ColumnInfo>
  393. <Rows>
  394. <Row>
  395. <Col id="codecolumn">1</Col>
  396. <Col id="datacolumn">1개월</Col>
  397. </Row>
  398. <Row>
  399. <Col id="codecolumn">2</Col>
  400. <Col id="datacolumn">2개월</Col>
  401. </Row>
  402. <Row>
  403. <Col id="codecolumn">3</Col>
  404. <Col id="datacolumn">3개월</Col>
  405. </Row>
  406. </Rows>
  407. </Dataset>
  408. </Radio>
  409. <Static text="excel화일 생성 기간지정" position="absolute 4 3 222 19" id="caption14" class="tit_2" anchor="default"/>
  410. <Static text="시작일자 :" position="absolute -1 44 85 61" id="caption13" class="search_name" visible="false" anchor="default"/>
  411. <Static text="종료일자 :" position="absolute -1 39 85 56" id="caption16" class="search_name" visible="false" anchor="default"/>
  412. <Calendar position="absolute 89 44 179 63" id="input2" visible="false" anchor="default"/>
  413. <Calendar position="absolute 89 39 179 58" id="input3" visible="false" anchor="default"/>
  414. </Layout>
  415. </Layouts>
  416. </Div>
  417. <Radio position="absolute 950 26 1023 46" id="radio_detldept" enable="false" visible="false" codecolumn="codecolumn" datacolumn="datacolumn">
  418. <Dataset id="innerdataset">
  419. <ColumnInfo>
  420. <Column id="codecolumn"/>
  421. <Column id="datacolumn"/>
  422. </ColumnInfo>
  423. <Rows>
  424. <Row>
  425. <Col id="codecolumn">Y</Col>
  426. <Col id="datacolumn">미비분과</Col>
  427. </Row>
  428. </Rows>
  429. </Dataset>
  430. </Radio>
  431. <Combo position="absolute 651 27 713 46" id="cmb_detldept" enable="false" datacolumn="cdnm" codecolumn="cdid"/>
  432. <CheckBox position="absolute 570 122 670 142" id="chk_merge" visible="false" text="셀머지" truevalue="1" onclick="chk_merge_onclick"/>
  433. <Grid position="absolute 65 330 460 570" id="grd_medalertlist" visible="false" binddataset="ds_main_medalertinfo_medalertlist">
  434. <Formats>
  435. <Format id="default">
  436. <Columns>
  437. <Column size="120"/>
  438. <Column size="250"/>
  439. </Columns>
  440. <Rows>
  441. <Row size="24" band="head"/>
  442. <Row size="24"/>
  443. </Rows>
  444. <Band id="head">
  445. <Cell text="작성일자"/>
  446. <Cell col="1" text="전달사항 From 의무기록실"/>
  447. </Band>
  448. <Band id="body">
  449. <Cell displaytype="date" text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" maskchar=" " calendardisplaynulltype="nulltext"/>
  450. <Cell col="1" text="bind:medirecalertcnts"/>
  451. </Band>
  452. </Format>
  453. </Formats>
  454. </Grid>
  455. <Grid position="absolute 470 330 865 570" id="grd_dralertlist" visible="false" binddataset="ds_main_dralertinfo_dralertlist">
  456. <Formats>
  457. <Format id="default">
  458. <Columns>
  459. <Column size="120"/>
  460. <Column size="250"/>
  461. </Columns>
  462. <Rows>
  463. <Row size="24" band="head"/>
  464. <Row size="24"/>
  465. </Rows>
  466. <Band id="head">
  467. <Cell text="작성일자"/>
  468. <Cell col="1" text="전달사항 From 의사"/>
  469. </Band>
  470. <Band id="body">
  471. <Cell text="bind:lastupdtdt" mask="yyyy-MM-dd hh:mm:ss" calendardisplaynulltype="nulltext"/>
  472. <Cell col="1" text="bind:dralertcnts"/>
  473. </Band>
  474. </Format>
  475. </Formats>
  476. </Grid>
  477. <cp_checkboxList id="chk_unprepflag" taborder="1" scrollbars="none" position="absolute 493 69 945 89" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  478. <PopupMenu id="pmnmenu1" idcolumn="func" captioncolumn="name" levelcolumn="level" onmenuclick="pmnmenu1_onmenuclick" position="absolute 1216 48 1321 359" style="buttonsize:-1;" innerdataset="@ds_init_popupmenu_menu_item"/>
  479. <Div position="absolute 870 240 1088 295" id="group3" style="background:#99ccffff;">
  480. <Layouts>
  481. <Layout>
  482. <Static text="미비분과" position="absolute 5 5 59 25" align="align:center middle;" id="caption17" style="font:Dotum,9,bold;"/>
  483. <Button position="absolute 122 26 164 45" id="button9" class="btn2" text="확인" onclick="group3_button9_onclick"/>
  484. <Button position="absolute 166 26 208 45" id="button10" class="btn2" text="취소" onclick="group3_button10_onclick"/>
  485. <Combo position="absolute 64 5 208 24" id="cmb_detldeptcd" datacolumn="cdnm" codecolumn="cdid"/>
  486. </Layout>
  487. </Layouts>
  488. </Div>
  489. <Div position="absolute 812 193 1030 248" id="group1" style="background:#99ccffff;">
  490. <Layouts>
  491. <Layout>
  492. <Static text="미비과" position="absolute 5 5 46 25" align="align:center middle;" id="caption12" style="font:Dotum,9,bold;"/>
  493. <Button position="absolute 122 26 164 45" id="btn_cnfm" class="btn2" text="확인" onclick="group1_btn_cnfm_onclick"/>
  494. <Button position="absolute 166 26 208 45" id="button6" class="btn2" text="취소" onclick="group1_button6_onclick"/>
  495. <Combo position="absolute 52 5 208 24" id="combo1" innerdataset="@ds_init_orddept" datacolumn="depthngnm" codecolumn="deptcd"/>
  496. </Layout>
  497. </Layouts>
  498. </Div>
  499. <Combo id="cmb_formcd" taborder="4" position="absolute 762 50 917 70" index="-1" displaynulltext="미비서식" class="combo_search" innerdataset="@ds_init_cmb_formcd" codecolumn="formcd" datacolumn="formnm" onitemchanged="cmb_formcd_onitemchanged"/>
  500. <Combo id="cmb_itemcd" taborder="5" position="absolute 923 50 1023 70" displaynulltext="미비아이템" class="combo_search" innerdataset="@ds_init_cmb_itemcd" codecolumn="unprepitemcd" datacolumn="unprepitemnm"/>
  501. <Static id="caption00" text="미비서식 :" class="search_name" position="absolute 685 51 757 69"/>
  502. <PopupMenu id="pmn_popupMenu" innerdataset="ds_popupmenu" idcolumn="hardcd" captioncolumn="hardcdnm" levelcolumn="level" onmenuclick="pmn_popupMenu_onmenuclick" position="absolute 1116 193 1194 220"/>
  503. </Layout>
  504. </Layouts>
  505. <Objects>
  506. <Dataset id="ds_main_unpreprecinfo_unprepreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_unpreprecinfo_unprepreclist_oncolumnchanged">
  507. <ColumnInfo>
  508. <Column id="status" type="STRING" size="256"/>
  509. <Column id="indschflag" type="STRING" size="256"/>
  510. <Column id="pid" type="STRING" size="256"/>
  511. <Column id="hngnm" type="STRING" size="256"/>
  512. <Column id="dschdd" type="STRING" size="256"/>
  513. <Column id="indd" type="STRING" size="256"/>
  514. <Column id="unprepstat" type="STRING" size="256"/>
  515. <Column id="doctkindflag" type="STRING" size="256"/>
  516. <Column id="drstate" type="STRING" size="256"/>
  517. <Column id="unprepdrnm" type="STRING" size="256"/>
  518. <Column id="unprepdeptnm" type="STRING" size="256"/>
  519. <Column id="formnm" type="STRING" size="256"/>
  520. <Column id="degnitemnm" type="STRING" size="256"/>
  521. <Column id="formrecdd" type="STRING" size="256"/>
  522. <Column id="medirecalertcnts" type="STRING" size="256"/>
  523. <Column id="drcnfmdt" type="STRING" size="256"/>
  524. <Column id="dralertcnts" type="STRING" size="256"/>
  525. <Column id="fstrgstrnm" type="STRING" size="256"/>
  526. <Column id="fstrgstdt" type="STRING" size="256"/>
  527. <Column id="lastupdtrnm" type="STRING" size="256"/>
  528. <Column id="lastupdtdt" type="STRING" size="256"/>
  529. <Column id="overchk" type="STRING" size="256"/>
  530. <Column id="cosignyn" type="STRING" size="256"/>
  531. </ColumnInfo>
  532. <Rows>
  533. <Row>
  534. <Col id="status"/>
  535. <Col id="indschflag"/>
  536. <Col id="pid"/>
  537. <Col id="hngnm"/>
  538. <Col id="dschdd"/>
  539. <Col id="indd"/>
  540. <Col id="unprepstat"/>
  541. <Col id="doctkindflag"/>
  542. <Col id="drstate"/>
  543. <Col id="unprepdrnm"/>
  544. <Col id="unprepdeptnm"/>
  545. <Col id="formnm"/>
  546. <Col id="degnitemnm"/>
  547. <Col id="formrecdd"/>
  548. <Col id="medirecalertcnts"/>
  549. <Col id="drcnfmdt"/>
  550. <Col id="dralertcnts"/>
  551. <Col id="fstrgstrnm"/>
  552. <Col id="fstrgstdt"/>
  553. <Col id="lastupdtrnm"/>
  554. <Col id="lastupdtdt"/>
  555. <Col id="overchk"/>
  556. </Row>
  557. </Rows>
  558. </Dataset>
  559. <Dataset id="ds_main_unpreprecinfo_unprepreccnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  560. <ColumnInfo>
  561. <Column id="patcnt" type="STRING" size="256"/>
  562. <Column id="unprepcnt" type="STRING" size="256"/>
  563. </ColumnInfo>
  564. <Rows>
  565. <Row>
  566. <Col id="patcnt"/>
  567. <Col id="unprepcnt"/>
  568. </Row>
  569. </Rows>
  570. </Dataset>
  571. <Dataset id="ds_main_cond_unpreppatbase" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  572. <ColumnInfo>
  573. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  574. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  575. <Column id="cretno" type="STRING" size="256" sumtext="생성번호"/>
  576. <Column id="scrnflag" type="STRING" size="256" sumtext="화면구분"/>
  577. <Column id="dschflag" type="STRING" size="256" sumtext="등록번호"/>
  578. <Column id="unprepstat" type="STRING" size="256" sumtext="미비상태"/>
  579. <Column id="unprepdrid" type="STRING" size="256" sumtext="미비의사ID"/>
  580. <Column id="unprepdrnm" type="STRING" size="256" sumtext="미비의사명"/>
  581. <Column id="doctkindflag" type="STRING" size="256" sumtext="미비의사구분"/>
  582. <Column id="srchflag" type="STRING" size="256" sumtext="검색구분"/>
  583. <Column id="fromdd" type="STRING" size="256" sumtext="시작일자"/>
  584. <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
  585. <Column id="deptflag" type="STRING" size="256" sumtext="부서구분"/>
  586. <Column id="orddeptcd" type="STRING" size="256" sumtext="부서코드"/>
  587. <Column id="unprepsign" type="STRING" size="256" sumtext="StaffSign구분"/>
  588. <Column id="unprepstatlist" type="STRING" size="256" sumtext="미비상태리스트"/>
  589. <Column id="cosignflag" type="STRING" size="256" sumtext="인증구분"/>
  590. <Column id="drstate" type="STRING" size="256" sumtext="의사상태(파견, 종료)"/>
  591. <Column id="dayflag" type="STRING" size="256" sumtext="날짜조회구분"/>
  592. <Column id="scrnflag" type="STRING" size="256" sumtext="화면구분"/>
  593. <Column id="orderby" type="STRING" size="256" sumtext="정렬"/>
  594. <Column id="detldeptcd" type="STRING" size="256" sumtext="미비세부과"/>
  595. <Column id="hngnm" type="STRING" size="256"/>
  596. <Column id="chosinfo" type="STRING" size="256"/>
  597. </ColumnInfo>
  598. <Rows>
  599. <Row/>
  600. </Rows>
  601. </Dataset>
  602. <Dataset id="ds_main_cond_unprepdrbase" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  603. <ColumnInfo>
  604. <Column id="dschflag" type="STRING" size="256"/>
  605. <Column id="unprepstat" type="STRING" size="256"/>
  606. <Column id="unprepdrnm" type="STRING" size="256"/>
  607. <Column id="unprepdrid" type="STRING" size="256"/>
  608. <Column id="doctkindflag" type="STRING" size="256"/>
  609. <Column id="srchflag" type="STRING" size="256"/>
  610. <Column id="fromdd" type="STRING" size="256"/>
  611. <Column id="todd" type="STRING" size="256"/>
  612. <Column id="deptflag" type="STRING" size="256"/>
  613. <Column id="orddeptcd" type="STRING" size="256"/>
  614. <Column id="unprepstatlist" type="STRING" size="256"/>
  615. <Column id="unprepsign" type="STRING" size="256"/>
  616. <Column id="dayflag" type="STRING" size="256"/>
  617. <Column id="orderby" type="STRING" size="256"/>
  618. <Column id="scrnflag" type="STRING" size="256"/>
  619. <Column id="detldept" type="STRING" size="256"/>
  620. <Column id="detldeptcd" type="STRING" size="256"/>
  621. <Column id="formcd" type="STRING" size="256"/>
  622. <Column id="unprepitemcd" type="STRING" size="256"/>
  623. </ColumnInfo>
  624. <Rows>
  625. <Row>
  626. <Col id="dschflag">D</Col>
  627. <Col id="unprepstat">1 3</Col>
  628. <Col id="unprepdrnm"/>
  629. <Col id="unprepdrid"/>
  630. <Col id="doctkindflag">-</Col>
  631. <Col id="srchflag">dsch</Col>
  632. <Col id="fromdd"/>
  633. <Col id="todd"/>
  634. <Col id="deptflag">unprep</Col>
  635. <Col id="orddeptcd">-</Col>
  636. <Col id="unprepstatlist"/>
  637. <Col id="unprepsign"/>
  638. <Col id="dayflag">N</Col>
  639. <Col id="orderby"/>
  640. <Col id="scrnflag"/>
  641. <Col id="detldept"/>
  642. <Col id="detldeptcd"/>
  643. </Row>
  644. </Rows>
  645. </Dataset>
  646. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  647. <ColumnInfo>
  648. <Column id="srchflag" type="STRING" size="256"/>
  649. <Column id="patcnt" type="STRING" size="256"/>
  650. <Column id="reccnt" type="STRING" size="256"/>
  651. <Column id="formcd" type="STRING" size="256"/>
  652. <Column id="itemcd" type="STRING" size="256"/>
  653. </ColumnInfo>
  654. <Rows>
  655. <Row>
  656. <Col id="srchflag"/>
  657. <Col id="patcnt"/>
  658. <Col id="reccnt"/>
  659. </Row>
  660. </Rows>
  661. </Dataset>
  662. <Dataset id="ds_main_patinfo_pathistlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  663. <Dataset id="ds_main_unprepdrinfo_unprepdrlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  664. <ColumnInfo>
  665. <Column id="checkflag" type="STRING" size="256"/>
  666. <Column id="orddeptnm" type="STRING" size="256"/>
  667. <Column id="orddeptcd" type="STRING" size="256"/>
  668. <Column id="jobposnm" type="STRING" size="256"/>
  669. <Column id="orddrid" type="STRING" size="256"/>
  670. <Column id="orddrnm" type="STRING" size="256"/>
  671. </ColumnInfo>
  672. <Rows>
  673. <Row>
  674. <Col id="checkflag"/>
  675. <Col id="orddeptnm"/>
  676. <Col id="orddeptcd"/>
  677. <Col id="jobposnm"/>
  678. <Col id="orddrid"/>
  679. <Col id="orddrnm"/>
  680. </Row>
  681. </Rows>
  682. </Dataset>
  683. <Dataset id="ds_main_delivefact" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_delivefact_oncolumnchanged">
  684. <ColumnInfo>
  685. <Column id="medirecalertcnts" type="STRING" size="256"/>
  686. <Column id="dralertcnts" type="STRING" size="256"/>
  687. </ColumnInfo>
  688. <Rows>
  689. <Row>
  690. <Col id="medirecalertcnts"/>
  691. <Col id="dralertcnts"/>
  692. </Row>
  693. </Rows>
  694. </Dataset>
  695. <Dataset id="ds_main_unprepiteminfo_unprepiteminfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  696. <Dataset id="ds_main_patreclist_patreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  697. <Dataset id="ds_main_unprepdeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  698. <ColumnInfo>
  699. <Column id="detldeptcd" type="STRING" size="256"/>
  700. <Column id="unprepdeptcd" type="STRING" size="256"/>
  701. </ColumnInfo>
  702. <Rows>
  703. <Row>
  704. <Col id="detldeptcd"/>
  705. <Col id="unprepdeptcd"/>
  706. </Row>
  707. </Rows>
  708. </Dataset>
  709. <Dataset id="ds_main_medalertinfo_medalertlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  710. <Dataset id="ds_main_dralertinfo_dralertlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  711. <Dataset id="ds_init_orddept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  712. <Dataset id="ds_init_popupmenu_menu_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  713. <ColumnInfo>
  714. <Column id="name" type="STRING" size="256"/>
  715. <Column id="func" type="STRING" size="256"/>
  716. <Column id="level" type="STRING" size="256"/>
  717. </ColumnInfo>
  718. <Rows>
  719. <Row>
  720. <Col id="name">배치미비</Col>
  721. <Col id="func">fSetUnPrepRecInfo0</Col>
  722. <Col id="level">0</Col>
  723. </Row>
  724. <Row>
  725. <Col id="name">미비확인</Col>
  726. <Col id="func">fSetUnPrepRecInfo1</Col>
  727. <Col id="level">0</Col>
  728. </Row>
  729. <Row>
  730. <Col id="name">의사확인</Col>
  731. <Col id="func">fSetUnPrepRecInfo2</Col>
  732. <Col id="level">0</Col>
  733. </Row>
  734. <Row>
  735. <Col id="name">재미비</Col>
  736. <Col id="func">fSetUnPrepRecInfo3</Col>
  737. <Col id="level">0</Col>
  738. </Row>
  739. <Row>
  740. <Col id="name">완료</Col>
  741. <Col id="func">fSetUnPrepRecInfo4</Col>
  742. <Col id="level">0</Col>
  743. </Row>
  744. <Row>
  745. <Col id="name">미비삭제</Col>
  746. <Col id="func">fDelUnPrepRecInfo</Col>
  747. <Col id="level">0</Col>
  748. </Row>
  749. <Row>
  750. <Col id="name">-</Col>
  751. <Col id="func"/>
  752. <Col id="level"/>
  753. </Row>
  754. <Row>
  755. <Col id="name">의사변경</Col>
  756. <Col id="func">fChngUnPrepDrInfo</Col>
  757. <Col id="level">0</Col>
  758. </Row>
  759. <Row>
  760. <Col id="name">직종변경(I.)</Col>
  761. <Col id="func">fChngUnPrepInternPos</Col>
  762. <Col id="level">0</Col>
  763. </Row>
  764. <Row>
  765. <Col id="name">직종변경(R.)</Col>
  766. <Col id="func">fChngUnPrepResiPos</Col>
  767. <Col id="level">0</Col>
  768. </Row>
  769. <Row>
  770. <Col id="name">직종변경(St.)</Col>
  771. <Col id="func">fChngUnPrepStaffPos</Col>
  772. <Col id="level">0</Col>
  773. </Row>
  774. <Row>
  775. <Col id="name">-</Col>
  776. <Col id="func"/>
  777. <Col id="level"/>
  778. </Row>
  779. <Row>
  780. <Col id="name">미비과변경</Col>
  781. <Col id="func">fOpenUnPrepDeptCD</Col>
  782. <Col id="level">0</Col>
  783. </Row>
  784. <Row>
  785. <Col id="name">미비분과변경</Col>
  786. <Col id="func">fOpenUnPrepDeltDeptCD</Col>
  787. <Col id="level">0</Col>
  788. </Row>
  789. <Row>
  790. <Col id="name">변경취소</Col>
  791. <Col id="func">fCnclSetPrepRecInfo</Col>
  792. <Col id="level">0</Col>
  793. </Row>
  794. <Row>
  795. <Col id="name">기록연결 해제</Col>
  796. <Col id="func">fCnclFormRecSeq</Col>
  797. <Col id="level">0</Col>
  798. </Row>
  799. <Row>
  800. <Col id="name">권고상병보기</Col>
  801. <Col id="func">fGetDetlPropDiag</Col>
  802. <Col id="level">0</Col>
  803. </Row>
  804. <Row>
  805. <Col id="name">기록이력조회</Col>
  806. <Col id="func">fOpenMedirecList</Col>
  807. <Col id="level">0</Col>
  808. </Row>
  809. </Rows>
  810. </Dataset>
  811. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  812. <ColumnInfo>
  813. <Column id="unprepdeptcd" type="STRING" size="256"/>
  814. <Column id="openday" type="STRING" size="256"/>
  815. <Column id="hardcd" type="STRING" size="256"/>
  816. <Column id="merge" type="STRING" size="256"/>
  817. </ColumnInfo>
  818. <Rows>
  819. <Row>
  820. <Col id="unprepdeptcd"/>
  821. <Col id="openday"/>
  822. <Col id="hardcd"/>
  823. <Col id="merge">1</Col>
  824. </Row>
  825. </Rows>
  826. </Dataset>
  827. <Dataset id="ds_init_M0501" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  828. <Dataset id="ds_init_M0502" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  829. <Dataset id="ds_init_M0503" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  830. <Dataset id="ds_init_M0504_M0504" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  831. <Dataset id="ds_temp_unpreprecinfo_unprepreclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  832. <Dataset id="ds_temp_userinfo_usercombo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  833. <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  834. <ColumnInfo>
  835. <Column id="pid" type="STRING" size="256"/>
  836. <Column id="hngnm" type="STRING" size="256"/>
  837. <Column id="srchcond" type="STRING" size="256"/>
  838. <Column id="autoflag" type="STRING" size="256"/>
  839. </ColumnInfo>
  840. <Rows>
  841. <Row>
  842. <Col id="pid"/>
  843. <Col id="hngnm"/>
  844. <Col id="srchcond"/>
  845. <Col id="autoflag"/>
  846. </Row>
  847. </Rows>
  848. </Dataset>
  849. <Dataset id="ds_init_hardcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  850. <Dataset id="ds_init_openday" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  851. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  852. <Dataset id="ds_main_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  853. <ColumnInfo>
  854. <Column id="indschflag" type="STRING" size="256"/>
  855. </ColumnInfo>
  856. <Rows>
  857. <Row>
  858. <Col id="indschflag"/>
  859. </Row>
  860. </Rows>
  861. </Dataset>
  862. <Dataset id="ds_main_cond_excelcond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  863. <ColumnInfo>
  864. <Column id="startdate" type="STRING" size="256"/>
  865. <Column id="enddate" type="STRING" size="256"/>
  866. <Column id="steps" type="STRING" size="256"/>
  867. </ColumnInfo>
  868. <Rows>
  869. <Row>
  870. <Col id="startdate"/>
  871. <Col id="enddate"/>
  872. <Col id="steps">3</Col>
  873. </Row>
  874. </Rows>
  875. </Dataset>
  876. <Dataset id="ds_init_openday_M0037M0546" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  877. <ColumnInfo>
  878. <Column id="cdid" type="STRING" size="256"/>
  879. </ColumnInfo>
  880. <Rows>
  881. <Row>
  882. <Col id="cdid"/>
  883. </Row>
  884. </Rows>
  885. </Dataset>
  886. <Dataset id="ds_send_recreqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  887. <Dataset id="ds_chk_unprepflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  888. <ColumnInfo>
  889. <Column id="label" type="STRING" size="256"/>
  890. <Column id="value" type="STRING" size="256"/>
  891. </ColumnInfo>
  892. <Rows>
  893. <Row>
  894. <Col id="label">전체</Col>
  895. <Col id="value">-</Col>
  896. </Row>
  897. <Row>
  898. <Col id="label">배치미비</Col>
  899. <Col id="value">0</Col>
  900. </Row>
  901. <Row>
  902. <Col id="label">미비확인</Col>
  903. <Col id="value">1</Col>
  904. </Row>
  905. <Row>
  906. <Col id="label">의사확인</Col>
  907. <Col id="value">2</Col>
  908. </Row>
  909. <Row>
  910. <Col id="label">재미비</Col>
  911. <Col id="value">3</Col>
  912. </Row>
  913. <Row>
  914. <Col id="label">완료</Col>
  915. <Col id="value">4</Col>
  916. </Row>
  917. <Row>
  918. <Col id="label">기록삭제</Col>
  919. <Col id="value">8</Col>
  920. </Row>
  921. </Rows>
  922. </Dataset>
  923. <Dataset id="ds_cbo_unprepstat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  924. <ColumnInfo>
  925. <Column id="label" type="STRING" size="256"/>
  926. <Column id="value" type="STRING" size="256"/>
  927. </ColumnInfo>
  928. <Rows>
  929. <Row>
  930. <Col id="label">배치미비</Col>
  931. <Col id="value">0</Col>
  932. </Row>
  933. <Row>
  934. <Col id="label">미비확인</Col>
  935. <Col id="value">1</Col>
  936. </Row>
  937. <Row>
  938. <Col id="label">의사확인</Col>
  939. <Col id="value">2</Col>
  940. </Row>
  941. <Row>
  942. <Col id="label">재미비</Col>
  943. <Col id="value">3</Col>
  944. </Row>
  945. <Row>
  946. <Col id="label">완료</Col>
  947. <Col id="value">4</Col>
  948. </Row>
  949. <Row>
  950. <Col id="label">기록삭제</Col>
  951. <Col id="value">8</Col>
  952. </Row>
  953. </Rows>
  954. </Dataset>
  955. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  956. <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  957. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  958. <Dataset id="ds_attachfile" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  959. <PropertyAnimation id="PropertyAnimation00" endingmode="to" repeat="1" repeattype="normal" duration="0" starttime="0"/>
  960. <Dataset id="ds_init_cmb_formcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  961. <ColumnInfo>
  962. <Column id="formnm" type="STRING"/>
  963. <Column id="formcd" type="STRING"/>
  964. </ColumnInfo>
  965. </Dataset>
  966. <Dataset id="ds_init_cmb_itemcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  967. <ColumnInfo>
  968. <Column id="unprepitemnm" type="STRING"/>
  969. <Column id="unprepitemcd" type="STRING"/>
  970. </ColumnInfo>
  971. </Dataset>
  972. <Dataset id="ds_popupmenu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  973. <ColumnInfo>
  974. <Column id="hardcd" type="STRING" size="256"/>
  975. <Column id="hardcdnm" type="STRING" size="256"/>
  976. <Column id="level" type="STRING" size="256"/>
  977. </ColumnInfo>
  978. <Rows>
  979. <Row>
  980. <Col id="level">0</Col>
  981. <Col id="hardcdnm">기록비교</Col>
  982. <Col id="hardcd">lf_recCompare</Col>
  983. </Row>
  984. </Rows>
  985. </Dataset>
  986. </Objects>
  987. <Bind>
  988. <BindItem id="item0" compid="ipt_pid" propid="value" datasetid="ds_main_cond_unpreppatbase" columnid="pid"/>
  989. <BindItem id="item1" compid="input1" propid="value" datasetid="ds_main_cond_unpreppatbase" columnid="hngnm"/>
  990. <BindItem id="item2" compid="cmb_chosinfo" propid="value" datasetid="ds_main_cond_unpreppatbase" columnid="chosinfo"/>
  991. <BindItem id="item3" compid="rdo_deptflag" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="deptflag"/>
  992. <BindItem id="item4" compid="cmb_orddept" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="orddeptcd"/>
  993. <BindItem id="item5" compid="cmb_detldept" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="detldeptcd"/>
  994. <BindItem id="item6" compid="ipt_unprepdrnm" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="unprepdrnm"/>
  995. <BindItem id="item7" compid="combo2" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="doctkindflag"/>
  996. <BindItem id="item8" compid="rdo_inoutflag" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="dschflag"/>
  997. <BindItem id="item16" compid="radio_detldept" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="detldept"/>
  998. <BindItem id="item17" compid="bool1" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="dayflag"/>
  999. <BindItem id="item18" compid="cmb_inoutddflag" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="srchflag"/>
  1000. <BindItem id="item19" compid="ipt_fromdd" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="fromdd"/>
  1001. <BindItem id="item20" compid="ipt_todd" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="todd"/>
  1002. <BindItem id="item21" compid="opt_pid" propid="value" datasetid="ds_main_cond" columnid="patcnt"/>
  1003. <BindItem id="item22" compid="opt_formcd" propid="value" datasetid="ds_main_cond" columnid="reccnt"/>
  1004. <BindItem id="item23" compid="chk_merge" propid="value" datasetid="ds_init" columnid="merge"/>
  1005. <BindItem id="item24" compid="group3.cmb_detldeptcd" propid="value" datasetid="ds_main_unprepdeptcd" columnid="detldeptcd"/>
  1006. <BindItem id="item25" compid="group1.combo1" propid="value" datasetid="ds_init" columnid="unprepdeptcd"/>
  1007. <BindItem id="item26" compid="textarea2" propid="value" datasetid="ds_main_delivefact" columnid="medirecalertcnts"/>
  1008. <BindItem id="item27" compid="textarea1" propid="value" datasetid="ds_main_delivefact" columnid="dralertcnts"/>
  1009. <BindItem id="item28" compid="group2.radio1" propid="value" datasetid="ds_main_cond_excelcond" columnid="steps"/>
  1010. <BindItem id="item29" compid="group2.input3" propid="value" datasetid="ds_main_cond_excelcond" columnid="enddate"/>
  1011. <BindItem id="item30" compid="group2.input2" propid="value" datasetid="ds_main_condition" columnid="startdate"/>
  1012. <BindItem id="item9" compid="cmb_formcd" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="formcd"/>
  1013. <BindItem id="item10" compid="cmb_itemcd" propid="value" datasetid="ds_main_cond_unprepdrbase" columnid="unprepitemcd"/>
  1014. </Bind>
  1015. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1016. * System Name :
  1017. * Job Name :
  1018. * Creator :
  1019. * Make Date : 2015-05-01
  1020. * Description :
  1021. *---------------------------------------------------------------------------------------
  1022. * Modify Date Modifier Modify Description
  1023. *---------------------------------------------------------------------------------------
  1024. * 2015-05-01 Live Converter TF->XP
  1025. *
  1026. *---------------------------------------------------------------------------------------
  1027. ****************************************************************************************/
  1028. include "com_commonxp::comm_main.xjs";
  1029. include "emr_prcpmngtxp::MMOCommon.xjs"
  1030. include "emr_unprepmngtxp::SMMRI01700.xjs"
  1031. include "emr_medirecxp::SPMMR07000.xjs";
  1032. var arErrorCode = new HashArray();
  1033. function SMMRI01700_oninit(obj:Form, e:InitEventInfo)
  1034. {
  1035. frmf_initForm(obj); //폼 초기화
  1036. grdf_initGrid(grd_patreclist);
  1037. }
  1038. function SMMRI01700_onload(obj:Form, e:LoadEventInfo)
  1039. {
  1040. lf_getHardCDList("N", 1240, null, ds_init_hardcd);
  1041. var sProp = "col=7,row=1,cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  1042. chk_unprepflag.setInitComp(sProp, ds_chk_unprepflag,"value","label", "fn_unprepflag");
  1043. chk_unprepflag.setData(ds_main_cond_unprepdrbase.getColumn(0, "unprepstat").split(" "), " ", false);
  1044. fReqGetFormList(); //서식명 조회
  1045. ds_main_cond.setColumn(0, "formcd" ,"-");
  1046. //미비기록리스트의 merge기본 설정을 false로 처리
  1047. // grd_unprepreclist.autoMerge = false;
  1048. // for(var i = 0; i < grd_unprepreclist.cols; i++){
  1049. // grd_unprepreclist.mergeCol(i) = false;
  1050. // }
  1051. var arrParam = new Array();
  1052. arrParam.push({bizId:"M0037", cdGrpId:"M0546", dsNm:"ds_init_openday", sortField:"cdnm", sortMehotd:"desc"});
  1053. appf_getKindCodeList(arrParam);
  1054. //그리드의 짝수행의 색변화를 제거
  1055. //grd_unprepreclist.backColorAlternate = "#ffffff";
  1056. //조회구분일자(퇴원, 작업) 설정
  1057. ds_main_cond_unprepdrbase.setColumn(0, "fromdd", utlf_getCurrentDate());
  1058. ds_main_cond_unprepdrbase.setColumn(0, "todd" , utlf_getCurrentDate());
  1059. //미비과, 퇴원과설정
  1060. lf_mmbfGetDeptCodeComboList(ds_init_orddept, "A", utlf_getCurrentDate()); //병동코드 콤보
  1061. frmf_addComboItem("cmb_orddept", "전체", "-", "above");
  1062. frmf_addComboItem("cmb_orddept", "호스피스과", "3100000000", "below");
  1063. //Count예외 미비항목 조회
  1064. reqGetUnPrepBaseExptCnt();
  1065. //미비기록리스트 grid 초기화
  1066. ds_main_unpreprecinfo_unprepreclist.clearData();
  1067. group1.position.height = 0;
  1068. group3.position.height = 0;
  1069. fInitialize();
  1070. }
  1071. function ds_main_delivefact_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1072. {
  1073. if(e.columnid == "dralertcnts"){
  1074. if(ds_main_unpreprecinfo_unprepreclist.rowcount > 0){
  1075. if(sDRALERT == textarea1.value){
  1076. return;
  1077. }
  1078. }
  1079. }else if(e.columnid == "medirecalertcnts"){
  1080. if(ds_main_unpreprecinfo_unprepreclist.rowcount > 0){
  1081. if(sMEDIALERT == textarea2.value){
  1082. return;
  1083. }else{
  1084. var status = ds_main_unpreprecinfo_unprepreclist.getColumn(ds_main_unpreprecinfo_unprepreclist.rowposition, "status");
  1085. if(utlf_isNull(status)){
  1086. ds_main_unpreprecinfo_unprepreclist.enableevent = false;
  1087. ds_main_unpreprecinfo_unprepreclist.setColumn(ds_main_unpreprecinfo_unprepreclist.rowposition, "status", "ua");
  1088. ds_main_unpreprecinfo_unprepreclist.enableevent = true;
  1089. }
  1090. ds_main_unpreprecinfo_unprepreclist.enableevent = false;
  1091. ds_main_unpreprecinfo_unprepreclist.setColumn(ds_main_unpreprecinfo_unprepreclist.rowposition, "medirecalertcnts", textarea2.value);
  1092. ds_main_unpreprecinfo_unprepreclist.enableevent = true;
  1093. }
  1094. }
  1095. }
  1096. }
  1097. function textarea1_onsetfocus(obj:TextArea, e:SetFocusEventInfo)
  1098. {
  1099. sDRALERT = textarea1.value;
  1100. }
  1101. function textarea2_onsetfocus(obj:TextArea, e:SetFocusEventInfo)
  1102. {
  1103. sMEDIALERT = textarea2.value;
  1104. }
  1105. function btn_unprepcert_onclick(obj:Button, e:ClickEventInfo)
  1106. {
  1107. //등록번호, 진료일자(입원일자), 생성번호, 진료과, 진료의, 입퇴원구분
  1108. var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
  1109. if(currow >= 0){
  1110. var pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid");
  1111. var orddd = "";
  1112. var cretno = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "cretno");
  1113. var indschflag = ds_main_condition.getColumn(0, "indschflag");
  1114. if(indschflag != "O"){
  1115. orddd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "indd");
  1116. }else{
  1117. orddd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "orddd");
  1118. }
  1119. //퇴원일자가 99991231이 아닌 경우는 퇴원처리, 그 이외는 입원
  1120. var dschdd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "dschdd");
  1121. if(dschdd != '99991231'){
  1122. indschflag = "D";
  1123. }else{
  1124. indschflag = "I";
  1125. }
  1126. }else{
  1127. if(pid != ds_main_cond_unpreppatbase.getColumn(0, "pid")){
  1128. if(!utlf_isNull(cmb_chosinfo.value)){
  1129. var row = parseInt(cmb_chosinfo.value)-1;
  1130. var pid = ds_main_patinfo_pathistlist.getColumn(row, "pid");
  1131. var orddd = ds_main_patinfo_pathistlist.getColumn(row, "orddd");
  1132. var cretno = ds_main_patinfo_pathistlist.getColumn(row, "cretno");
  1133. var dschdd = ds_main_patinfo_pathistlist.getColumn(row, "dschdd");
  1134. if(dschdd == "99991231"){
  1135. indschflag = "I";
  1136. }else{
  1137. indschflag = "D";
  1138. }
  1139. }
  1140. }
  1141. }
  1142. // 2010.01.08 이남익 추가
  1143. // 조회하지 않고 미비추가시 또는 선택되지 않고 미비추가시
  1144. if(utlf_isNull(indschflag)){
  1145. indschflag = ds_main_cond_unprepdrbase.getColumn(0, "dschflag")
  1146. }
  1147. var wndobj = frmf_findPopup("SPMRI02600");
  1148. if(utlf_isNull(wndobj)){
  1149. frmf_setParameter("SPMRI02600_pid" , pid);
  1150. frmf_setParameter("SPMRI02600_orddd" , orddd);
  1151. frmf_setParameter("SPMRI02600_cretno" , cretno);
  1152. frmf_setParameter("SPMRI02600_dschflag" , indschflag);
  1153. frmf_open("SPMRI02600", "SPMRI02600", "", null, "", "", "", null, null, null, null, null, "M");
  1154. }else{
  1155. wndobj.gRecLoad = "N";
  1156. wndobj.fSetPatInfo(pid, orddd, cretno, indschflag);
  1157. }
  1158. }
  1159. function btn_ex_onclick(obj:Button, e:ClickEventInfo)
  1160. {
  1161. grdf_exportExcel(grd_unprepreclist, "미비기록관리" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  1162. }
  1163. function btn_del_onclick(obj:Button, e:ClickEventInfo)
  1164. {
  1165. fDelUnPrepRecInfo();
  1166. }
  1167. function btn_requnprepdrbase_onclick(obj:Button, e:ClickEventInfo)
  1168. {
  1169. ds_main_cond_unprepdrbase.setColumn(0, "orderby", "");
  1170. ds_main_delivefact.enableevent = false;
  1171. ds_main_delivefact.setColumn(0, "medirecalertcnts", "");
  1172. ds_main_delivefact.setColumn(0, "dralertcnts", "");
  1173. ds_main_delivefact.enableevent = true;
  1174. fReqGetUnPrepRecDrBaseList("N");
  1175. }
  1176. function btn_realunprep_onclick(obj:Button, e:ClickEventInfo)
  1177. {
  1178. ds_main_cond_unprepdrbase.setColumn(0, "orderby", "");
  1179. ds_main_delivefact.enableevent = false;
  1180. ds_main_delivefact.setColumn(0, "medirecalertcnts", "");
  1181. ds_main_delivefact.setColumn(0, "dralertcnts", "");
  1182. ds_main_delivefact.enableevent = true;
  1183. fReqGetUnPrepRecDrBaseList("Y");
  1184. }
  1185. function button1_onclick(obj:Button, e:ClickEventInfo)
  1186. {
  1187. grd_unprepreclist.enable = false;
  1188. btn_requnpreppatbase.enable = false;
  1189. btn_requnprepdrbase.enable = false;
  1190. btn_realunprep.enable = false;
  1191. btn_opinfo.enable = false;
  1192. btn_totrec.enable = false;
  1193. btn_unprepcert.enable = false;
  1194. btn_del.enable = false;
  1195. btn_ex.enable = false;
  1196. btn_save.enable = false;
  1197. group2.position.height = 70;
  1198. ds_main_delivefact.enableevent = false;
  1199. ds_main_delivefact.setColumn(0, "medirecalertcnts", "");
  1200. ds_main_delivefact.setColumn(0, "dralertcnts", "");
  1201. ds_main_delivefact.enableevent = true;
  1202. // 2009-07-25 이경희
  1203. // 엑셀저장시 2009/07/01로 고정된 부분을 수정.
  1204. var opendd = utlf_transNullToEmpty(ds_init_openday_M0037M0546.getColumn(0, "cdid")); // 병원별 오픈일
  1205. var startDate = opendd.toDate().getDateFormat("YYYYMM") + "01"; // 오픈한 달의 첫날부터로 설정
  1206. ds_main_cond_excelcond.setColumn(0, "startdate", startDate);
  1207. ds_main_cond_excelcond.setColumn(0, "enddate" , utlf_getCurrentDate());
  1208. }
  1209. function btn_patreq_onclick(obj:Button, e:ClickEventInfo)
  1210. {
  1211. ds_tmp.setColumn(0, "pid" , ds_main_cond_unpreppatbase.getColumn(0, "pid"));
  1212. ds_tmp.setColumn(0, "hngnm" , ds_main_cond_unpreppatbase.getColumn(0, "hngnm"));
  1213. if(utlf_isNull(ds_main_cond_unpreppatbase.getColumn(0, "pid"))){
  1214. ds_tmp.setColumn(0, "srchcond", 1);
  1215. }else{
  1216. ds_tmp.setColumn(0, "srchcond", 2);
  1217. }
  1218. ds_tmp.setColumn(0, "autoflag", "Y");
  1219. var objArg = new Object();
  1220. objArg.arg_ds_send = ds_tmp;
  1221. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, "1", "10", "10", null, null, null, null, null, "M");
  1222. }
  1223. function ipt_unprepdrnm_onkeydown(obj:Edit, e:KeyEventInfo)
  1224. {
  1225. //enter입력시
  1226. if(e.keycode == 13){
  1227. obj.updateToDataset();
  1228. ds_main_cond_unprepdrbase.setColumn(0, "unprepdrnm", ipt_unprepdrnm.text);
  1229. var unprepdrnm = ipt_unprepdrnm.text;
  1230. if((unprepdrnm.charAt(0)).isNumber()){
  1231. fReqGetUnPrepDrSmplList("id", unprepdrnm);
  1232. }else{
  1233. fReqGetUnPrepDrSmplList("nm", unprepdrnm);
  1234. }
  1235. var nodelist = ds_temp_userinfo_usercombo.rowcount;
  1236. if(nodelist == 0){
  1237. sysf_messageBox("의사 정보가", "I004");
  1238. return;
  1239. }else if(nodelist == 1){
  1240. ds_main_cond_unprepdrbase.setColumn(0, "unprepdrid", ds_temp_userinfo_usercombo.getColumn(0, "userid"));
  1241. ds_main_cond_unprepdrbase.setColumn(0, "unprepdrnm", ds_temp_userinfo_usercombo.getColumn(0, "usernm"));
  1242. }else if(nodelist > 1){
  1243. frmf_setParameter("SPMRI02900_stnddd" , utlf_getCurrentDate());
  1244. frmf_setParameter("SPMRI02900_orddrnm", ipt_unprepdrnm.text);
  1245. frmf_modal("SPMRI02900", "SPMRI02900", "", null, "", "", "", null, null, null, null, null, "M");
  1246. if(frmf_getParameter("SPMRI02900_useyn")=="Y"){
  1247. var doctinfo = frmf_getParameter("SPMRI02900_rtnparam");
  1248. doctinfo = utlf_transNullToEmpty(doctinfo).split("^");
  1249. ds_main_cond_unprepdrbase.setColumn(0, "unprepdrid", doctinfo[3]);
  1250. ds_main_cond_unprepdrbase.setColumn(0, "unprepdrnm", doctinfo[4]);
  1251. }
  1252. }else{
  1253. ds_main_cond_unprepdrbase.setColumn(0, "unprepdrid", ds_main_unprepdrinfo_unprepdrlist.getColumn(0, "orddrid"));
  1254. ds_main_cond_unprepdrbase.setColumn(0, "unprepdrnm", ds_main_unprepdrinfo_unprepdrlist.getColumn(0, "orddrnm"));
  1255. }
  1256. }
  1257. }
  1258. function ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  1259. {
  1260. if(e.keycode == 13){
  1261. obj.updateToDataset();
  1262. fReqGetUnPrepPatChosInfo(ipt_pid.text, "I", "A");
  1263. cmb_chosinfo.index = 0;
  1264. var pid = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "pid");
  1265. var indd = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "orddd");
  1266. var cretno = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "cretno");
  1267. var hngnm = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "hngnm");
  1268. var dschdd = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "dschdd");
  1269. if(dschdd != '재원중'){
  1270. indschflag = "D";
  1271. }else{
  1272. indschflag = "I";
  1273. }
  1274. ds_main_cond_unpreppatbase.setColumn(0, "pid" , pid);
  1275. ds_main_cond_unpreppatbase.setColumn(0, "indd" , indd);
  1276. ds_main_cond_unpreppatbase.setColumn(0, "cretno", cretno);
  1277. ds_main_cond_unpreppatbase.setColumn(0, "hngnm" , hngnm);
  1278. ds_main_delivefact.enableevent = false;
  1279. ds_main_delivefact.setColumn(0, "medirecalertcnts", "");
  1280. ds_main_delivefact.setColumn(0, "dralertcnts", "");
  1281. ds_main_delivefact.enableevent = true;
  1282. btn_requnpreppatbase_onclick();
  1283. var wndobj = frmf_findPopup("SPMRI02700");
  1284. if(!utlf_isNull(wndobj)){
  1285. frmf_setParameter("SPMRI02700_pid", pid);
  1286. wndobj.fReqGetUnPrepOpList();
  1287. //wndobj.model.setFocus("grd_unprepoplist");
  1288. }
  1289. var wndobj2 = frmf_findPopup("SPMRI02600");
  1290. if(!utlf_isNull(wndobj2)){
  1291. wndobj2.gRecLoad = "N";
  1292. wndobj2.fSetPatInfo(pid, indd, cretno, indschflag);
  1293. }
  1294. //미비기록 연동창이 떠 있는 경우, 재조회 처리함
  1295. //2009. 02. 18 오지훈
  1296. if(grd_patreclist.visible == true){
  1297. fReqGetPatRecList(pid, indd, cretno);
  1298. sBFPID = pid;
  1299. sBFORDDD = indd;
  1300. sBFCRETNO = cretno;
  1301. }
  1302. }
  1303. }
  1304. function btn_requnpreppatbase_onclick(obj:Button, e:ClickEventInfo)
  1305. {
  1306. fReqGetUnPrepRecList();
  1307. ds_main_delivefact.enableevent = false;
  1308. ds_main_delivefact.setColumn(0, "medirecalertcnts", "");
  1309. ds_main_delivefact.setColumn(0, "dralertcnts", "");
  1310. ds_main_delivefact.enableevent = true;
  1311. }
  1312. function rdo_inoutflag_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1313. {
  1314. if(rdo_inoutflag.value == "D"){
  1315. ds_main_cond_unprepdrbase.setColumn(0, "srchflag", "dsch");
  1316. }else if(rdo_inoutflag.value == "I"){
  1317. ds_main_cond_unprepdrbase.setColumn(0, "srchflag", "indd");
  1318. }else if(rdo_inoutflag.value == "O"){
  1319. ds_main_cond_unprepdrbase.setColumn(0, "srchflag", "orddd");
  1320. }else if(rdo_inoutflag.value == "E"){
  1321. ds_main_cond_unprepdrbase.setColumn(0, "srchflag", "orddd");
  1322. }
  1323. }
  1324. function cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1325. {
  1326. // 외과, 소아청소년과, 산부인과 세부 분과 활성화함.
  1327. var orddeptcd = ds_main_cond_unprepdrbase.getColumn(0, "orddeptcd");
  1328. if(orddeptcd == "2040000000"
  1329. || orddeptcd == "2110000000"
  1330. || orddeptcd == "2100000000")
  1331. {
  1332. radio_detldept.enable = true;
  1333. radio_detldept.value = "Y";
  1334. cmb_detldept.enable = true;
  1335. //미비과에 따라 미비분과 combo정보를 변경
  1336. if(orddeptcd == "2040000000"){ //외과
  1337. cmb_detldept.innerdataset = "ds_init_M0501";
  1338. }else if(orddeptcd == "2100000000"){ //산부인과
  1339. cmb_detldept.innerdataset = "ds_init_M0502";
  1340. }else if(orddeptcd == "2110000000"){ //소아과
  1341. cmb_detldept.innerdataset = "ds_init_M0503";
  1342. }
  1343. frmf_addComboItem("cmb_detldept", "전체", "ALL", "above");
  1344. cmb_detldept.index = 0;
  1345. }
  1346. else
  1347. {
  1348. radio_detldept.enable = false;
  1349. radio_detldept.value = "N";
  1350. cmb_detldept.innerdataset = "ds_init_M0504";
  1351. ds_main_cond_unprepdrbase.setColumn(0, "detldeptcd", "");
  1352. cmb_detldept.enable = false;
  1353. }
  1354. }
  1355. function caption20_onclick(obj:Static, e:ClickEventInfo)
  1356. {
  1357. if(chk_merge.visible == false)
  1358. {
  1359. chk_merge.visible = true;
  1360. return;
  1361. }
  1362. if(chk_merge.visible == true)
  1363. {
  1364. chk_merge.visible = false;
  1365. return;
  1366. }
  1367. }
  1368. function cmb_chosinfo_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1369. {
  1370. var pid = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "pid");
  1371. var indd = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "orddd");
  1372. var cretno = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "cretno");
  1373. var dschdd = ds_main_patinfo_pathistlist.lookup("rowcnt", cmb_chosinfo.value, "dschdd");
  1374. ds_main_cond_unpreppatbase.setColumn(0, "pid" , pid);
  1375. ds_main_cond_unpreppatbase.setColumn(0, "indd" , indd);
  1376. ds_main_cond_unpreppatbase.setColumn(0, "cretno" , cretno);
  1377. btn_requnpreppatbase_onclick();
  1378. if(dschdd != '재원중'){
  1379. indschflag = "D";
  1380. }else{
  1381. indschflag = "I";
  1382. }
  1383. var wndobj = frmf_findPopup("SPMRI02700");
  1384. if(!utlf_isNull(wndobj)){
  1385. frmf_setParameter("SPMRI02700_pid", pid);
  1386. wndobj.fReqGetUnPrepOpList();
  1387. // wndobj.model.setFocus("grd_unprepoplist");
  1388. // wndobj.model.refresh();
  1389. }
  1390. var wndobj2 = frmf_findPopup("SPMRI02600");
  1391. if(!utlf_isNull(wndobj2)){
  1392. wndobj2.gRecLoad = "N";
  1393. wndobj2.fSetPatInfo(pid, indd, cretno, indschflag);
  1394. }
  1395. //미비기록 연동창이 떠 있는 경우, 재조회 처리함
  1396. //2009. 02. 18 오지훈
  1397. if(grd_patreclist.visible == true){
  1398. fReqGetPatRecList(pid, indd, cretno);
  1399. sBFPID = pid;
  1400. sBFORDDD = indd;
  1401. sBFCRETNO = cretno;
  1402. }
  1403. }
  1404. function grd_unprepreclist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  1405. {
  1406. grdf_setSelectedCell(obj, e);
  1407. }
  1408. function grd_unprepreclist_onexpandup(obj:Grid, e)
  1409. {
  1410. //grdf_setSelectedCell(obj, e);
  1411. var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
  1412. var curcol = grd_unprepreclist.currentcol;
  1413. //의무기록 전달사항 설정
  1414. if(curcol == grd_unprepreclist.getBindCellIndex("body", "medirecalertcnts")){
  1415. var medirecalertcnts = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "medirecalertcnts");
  1416. frmf_setParameter("SPMRI01900_scrnflag" , "m");
  1417. frmf_setParameter("SPMRI01900_alertcnts", medirecalertcnts);
  1418. frmf_modal("SPMRI01900", "SPMRI01900", "", null, "", "", "", null, null, null, null, null, "M");
  1419. if(frmf_getParameter("SPMRI01900_useyn") == "Y"){
  1420. ds_main_unpreprecinfo_unprepreclist.enableevent = false;
  1421. ds_main_unpreprecinfo_unprepreclist.setColumn(currow, "medirecalertcnts", frmf_getParameter("SPMRI01900_alertcnts"));
  1422. ds_main_unpreprecinfo_unprepreclist.enableevent = true;
  1423. }
  1424. //의사 전달사항 설정 -> 조회만 가능
  1425. }else if(curcol == grd_unprepreclist.getBindCellIndex("body", "dralertcnts")){
  1426. var dralertcnts = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "dralertcnts");
  1427. frmf_setParameter("SPMRI01900_scrnflag" , "d");
  1428. frmf_setParameter("SPMRI01900_alertcnts", dralertcnts);
  1429. frmf_modal("SPMRI01900", "SPMRI01900", "", null, "", "", "", null, null, null, null, null, "M");
  1430. /*
  1431. if(frmf_getParameter("SPMRI01900_useyn") == "Y"){
  1432. ds_main_unpreprecinfo_unprepreclist.enableevent = false;
  1433. ds_main_unpreprecinfo_unprepreclist.setColumn(currow, "dralertcnts", frmf_getParameter("SPMRI01900_alertcnts"));
  1434. ds_main_unpreprecinfo_unprepreclist.enableevent = true;
  1435. }
  1436. */
  1437. }
  1438. //의무기록, 의사전달사항이 수정된 경우, 의무기록 수정(ua)으로 변경
  1439. //u는 미비상태변경을 의미, ua는 의무기록, 의사전달사항 변경을 의미한다.
  1440. if(frmf_getParameter("SPMRI01900_useyn") == "Y"){
  1441. var status = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "status");
  1442. if(status != "i" || status != "u" || status !="d"){
  1443. ds_main_unpreprecinfo_unprepreclist.enableevent = false;
  1444. ds_main_unpreprecinfo_unprepreclist.setColumn(currow, "status", "ua");
  1445. ds_main_unpreprecinfo_unprepreclist.enableevent = true;
  1446. }
  1447. }
  1448. }
  1449. function grd_unprepreclist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1450. {
  1451. var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
  1452. var curcol = grd_unprepreclist.currentcol;
  1453. if(e.row >= 0 && e.col >= 0){
  1454. var medirecalertcnts = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "medirecalertcnts");
  1455. var dralertcnts = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "dralertcnts");
  1456. ds_main_delivefact.updatecontrol = false;
  1457. ds_main_delivefact.enableevent = false;
  1458. ds_main_delivefact.setColumn(0, "medirecalertcnts", medirecalertcnts);
  1459. ds_main_delivefact.setColumn(0, "dralertcnts" , dralertcnts);
  1460. ds_main_delivefact.enableevent = true;
  1461. ds_main_delivefact.updatecontrol = true;
  1462. //미비기록관리 check 컬럼을 클릭한 경우, 환자의 기록을 조회
  1463. //이전 환자수진 정보와 동일한 경우, 조회하지 않는다.
  1464. //2008. 1. 7 오지훈
  1465. if(curcol == grd_unprepreclist.getBindCellIndex("body", "check")){
  1466. var pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid");
  1467. var orddd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "indd");
  1468. var cretno = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "cretno");
  1469. if(pid != sBFPID ||
  1470. (utlf_isNull(sBFPID) && utlf_isNull(sBFORDDD) && utlf_isNull(sBFCRETNO)) ||
  1471. (pid == sBFPID && (orddd != sBFORDDD || cretno != sBFCRETNO)))
  1472. {
  1473. fReqGetPatRecList(pid, orddd, cretno);
  1474. sBFPID = pid;
  1475. sBFORDDD = orddd;
  1476. sBFCRETNO = cretno;
  1477. }
  1478. grd_patreclist.visible = true;
  1479. }
  1480. if( obj.getCellProperty("body", e.col, "expandshow") != "show"
  1481. || (obj.getCellProperty("body", e.col, "edittype") != "expand" && obj.getCellProperty("body", e.col, "edittype").indexOf("expr") < 0)) return;
  1482. var oRect = obj.getCellRect(e.row, e.col);
  1483. if( !utlf_isNull(oRect) ){
  1484. rSize = oRect.right;
  1485. if (e.clientX >= (rSize - 20) && e.clientX < rSize){
  1486. var userEvent = new EventInfo();
  1487. userEvent.col = e.col;
  1488. userEvent.row = e.row;
  1489. grd_unprepreclist_onexpandup(grd_unprepreclist, userEvent);
  1490. }
  1491. }
  1492. }
  1493. }
  1494. function grd_unprepreclist_onheadclick(obj:Grid, e:GridClickEventInfo)
  1495. {
  1496. //그리드 Header를 클릭한 경우,
  1497. var srchflag = ds_main_cond.getColumn(0, "srchflag");
  1498. if(sORDERBY == "desc"){
  1499. sORDERBY = "asc";
  1500. }else{
  1501. sORDERBY = "desc";
  1502. }
  1503. //var orderby = grd_unprepreclist.colAttribute(curcol, "ref") + " " + sORDERBY;
  1504. var orderby = grd_unprepreclist.getCellProperty("body", e.col, "text");
  1505. orderby = orderby.replace("bind:", "");
  1506. orderby = orderby + " " + sORDERBY;
  1507. if(srchflag == "dr"){
  1508. ds_main_cond_unprepdrbase.setColumn(0, "orderby", orderby);
  1509. fReqGetUnPrepRecDrBaseList(ds_main_cond_unprepdrbase.getColumn(0, "unprepsign"));
  1510. }else if(srchflag == "pat"){
  1511. ds_main_cond_unpreppatbase.setColumn(0, "orderby", orderby);
  1512. fReqGetUnPrepRecList();
  1513. }
  1514. }
  1515. function ds_main_unpreprecinfo_unprepreclist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1516. {
  1517. if( e.columnid == "medirecalertcnts"){
  1518. var medirecalertcnts = ds_main_unpreprecinfo_unprepreclist.getColumn(ds_main_unpreprecinfo_unprepreclist.rowposition, e.col);
  1519. if(!utlf_isNull(medirecalertcnts)){
  1520. ds_send_savedata.copyData(ds_main_unpreprecinfo_unprepreclist);
  1521. ds_send_savedata.clearData();
  1522. ds_send_savedata.addRow();
  1523. ds_send_savedata.copyRow(0, ds_main_unpreprecinfo_unprepreclist, ds_main_unpreprecinfo_unprepreclist.rowposition);
  1524. dsf_makeValue(ds_send_savedata, "setuseflag", "string", "medi");
  1525. var oParam = {};
  1526. oParam.id = "TXMRI01802";
  1527. oParam.service = "unprepmngtapp.ChrtUnprepMngt";
  1528. oParam.method = "reqSetUnPrepAlertCnts";
  1529. oParam.inds = "req=ds_send_savedata";
  1530. oParam.outds = "";
  1531. oParam.async = false;
  1532. tranf_submit(oParam);
  1533. }
  1534. }
  1535. }
  1536. function grd_unprepreclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1537. {
  1538. // 기록삭제 조회내용에서 더블클릭한 경우 진료기록을 열지 않음.
  1539. // 2009. 8. 26 이경희
  1540. var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
  1541. //서식명을 더블클릭한 경우, 메인화면에 진료기록을 open
  1542. //2008. 1. 16 오지훈
  1543. var curcol = e.col;
  1544. if(curcol == grd_unprepreclist.getBindCellIndex("body", "formnm")){
  1545. var delyn = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "delyn");
  1546. if(delyn == "Y")
  1547. return;
  1548. fLoadUnPrepFormRec();
  1549. }
  1550. }
  1551. function button5_onclick(obj:Button, e:ClickEventInfo)
  1552. {
  1553. frmf_modal("SPMRI02300", "SPMRI02300", "", null, "", "", "", null, null, null, null, null, "M");
  1554. }
  1555. function group1_btn_cnfm_onclick(obj:Button, e:ClickEventInfo)
  1556. {
  1557. grd_unprepreclist.enable = true;
  1558. btn_requnpreppatbase.enable = true;
  1559. btn_requnprepdrbase.enable = true;
  1560. btn_realunprep.enable = true;
  1561. btn_opinfo.enable = true;
  1562. btn_totrec.enable = true;
  1563. btn_unprepcert.enable = true;
  1564. btn_del.enable = true;
  1565. btn_ex.enable = true;
  1566. btn_save.enable = true;
  1567. group1.position.height = 0;
  1568. fReqSetUnPrepDeptCD();
  1569. }
  1570. function group1_button6_onclick(obj:Button, e:ClickEventInfo)
  1571. {
  1572. grd_unprepreclist.enable = true;
  1573. btn_requnpreppatbase.enable = true;
  1574. btn_requnprepdrbase.enable = true;
  1575. btn_realunprep.enable = true;
  1576. btn_opinfo.enable = true;
  1577. btn_totrec.enable = true;
  1578. btn_unprepcert.enable = true;
  1579. btn_del.enable = true;
  1580. btn_ex.enable = true;
  1581. btn_save.enable = true;
  1582. group1.position.height = 0;
  1583. }
  1584. function btn_opinfo_onclick(obj:Button, e:ClickEventInfo)
  1585. {
  1586. var pid = "";
  1587. if(ds_init_hardcd.getColumn(0, "hardcd") == "Y")
  1588. {
  1589. if(ds_main_unpreprecinfo_unprepreclist.rowcount > 0)
  1590. {
  1591. var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
  1592. if(currow >= 0)
  1593. pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid"); // 미비조회 버튼으로 조회한 환자의 PID로 검색
  1594. else
  1595. pid = ds_main_cond_unpreppatbase.getColumn(0, "pid"); // PID로 조회한 환자의 PID로 수술정보를 검색
  1596. }
  1597. }
  1598. else
  1599. {
  1600. pid = ds_main_cond_unpreppatbase.getColumn(0, "pid"); // 조회한 환자의 PID로 검색
  1601. }
  1602. if(!utlf_isNull(pid)){
  1603. frmf_setParameter("SPMRI02700_pid", pid);
  1604. frmf_open("SPMRI02700", "SPMRI02700", null, null, "1", "400", "0", null, null, null, null, null, "M");
  1605. }else{
  1606. sysf_messageBox("등록번호를", "C001");
  1607. return;
  1608. }
  1609. }
  1610. function btn_totrec_onclick(obj:Button, e:ClickEventInfo)
  1611. {
  1612. var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
  1613. var pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid");
  1614. if(utlf_isNull(pid)){
  1615. sysf_messageBox("통합기록조회를 검색할 환자를", "C002");
  1616. return;
  1617. }
  1618. var monitorNumber = sysf_getCurrentMonitorNumber();
  1619. // var monitorResolutions = app.monitorResolution;
  1620. // var monitorResolutionsArr = monitorResolutions.split('|');
  1621. //
  1622. // var resolution = monitorResolutionsArr[monitorNumber-1];
  1623. // var resolution_width = resolution.split(',')[0];
  1624. // var resolution_height = resolution.split(',')[1];
  1625. var wndobj = frmf_findPopup("SMMRI00400");
  1626. if(wndobj != null){
  1627. frmf_setParameter("SMMRI00400_param_pid", pid);
  1628. wndobj.fInitalize();
  1629. }else{
  1630. frmf_setParameter("SMMRI00400_param_pid", pid);
  1631. //open("SMMRI00400", monitorNumber, 0, 0);
  1632. frmf_open("SMMRI00400", "SMMRI00400", null, null, monitorNumber, 0, 0, null, null, null, null, null, "M");
  1633. }
  1634. }
  1635. function bool1_onclick(obj:CheckBox, e:ClickEventInfo)
  1636. {
  1637. if(bool1.value == "Y"){
  1638. cmb_inoutddflag.enable = true;
  1639. ipt_fromdd.enable = true;
  1640. ipt_todd.enable = true;
  1641. }else{
  1642. cmb_inoutddflag.enable = false;
  1643. ipt_fromdd.enable = false;
  1644. ipt_todd.enable = false;
  1645. }
  1646. }
  1647. function button4_onclick(obj:Button, e:ClickEventInfo)
  1648. {
  1649. grd_unprepreclist.setFormatColProperty(grd_unprepreclist.getBindCellIndex("body", "indd"), "size", 75);//75
  1650. grd_unprepreclist.setFormatColProperty(grd_unprepreclist.getBindCellIndex("body", "formrecseq"), "size", 110);//106
  1651. grd_unprepreclist.setFormatColProperty(grd_unprepreclist.getBindCellIndex("body", "cosignyn"), "size", 55);//106
  1652. }
  1653. function button2_onclick(obj:Button, e:ClickEventInfo)
  1654. {
  1655. grd_unprepreclist.setFormatColProperty(grd_unprepreclist.getBindCellIndex("body", "indd"), "size", 0);//75
  1656. grd_unprepreclist.setFormatColProperty(grd_unprepreclist.getBindCellIndex("body", "formrecseq"), "size", 0);//106
  1657. }
  1658. function button3_onclick(obj:Button, e:ClickEventInfo)
  1659. {
  1660. var objDOM = rptf_createDOM();
  1661. rptf_setNodeListToDOM(objDOM, "root/main/unpreprecinfo/unprepreclist", ds_main_unpreprecinfo_unprepreclist); // 데이터셋 1
  1662. rptf_setNodeListToDOM(objDOM, "root/main/unpreprecinfo/unprepreccnt", ds_main_unpreprecinfo_unprepreccnt); // 데이터셋 2
  1663. var objParam = new Object();
  1664. objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
  1665. var option = "open=1;save=1;directprint=0;print=1;zoom=0;";
  1666. //var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0;";
  1667. rptf_exeReportPreview30(["RPMRI01700"],[objParam], option);
  1668. }
  1669. function grd_patreclist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1670. {
  1671. var currow = ds_main_patreclist_patreclist.rowposition;
  1672. var curcol = e.col;
  1673. // 그리드 header의 X를 클릭하면 그리드 hidden
  1674. if(currow == 0 && curcol == grd_patreclist.getBindCellIndex("body", "check")){
  1675. grd_patreclist.visible = false;
  1676. }
  1677. }
  1678. function grd_patreclist_onkeydown(obj:Grid, e:KeyEventInfo)
  1679. {
  1680. if(e.keycode == 13){
  1681. var trgtrow = ds_main_unpreprecinfo_unprepreclist.rowposition;
  1682. var srcrow = ds_main_patreclist_patreclist.rowposition;
  1683. if(srcrow >= 0){
  1684. var srcformcd = ds_main_patreclist_patreclist.getColumn(srcrow, "srcformcd");
  1685. var trgtsrcformcd = ds_main_unpreprecinfo_unprepreclist.getColumn(srcrow, "srcformcd");
  1686. }
  1687. }
  1688. }
  1689. function grd_patreclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1690. {
  1691. if(e.row >= 0 && e.col >= 0){
  1692. var trgtrow = ds_main_unpreprecinfo_unprepreclist.rowposition;
  1693. var srcrow = ds_main_patreclist_patreclist.rowposition;
  1694. var trgtformrecseq = ds_main_unpreprecinfo_unprepreclist.getColumn(trgtrow, "formrecseq");
  1695. var trgtsrcformcd = ds_main_unpreprecinfo_unprepreclist.getColumn(trgtrow, "srcformcd");
  1696. var formrecseq = ds_main_patreclist_patreclist.getColumn(srcrow, "formrecseq");
  1697. var srcformcd = ds_main_patreclist_patreclist.getColumn(srcrow, "srcformcd");
  1698. var oprsrvno = ds_main_patreclist_patreclist.getColumn(srcrow, "oprsrvno");
  1699. if(formrecseq <= 0){
  1700. return;
  1701. }
  1702. if(trgtsrcformcd == srcformcd){
  1703. var checkcol = grd_unprepreclist.getBindCellIndex("body", "check");
  1704. ds_main_unpreprecinfo_unprepreclist.setColumn(trgtrow, "formrecseq", formrecseq);
  1705. ds_main_unpreprecinfo_unprepreclist.setColumn(trgtrow, "check" , "V");
  1706. ds_main_unpreprecinfo_unprepreclist.setColumn(trgtrow, "status", "uf");
  1707. ds_main_unpreprecinfo_unprepreclist.setColumn(trgtrow, "oprsrvno", oprsrvno);
  1708. ds_main_patreclist_patreclist.setColumn(srcrow, "check", "<<");
  1709. // ds_main_unpreprecinfo_unprepreclist.enableevent = false;
  1710. // ds_main_unpreprecinfo_unprepreclist.updatecontrol = false;
  1711. ds_main_unpreprecinfo_unprepreclist.setColumn(trgtrow, "bkcolorcheck", "#800080");
  1712. // ds_main_unpreprecinfo_unprepreclist.updatecontrol = true;
  1713. // ds_main_unpreprecinfo_unprepreclist.enableevent = true;
  1714. }else{
  1715. sysf_messageBox("서로 다른 서식", "I009");
  1716. return;
  1717. }
  1718. }
  1719. }
  1720. function group2_button7_onclick(obj:Button, e:ClickEventInfo)
  1721. {
  1722. grd_unprepreclist.enable = true;
  1723. btn_requnpreppatbase.enable = true;
  1724. btn_requnprepdrbase.enable = true;
  1725. btn_realunprep.enable = true;
  1726. btn_opinfo.enable = true;
  1727. btn_totrec.enable = true;
  1728. btn_unprepcert.enable = true;
  1729. btn_del.enable = true;
  1730. btn_ex.enable = true;
  1731. btn_save.enable = true;
  1732. group2.position.height = 0;
  1733. reqGetUnPrepCreateExcelFile();
  1734. }
  1735. function group2_button8_onclick(obj:Button, e:ClickEventInfo)
  1736. {
  1737. grd_unprepreclist.enable = true;
  1738. btn_requnpreppatbase.enable = true;
  1739. btn_requnprepdrbase.enable = true;
  1740. btn_realunprep.enable = true;
  1741. btn_opinfo.enable = true;
  1742. btn_totrec.enable = true;
  1743. btn_unprepcert.enable = true;
  1744. btn_del.enable = true;
  1745. btn_ex.enable = true;
  1746. btn_save.enable = true;
  1747. group2.position.height = 0;
  1748. }
  1749. function group3_button9_onclick(obj:Button, e:ClickEventInfo)
  1750. {
  1751. grd_unprepreclist.enable = true;
  1752. btn_requnpreppatbase.enable = true;
  1753. btn_requnprepdrbase.enable = true;
  1754. btn_realunprep.enable = true;
  1755. btn_opinfo.enable = true;
  1756. btn_totrec.enable = true;
  1757. btn_unprepcert.enable = true;
  1758. btn_del.enable = true;
  1759. btn_ex.enable = true;
  1760. btn_save.enable = true;
  1761. group3.position.height = 0;
  1762. fSetDetlDeptCD();
  1763. }
  1764. function group3_button10_onclick(obj:Button, e:ClickEventInfo)
  1765. {
  1766. grd_unprepreclist.enable = true;
  1767. btn_requnpreppatbase.enable = true;
  1768. btn_requnprepdrbase.enable = true;
  1769. btn_realunprep.enable = true;
  1770. btn_opinfo.enable = true;
  1771. btn_totrec.enable = true;
  1772. btn_unprepcert.enable = true;
  1773. btn_del.enable = true;
  1774. btn_ex.enable = true;
  1775. btn_save.enable = true;
  1776. group3.position.height = 0;
  1777. }
  1778. function chk_merge_onclick(obj:CheckBox, e:ClickEventInfo)
  1779. {
  1780. if(obj.value == "1"){
  1781. fDoMergeUnPrepRecList();
  1782. }else{
  1783. fDoUnMergeUnPrepRecList();
  1784. }
  1785. }
  1786. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  1787. {
  1788. fSaveUnPrepInfo();
  1789. }
  1790. function grd_patreclist_onheadclick(obj:Grid, e:GridClickEventInfo)
  1791. {
  1792. var currow = ds_main_patreclist_patreclist.rowposition;
  1793. var curcol = e.col;
  1794. // 그리드 header의 X를 클릭하면 그리드 hidden
  1795. if(curcol == 0){
  1796. grd_patreclist.visible = false;
  1797. }
  1798. }
  1799. function pmnmenu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1800. {
  1801. eval(e.id + "()");
  1802. }
  1803. var clientX = 0;
  1804. var clientY = 0;
  1805. function grd_unprepreclist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  1806. {
  1807. if(e.row < 0 || e.col < 0) return;
  1808. grdf_setSelectedCell(obj, e);
  1809. clientX = e.clientX;
  1810. clientY = e.clientY;
  1811. pmnmenu1.trackPopup(e.screenX,e.screenY);
  1812. }
  1813. function grd_unprepreclist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1814. {
  1815. if(e.row < 0 || e.col < 0) return;
  1816. grdf_setSelectedCell(obj, e);
  1817. }
  1818. function grd_unprepreclist_onkeyup(obj:Grid, e:KeyEventInfo)
  1819. {
  1820. // if(e.keycode == 27)
  1821. // {
  1822. // var cloakval = grd_patreclist.visible;
  1823. // if(cloakval == "visible")
  1824. // {
  1825. // grd_patreclist.visible = false;
  1826. // }
  1827. // else
  1828. // {
  1829. // var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
  1830. // var pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid");
  1831. // var orddd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "indd");
  1832. // var cretno= ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "cretno");
  1833. //
  1834. // if(pid != sBFPID ||(utlf_isNull(sBFPID) && utlf_isNull(sBFORDDD) && utlf_isNull(sBFCRETNO))|| (pid == sBFPID && (orddd != sBFORDDD || cretno != sBFCRETNO)))
  1835. // {
  1836. // fReqGetPatRecList(pid, orddd, cretno);
  1837. //
  1838. // sBFPID = pid;
  1839. // sBFORDDD = orddd;
  1840. // sBFCRETNO= cretno;
  1841. // }
  1842. //
  1843. // grd_patreclist.visible = true;
  1844. // }
  1845. // }
  1846. }
  1847. function SMMRI01700_onkeydown(obj:Form, e:KeyEventInfo)
  1848. {
  1849. if(e.keycode == 27)
  1850. {
  1851. var cloakval = grd_patreclist.visible;
  1852. if(cloakval == "visible")
  1853. {
  1854. grd_patreclist.visible = false;
  1855. }
  1856. else
  1857. {
  1858. var currow = ds_main_unpreprecinfo_unprepreclist.rowposition;
  1859. var pid = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "pid");
  1860. var orddd = ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "indd");
  1861. var cretno= ds_main_unpreprecinfo_unprepreclist.getColumn(currow, "cretno");
  1862. if(pid != sBFPID ||(utlf_isNull(sBFPID) && utlf_isNull(sBFORDDD) && utlf_isNull(sBFCRETNO))|| (pid == sBFPID && (orddd != sBFORDDD || cretno != sBFCRETNO)))
  1863. {
  1864. fReqGetPatRecList(pid, orddd, cretno);
  1865. sBFPID = pid;
  1866. sBFORDDD = orddd;
  1867. sBFCRETNO= cretno;
  1868. }
  1869. grd_patreclist.visible = true;
  1870. }
  1871. }
  1872. }
  1873. function cmb_formcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1874. {
  1875. utlf_addLog("***** roundrect1_cmb_formcd_onitemchanged e.posvalue : " + e.postvalue + " *****");
  1876. //if(e.postvalue != "-"){ //전체로 변경된 경우, 미비항목코드 조회하지 않음
  1877. fReqGetFormItemList(e.postvalue);
  1878. //}
  1879. }
  1880. function pmn_popupMenu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1881. {
  1882. eval(e.id + "()");
  1883. }
  1884. function grd_patreclist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1885. {
  1886. if(e.row == -1) return;
  1887. grdf_setSelectedCell(obj, e);
  1888. pmn_popupMenu.trackPopup(e.screenX,e.screenY);
  1889. }
  1890. ]]></Script>
  1891. </Form>
  1892. </FDL>