SPANC00600_환자별영양평가.xfdl 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPANC00600" position="absolute 0 0 900 517" titletext="환자별 영양평가" tooltiptype="default" oninit="SPANC00600_oninit" onload="SPANC00600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="환자별 영양평가" position="absolute 0 0 194 20" id="caption1" class="tit_1"/>
  8. <Div position="absolute 0 20 270 376" id="grp_left" anchor="left top">
  9. <Layouts>
  10. <Layout>
  11. <Static text="영양검색 이력" position="absolute 0 7 220 23" align="align:left middle;" id="caption6" class="tit_2" anchor="default"/>
  12. <Shape position="absolute 0 23 265 29" linetype="horizontal" id="line2" class="line_10" anchor="default"/>
  13. <Div position="absolute 0 28 265 60" id="roundrect2" type="roundrectangle" anchor="default" class="div_SA2">
  14. <Layouts>
  15. <Layout>
  16. <Calendar id="ipt_fromdd" taborder="3" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 2 4 87 24" anchor="default"/>
  17. <Static id="caption3" text="~" position="absolute 90 4 105 24" anchor="default"/>
  18. <Calendar id="ipt_todd" taborder="4" autoselect="true" dateformat="yyyy-MM-dd" position="absolute 103 4 188 24" anchor="default"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Shape position="absolute 189 32 200 53" linetype="vertical" id="line1" anchor="default"/>
  23. <Button position="absolute 199 32 260 52" id="btn_search" class="btn1" anchor="default" onclick="grp_left_btn_search_onclick" text="조회"/>
  24. <Grid id="grd_histtree" taborder="2" binddataset="ds_srch_hist" useinputpanel="false" selecttype="treecell" autofittype="col" treeusecheckbox="false" position="absolute 0 66 265 348" anchor="left top" oncellclick="grp_left_grd_histtree_oncellclick">
  25. <Formats>
  26. <Format id="default">
  27. <Columns>
  28. <Column size="489"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="24" band="head"/>
  32. <Row size="24"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell displaytype="normal" text="영양검색 이력"/>
  36. </Band>
  37. <Band id="body">
  38. <Cell displaytype="tree" edittype="tree" text="bind:displaynm" treestartlevel="1" treelevel="bind:levl" autosizecol="limitmax"/>
  39. </Band>
  40. </Format>
  41. </Formats>
  42. </Grid>
  43. </Layout>
  44. </Layouts>
  45. </Div>
  46. <Div id="grp_bottom" taborder="1" position="absolute 2 373 888 512">
  47. <Layouts>
  48. <Layout>
  49. <Static id="caption3" text="영양불량위험군 기록지" class="tit_2" position="absolute 0 0 220 16" anchor="default"/>
  50. <Shape id="line5" class="line_10" position="absolute 0 16 886 22" anchor="left top right"/>
  51. <Grid id="grd_srchreclist" taborder="1" binddataset="ds_srchrec_list" useinputpanel="false" autofittype="col" oncelldblclick="grd_nutrsrchrslthist_oncelldblclick" position="absolute 0 23 886 139" anchor="default">
  52. <Formats>
  53. <Format id="default">
  54. <Columns>
  55. <Column size="0"/>
  56. <Column size="80"/>
  57. <Column size="80"/>
  58. <Column size="100"/>
  59. <Column size="80"/>
  60. <Column size="100"/>
  61. <Column size="140"/>
  62. <Column size="0"/>
  63. <Column size="80"/>
  64. <Column size="0"/>
  65. <Column size="0"/>
  66. <Column size="80"/>
  67. <Column size="120"/>
  68. <Column size="0"/>
  69. <Column size="0"/>
  70. </Columns>
  71. <Rows>
  72. <Row size="24" band="head"/>
  73. <Row size="24"/>
  74. </Rows>
  75. <Band id="head">
  76. <Cell text="등록번호"/>
  77. <Cell col="1" text="환자번호"/>
  78. <Cell col="2" text="성명"/>
  79. <Cell col="3" text="평가일"/>
  80. <Cell col="4" text="평가구분"/>
  81. <Cell col="5" text="평가결과"/>
  82. <Cell col="6" text="병동"/>
  83. <Cell col="7" text="영양관리유형"/>
  84. <Cell col="8" text="병실"/>
  85. <Cell col="9" text="indd"/>
  86. <Cell col="10" text="formrecseq"/>
  87. <Cell col="11" text="영양사"/>
  88. <Cell col="12" text="기록일시"/>
  89. <Cell col="13" text="dddd"/>
  90. <Cell col="14" text="caption1"/>
  91. </Band>
  92. <Band id="body">
  93. <Cell text="bind:pid"/>
  94. <Cell col="1" displaytype="normal" edittype="none" style="align:center middle;" text="bind:pid" enable="false"/>
  95. <Cell col="2" style="align:center middle;" text="bind:hngnm"/>
  96. <Cell col="3" style="align:center middle;" text="bind:srchdd"/>
  97. <Cell col="4" style="align:center middle;" text="bind:fnexamflagnm"/>
  98. <Cell col="5" style="align:center middle;" text="bind:srchrsltnm"/>
  99. <Cell col="6" displaytype="normal" style="align:left middle;" text="bind:wardnm" calendardisplaynulltype="none"/>
  100. <Cell col="7" style="align:center middle;" text="bind:nutrmngtkind"/>
  101. <Cell col="8" style="align:left middle;" text="bind:roomcd"/>
  102. <Cell col="9" style="align:center middle;" text="bind:indd"/>
  103. <Cell col="10" style="align:center middle;" text="bind:formrecseq"/>
  104. <Cell col="11" style="align:center middle;" text="bind:replusernm"/>
  105. <Cell col="12" style="align:center middle;" text="bind:repldt"/>
  106. <Cell col="13" text="bind:chrgdieternm"/>
  107. <Cell col="14" text="bind:intndieternm"/>
  108. </Band>
  109. </Format>
  110. </Formats>
  111. </Grid>
  112. <Static id="Static04" text="아래 항목을 더블클릭하면 상세 기록내용을 확인 할 수 있습니다.&#13;&#10;" visible="true" position="absolute 176 -9 598 16" style="linespace:10;color:blue;margin:10 0 0 0;align:left top;font:돋움,10;" onclick="grp_bottom_Static04_onclick"/>
  113. </Layout>
  114. </Layouts>
  115. </Div>
  116. <Div id="grp_right" anchor="left top right" taborder="2" position="absolute 269 20 896 376">
  117. <Layouts>
  118. <Layout>
  119. <Static id="cap_state00" class="cell_3" position="absolute 0 112 619 348" style="color:blue;padding:0 0 0 0;align:center middle;font:arial,14,bold;"/>
  120. <Static id="caption3" text="영양검색 결과" class="tit_2" position="absolute 0 7 220 23"/>
  121. <Shape id="line5" class="line_10" position="absolute 0 23 620 29" anchor="left top right"/>
  122. <Static id="cap_state" class="cell_1" position="absolute 0 28 147 108" style="color:blue;padding:0 0 0 0;align:center middle;font:arial,14,bold;"/>
  123. <Static id="Static00" text="초기평가" visible="false" position="absolute 0 37 147 57" style="align:center middle;font:돋움,12;"/>
  124. <Static id="Static01" text="양호군" visible="false" position="absolute 0 60 147 107" style="align:center middle;font:돋움,22,bold;"/>
  125. <Static id="Static02" text="영양검색 결과 에 해당하는 환자입니다. 추후 재검색 예정입니다.&#13;&#10;재검색 예정일은 입니다.&#13;&#10;" visible="false" position="absolute 152 23 619 86" style="linespace:10;margin:20 0 0 0;align:left top;font:돋움,10;"/>
  126. <Grid id="grd_srchinfo" taborder="26" binddataset="ds_srch_info" autoenter="select" useinputpanel="false" autofittype="col" oncelldblclick="swt_nutrsrchrslt_case2_grd_pastnutrsrch_oncelldblclick" position="absolute 3 244 611 342">
  127. <Formats>
  128. <Format id="default">
  129. <Columns>
  130. <Column size="70"/>
  131. <Column size="70"/>
  132. <Column size="70"/>
  133. <Column size="100"/>
  134. <Column size="100"/>
  135. <Column size="80"/>
  136. <Column size="80"/>
  137. <Column size="80"/>
  138. <Column size="80"/>
  139. <Column size="0"/>
  140. <Column size="0"/>
  141. </Columns>
  142. <Rows>
  143. <Row size="24" band="head"/>
  144. <Row size="24" band="head"/>
  145. <Row size="24" band="head"/>
  146. <Row size="24"/>
  147. </Rows>
  148. <Band id="head">
  149. <Cell colspan="5" text="객관적 지표" taborder="undefined"/>
  150. <Cell col="5" colspan="4" text="주관적 지표" taborder="undefined"/>
  151. <Cell col="9"/>
  152. <Cell col="10"/>
  153. <Cell row="1" text="PIBW"/>
  154. <Cell row="1" col="1" text="Alb"/>
  155. <Cell row="1" col="2" text="TLC"/>
  156. <Cell row="1" col="3" text="연령에 따른 키"/>
  157. <Cell row="1" col="4" text="키에 따른 체중"/>
  158. <Cell row="1" col="5" rowspan="2" text="식욕" taborder="undefined"/>
  159. <Cell row="1" col="6" rowspan="2" text="체중감소" taborder="undefined"/>
  160. <Cell row="1" col="7" rowspan="2" text="연하곤란" taborder="undefined"/>
  161. <Cell row="1" col="8" rowspan="2" style="linespace:3;" text="식이처방&#10;(금식,미음의&#10;처방건수)" taborder="undefined"/>
  162. <Cell row="1" col="9" text="TRF"/>
  163. <Cell row="1" col="10" rowspan="2" text="INS결과" taborder="undefined"/>
  164. <Cell row="2" text="(%)"/>
  165. <Cell row="2" col="1" text="(g/dl)"/>
  166. <Cell row="2" col="2" text="(cell/㎣)"/>
  167. <Cell row="2" col="3" text="(%)"/>
  168. <Cell row="2" col="4" text="(%)"/>
  169. <Cell row="2" col="9" text="(mg/dl)"/>
  170. </Band>
  171. <Band id="body">
  172. <Cell displaytype="number" style="align:center middle;" text="bind:pibw" wordwrap="none"/>
  173. <Cell col="1" displaytype="number" style="align:center middle;" text="bind:alb" wordwrap="none"/>
  174. <Cell col="2" displaytype="number" style="align:center middle;" text="bind:tlc" wordwrap="none"/>
  175. <Cell col="3" displaytype="number" style="align:center middle;" text="bind:childhtrate"/>
  176. <Cell col="4" displaytype="number" style="align:center middle;" text="bind:childwtrate"/>
  177. <Cell col="5" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:apptchngyn" wordwrap="char" combodataset="ds_init_apptchngyn" combocodecol="value" combodatacol="label"/>
  178. <Cell col="6" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:bdwtchngyn" wordwrap="char" combodataset="ds_init_bdwtchngyn" combocodecol="value" combodatacol="label"/>
  179. <Cell col="7" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:symp" wordwrap="char" combodataset="ds_init_symp" combocodecol="value" combodatacol="label"/>
  180. <Cell col="8" style="align:center middle;" text="bind:dietcnt" wordwrap="char"/>
  181. <Cell col="9" style="align:center middle;" text="bind:trf" wordwrap="char"/>
  182. <Cell col="10" style="align:center middle;" text="bind:insrslt" wordwrap="char"/>
  183. </Band>
  184. </Format>
  185. </Formats>
  186. </Grid>
  187. <Static id="Static03" text="◆ 영양검색지표" position="absolute 3 226 169 246" style="font:바탕,10;"/>
  188. <Static id="Static06" text="양호군" visible="false" position="absolute 227 43 294 57" style="align:right middle;font:돋움,10,bold;"/>
  189. <Static id="Static07" text="0000-00-00" visible="false" position="absolute 247 66 322 80" style="align:right middle;font:돋움,10,bold;"/>
  190. <Static id="caption4" text="등록번호" class="cell_1" position="absolute 3 116 83 139" style="padding:0 0 0 5;"/>
  191. <Edit id="ipt_pid" taborder="27" readonly="true" autoselect="true" class="input_default" position="absolute 86 118 201 138" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
  192. <Static id="caption00" text="환자명" class="cell_1" position="absolute 208 116 288 139" style="padding:0 0 0 5;"/>
  193. <Edit id="ipt_hngnm" taborder="28" readonly="true" autoselect="true" class="input_default" position="absolute 291 118 611 138" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
  194. <Static id="caption02" text="평가구분" class="cell_1" position="absolute 3 166 83 189" style="padding:0 0 0 5;"/>
  195. <Edit id="ipt_fnexamflagnm" taborder="30" readonly="true" autoselect="true" class="input_default" position="absolute 86 168 201 188" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
  196. <Static id="caption05" text="평가일시" class="cell_1" position="absolute 3 142 83 165" style="padding:0 0 0 5;"/>
  197. <Edit id="ipt_srchdt" taborder="31" readonly="true" autoselect="true" class="input_default" position="absolute 86 144 201 164" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
  198. <Static id="caption06" text="병동" class="cell_1" position="absolute 208 142 288 165" style="padding:0 0 0 5;"/>
  199. <Edit id="ipt_wardnm" taborder="32" readonly="true" autoselect="true" class="input_default" position="absolute 291 144 611 164" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
  200. <Static id="caption07" text="평가결과" class="cell_1" position="absolute 3 191 83 214" style="padding:0 0 0 5;"/>
  201. <Edit id="ipt_srchrsltnm" taborder="33" readonly="true" autoselect="true" class="input_default" position="absolute 86 193 201 213" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
  202. <Static id="caption08" text="평가횟수" class="cell_1" position="absolute 208 191 288 214" style="padding:0 0 0 5;"/>
  203. <Edit id="ipt_srchcnt" taborder="34" readonly="true" autoselect="true" class="input_default" position="absolute 291 193 406 213" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
  204. <Static id="caption09" text="병실" class="cell_1" position="absolute 208 167 288 190" style="padding:0 0 0 5;"/>
  205. <Edit id="ipt_roomcd" taborder="35" readonly="true" autoselect="true" class="input_default" position="absolute 291 169 611 189" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
  206. <Static id="caption10" text="영양사" class="cell_1" position="absolute 413 192 493 215" style="padding:0 0 0 5;"/>
  207. <Edit id="ipt_srchrgstnm" taborder="36" readonly="true" autoselect="true" class="input_default" position="absolute 496 194 611 214" style="font:arial,9; :disabled {font:arial,9,bold;}"/>
  208. <Static id="Static04" text="영양불량위험환자 관리군으로, 기록지를 확인바랍니다.&#13;&#10;" visible="false" position="absolute 152 79 619 104" style="linespace:10;margin:10 0 0 0;align:left top;font:돋움,10;"/>
  209. </Layout>
  210. </Layouts>
  211. </Div>
  212. </Layout>
  213. </Layouts>
  214. <Objects>
  215. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  216. <ColumnInfo>
  217. <Column id="pid" type="STRING" size="256"/>
  218. <Column id="fromdd" type="STRING" size="256"/>
  219. <Column id="todd" type="STRING" size="256"/>
  220. </ColumnInfo>
  221. <Rows>
  222. <Row/>
  223. </Rows>
  224. </Dataset>
  225. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  226. <Dataset id="ds_arg" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  227. <ColumnInfo>
  228. <Column id="pid" type="STRING" size="256"/>
  229. </ColumnInfo>
  230. </Dataset>
  231. <Dataset id="ds_srch_hist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  232. <ColumnInfo>
  233. <Column id="levl" type="STRING" size="256"/>
  234. <Column id="instcd" type="STRING" size="256"/>
  235. <Column id="pid" type="STRING" size="256"/>
  236. <Column id="srchdd" type="STRING" size="256"/>
  237. <Column id="fnexamflag" type="STRING" size="256"/>
  238. <Column id="indd" type="STRING" size="256"/>
  239. <Column id="displaynm" type="STRING" size="256"/>
  240. </ColumnInfo>
  241. </Dataset>
  242. <Dataset id="ds_srch_info" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  243. <ColumnInfo>
  244. <Column id="instcd" type="STRING" size="256" sumtext="등록번호"/>
  245. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  246. <Column id="hngnm" type="STRING" size="256" sumtext="환자명"/>
  247. <Column id="srchdd" type="STRING" size="256" sumtext="검색일자"/>
  248. <Column id="srchdt" type="STRING" size="256" sumtext="검색일자"/>
  249. <Column id="nextsrchdd" type="STRING" size="256" sumtext="검색일자"/>
  250. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  251. <Column id="fnexamflag" type="STRING" size="256" sumtext="평가구분"/>
  252. <Column id="fnexamflagnm" type="STRING" size="256" sumtext="평가구분명"/>
  253. <Column id="srchrslt" type="STRING" size="256" sumtext="검색결과"/>
  254. <Column id="srchrsltnm" type="STRING" size="256" sumtext="검색결과명"/>
  255. <Column id="dspsrchrsltnm" type="STRING" size="256" sumtext="검색결과명"/>
  256. <Column id="srchcnt" type="STRING" size="256" sumtext="검색결과"/>
  257. <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
  258. <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
  259. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  260. <Column id="pibw" type="INT" size="256" sumtext="PIBW"/>
  261. <Column id="alb" type="BIGDECIMAL" size="256" sumtext="ALB"/>
  262. <Column id="tlc" type="INT" size="256" sumtext="TLC"/>
  263. <Column id="childyn" type="INT" size="256" sumtext="소아여부"/>
  264. <Column id="childhtrate" type="INT" size="256" sumtext="소아키비율"/>
  265. <Column id="childwtrate" type="INT" size="256" sumtext="소아체중비율"/>
  266. <Column id="apptchngyn" type="STRING" size="256" sumtext="식욕상태"/>
  267. <Column id="bdwtchngyn" type="STRING" size="256" sumtext="체중변화"/>
  268. <Column id="symp" type="STRING" size="256" sumtext="소화기계연하곤란유무"/>
  269. <Column id="dietcnt" type="STRING" size="256" sumtext="식이처방건수"/>
  270. <Column id="srchrgstnm" type="STRING" size="256" sumtext="영양사"/>
  271. </ColumnInfo>
  272. <Rows>
  273. <Row/>
  274. </Rows>
  275. </Dataset>
  276. <Dataset id="ds_init_apptchngyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  277. <ColumnInfo>
  278. <Column id="label" type="STRING" size="256"/>
  279. <Column id="value" type="STRING" size="256"/>
  280. </ColumnInfo>
  281. <Rows>
  282. <Row>
  283. <Col id="label">좋음</Col>
  284. <Col id="value">1</Col>
  285. </Row>
  286. <Row>
  287. <Col id="label">보통</Col>
  288. <Col id="value">2</Col>
  289. </Row>
  290. <Row>
  291. <Col id="label">나쁨</Col>
  292. <Col id="value">3</Col>
  293. </Row>
  294. <Row>
  295. <Col id="label">매우나쁨</Col>
  296. <Col id="value">4</Col>
  297. </Row>
  298. </Rows>
  299. </Dataset>
  300. <Dataset id="ds_init_bdwtchngyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  301. <ColumnInfo>
  302. <Column id="label" type="STRING" size="256"/>
  303. <Column id="value" type="STRING" size="256"/>
  304. </ColumnInfo>
  305. <Rows>
  306. <Row>
  307. <Col id="label">무</Col>
  308. <Col id="value">1</Col>
  309. </Row>
  310. <Row>
  311. <Col id="label">유</Col>
  312. <Col id="value">2</Col>
  313. </Row>
  314. </Rows>
  315. </Dataset>
  316. <Dataset id="ds_init_symp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  317. <ColumnInfo>
  318. <Column id="label" type="STRING" size="256"/>
  319. <Column id="value" type="STRING" size="256"/>
  320. </ColumnInfo>
  321. <Rows>
  322. <Row>
  323. <Col id="label">없음</Col>
  324. <Col id="value">N</Col>
  325. </Row>
  326. <Row>
  327. <Col id="label">있음</Col>
  328. <Col id="value">Y</Col>
  329. </Row>
  330. </Rows>
  331. </Dataset>
  332. <Dataset id="ds_srchrec_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  333. <ColumnInfo>
  334. <Column id="instcd" type="STRING" size="256"/>
  335. <Column id="pid" type="STRING" size="256"/>
  336. <Column id="hngnm" type="STRING" size="256"/>
  337. <Column id="srchdd" type="STRING" size="256"/>
  338. <Column id="fnexamflag" type="STRING" size="256"/>
  339. <Column id="fnexamflagnm" type="STRING" size="256"/>
  340. <Column id="srchrslt" type="STRING" size="256"/>
  341. <Column id="srchrsltnm" type="STRING" size="256"/>
  342. <Column id="wardcd" type="STRING" size="256"/>
  343. <Column id="wardnm" type="STRING" size="256"/>
  344. <Column id="roomcd" type="STRING" size="256"/>
  345. <Column id="repluserid" type="STRING" size="256"/>
  346. <Column id="replusernm" type="STRING" size="256"/>
  347. <Column id="repldt" type="STRING" size="256"/>
  348. <Column id="formcd" type="STRING" size="256"/>
  349. <Column id="signno" type="STRING" size="256"/>
  350. </ColumnInfo>
  351. </Dataset>
  352. </Objects>
  353. <Bind>
  354. <BindItem id="item0" compid="grp_right.ipt_pid" propid="value" datasetid="ds_srch_info" columnid="pid"/>
  355. <BindItem id="item1" compid="grp_right.ipt_hngnm" propid="value" datasetid="ds_srch_info" columnid="hngnm"/>
  356. <BindItem id="item3" compid="grp_right.ipt_fnexamflagnm" propid="value" datasetid="ds_srch_info" columnid="fnexamflagnm"/>
  357. <BindItem id="item4" compid="grp_right.ipt_srchdt" propid="value" datasetid="ds_srch_info" columnid="srchdt"/>
  358. <BindItem id="item5" compid="grp_right.ipt_wardnm" propid="value" datasetid="ds_srch_info" columnid="wardnm"/>
  359. <BindItem id="item8" compid="grp_right.ipt_srchrsltnm" propid="value" datasetid="ds_srch_info" columnid="srchrsltnm"/>
  360. <BindItem id="item9" compid="grp_right.ipt_srchcnt" propid="value" datasetid="ds_srch_info" columnid="srchcnt"/>
  361. <BindItem id="item10" compid="grp_right.ipt_roomcd" propid="value" datasetid="ds_srch_info" columnid="roomcd"/>
  362. <BindItem id="item11" compid="grp_right.ipt_srchrgstnm" propid="value" datasetid="ds_srch_info" columnid="srchrgstnm"/>
  363. <BindItem id="item6" compid="grp_left.roundrect2.ipt_fromdd" propid="value" datasetid="ds_cond" columnid="fromdd"/>
  364. <BindItem id="item7" compid="grp_left.roundrect2.ipt_todd" propid="value" datasetid="ds_cond" columnid="todd"/>
  365. </Bind>
  366. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  367. * System Name :
  368. * Job Name :
  369. * Creator :
  370. * Make Date : 2019-03-28
  371. * Description :
  372. *---------------------------------------------------------------------------------------
  373. * Modify Date Modifier Modify Description
  374. *---------------------------------------------------------------------------------------
  375. * 2019-03-28 엄영만 Create
  376. *
  377. *---------------------------------------------------------------------------------------
  378. ****************************************************************************************/
  379. include "com_commonxp::comm_main.xjs";
  380. function SPANC00600_oninit(obj:Form, e:InitEventInfo)
  381. {
  382. frmf_initForm(obj);
  383. }
  384. function SPANC00600_onload(obj:Form, e:LoadEventInfo)
  385. {
  386. ds_arg.copyData(arg_ds_send);
  387. var sPid = ds_arg.getColumn(0, "pid");
  388. grdf_setToolTipBind(grp_left.grd_histtree);
  389. ds_cond.setColumn(0, "pid" , sPid);
  390. ds_cond.setColumn(0, "fromdd" , ((utlf_getCurrentDate().toDate()).getAddDate(-6,"M")).getDateFormat()); // 최근 6개월
  391. ds_cond.setColumn(0, "todd" , utlf_getCurrentDate()); //종료일자는 현재일자
  392. if(!utlf_isNull(ds_cond.getColumn(0, "pid"))) {
  393. fGetSrchHist(); // 검색 이력 조회
  394. }
  395. //if(!utlf_isNull(sRefKey)) {
  396. // fGetCvrInfo("", "", sCvrType, sRefKey); // CVR 정보 조회
  397. // ds_cond.setColumn(0, "pid", ds_cvr_info.getColumn(0, "pid"));
  398. //}
  399. }
  400. function grp_left_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  401. fGetSrchHist();
  402. }
  403. /**
  404. * @desc : 영양검색 이력조회
  405. * @
  406. * @param :
  407. * @return :
  408. * @author : 엄영만
  409. * @---------------------------------------------------
  410. */
  411. function fGetSrchHist(){
  412. var sPid = ds_cond.getColumn(0, "pid");
  413. if(utlf_isNull(sPid) || sPid == "-") {
  414. sysf_messageBox("환자 정보가 없습니다.", "E");
  415. return;
  416. }
  417. ds_srch_hist.clearData();
  418. var oParam = {};
  419. oParam.id = "TRANC00601";
  420. oParam.service = "nutritionconsultapp.PatientNutr";
  421. oParam.method = "reqGetSrchHist";
  422. oParam.inds = "req=ds_cond";
  423. oParam.outds = "ds_srch_hist=srchhist ds_srchrec_list=srchreclist";
  424. oParam.async = false;
  425. tranf_submit(oParam);
  426. grdf_expandDepth(grp_left.grd_histtree, 2);
  427. if(ds_srch_hist.rowcount > 1) {
  428. fGetSrchInfo(1);
  429. }
  430. }
  431. function grp_left_grd_histtree_oncellclick(obj:Grid, e:GridClickEventInfo)
  432. {
  433. var nRow = ds_srch_hist.rowposition;
  434. fGetSrchInfo(nRow);
  435. }
  436. /**
  437. * @desc : 영양검색 정보 조회
  438. * @
  439. * @param :
  440. * @return :
  441. * @author : 엄영만
  442. * @---------------------------------------------------
  443. */
  444. function fGetSrchInfo(nRow){
  445. if(utlf_isNull(ds_srch_hist.getColumn(nRow, "pid"))) {
  446. return;
  447. }
  448. dsf_makeValue(ds_send, "instcd", "string", ds_srch_hist.getColumn(nRow, "instcd"));
  449. dsf_makeValue(ds_send, "pid", "string", ds_srch_hist.getColumn(nRow, "pid"));
  450. dsf_makeValue(ds_send, "srchdd", "string", ds_srch_hist.getColumn(nRow, "srchdd"));
  451. dsf_makeValue(ds_send, "fnexamflag", "string", ds_srch_hist.getColumn(nRow, "fnexamflag"));
  452. dsf_makeValue(ds_send, "indd", "string", ds_srch_hist.getColumn(nRow, "indd"));
  453. var oParam = {};
  454. oParam.id = "TRANC00602";
  455. oParam.service = "nutritionconsultapp.PatientNutr";
  456. oParam.method = "reqGetSrchInfo";
  457. oParam.inds = "req=ds_send";
  458. oParam.outds = "ds_srch_info=srchinfo";
  459. oParam.async = false;
  460. tranf_submit(oParam);
  461. grp_right.Static00.visible = true;
  462. grp_right.Static01.visible = true;
  463. grp_right.Static02.visible = true;
  464. grp_right.Static06.visible = true;
  465. grp_right.Static07.visible = true;
  466. grp_right.Static00.text = ds_srch_info.getColumn(0, "fnexamflagnm");
  467. grp_right.Static01.text = ds_srch_info.getColumn(0, "dspsrchrsltnm");
  468. grp_right.Static06.text = ds_srch_info.getColumn(0, "dspsrchrsltnm");
  469. grp_right.Static07.text = ds_srch_info.getColumn(0, "nextsrchdd");
  470. var sSrchRslt = ds_srch_info.getColumn(0, "srchrslt"); // 검색결과
  471. if(sSrchRslt == "3" || sSrchRslt == "4") { // 중위험군, 고위험군
  472. grp_right.Static04.visible = true;
  473. } else {
  474. grp_right.Static04.visible = false;
  475. }
  476. var sChildYn = ds_srch_info.getColumn(0, "childyn");
  477. var nPibw = grp_right.grd_srchinfo.getBindCellIndex("body", "pibw");
  478. var nAlb = grp_right.grd_srchinfo.getBindCellIndex("body", "alb");
  479. var nTlc = grp_right.grd_srchinfo.getBindCellIndex("body", "tlc");
  480. var nChildHtRate = grp_right.grd_srchinfo.getBindCellIndex("body", "childhtrate");
  481. var nChildWtRate = grp_right.grd_srchinfo.getBindCellIndex("body", "childwtrate");
  482. if (sChildYn == "Y") { // 소아
  483. grp_right.Static03.text = "◆ 영양검색지표(소아)";
  484. grp_right.grd_srchinfo.setFormatColProperty(nPibw, "size", 0);
  485. grp_right.grd_srchinfo.setFormatColProperty(nAlb, "size", 0);
  486. grp_right.grd_srchinfo.setFormatColProperty(nTlc, "size", 0);
  487. grp_right.grd_srchinfo.setFormatColProperty(nChildHtRate, "size", 100);
  488. grp_right.grd_srchinfo.setFormatColProperty(nChildWtRate, "size", 100);
  489. } else {
  490. grp_right.Static03.text = "◆ 영양검색지표(성인)";
  491. grp_right.grd_srchinfo.setFormatColProperty(nPibw, "size", 100);
  492. grp_right.grd_srchinfo.setFormatColProperty(nAlb, "size", 100);
  493. grp_right.grd_srchinfo.setFormatColProperty(nTlc, "size", 100);
  494. grp_right.grd_srchinfo.setFormatColProperty(nChildHtRate, "size", 0);
  495. grp_right.grd_srchinfo.setFormatColProperty(nChildWtRate, "size", 0);
  496. }
  497. }
  498. function grd_nutrsrchrslthist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  499. {
  500. var oldflag = "E";
  501. var formcd = ds_srchrec_list.getColumn(e.row, "formcd"); // 영양검색 서식번호(0800000722)
  502. var signno = ds_srchrec_list.getColumn(e.row, "signno");
  503. if(!utlf_isNull(signno)) {
  504. frmf_setParameter("SPMRI02400_prtrecinfo", oldflag + "▦" + signno + "▦" + formcd + "▩");
  505. frmf_setParameter("SPMRI02400_prtyn", "N");
  506. frmf_setParameter("SPMRI02400_defaultvw", "ChartView");
  507. frmf_modal("SPMRI02400", "SPMRI02400", null, null, null, null, null, null, null, null, null, null, "M");
  508. }
  509. }
  510. ]]></Script>
  511. </Form>
  512. </FDL>