SMADC03500_NST환자조회.xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMADC03500_NST환자조회" classname="SMADC03500_NST환자조회" inheritanceid="" position="absolute 0 0 1024 768" titletext="NST환자목록" onload="SMADC03500_onload" oninit="SMADC03500_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption12" text="NST환자리스트색" class="tit_1" position="absolute 0 0 226 25"/>
  8. <Div id="grp_sea" anchor="left top right" taborder="3" style="align:center top;" class="div_SA" position="absolute 0 25 1024 69">
  9. <Layouts>
  10. <Layout>
  11. <Shape id="line1" linetype="vertical" class="line_4" position="absolute 877 10 883 29" anchor="top right"/>
  12. <Button id="btn_sea" taborder="32" text="조회" onclick="grp_sea_btn_sea_onclick" class="btn1" position="absolute 944 9 1000 31" anchor="top right"/>
  13. <Calendar id="ipt_srchdd2" taborder="35" autoselect="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 181 13 268 34" anchor="default"/>
  14. <Static id="caption8" text="~" position="absolute 171 15 182 35" anchor="default"/>
  15. <Calendar id="ipt_srchdd1" taborder="36" autoselect="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 82 13 169 34" anchor="default"/>
  16. <Static id="caption3" text="회신일자 :" class="search_name" position="absolute 9 15 100 32" anchor="default"/>
  17. <Static id="caption00" text="기준일:" class="search_name" position="absolute 621 15 712 32"/>
  18. <Calendar id="ipt_srchdd00" taborder="37" autoselect="true" dateformat="yyyy-MM-dd" class="input_search" position="absolute 677 11 764 32"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Grid id="grd_nstlist" taborder="4" useinputpanel="false" position="absolute 1 104 1021 750" binddataset="ds_nstinfo_patlist" autosizingtype="row" extendsizetype="row">
  23. <Formats>
  24. <Format id="default">
  25. <Columns>
  26. <Column size="40"/>
  27. <Column size="90"/>
  28. <Column size="52"/>
  29. <Column size="63"/>
  30. <Column size="72"/>
  31. <Column size="73"/>
  32. <Column size="122"/>
  33. <Column size="123"/>
  34. <Column size="130"/>
  35. <Column size="82"/>
  36. <Column size="346"/>
  37. <Column size="64"/>
  38. <Column size="69"/>
  39. <Column size="75"/>
  40. <Column size="58"/>
  41. <Column size="50"/>
  42. <Column size="101"/>
  43. <Column size="107"/>
  44. </Columns>
  45. <Rows>
  46. <Row size="24" band="head"/>
  47. <Row size="24"/>
  48. </Rows>
  49. <Band id="head">
  50. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" taborder="undefined"/>
  51. <Cell col="1" text="구분"/>
  52. <Cell col="2" text="병실"/>
  53. <Cell col="3" text="환자명"/>
  54. <Cell col="4" text="S/A"/>
  55. <Cell col="5" text="등록번호"/>
  56. <Cell col="6" text="진료과"/>
  57. <Cell col="7" text="상병"/>
  58. <Cell col="8" text="과거력"/>
  59. <Cell col="9" text="영양상태"/>
  60. <Cell col="10" text="1.의뢰사유 &amp; 영양지원 및 2. 공급 계획"/>
  61. <Cell col="11" text="최종회신수"/>
  62. <Cell col="12" text="의뢰일"/>
  63. <Cell col="13" text="입원일"/>
  64. <Cell col="14" text="담당교수"/>
  65. <Cell col="15" text="의뢰의"/>
  66. <Cell col="16" text="종결사유"/>
  67. <Cell col="17" text="해당요일-해당교수"/>
  68. </Band>
  69. <Band id="body">
  70. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:(chk==&quot;Y&quot;||chk==1)?1:0"/>
  71. <Cell col="1" text="bind:gubn"/>
  72. <Cell col="2" text="bind:roomcd"/>
  73. <Cell col="3" text="bind:hngnm"/>
  74. <Cell col="4" text="bind:sa"/>
  75. <Cell col="5" text="bind:pid"/>
  76. <Cell col="6" style="align:left;padding:0 0 0 5;" text="bind:orddeptnm" wordwrap="char"/>
  77. <Cell col="7" style="align:left;padding:0 5 5 5;" text="bind:diagnm" wordwrap="char" autosizerow="limitmin"/>
  78. <Cell col="8"/>
  79. <Cell col="9" style="align:center;padding:0 0 0 5;" text="bind:nutrjudg" wordwrap="english" autosizerow="limitmin"/>
  80. <Cell col="10" style="align:left top;padding:5 5 5 5;" text="bind:cnstinfo" wordwrap="char" tooltiptype="mouse" autosizerow="limitmin"/>
  81. <Cell col="11" text="bind:replcnt"/>
  82. <Cell col="12" displaytype="date" text="bind:reqdd"/>
  83. <Cell col="13" displaytype="date" text="bind:orddd"/>
  84. <Cell col="14" text="bind:orddrnm"/>
  85. <Cell col="15" text="bind:cnstdrnm"/>
  86. <Cell col="16" text="bind:finishresn"/>
  87. <Cell col="17"/>
  88. </Band>
  89. </Format>
  90. </Formats>
  91. </Grid>
  92. <Static id="caption13" text="NST관리대상자" onclick="caption13_onclick" class="tit_2" position="absolute 3 83 192 103"/>
  93. <Shape id="line02" class="line_10" position="absolute 1 99 1021 105" anchor="left top right" style="border:0 none black ;font:arial,9,bold;"/>
  94. <Button id="button51" taborder="5" text="엑셀저장" onclick="button51_onclick" class="btn7" position="absolute 938 77 1015 99" anchor="top right"/>
  95. <Grid id="grd_excellist" taborder="6" binddataset="ds_nstinfo_excellist" useinputpanel="false" extendsizetype="row" autosizingtype="row" position="absolute 326 154 1019 656" visible="false">
  96. <Formats>
  97. <Format id="default">
  98. <Columns>
  99. <Column size="40"/>
  100. <Column size="90"/>
  101. <Column size="52"/>
  102. <Column size="63"/>
  103. <Column size="72"/>
  104. <Column size="73"/>
  105. <Column size="122"/>
  106. <Column size="123"/>
  107. <Column size="130"/>
  108. <Column size="82"/>
  109. <Column size="265"/>
  110. <Column size="64"/>
  111. <Column size="69"/>
  112. <Column size="75"/>
  113. <Column size="58"/>
  114. <Column size="50"/>
  115. <Column size="101"/>
  116. <Column size="111"/>
  117. </Columns>
  118. <Rows>
  119. <Row size="24" band="head"/>
  120. <Row size="24"/>
  121. </Rows>
  122. <Band id="head">
  123. <Cell displaytype="checkbox" edittype="checkbox" taborder="undefined">
  124. <Cell/>
  125. </Cell>
  126. <Cell col="1" text="구분"/>
  127. <Cell col="2" text="병실"/>
  128. <Cell col="3" text="환자명"/>
  129. <Cell col="4" text="S/A"/>
  130. <Cell col="5" text="등록번호"/>
  131. <Cell col="6" text="진료과"/>
  132. <Cell col="7" text="상병"/>
  133. <Cell col="8" text="과거력"/>
  134. <Cell col="9" text="영양상태"/>
  135. <Cell col="10" text="의뢰내용"/>
  136. <Cell col="11" text="최종회신수"/>
  137. <Cell col="12" text="의뢰일"/>
  138. <Cell col="13" text="입원일"/>
  139. <Cell col="14" text="담당교수"/>
  140. <Cell col="15" text="의뢰의"/>
  141. <Cell col="16" text="종결사유"/>
  142. <Cell col="17" text="해당요일-해당교수"/>
  143. </Band>
  144. <Band id="body">
  145. <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:(chk==&quot;Y&quot;||chk==1)?1:0"/>
  146. <Cell col="1" text="bind:gubn"/>
  147. <Cell col="2" text="bind:roomcd"/>
  148. <Cell col="3" text="bind:hngnm"/>
  149. <Cell col="4" text="bind:sa"/>
  150. <Cell col="5" text="bind:pid"/>
  151. <Cell col="6" style="align:left;padding:0 0 0 5;" text="bind:orddeptnm" wordwrap="char"/>
  152. <Cell col="7" style="align:left;padding:0 5 5 5;" text="bind:diagnm" wordwrap="char" autosizerow="limitmin"/>
  153. <Cell col="8"/>
  154. <Cell col="9" style="align:center;padding:0 0 0 5;" text="bind:nutrjudg" wordwrap="english" autosizerow="limitmin"/>
  155. <Cell col="10" style="align:left top;padding:5 5 5 5;" text="bind:cnstinfo" wordwrap="char" tooltiptype="mouse" tooltiptext="bind:cnstinfo" autosizerow="limitmin"/>
  156. <Cell col="11" text="bind:replcnt"/>
  157. <Cell col="12" displaytype="date" text="bind:reqdd"/>
  158. <Cell col="13" displaytype="date" text="bind:orddd"/>
  159. <Cell col="14" text="bind:orddrnm"/>
  160. <Cell col="15" text="bind:cnstdrnm"/>
  161. <Cell col="16" text="bind:finishresn"/>
  162. <Cell col="17"/>
  163. </Band>
  164. </Format>
  165. </Formats>
  166. </Grid>
  167. </Layout>
  168. </Layouts>
  169. <Objects>
  170. <Dataset id="ds_send_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  171. <ColumnInfo>
  172. <Column id="fromdd" type="STRING" size="256"/>
  173. <Column id="todd" type="STRING" size="256"/>
  174. <Column id="curdd" type="STRING" size="256"/>
  175. </ColumnInfo>
  176. <Rows>
  177. <Row/>
  178. </Rows>
  179. </Dataset>
  180. <Dataset id="ds_nstinfo_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  181. <ColumnInfo>
  182. <Column id="chk" type="STRING" size="256"/>
  183. <Column id="roomcd" type="STRING" size="256"/>
  184. <Column id="sa" type="STRING" size="256"/>
  185. <Column id="pid" type="STRING" size="256"/>
  186. <Column id="cnstcnts4" type="STRING" size="256"/>
  187. <Column id="drugplan" type="STRING" size="256"/>
  188. <Column id="suplplanetc" type="STRING" size="256"/>
  189. <Column id="gubn" type="STRING" size="256"/>
  190. <Column id="hngnm" type="STRING" size="256"/>
  191. <Column id="orddeptnm" type="STRING" size="256"/>
  192. <Column id="diagnm" type="STRING" size="256"/>
  193. <Column id="nutrjudg" type="STRING" size="256"/>
  194. <Column id="orddd" type="STRING" size="256"/>
  195. <Column id="cnstinfo" type="STRING" size="256"/>
  196. <Column id="reqdd" type="STRING" size="256"/>
  197. <Column id="replcnt" type="STRING" size="256"/>
  198. <Column id="drnm" type="STRING" size="256"/>
  199. <Column id="orddrnm" type="STRING" size="256"/>
  200. <Column id="cnstdrnm" type="STRING" size="256"/>
  201. <Column id="finishresn" type="STRING" size="256"/>
  202. </ColumnInfo>
  203. <Rows>
  204. <Row/>
  205. </Rows>
  206. </Dataset>
  207. <Dataset id="ds_nstinfo_excellist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  208. </Objects>
  209. <Bind>
  210. <BindItem id="item0" compid="grp_sea" propid="text" datasetid="ds_send_req" columnid="fromdd"/>
  211. <BindItem id="item1" compid="grp_sea.ipt_srchdd1" propid="value" datasetid="ds_send_req" columnid="fromdd"/>
  212. <BindItem id="item2" compid="grp_sea.ipt_srchdd2" propid="value" datasetid="ds_send_req" columnid="todd"/>
  213. <BindItem id="item3" compid="grp_sea.ipt_srchdd00" propid="value" datasetid="ds_send_req" columnid="curdd"/>
  214. </Bind>
  215. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
  216. include "ast_commonxp::AST.xjs";
  217. function SMADC03500_onload(obj:Form, e:LoadEventInfo)
  218. {
  219. var curdd=utlf_getCurrentDate();
  220. var a = utlf_getCurrentDate().toDate().getDay();
  221. var lastdd = utlf_getCurrentDate().toDate().getAddDate(6-a, "D").getDateFormat("YYYYMMDD");
  222. ds_send_req.setColumn(0, "fromdd", curdd);
  223. ds_send_req.setColumn(0, "todd", curdd);
  224. ds_send_req.setColumn(0, "curdd", lastdd);
  225. }
  226. /** 초기화
  227. */
  228. function SMADC03500_oninit(obj:Form, e:InitEventInfo)
  229. {
  230. frmf_initForm(obj);
  231. grdf_initGrid(grd_nstlist);
  232. }
  233. function grp_sea_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  234. {
  235. fSearch();
  236. }
  237. function fSearch() {
  238. var oParam = {};
  239. oParam.id = "TRADC03501";
  240. oParam.service = "pharmacyconsultapp.TDMMngt";
  241. oParam.method = "reqGetNstPatList";
  242. oParam.inds = "req=ds_send_req";
  243. oParam.outds = "ds_nstinfo_patlist=info";
  244. oParam.async = false;
  245. //oParam.callback = "cf_TRADC02603";
  246. tranf_submit(oParam);
  247. }
  248. function button51_onclick(obj:Button, e:ClickEventInfo)
  249. {
  250. ds_nstinfo_patlist.filter("chk == '1'");
  251. ds_nstinfo_excellist.copyData(ds_nstinfo_patlist, true);
  252. ds_nstinfo_patlist.filter("");
  253. grdf_exportExcel(grd_excellist, "NST관리대상자리스트", "NST관리대상자리스트", false, "", "user", false);
  254. }
  255. ]]></Script>
  256. </Form>
  257. </FDL>