SMANC00600_치료식환자결과조회.xfdl 50 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMANC00600" position="absolute 0 0 1196 780" titletext="환자관리" onload="SMANC00600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="grp_tle" position="absolute 0 0 1195 13" style="">
  8. <Layouts>
  9. <Layout/>
  10. </Layouts>
  11. </Div>
  12. <Div id="grp_biz" scrollbars="autoboth" position="absolute 0 13 1196 757" style="" anchor="all">
  13. <Layouts>
  14. <Layout>
  15. <Div id="group1" position="absolute 0 12 1167 52" style="align: top;" class="div_SA" anchor="left top right">
  16. <Layouts>
  17. <Layout>
  18. <Button id="btn_search5" class="btn1" position="absolute 1097 10 1153 32" style="" text="조회" onclick="grp_biz_group1_btn_search5_onclick" anchor="top right"/>
  19. <Shape id="line1" class="line_4" linetype="vertical" position="absolute 1082 10 1085 32" style="" anchor="top right"/>
  20. <Static id="caption2" class="search_name" position="absolute 11 13 71 30" style="" text="병동 :" anchor="default"/>
  21. <Combo innerdataset="ds_init_basecode_ward_dept" datacolumn="depthngnm" codecolumn="deptcd" columncount="-1" rowcount="-1" id="cmb_ward1" class="combo_essential" position="absolute 75 12 175 31" style="" anchor="default"/>
  22. <Static id="caption3" class="search_name" position="absolute 697 13 788 30" style="" text="등록번호 :" anchor="default"/>
  23. <Static id="caption8" class="search_n_b" position="absolute 860 13 872 30" style="font:,,bolder;" text="/" anchor="default"/>
  24. <Button id="btn_pid1" class="icon_search" position="absolute 932 14 948 30" style="" text="" onclick="grp_biz_group1_btn_pid1_onclick" anchor="default"/>
  25. <MaskEdit id="ipt_pid3" class="input_essential" mask="9999999999" position="absolute 792 12 857 31" style="" anchor="default" onkeydown="grp_biz_group1_ipt_pid3_onkeydown" onkeyup="grp_biz_group1_ipt_pid3_onkeyup"/>
  26. <Edit id="ipt_hngnm3" class="input_essential" position="absolute 870 12 930 31" style="" anchor="default" onkeydown="grp_biz_group1_ipt_hngnm3_onkeydown"/>
  27. <Radio datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="rdo_rsltflag" class="radio_search" position="absolute 180 12 355 32" style="" anchor="default">
  28. <Dataset id="innerdataset">
  29. <ColumnInfo>
  30. <Column id="codecolumn"/>
  31. <Column id="datacolumn"/>
  32. </ColumnInfo>
  33. <Rows>
  34. <Row>
  35. <Col id="codecolumn">-</Col>
  36. <Col id="datacolumn">전체</Col>
  37. </Row>
  38. <Row>
  39. <Col id="codecolumn">1</Col>
  40. <Col id="datacolumn">치료식</Col>
  41. </Row>
  42. <Row>
  43. <Col id="codecolumn">2</Col>
  44. <Col id="datacolumn">식사회진</Col>
  45. </Row>
  46. </Rows>
  47. </Dataset>
  48. </Radio>
  49. <Static id="caption7" class="search_name" position="absolute 960 13 988 30" style="" text="영양사 :" anchor="default" visible="false"/>
  50. <Combo innerdataset="ds_init_basecode_dieter_alldieter" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_dieter4" class="combo_search" visible="false" position="absolute 1005 12 1020 31" style="" anchor="default"/>
  51. <Calendar id="ipt_execddfrom" class="input_search" position="absolute 489 12 574 31" style="" anchor="default" dateformat="yyyy-MM-dd" value="null"/>
  52. <Static id="caption9" class="search_n_b" position="absolute 576 13 588 30" style="font:,,bolder;" text="~" anchor="default"/>
  53. <Static id="caption11" class="search_name" position="absolute 395 13 481 30" style="" text="수행일자 :" anchor="default"/>
  54. <Calendar id="ipt_execddto" class="input_search" position="absolute 589 12 674 31" style="" anchor="default" dateformat="yyyy-MM-dd"/>
  55. </Layout>
  56. </Layouts>
  57. </Div>
  58. <Shape id="line2" class="line_10" linetype="horizontal" position="absolute 0 76 1195 82" style="" anchor="left top right"/>
  59. <Grid id="grd_ipatmngtrslt" binddataset="ds_main_data_ipatmngtrslt_grdlist" position="absolute 0 81 1195 735" style="align:center;" onlbuttonup="grp_biz_grd_ipatmngtrslt_onlbuttonup" anchor="all" onexpandup="grp_biz_grd_ipatmngtrslt_onexpandup" cellsizingtype="col" autoenter="select" autofittype="col">
  60. <Formats>
  61. <Format id="default">
  62. <Columns>
  63. <Column size="25" band="left"/>
  64. <Column size="60"/>
  65. <Column size="35"/>
  66. <Column size="50"/>
  67. <Column size="40"/>
  68. <Column size="40"/>
  69. <Column size="80"/>
  70. <Column size="140"/>
  71. <Column size="150"/>
  72. <Column size="60"/>
  73. <Column size="60"/>
  74. <Column size="60"/>
  75. <Column size="250"/>
  76. <Column size="60"/>
  77. <Column size="70"/>
  78. </Columns>
  79. <Rows>
  80. <Row size="24" band="head"/>
  81. <Row size="24"/>
  82. </Rows>
  83. <Band id="head">
  84. <Cell/>
  85. <Cell col="1" text="등록번호"/>
  86. <Cell col="2" text="병실"/>
  87. <Cell col="3" text="환자명"/>
  88. <Cell col="4" text="성별"/>
  89. <Cell col="5" text="나이"/>
  90. <Cell col="6" text="입원일자"/>
  91. <Cell col="7" text="식사명"/>
  92. <Cell col="8" text="진단명"/>
  93. <Cell col="9" text="질환구분"/>
  94. <Cell col="10" text="치료식"/>
  95. <Cell col="11" text="식사회진"/>
  96. <Cell col="12" text="내용"/>
  97. <Cell col="13" text="영양사"/>
  98. <Cell col="14" text="수행일자"/>
  99. </Band>
  100. <Band id="body">
  101. <Cell celltype="head" text="expr:currow+1"/>
  102. <Cell col="1" text="bind:pid"/>
  103. <Cell col="2" text="bind:room"/>
  104. <Cell col="3" text="bind:hngnm"/>
  105. <Cell col="4" text="bind:sex"/>
  106. <Cell col="5" text="bind:age"/>
  107. <Cell col="6" text="bind:indd"/>
  108. <Cell col="7" displaytype="text" style="align:left top;" text="bind:dietnm" wordwrap="char"/>
  109. <Cell col="8" displaytype="text" style="align:left top;" text="bind:diagnm" wordwrap="char"/>
  110. <Cell col="9" displaytype="combo" text="bind:sick" combodataset="ds_init_basecode_sick_A0059" combocodecol="cdid" combodatacol="cdnm"/>
  111. <Cell col="10" displaytype="checkbox" text="bind:curedietpatyn" expr="expr:(curedietpatyn==&quot;Y&quot;||curedietpatyn==1)?1:0"/>
  112. <Cell col="11" displaytype="checkbox" text="bind:dietroundyn" expr="expr:(dietroundyn==&quot;Y&quot;||dietroundyn==1)?1:0"/>
  113. <Cell col="12" displaytype="text" edittype="expand" style="align:left top;padding:4 2 0 2;" text="bind:execcnts" expandshow="show"/>
  114. <Cell col="13" displaytype="combo" style="align:center;" text="bind:execdieter" combodataset="ds_init_basecode_dieter_alldieter" combocodecol="cdid" combodatacol="cdnm"/>
  115. <Cell col="14" displaytype="expr:utlf_isNull(execdd) ? 'normal' : 'date'" text="bind:execdd"/>
  116. </Band>
  117. </Format>
  118. </Formats>
  119. </Grid>
  120. <Div id="grp_reccnts" position="absolute 490 230 943 483" style="" anchor="default" visible="false">
  121. <Layouts>
  122. <Layout>
  123. <Shape id="rectangle2" anchor="default" type="rectangle" position="absolute 0 0 445 245" style=""/>
  124. <TextArea id="textarea2" position="absolute 5 30 440 210" style="" anchor="default" readonly="true"/>
  125. <Button id="button4" class="btn4" position="absolute 380 215 436 237" style="" text="닫기" onclick="grp_biz_grp_reccnts_button4_onclick" anchor="default"/>
  126. <Static id="caption24" class="tit_2" position="absolute 5 9 177 26" style="" text="결과내용" anchor="default"/>
  127. <Shape id="line2" class="line_10" position="absolute 5 25 440 31"/>
  128. </Layout>
  129. </Layouts>
  130. </Div>
  131. <Button id="btn_rowadd3" class="btn2" visible="false" position="absolute 999 54 1052 76" style="" text="행추가" onclick="grp_biz_btn_rowadd3_onclick" anchor="top right"/>
  132. <Button id="btn_rowdel3" class="btn2" visible="false" position="absolute 1054 54 1107 76" style="" text="행삭제" onclick="grp_biz_btn_rowdel3_onclick" anchor="top right"/>
  133. <Button id="btn_excel" class="btn7" position="absolute 1109 54 1167 76" style="" text="엑셀" onclick="grp_biz_btn_excel_onclick" anchor="top right"/>
  134. </Layout>
  135. </Layouts>
  136. </Div>
  137. <Div id="grp_btn" position="absolute 0 749 1195 776" style="" anchor="left right bottom">
  138. <Layouts>
  139. <Layout>
  140. <Button id="btn_reset" class="btn4" visible="false" position="absolute 1069 5 1137 27" style="" text="초기화" onclick="grp_btn_btn_reset_onclick" anchor="right bottom"/>
  141. <Button id="btn_save" class="btn4" visible="false" position="absolute 1139 5 1195 27" style="" text="저장" onclick="grp_btn_btn_save_onclick" anchor="right bottom"/>
  142. <Button id="btn_listprnt" class="btn6" enable="False" visible="false" position="absolute 0 5 92 27" style="" text="리스트출력" anchor="default"/>
  143. <Shape id="line32" class="line_6" linetype="horizontal" position="absolute 0 0 1194 3" style="" anchor="left right bottom"/>
  144. </Layout>
  145. </Layouts>
  146. </Div>
  147. <Edit id="input1" visible="false" position="absolute 948 5 968 24" style="" anchor="top right"/>
  148. <Div id="group4" position="absolute 1169 2 1194 89" style="border:1 solid #99ccff #99ccff;" onmousemove="group4_onmousemove" scrollbars="none" anchor="top right">
  149. <Layouts>
  150. <Layout>
  151. <Button id="resizeButton" position="absolute 0 30 23 35" style="background:#000000 ;" text="" onmousedown="group4_resizeButton_onmousedown" onmouseup="group4_resizeButton_onmouseup" anchor="top right" onmove="group4_resizeButton_onmove" onlbuttondown="group4_resizeButton_onlbuttondown" onlbuttonup="group4_resizeButton_onlbuttonup"/>
  152. </Layout>
  153. </Layouts>
  154. </Div>
  155. <Static id="caption6" text="치료식환자관리 결과조회" class="tit_1" position="absolute 0 0 200 25"/>
  156. <Static id="caption1" text="데이터리스트의 높이조절하세요 -&gt;" position="absolute 975 7 1170 27" style="color:#ff0000;" anchor="top right"/>
  157. </Layout>
  158. </Layouts>
  159. <Objects>
  160. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  161. <ColumnInfo>
  162. <Column id="hidden" type="STRING" size="256"/>
  163. </ColumnInfo>
  164. <Rows>
  165. <Row>
  166. <Col id="hidden"/>
  167. </Row>
  168. </Rows>
  169. </Dataset>
  170. <Dataset id="ds_send_data_telnutrcnstcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  171. <ColumnInfo>
  172. <Column id="cnstcount" type="STRING" size="256"/>
  173. </ColumnInfo>
  174. <Rows>
  175. <Row>
  176. <Col id="cnstcount"/>
  177. </Row>
  178. </Rows>
  179. </Dataset>
  180. <Dataset id="ds_main_data_ipatmngtrslt_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  181. <ColumnInfo>
  182. <Column id="pid" type="STRING" size="256"/>
  183. <Column id="room" type="STRING" size="256"/>
  184. <Column id="hngnm" type="STRING" size="256"/>
  185. <Column id="sex" type="STRING" size="256"/>
  186. <Column id="age" type="STRING" size="256"/>
  187. <Column id="indd" type="STRING" size="256"/>
  188. <Column id="dietnm" type="STRING" size="256"/>
  189. <Column id="diagnm" type="STRING" size="256"/>
  190. <Column id="sick" type="STRING" size="256"/>
  191. <Column id="curedietpatyn" type="STRING" size="256"/>
  192. <Column id="dietroundyn" type="STRING" size="256"/>
  193. <Column id="crmyn" type="STRING" size="256"/>
  194. <Column id="execcnts" type="STRING" size="256"/>
  195. <Column id="execdieter" type="STRING" size="256"/>
  196. <Column id="execdd" type="STRING" size="256"/>
  197. </ColumnInfo>
  198. <Rows>
  199. <Row>
  200. <Col id="pid"/>
  201. <Col id="room"/>
  202. <Col id="hngnm"/>
  203. <Col id="sex"/>
  204. <Col id="age"/>
  205. <Col id="indd"/>
  206. <Col id="dietnm"/>
  207. <Col id="diagnm"/>
  208. <Col id="sick"/>
  209. <Col id="curedietpatyn"/>
  210. <Col id="dietroundyn"/>
  211. <Col id="crmyn"/>
  212. <Col id="execcnts"/>
  213. <Col id="execdieter"/>
  214. <Col id="execdd"/>
  215. </Row>
  216. </Rows>
  217. </Dataset>
  218. <Dataset id="ds_main_patinfo_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  219. <Dataset id="ds_main_data_telnutrcnstcnt_cnstcount" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  220. <ColumnInfo>
  221. <Column id="cnstdd" type="STRING" size="256"/>
  222. <Column id="dieter" type="STRING" size="256"/>
  223. <Column id="glycospatqty" type="STRING" size="256"/>
  224. <Column id="hypetspatqty" type="STRING" size="256"/>
  225. <Column id="cardiacpatqty" type="STRING" size="256"/>
  226. <Column id="pdpatqty" type="STRING" size="256"/>
  227. <Column id="hdpatqty" type="STRING" size="256"/>
  228. <Column id="cncrpatqty" type="STRING" size="256"/>
  229. <Column id="blodtumpatqty" type="STRING" size="256"/>
  230. <Column id="kidnpatqty" type="STRING" size="256"/>
  231. <Column id="liverpatqty" type="STRING" size="256"/>
  232. <Column id="stmcpatqty" type="STRING" size="256"/>
  233. <Column id="etrlfdpatqty" type="STRING" size="256"/>
  234. <Column id="fatpatqty" type="STRING" size="256"/>
  235. <Column id="etcsickpatqty" type="STRING" size="256"/>
  236. </ColumnInfo>
  237. <Rows>
  238. <Row>
  239. <Col id="cnstdd"/>
  240. <Col id="dieter"/>
  241. <Col id="glycospatqty"/>
  242. <Col id="hypetspatqty"/>
  243. <Col id="cardiacpatqty"/>
  244. <Col id="pdpatqty"/>
  245. <Col id="hdpatqty"/>
  246. <Col id="cncrpatqty"/>
  247. <Col id="blodtumpatqty"/>
  248. <Col id="kidnpatqty"/>
  249. <Col id="liverpatqty"/>
  250. <Col id="stmcpatqty"/>
  251. <Col id="etrlfdpatqty"/>
  252. <Col id="fatpatqty"/>
  253. <Col id="etcsickpatqty"/>
  254. </Row>
  255. </Rows>
  256. </Dataset>
  257. <Dataset id="ds_send_searchitem_ipatmngt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  258. <ColumnInfo>
  259. <Column id="ward" type="STRING" size="256"/>
  260. <Column id="patflag" type="STRING" size="256"/>
  261. <Column id="inddfrom" type="STRING" size="256"/>
  262. <Column id="inddto" type="STRING" size="256"/>
  263. <Column id="pid" type="STRING" size="256"/>
  264. <Column id="hngnm" type="STRING" size="256"/>
  265. <Column id="dieter" type="STRING" size="256"/>
  266. </ColumnInfo>
  267. <Rows>
  268. <Row>
  269. <Col id="ward"/>
  270. <Col id="patflag"/>
  271. <Col id="inddfrom"/>
  272. <Col id="inddto"/>
  273. <Col id="pid"/>
  274. <Col id="hngnm"/>
  275. <Col id="dieter"/>
  276. </Row>
  277. </Rows>
  278. </Dataset>
  279. <Dataset id="ds_main_data_nonregleduc_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  280. <ColumnInfo>
  281. <Column id="educdd" type="STRING" size="256"/>
  282. <Column id="eductm" type="STRING" size="256"/>
  283. <Column id="eductodd" type="STRING" size="256"/>
  284. <Column id="eductotm" type="STRING" size="256"/>
  285. <Column id="educsubj" type="STRING" size="256"/>
  286. <Column id="eductrgt" type="STRING" size="256"/>
  287. <Column id="educpsnno" type="STRING" size="256"/>
  288. <Column id="educplce" type="STRING" size="256"/>
  289. <Column id="educmatr" type="STRING" size="256"/>
  290. <Column id="sickcd" type="STRING" size="256"/>
  291. <Column id="educetc" type="STRING" size="256"/>
  292. <Column id="educdieter" type="STRING" size="256"/>
  293. <Column id="bf_educdieter" type="STRING" size="256"/>
  294. </ColumnInfo>
  295. <Rows>
  296. <Row>
  297. <Col id="educdd"/>
  298. <Col id="eductm"/>
  299. <Col id="eductodd"/>
  300. <Col id="eductotm"/>
  301. <Col id="educsubj"/>
  302. <Col id="eductrgt"/>
  303. <Col id="educpsnno"/>
  304. <Col id="educplce"/>
  305. <Col id="educmatr"/>
  306. <Col id="sickcd"/>
  307. <Col id="educetc"/>
  308. <Col id="educdieter"/>
  309. <Col id="bf_educdieter"/>
  310. </Row>
  311. </Rows>
  312. </Dataset>
  313. <Dataset id="ds_send_data_ipatmngt_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  314. <Dataset id="ds_send_searchitem_nonregleduc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  315. <ColumnInfo>
  316. <Column id="fromdd" type="STRING" size="256"/>
  317. <Column id="todd" type="STRING" size="256"/>
  318. </ColumnInfo>
  319. <Rows>
  320. <Row>
  321. <Col id="fromdd"/>
  322. <Col id="todd"/>
  323. </Row>
  324. </Rows>
  325. </Dataset>
  326. <Dataset id="ds_init_basecode_dieter_dieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  327. <Dataset id="ds_init_basecode_dieter_intndieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  328. <Dataset id="ds_init_basecode_dieter_alldieter" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  329. <ColumnInfo>
  330. <Column id="cdid" type="STRING" size="256"/>
  331. <Column id="cdnm" type="STRING" size="256"/>
  332. </ColumnInfo>
  333. <Rows>
  334. <Row>
  335. <Col id="cdid"/>
  336. <Col id="cdnm"/>
  337. </Row>
  338. </Rows>
  339. </Dataset>
  340. <Dataset id="ds_send_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  341. <ColumnInfo>
  342. <Column id="flag" type="STRING" size="256"/>
  343. <Column id="pid" type="STRING" size="256"/>
  344. <Column id="hngnm" type="STRING" size="256"/>
  345. <Column id="reqdd" type="STRING" size="256"/>
  346. <Column id="reqpsn" type="STRING" size="256"/>
  347. <Column id="educreqcnts" type="STRING" size="256"/>
  348. <Column id="h_cretno" type="STRING" size="256"/>
  349. <Column id="h_orddeptcd" type="STRING" size="256"/>
  350. <Column id="h_prcpgenrflag" type="STRING" size="256"/>
  351. <Column id="h_orddd" type="STRING" size="256"/>
  352. <Column id="h_formrecseq" type="STRING" size="256"/>
  353. <Column id="execprcpuniqno" type="STRING" size="256"/>
  354. <Column id="nutrmngtkind" type="STRING" size="256"/>
  355. <Column id="execdd" type="STRING" size="256"/>
  356. <Column id="execcnts" type="STRING" size="256"/>
  357. </ColumnInfo>
  358. <Rows>
  359. <Row>
  360. <Col id="flag"/>
  361. <Col id="pid"/>
  362. <Col id="hngnm"/>
  363. <Col id="reqdd"/>
  364. <Col id="reqpsn"/>
  365. <Col id="educreqcnts"/>
  366. <Col id="h_cretno"/>
  367. <Col id="h_orddeptcd"/>
  368. <Col id="h_prcpgenrflag"/>
  369. <Col id="h_orddd"/>
  370. <Col id="h_formrecseq"/>
  371. <Col id="execprcpuniqno"/>
  372. <Col id="nutrmngtkind"/>
  373. <Col id="execdd"/>
  374. <Col id="execcnts"/>
  375. </Row>
  376. </Rows>
  377. </Dataset>
  378. <Dataset id="ds_send_searchitem_telnutrcnst" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  379. <ColumnInfo>
  380. <Column id="educfromdd" type="STRING" size="256"/>
  381. <Column id="eductodd" type="STRING" size="256"/>
  382. <Column id="pid" type="STRING" size="256"/>
  383. <Column id="hngnm" type="STRING" size="256"/>
  384. <Column id="dieter" type="STRING" size="256"/>
  385. </ColumnInfo>
  386. <Rows>
  387. <Row>
  388. <Col id="educfromdd"/>
  389. <Col id="eductodd"/>
  390. <Col id="pid"/>
  391. <Col id="hngnm"/>
  392. <Col id="dieter"/>
  393. </Row>
  394. </Rows>
  395. </Dataset>
  396. <Dataset id="ds_main_data_telnutrcnst_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  397. <ColumnInfo>
  398. <Column id="pid" type="STRING" size="256"/>
  399. <Column id="ioflag" type="STRING" size="256"/>
  400. <Column id="inout" type="STRING" size="256"/>
  401. <Column id="hngnm" type="STRING" size="256"/>
  402. <Column id="sex" type="STRING" size="256"/>
  403. <Column id="age" type="STRING" size="256"/>
  404. <Column id="sickcd" type="STRING" size="256"/>
  405. <Column id="hometel" type="STRING" size="256"/>
  406. <Column id="mpphontel" type="STRING" size="256"/>
  407. <Column id="execyn" type="STRING" size="256"/>
  408. <Column id="telexecdd" type="STRING" size="256"/>
  409. <Column id="execdieter" type="STRING" size="256"/>
  410. <Column id="formrecseq" type="STRING" size="256"/>
  411. <Column id="nutrmngtkind" type="STRING" size="256"/>
  412. <Column id="execdd" type="STRING" size="256"/>
  413. <Column id="orddd" type="STRING" size="256"/>
  414. </ColumnInfo>
  415. <Rows>
  416. <Row>
  417. <Col id="pid"/>
  418. <Col id="ioflag"/>
  419. <Col id="inout"/>
  420. <Col id="hngnm"/>
  421. <Col id="sex"/>
  422. <Col id="age"/>
  423. <Col id="sickcd"/>
  424. <Col id="hometel"/>
  425. <Col id="mpphontel"/>
  426. <Col id="execyn"/>
  427. <Col id="telexecdd"/>
  428. <Col id="execdieter"/>
  429. <Col id="formrecseq"/>
  430. <Col id="nutrmngtkind"/>
  431. <Col id="execdd"/>
  432. <Col id="orddd"/>
  433. </Row>
  434. </Rows>
  435. </Dataset>
  436. <Dataset id="ds_init_basecode_ward_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  437. <ColumnInfo>
  438. <Column id="deptcd" type="STRING" size="256"/>
  439. <Column id="depthngnm" type="STRING" size="256"/>
  440. </ColumnInfo>
  441. <Rows>
  442. <Row>
  443. <Col id="deptcd"/>
  444. <Col id="depthngnm"/>
  445. </Row>
  446. </Rows>
  447. </Dataset>
  448. <Dataset id="ds_send_searchitem_ipatmngtrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  449. <ColumnInfo>
  450. <Column id="ward" type="STRING" size="256"/>
  451. <Column id="rsltflag" type="STRING" size="256"/>
  452. <Column id="execddfrom" type="STRING" size="256"/>
  453. <Column id="execddto" type="STRING" size="256"/>
  454. <Column id="pid" type="STRING" size="256"/>
  455. <Column id="hngnm" type="STRING" size="256"/>
  456. <Column id="dieter" type="STRING" size="256"/>
  457. </ColumnInfo>
  458. <Rows>
  459. <Row>
  460. <Col id="ward"/>
  461. <Col id="rsltflag"/>
  462. <Col id="execddfrom"/>
  463. <Col id="execddto"/>
  464. <Col id="pid"/>
  465. <Col id="hngnm"/>
  466. <Col id="dieter"/>
  467. </Row>
  468. </Rows>
  469. </Dataset>
  470. <Dataset id="ds_send_data_nonregleduc_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  471. <Dataset id="ds_main_colsize" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  472. <ColumnInfo>
  473. <Column id="colsize" type="STRING" size="256"/>
  474. </ColumnInfo>
  475. <Rows>
  476. <Row>
  477. <Col id="colsize"/>
  478. </Row>
  479. </Rows>
  480. </Dataset>
  481. <Dataset id="ds_main_data_ipatmngt_grdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  482. <ColumnInfo>
  483. <Column id="pid" type="STRING" size="256"/>
  484. <Column id="room" type="STRING" size="256"/>
  485. <Column id="hngnm" type="STRING" size="256"/>
  486. <Column id="sex" type="STRING" size="256"/>
  487. <Column id="h_brthdd" type="STRING" size="256"/>
  488. <Column id="age" type="STRING" size="256"/>
  489. <Column id="indd" type="STRING" size="256"/>
  490. <Column id="dietcd" type="STRING" size="256"/>
  491. <Column id="dietnm" type="STRING" size="256"/>
  492. <Column id="prcpdelivefact" type="STRING" size="256"/>
  493. <Column id="remark3" type="STRING" size="256"/>
  494. <Column id="diagnm" type="STRING" size="256"/>
  495. <Column id="sick" type="STRING" size="256"/>
  496. <Column id="curedietpatyn" type="STRING" size="256"/>
  497. <Column id="dietroundyn" type="STRING" size="256"/>
  498. <Column id="crmyn" type="STRING" size="256"/>
  499. <Column id="execcnts" type="STRING" size="256"/>
  500. <Column id="execdieter" type="STRING" size="256"/>
  501. <Column id="execdd" type="STRING" size="256"/>
  502. <Column id="dschdd" type="STRING" size="256"/>
  503. <Column id="rsntdschdd" type="STRING" size="256"/>
  504. </ColumnInfo>
  505. <Rows>
  506. <Row>
  507. <Col id="pid"/>
  508. <Col id="room"/>
  509. <Col id="hngnm"/>
  510. <Col id="sex"/>
  511. <Col id="h_brthdd"/>
  512. <Col id="age"/>
  513. <Col id="indd"/>
  514. <Col id="dietcd"/>
  515. <Col id="dietnm"/>
  516. <Col id="prcpdelivefact"/>
  517. <Col id="remark3"/>
  518. <Col id="diagnm"/>
  519. <Col id="sick"/>
  520. <Col id="curedietpatyn"/>
  521. <Col id="dietroundyn"/>
  522. <Col id="crmyn"/>
  523. <Col id="execcnts"/>
  524. <Col id="execdieter"/>
  525. <Col id="execdd"/>
  526. <Col id="dschdd"/>
  527. <Col id="rsntdschdd"/>
  528. </Row>
  529. </Rows>
  530. </Dataset>
  531. <Dataset id="ds_send_data_telnutrcnst_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep"/>
  532. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  533. <ColumnInfo>
  534. <Column id="temp" type="STRING" size="256"/>
  535. </ColumnInfo>
  536. </Dataset>
  537. <Dataset id="ds_send_searchitem_telnutrcnstcnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  538. <ColumnInfo>
  539. <Column id="cnstfromdd" type="STRING" size="256"/>
  540. <Column id="cnsttodd" type="STRING" size="256"/>
  541. <Column id="dieter" type="STRING" size="256"/>
  542. </ColumnInfo>
  543. <Rows>
  544. <Row>
  545. <Col id="cnstfromdd"/>
  546. <Col id="cnsttodd"/>
  547. <Col id="dieter"/>
  548. </Row>
  549. </Rows>
  550. </Dataset>
  551. <Dataset id="ds_init_basecode_sick_A0059" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  552. <ColumnInfo>
  553. <Column id="cdid" type="STRING" size="256"/>
  554. <Column id="cdnm" type="STRING" size="256"/>
  555. </ColumnInfo>
  556. <Rows>
  557. <Row>
  558. <Col id="cdid"/>
  559. <Col id="cdnm"/>
  560. </Row>
  561. </Rows>
  562. </Dataset>
  563. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  564. </Objects>
  565. <Bind>
  566. <BindItem id="item0" compid="grp_biz.group1.cmb_ward1" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="ward"/>
  567. <BindItem id="item1" compid="grp_biz.group1.ipt_pid3" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="pid"/>
  568. <BindItem id="item2" compid="grp_biz.group1.ipt_hngnm3" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="hngnm"/>
  569. <BindItem id="item3" compid="grp_biz.group1.rdo_rsltflag" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="rsltflag"/>
  570. <BindItem id="item4" compid="grp_biz.group1.cmb_dieter4" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="dieter"/>
  571. <BindItem id="item5" compid="grp_biz.group1.ipt_execddfrom" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="execddfrom"/>
  572. <BindItem id="item6" compid="grp_biz.group1.ipt_execddto" propid="value" datasetid="ds_send_searchitem_ipatmngtrslt" columnid="execddto"/>
  573. <BindItem id="item7" compid="grp_biz.grp_reccnts.textarea2" propid="value" datasetid="ds_send_popup" columnid="execcnts"/>
  574. <BindItem id="item8" compid="input1" propid="value" datasetid="ds_main_colsize" columnid="colsize"/>
  575. </Bind>
  576. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  577. * System Name :
  578. * Job Name :
  579. * Creator :
  580. * Make Date : 2015-11-13
  581. * Description :
  582. *---------------------------------------------------------------------------------------
  583. * Modify Date Modifier Modify Description
  584. *---------------------------------------------------------------------------------------
  585. * 2015-11-13 Live Converter TF->XP
  586. *
  587. *---------------------------------------------------------------------------------------
  588. ****************************************************************************************/
  589. include "com_commonxp::comm_main.xjs";
  590. include "com_basiccodexp::ZBC001.xjs";
  591. include "com_departmentcodexp::ZSD001.xjs";
  592. var moving = false;
  593. function finit() {
  594. ds_init_basecode_sick_A0059.clearData(); ds_init_basecode_sick_A0059.addRow();
  595. var arrParam = [{dsNm: "ds_init_basecode_sick_A0059", cdGrpId: "A0059"}];
  596. appf_getCodeList(arrParam);
  597. // zsdfGetWardDeptList(sysf_getUserInfo("dutplceinstcd"), "ds_init_basecode_ward_dept", "depthngnm", "asc", utlf_getCurrentDate().toDate().getDateFormat("YYYYMMDD"), "after");
  598. var today = utlf_getCurrentDate();
  599. appf_getDeptCodeList(sysf_getUserInfo('dutplceinstcd'), 'orduseyn', 'W', 'depthngnm', 'asc', today.toDate().getDateFormat('YYYYMMDD'), '', 'asc', 'ds_init_basecode_ward_dept', false, null);
  600. ds_main_data_ipatmngt_grdlist.clearData();
  601. ds_main_data_telnutrcnst_grdlist.clearData();
  602. ds_main_data_telnutrcnstcnt_cnstcount.clearData();
  603. ds_main_data_nonregleduc_grdlist.clearData();
  604. ds_send_searchitem_ipatmngt.clearData(); ds_send_searchitem_ipatmngt.addRow();
  605. ds_send_searchitem_ipatmngt.setColumn( 0, "patflag", "1");
  606. ds_send_searchitem_ipatmngt.setColumn( 0, "inddfrom", utlf_getCurrentDate());
  607. ds_send_searchitem_ipatmngt.setColumn( 0, "inddto", utlf_getCurrentDate());
  608. ds_send_searchitem_ipatmngtrslt.clearData(); ds_send_searchitem_ipatmngtrslt.addRow();
  609. ds_send_searchitem_ipatmngtrslt.setColumn( 0, "rsltflag", "-");
  610. ds_send_searchitem_ipatmngtrslt.setColumn( 0, "execddfrom", utlf_getCurrentDate());
  611. ds_send_searchitem_ipatmngtrslt.setColumn( 0, "execddto", utlf_getCurrentDate());
  612. ds_send_searchitem_ipatmngtrslt.setColumn( 0, "ward", sysf_getUserInfo("dutplcecd"));
  613. ds_send_searchitem_ipatmngtrslt.setColumn( 0, "dieter", sysf_getUserInfo("userid"));
  614. ds_send_searchitem_telnutrcnst.clearData(); ds_send_searchitem_telnutrcnst.addRow();
  615. ds_send_searchitem_telnutrcnst.setColumn( 0, "educfromdd", utlf_getCurrentDate());
  616. ds_send_searchitem_telnutrcnst.setColumn( 0, "eductodd", utlf_getCurrentDate());
  617. ds_send_searchitem_telnutrcnst.setColumn( 0, "dieter", sysf_getUserInfo("userid"));
  618. ds_send_searchitem_telnutrcnstcnt.clearData(); ds_send_searchitem_telnutrcnstcnt.addRow();
  619. ds_send_searchitem_telnutrcnstcnt.setColumn( 0, "cnstfromdd", utlf_getCurrentDate());
  620. ds_send_searchitem_telnutrcnstcnt.setColumn( 0, "cnsttodd", utlf_getCurrentDate());
  621. ds_send_searchitem_telnutrcnstcnt.setColumn( 0, "dieter", sysf_getUserInfo("userid"));
  622. ds_send_searchitem_nonregleduc.clearData(); ds_send_searchitem_nonregleduc.addRow();
  623. ds_send_searchitem_nonregleduc.setColumn( 0, "fromdd", utlf_getCurrentDate());
  624. ds_send_searchitem_nonregleduc.setColumn( 0, "todd", utlf_getCurrentDate());
  625. }
  626. function SMANC00600_onload(obj:Form, e:LoadEventInfo) {
  627. frmf_initForm(obj);
  628. //grdf_initGrid(grd_XXX);
  629. //grdf_setGridSort(grd_XXX);
  630. //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
  631. finit();
  632. dsf_createDs("ds_req");
  633. //영양사 조회
  634. var oParam = {};
  635. oParam.id = "TRANC00202";
  636. oParam.service = "nutritionconsultapp.PatientNutr";
  637. oParam.method = "reqGetDieter";
  638. oParam.inds = "req=ds_req";
  639. oParam.outds = "ds_init_basecode_dieter_dieter=dieter ds_init_basecode_dieter_intndieter=intndieter ds_init_basecode_dieter_alldieter=alldieter";
  640. oParam.async = false;
  641. //oParam.callback = "cf_TRANC00202";
  642. tranf_submit(oParam);
  643. //초기화
  644. for(var i = 0 ; i < grp_biz.grd_ipatmngtrslt.rowcount ; i++) {
  645. grp_biz.grd_ipatmngtrslt.setRealRowSize(i, 24);
  646. }
  647. input1.value = 24;
  648. group4.resizeButton.position.top = 24;
  649. group4.resizeButton.position.bottom = 29;
  650. }
  651. function grp_biz_group1_btn_search5_onclick(obj:Button, e:ClickEventInfo) {
  652. var fromdd = ds_send_searchitem_ipatmngtrslt.getColumn(0, "execddfrom");
  653. var todd = ds_send_searchitem_ipatmngtrslt.getColumn(0, "execddto");
  654. if ( utlf_getDateInterval(fromdd, todd) < 0 ) {
  655. sysf_messageBox("조회 시작일은 종료일보다 클 수", "I004");
  656. return;
  657. } else {
  658. dsf_createDsRow("ds_req", [
  659. {col:"ward", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "ward")}
  660. , {col:"rsltflag", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "rsltflag")}
  661. , {col:"execddfrom", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "execddfrom")}
  662. , {col:"execddto", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "execddto")}
  663. , {col:"pid", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "pid")}
  664. , {col:"hngnm", type:"STRING", size:256, val:ds_send_searchitem_ipatmngtrslt.getColumn(0, "hngnm")}
  665. ]);
  666. var oParam = {};
  667. oParam.id = "TRANC00406";
  668. oParam.service = "nutritionconsultapp.NutrEducation";
  669. oParam.method = "reqGetIpatMngtRsltNurse";
  670. oParam.inds = "req=ds_req";
  671. oParam.outds = "ds_main_data_ipatmngtrslt_grdlist=ret";
  672. oParam.async = false;
  673. //oParam.callback = "cf_TRANC00406";
  674. tranf_submit(oParam);
  675. }
  676. }
  677. function grp_biz_group1_btn_pid1_onclick(obj:Button, e:ClickEventInfo) {
  678. var objArg = new Object();
  679. objArg.arg_ds_send = ds_hidden;
  680. frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, null, null, null, null, null, null, null, null, "M");
  681. ds_send_searchitem_ipatmngtrslt.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid"));
  682. ds_send_searchitem_ipatmngtrslt.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm"));
  683. }
  684. function grp_biz_group1_ipt_pid3_onkeydown(obj:MaskEdit, e:KeyEventInfo) {
  685. if(e.keycode == 13) {
  686. obj.updateToDataset();
  687. grp_biz.group1.btn_search5.click();
  688. }
  689. }
  690. function grp_biz_group1_ipt_hngnm3_onkeydown(obj:Edit, e:KeyEventInfo) {
  691. if(e.keycode == 13) {
  692. obj.updateToDataset();
  693. grp_biz.group1.btn_search5.click();
  694. }
  695. }
  696. function grp_biz_grd_ipatmngtrslt_onlbuttonup(obj:Grid, e:MouseEventInfo) {
  697. // var colidx = obj.currentcol;
  698. // if ( obj.getBindCellIndex("body", "execcnts") == colidx ){
  699. // ds_send_popup.setColumn( 0, "execcnts", "");
  700. // grp_biz.grp_reccnts.visible = true;
  701. // var rownum = obj.currentrow;
  702. // var execcnts = ds_main_data_ipatmngtrslt_grdlist.getColumn(rownum, "execcnts");
  703. // ds_send_popup.setColumn( 0, "execcnts", execcnts);
  704. // }
  705. }
  706. function grp_biz_grp_reccnts_button4_onclick(obj:Button, e:ClickEventInfo) {
  707. grp_biz.grp_reccnts.visible = false;
  708. }
  709. // function grp_biz_btn_rowadd3_onclick(obj:Button, e:ClickEventInfo) {
  710. // //입원환자관리 탭화면일때
  711. // if ( btn_ipatmngt.selected ) {
  712. //
  713. // if ( ds_main_data_ipatmngt_grdlist.getColumn(grd_ipatmngt.row, "pid")) == "" ) {
  714. // sysf_messageBox("추가할 환자를", "C002");
  715. // return;
  716. // }
  717. //
  718. // var grdrow = grd_ipatmngt.row;
  719. // ds_tem.copyRow( p, ds_main_data_ipatmngt_grdlist, grdrow);
  720. // grd_ipatmngt.insertrow(grdrow, "below");
  721. // model.copyNode("ds_main_data_ipatmngt_grdlist["+ (grdrow+1) +"]", "ds_temp");
  722. // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_sick", "");
  723. // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_curedietpatyn", "");
  724. // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_dietroundyn", "");
  725. // //ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_crmyn", "");
  726. // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_execcnts", "");
  727. // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_execdieter", sysf_getUserInfo("userid"));
  728. // ds_main_data_ipatmngt.setColumn( 0, "grdlist["+ (grdrow+1) +"]_execdd", utlf_getCurrentDate());
  729. // }
  730. // //집단교육 탭화면일때
  731. // else if ( btn_nonregleduc.selected ) {
  732. // grd_nonregleduc.addRow();
  733. // }
  734. // }
  735. // function grp_biz_btn_rowdel3_onclick(obj:Button, e:ClickEventInfo) {
  736. // //var cur_row = grd_nonregleduc.row;
  737. // //grd_nonregleduc.deleteRow(cur_row);
  738. // grd_nonregleduc.deleteRow(grd_nonregleduc.row);
  739. // }
  740. function grp_biz_btn_excel_onclick(obj:Button, e:ClickEventInfo) {
  741. // if ( btn_ipatmngt.selected ) {
  742. // var filename = window.fileDialog("save", ",", false, "입원치료식환자관리현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  743. // if (filename != "") {
  744. // grdf_exportExcel(grd_ipatmngt, "Sheet1", filename, false, "" , 'user' , true);
  745. // }
  746. // } else if ( btn_ipatmngtrslt.selected ) {
  747. // var filename = window.fileDialog("save", ",", false, "환자관리결과현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  748. // if (filename != "") {
  749. // grdf_exportExcel(grp_biz.grd_ipatmngtrslt, "Sheet1", filename, false, "" , 'user' , true);
  750. // }
  751. // } else if ( btn_telnutrcnst.selected ) {
  752. // var filename = window.fileDialog("save", ",", false, "전화영양상담현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  753. // if (filename != "") {
  754. // grdf_exportExcel(grd_telnutrcnst, "Sheet1", filename, false, "" , 'user' , true);
  755. // }
  756. // } else if ( btn_nonregleduc.selected ) {
  757. // var filename = window.fileDialog("save", ",", false, "집단교육현황", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  758. // if (filename != "") {
  759. // grdf_exportExcel(grd_nonregleduc, "Sheet1", filename, false, "" , 'user' , true);
  760. // }
  761. // }
  762. if(grp_biz.grd_ipatmngtrslt.rowcount > 0) {
  763. grdf_exportExcel(grp_biz.grd_ipatmngtrslt, "환자관리결과현황", "Sheet1", true, "" , 'user' , true);
  764. }
  765. }
  766. function grp_btn_btn_reset_onclick(obj:Button, e:ClickEventInfo) {
  767. finit();
  768. }
  769. // function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo) {
  770. // if ( sysf_messageBox("", "Q002") == 6 ) {
  771. // //입원환자관리 탭화면일때
  772. // if ( btn_ipatmngt.selected ) {
  773. // ds_send_data_ipatmngt.setColumn( 0, "list", grd_ipatmngt.getUpdateData());
  774. // var oParam = {};
  775. // oParam.id = "TXANC00401";
  776. // oParam.service = "nutritionconsultapp.NutrEducation";
  777. // oParam.method = "reqExeIpatMngt";
  778. // oParam.inds = "req=ds_";
  779. // oParam.outds = "";
  780. // oParam.async = false;
  781. // oParam.callback = "cf_TXANC00401";
  782. //
  783. // tranf_submit(oParam);
  784. //
  785. // if(arErrorCode.pop("TXANC00401") > -1) {
  786. // var oParam = {};
  787. // oParam.id = "TRANC00401";
  788. // oParam.service = "nutritionconsultapp.NutrEducation";
  789. // oParam.method = "reqGetIpatMngt";
  790. // oParam.inds = "req=ds_";
  791. // oParam.outds = "ds_=ret";
  792. // oParam.async = false;
  793. // //oParam.callback = "cf_TRANC00401";
  794. //
  795. // tranf_submit(oParam);
  796. // }
  797. // }
  798. //
  799. // //전화영양상담 탭화면일때
  800. // else if ( btn_telnutrcnst.selected ) {
  801. // //전화영양상담 메인 그리드
  802. // if ( getGridUpdateData(grd_telnutrcnst) != "" ) {
  803. // //필수입력항목 체크
  804. // for ( i=1; i<grd_telnutrcnst.rows; i++) {
  805. // if ( (ds_main_data_telnutrcnst_grdlist.getColumn(i, "execyn") == "Y") &&
  806. // ((ds_main_data_telnutrcnst_grdlist.getColumn(i, "telexecdd") == "") ||
  807. // (ds_main_data_telnutrcnst_grdlist.getColumn(i, "execdieter") == "")) ) {
  808. // sysf_messageBox("수행일자, 영양사 항목은", "I003");
  809. // return;
  810. // }
  811. // }
  812. // ds_send_data_telnutrcnst.setColumn( 0, "list", grd_telnutrcnst.getUpdateData());
  813. // // if (submit("TXANC00402")) {
  814. // var oParam = {};
  815. // oParam.id = "TXANC00402";
  816. // oParam.service = "nutritionconsultapp.NutrEducation";
  817. // oParam.method = "reqExeTelNutrCnstPurs";
  818. // oParam.inds = "telnutrcnst=ds_";
  819. // oParam.outds = "";
  820. // oParam.async = false;
  821. // oParam.callback = "cf_TXANC00402";
  822. //
  823. // tranf_submit(oParam);
  824. // /*
  825. // function cf_TXANC00402(sSvcId, nErrorCode, sErrorMsg) {
  826. // if(nErrorCode < 0) return;
  827. // }
  828. // function cf_TXANC00402(sSvcId, nErrorCode, sErrorMsg) {
  829. // arErrorCode.push(sSvcId, nErrorCode);
  830. // }
  831. // arErrorCode.pop("TXANC00402") > -1
  832. // arErrorCode.pop("TXANC00402") < 0
  833. // */
  834. //
  835. // var oParam = {};
  836. // oParam.id = "TRANC00402";
  837. // oParam.service = "nutritionconsultapp.NutrEducation";
  838. // oParam.method = "reqGetTelNutrCnstPurs";
  839. // oParam.inds = "req=ds_";
  840. // oParam.outds = "ds_=grdlist";
  841. // oParam.async = false;
  842. // oParam.callback = "cf_TRANC00402";
  843. //
  844. // tranf_submit(oParam);
  845. // /*
  846. // function cf_TRANC00402(sSvcId, nErrorCode, sErrorMsg) {
  847. // if(nErrorCode < 0) return;
  848. // }
  849. // function cf_TRANC00402(sSvcId, nErrorCode, sErrorMsg) {
  850. // arErrorCode.push(sSvcId, nErrorCode);
  851. // }
  852. // arErrorCode.pop("TRANC00402") > -1
  853. // arErrorCode.pop("TRANC00402") < 0
  854. // */
  855. //
  856. //
  857. // }
  858. // }
  859. //
  860. // //하단의 전화영양상담건수 그리드
  861. // if ( getGridUpdateData(grd_cnstcount) != "" ) {
  862. // //필수입력항목 체크
  863. // for ( i=1; i<grd_cnstcount.rows; i++) {
  864. // if ( (ds_main_data_telnutrcnstcnt_cnstcount.getColumn(i, "cnstdd") == "") ||
  865. // (ds_main_data_telnutrcnstcnt_cnstcount.getColumn(i, "dieter") == "") ) {
  866. // sysf_messageBox("상담일자, 영양사 항목은", "I003");
  867. // return;
  868. // }
  869. // }
  870. // ds_send_data_telnutrcnstcnt.setColumn( 0, "cnstcount", grd_cnstcount.getUpdateData());
  871. // // if (submit("TXANC00404")) {
  872. // var oParam = {};
  873. // oParam.id = "TXANC00404";
  874. // oParam.service = "nutritionconsultapp.NutrEducation";
  875. // oParam.method = "reqExeTelNutrCnstCnt";
  876. // oParam.inds = "cnstcount=ds_";
  877. // oParam.outds = "";
  878. // oParam.async = false;
  879. // oParam.callback = "cf_TXANC00404";
  880. //
  881. // tranf_submit(oParam);
  882. // /*
  883. // function cf_TXANC00404(sSvcId, nErrorCode, sErrorMsg) {
  884. // if(nErrorCode < 0) return;
  885. // }
  886. // function cf_TXANC00404(sSvcId, nErrorCode, sErrorMsg) {
  887. // arErrorCode.push(sSvcId, nErrorCode);
  888. // }
  889. // arErrorCode.pop("TXANC00404") > -1
  890. // arErrorCode.pop("TXANC00404") < 0
  891. // */
  892. //
  893. // // submit("TRANC00404");
  894. // var oParam = {};
  895. // oParam.id = "TRANC00404";
  896. // oParam.service = "nutritionconsultapp.NutrEducation";
  897. // oParam.method = "reqGetTelNutrCnstCnt";
  898. // oParam.inds = "req=ds_";
  899. // oParam.outds = "ds_=cnstcount";
  900. // oParam.async = false;
  901. // oParam.callback = "cf_TRANC00404";
  902. //
  903. // tranf_submit(oParam);
  904. // /*
  905. // function cf_TRANC00404(sSvcId, nErrorCode, sErrorMsg) {
  906. // if(nErrorCode < 0) return;
  907. // }
  908. // function cf_TRANC00404(sSvcId, nErrorCode, sErrorMsg) {
  909. // arErrorCode.push(sSvcId, nErrorCode);
  910. // }
  911. // arErrorCode.pop("TRANC00404") > -1
  912. // arErrorCode.pop("TRANC00404") < 0
  913. // */
  914. //
  915. //
  916. // }
  917. // }
  918. // }
  919. //
  920. // //집단교육 탭화면일때
  921. // else if ( btn_nonregleduc.selected ) {
  922. // //필수입력항목 체크
  923. // for ( i=1; i<grd_nonregleduc.rows; i++) {
  924. // if ( (ds_main_data_nonregleduc_grdlist.getColumn(i, "educdd") == "") ||
  925. // (ds_main_data_nonregleduc_grdlist.getColumn(i, "eductm") == "") ||
  926. // (ds_main_data_nonregleduc_grdlist.getColumn(i, "educdieter") == "") ) {
  927. // sysf_messageBox("일자, 시간, 영양사 항목은", "I003");
  928. // return;
  929. // }
  930. // }
  931. // ds_send_data_nonregleduc.setColumn( 0, "list", grd_nonregleduc.getUpdateData());
  932. // // submit("TXANC00403");
  933. // var oParam = {};
  934. // oParam.id = "TXANC00403";
  935. // oParam.service = "nutritionconsultapp.NutrEducation";
  936. // oParam.method = "reqExeNonReglEduc";
  937. // oParam.inds = "req=ds_";
  938. // oParam.outds = "";
  939. // oParam.async = false;
  940. // oParam.callback = "cf_TXANC00403";
  941. //
  942. // tranf_submit(oParam);
  943. // /*
  944. // function cf_TXANC00403(sSvcId, nErrorCode, sErrorMsg) {
  945. // if(nErrorCode < 0) return;
  946. // }
  947. // function cf_TXANC00403(sSvcId, nErrorCode, sErrorMsg) {
  948. // arErrorCode.push(sSvcId, nErrorCode);
  949. // }
  950. // arErrorCode.pop("TXANC00403") > -1
  951. // arErrorCode.pop("TXANC00403") < 0
  952. // */
  953. //
  954. //
  955. // }
  956. //
  957. // //ds_send_data.clearData(); ds_send_data.addRow();
  958. // } else { return; }
  959. // }
  960. // function cf_TXANC00401(sSvcId, nErrorCode, sErrorMsg) {
  961. // arErrorCode.push(sSvcId, nErrorCode);
  962. // }
  963. // function group4_resizeButton_onmove(obj:Button, e:MoveEventInfo)
  964. // {
  965. // if(moving == true)
  966. // {
  967. // //그리드의 col width 를 조정한다
  968. // group4.resizeButton.attribute("top") = event.y+"px";
  969. // input1.value = event.y;
  970. // grp_biz.grd_ipatmngtrslt.dataHeight = input1.value;
  971. // }
  972. // }
  973. // function group4_resizeButton_onlbuttondown(obj:Button, e:MouseEventInfo)
  974. // {
  975. // moving = true;
  976. // }
  977. function group4_resizeButton_onlbuttonup(obj:Button, e:MouseEventInfo)
  978. {
  979. moving = false;
  980. var posi = obj.position.top+e.canvasY;
  981. if(posi > group4.position.height-4) posi = group4.position.bottom-10;
  982. else if(posi < 0) posi = 0;
  983. input1.value = posi;
  984. obj.position.top = input1.value;
  985. obj.position.bottom = parseInt(input1.value)+5;
  986. for(var i = 0 ; i < grp_biz.grd_ipatmngtrslt.rowcount ; i++) {
  987. grp_biz.grd_ipatmngtrslt.setRealRowSize(i, input1.value);
  988. }
  989. }
  990. function grp_biz_grd_ipatmngtrslt_onexpandup(obj:Grid, e:GridMouseEventInfo)
  991. {
  992. var colidx = obj.currentcol;
  993. if ( obj.getBindCellIndex("body", "execcnts") == colidx ){
  994. ds_send_popup.setColumn( 0, "execcnts", "");
  995. grp_biz.grp_reccnts.visible = true;
  996. var rownum = obj.currentrow;
  997. var execcnts = ds_main_data_ipatmngtrslt_grdlist.getColumn(rownum, "execcnts");
  998. ds_send_popup.setColumn( 0, "execcnts", execcnts);
  999. }
  1000. }
  1001. ]]></Script>
  1002. </Form>
  1003. </FDL>