SMANC00160_영양검색수정.xfdl 78 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMANC00160" position="absolute 0 0 1197 798" titletext="영양검색수정" oninit="SMANC00160_oninit" onload="SMANC00160_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab position="absolute 0 30 1194 770" id="swt_nutrsrchrslt" class="tab_Normal" onchanged="swt_nutrsrchrslt_onchanged">
  8. <Tabpages>
  9. <Tabpage text="영양검색" id="case1">
  10. <Layouts>
  11. <Layout>
  12. <Div id="Div00" taborder="1" text="Div00" position="absolute 4 6 1188 47" class="div_SA"/>
  13. <Div position="absolute 5 10 1187 45" align="align:center top;" id="grp_sea">
  14. <Layouts>
  15. <Layout>
  16. <Button position="absolute 1106 7 1162 29" id="btn_search1" class="btn1" text="조회" onclick="swt_nutrsrchrslt_case1_grp_sea_btn_search1_onclick"/>
  17. <Shape position="absolute 1089 7 1095 29" linetype="vertical" id="line13" class="line_4"/>
  18. <Static text="기준일자 :" position="absolute 25 9 111 26" id="caption2" class="search_name"/>
  19. <Calendar position="absolute 112 8 201 27" id="ipt_basedd" class="input_essential" autoselect="true"/>
  20. <Button position="absolute 202 10 215 25" id="btn_beforedd" class="icon_pre" text="" onclick="swt_nutrsrchrslt_case1_grp_sea_btn_beforedd_onclick"/>
  21. <Button position="absolute 217 10 230 25" id="btn_nextdd" class="icon_next" text="" onclick="swt_nutrsrchrslt_case1_grp_sea_btn_nextdd_onclick"/>
  22. <Static text="진료과 :" position="absolute 665 9 738 26" id="caption9" class="search_name"/>
  23. <Combo position="absolute 740 8 840 27" id="cmb_orddept1" class="combo_search" innerdataset="@ds_init_basecode_orddept_dept" datacolumn="depthngnm" codecolumn="deptcd"/>
  24. <Static text="병동 :" position="absolute 875 9 935 26" id="caption14" class="search_name"/>
  25. <Edit readonly="true" position="absolute 935 8 1075 27" id="opt_ward" oneditclick="swt_nutrsrchrslt_case1_grp_sea_opt_ward_oneditclick"/>
  26. <Radio position="absolute 325 7 440 27" id="rdo_patflag1" columncount="2" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="swt_nutrsrchrslt_case1_grp_sea_rdo_patflag1_onitemchanged">
  27. <Dataset id="innerdataset">
  28. <ColumnInfo>
  29. <Column id="codecolumn"/>
  30. <Column id="datacolumn"/>
  31. </ColumnInfo>
  32. <Rows>
  33. <Row>
  34. <Col id="codecolumn">I</Col>
  35. <Col id="datacolumn">재검색</Col>
  36. </Row>
  37. <Row>
  38. <Col id="codecolumn">F</Col>
  39. <Col id="datacolumn">신환</Col>
  40. </Row>
  41. </Rows>
  42. </Dataset>
  43. </Radio>
  44. <Static text="구분 :" position="absolute 265 9 338 26" id="caption4" class="search_name"/>
  45. <Static text="위험군 :" position="absolute 470 9 543 26" id="caption1" class="search_name"/>
  46. <Combo position="absolute 543 8 625 27" id="cmb_dngrflag1" class="combo_search" innerdataset="@ds_init_basecode_dngr_A0058" datacolumn="cdnm" codecolumn="cdid"/>
  47. </Layout>
  48. </Layouts>
  49. </Div>
  50. <Button position="absolute 1137 56 1186 75" id="btn_excel1" class="btn7" text="엑셀" onclick="swt_nutrsrchrslt_case1_btn_excel1_onclick"/>
  51. <Button position="absolute 981 56 1067 75" id="btn_nutrjudgbase" class="btn2" text="영양판정기준" onclick="swt_nutrsrchrslt_case1_btn_nutrjudgbase_onclick"/>
  52. <Button position="absolute 1070 56 1134 75" id="btn_insbase" class="btn2" text="INS기준" onclick="swt_nutrsrchrslt_case1_btn_insbase_onclick"/>
  53. <Shape position="absolute 5 75 1188 81" linetype="horizontal" id="line38" class="line_10"/>
  54. <Grid position="absolute 5 80 1187 680" id="grd_nutrsrch" binddataset="ds_main_srchrslt_data">
  55. <Formats>
  56. <Format id="default">
  57. <Columns>
  58. <Column size="24"/>
  59. <Column size="20"/>
  60. <Column size="0"/>
  61. <Column size="0"/>
  62. <Column size="0"/>
  63. <Column size="0"/>
  64. <Column size="0"/>
  65. <Column size="55"/>
  66. <Column size="100"/>
  67. <Column size="50"/>
  68. <Column size="0"/>
  69. <Column size="58"/>
  70. <Column size="70"/>
  71. <Column size="33"/>
  72. <Column size="33"/>
  73. <Column size="0"/>
  74. <Column size="190"/>
  75. <Column size="80"/>
  76. <Column size="0"/>
  77. <Column size="60"/>
  78. <Column size="140"/>
  79. <Column size="0"/>
  80. <Column size="0"/>
  81. <Column size="50"/>
  82. <Column size="39"/>
  83. <Column size="61"/>
  84. <Column size="60"/>
  85. <Column size="60"/>
  86. <Column size="60"/>
  87. <Column size="60"/>
  88. <Column size="62"/>
  89. <Column size="62"/>
  90. <Column size="70"/>
  91. <Column size="53"/>
  92. <Column size="57"/>
  93. </Columns>
  94. <Rows>
  95. <Row size="24" band="head"/>
  96. <Row size="24" band="head"/>
  97. <Row size="24"/>
  98. </Rows>
  99. <Band id="head">
  100. <Cell rowspan="2" taborder="undefined"/>
  101. <Cell col="1" rowspan="2" taborder="undefined"/>
  102. <Cell col="2" text="h_신환구분"/>
  103. <Cell col="3" text="h_처방일자"/>
  104. <Cell col="4" text="h_생성번호"/>
  105. <Cell col="5" text="h_처방상태"/>
  106. <Cell col="6" text="h_입원일자"/>
  107. <Cell col="7" rowspan="2" text="회신여부" taborder="undefined"/>
  108. <Cell col="8" rowspan="2" text="병동" taborder="undefined"/>
  109. <Cell col="9" rowspan="2" text="병실" taborder="undefined"/>
  110. <Cell col="10" text="h_병동/병실"/>
  111. <Cell col="11" rowspan="2" text="등록번호" taborder="undefined"/>
  112. <Cell col="12" rowspan="2" text="환자명" taborder="undefined"/>
  113. <Cell col="13" rowspan="2" text="성별" taborder="undefined"/>
  114. <Cell col="14" rowspan="2" text="나이" taborder="undefined"/>
  115. <Cell col="15" text="h_진단코드"/>
  116. <Cell col="16" rowspan="2" text="진단명" taborder="undefined"/>
  117. <Cell col="17" rowspan="2" text="진료과" taborder="undefined"/>
  118. <Cell col="18" text="담당교수ID"/>
  119. <Cell col="19" rowspan="2" text="담당교수" taborder="undefined"/>
  120. <Cell col="20" rowspan="2" text="식사명" taborder="undefined"/>
  121. <Cell col="21" text="h_키"/>
  122. <Cell col="22" text="h_몸무게"/>
  123. <Cell col="23" text="PIBW"/>
  124. <Cell col="24" text="Alb"/>
  125. <Cell col="25" text="TLC"/>
  126. <Cell col="26" rowspan="2" text="식욕" taborder="undefined"/>
  127. <Cell col="27" rowspan="2" text="체중감소" taborder="undefined"/>
  128. <Cell col="28" rowspan="2" text="연하곤란" taborder="undefined"/>
  129. <Cell col="29" rowspan="2" text="식이처방" taborder="undefined"/>
  130. <Cell col="30" rowspan="2" text="검색결과" taborder="undefined"/>
  131. <Cell col="31" rowspan="2" text="이전결과" taborder="undefined"/>
  132. <Cell col="32" rowspan="2" text="이전결과판정일" wordwrap="word" taborder="undefined"/>
  133. <Cell col="33" text="TRF"/>
  134. <Cell col="34" rowspan="2" text="INS결과" taborder="undefined"/>
  135. <Cell row="1" col="2" text="h_신환구분"/>
  136. <Cell row="1" col="3" text="h_처방일자"/>
  137. <Cell row="1" col="4" text="h_생성번호"/>
  138. <Cell row="1" col="5" text="h_처방상태"/>
  139. <Cell row="1" col="6" text="h_입원일자"/>
  140. <Cell row="1" col="10" text="h_병동/병실"/>
  141. <Cell row="1" col="15" text="h_진단코드"/>
  142. <Cell row="1" col="18" text="담당교수ID"/>
  143. <Cell row="1" col="21" text="h_키"/>
  144. <Cell row="1" col="22" text="h_몸무게"/>
  145. <Cell row="1" col="23" text="(%)"/>
  146. <Cell row="1" col="24" text="(g/dl)"/>
  147. <Cell row="1" col="25" text="(cell/㎣)"/>
  148. <Cell row="1" col="33" text="(mg/dl)"/>
  149. </Band>
  150. <Band id="body">
  151. <Cell celltype="head"/>
  152. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:check"/>
  153. <Cell col="2" text="bind:h_patflag"/>
  154. <Cell col="3" text="bind:h_prcpdd"/>
  155. <Cell col="4" text="bind:h_cretno"/>
  156. <Cell col="5" text="bind:h_prcpgenrflag"/>
  157. <Cell col="6" text="bind:h_orddd"/>
  158. <Cell col="7" text="bind:replyn"/>
  159. <Cell col="8" displaytype="combo" style="padding:1 2 1 2;" text="bind:ward" combodataset="ds_init_basecode_ward_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
  160. <Cell col="9" text="bind:room"/>
  161. <Cell col="10" text="bind:h_wardroom"/>
  162. <Cell col="11" text="bind:pid"/>
  163. <Cell col="12" text="bind:hngnm"/>
  164. <Cell col="13" text="bind:sex"/>
  165. <Cell col="14" text="bind:age"/>
  166. <Cell col="15" text="bind:h_diagcd"/>
  167. <Cell col="16" style="align:left top;padding:5 2 1 2;" text="bind:diagnm" wordwrap="word"/>
  168. <Cell col="17" displaytype="combo" style="padding:1 2 1 2;" text="bind:orddept" combodataset="ds_init_basecode_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
  169. <Cell col="18" text="bind:orddrid"/>
  170. <Cell col="19" text="bind:atdoct"/>
  171. <Cell col="20" style="align:left top;padding:5 2 1 2;" text="bind:dietnm" wordwrap="word"/>
  172. <Cell col="21" text="bind:h_ht"/>
  173. <Cell col="22" text="bind:h_wt"/>
  174. <Cell col="23" displaytype="number" text="bind:pibw"/>
  175. <Cell col="24" text="bind:alb"/>
  176. <Cell col="25" displaytype="number" text="bind:tlc"/>
  177. <Cell col="26" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:apptchngyn" combodataset="ds_cbo_apptchngyn" combocodecol="value" combodatacol="label"/>
  178. <Cell col="27" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:bdwtchngyn" combodataset="ds_cbo_bdwtchngyn" combocodecol="value" combodatacol="label"/>
  179. <Cell col="28" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:symp" combodataset="ds_cbo_symp" combocodecol="value" combodatacol="label"/>
  180. <Cell col="29" text="bind:dietcnt"/>
  181. <Cell col="30" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:srchrslt" combodataset="ds_init_basecode_dngr_A0058" combocodecol="cdid" combodatacol="cdnm"/>
  182. <Cell col="31" displaytype="combo" style="padding:1 2 1 2;" text="bind:bfrslt" combodataset="ds_init_basecode_dngr_A0058" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  183. <Cell col="32" displaytype="date" text="bind:bfrsltdd" calendardisplaynulltype="none"/>
  184. <Cell col="33" text="bind:trf"/>
  185. <Cell col="34" text="bind:insrslt"/>
  186. </Band>
  187. </Format>
  188. </Formats>
  189. </Grid>
  190. <Shape position="absolute 5 682 1187 688" linetype="horizontal" id="line4" class="line_2"/>
  191. <Edit readonly="true" position="absolute 119 689 245 708" align="align:center middle;" id="opt_srchrslt1" class="output" style="align:center middle;"/>
  192. <Edit readonly="true" position="absolute 310 689 435 708" align="align:center middle;" id="opt_srchrslt2" class="output" style="align:center middle;"/>
  193. <Edit readonly="true" position="absolute 502 689 627 708" align="align:center middle;" id="opt_srchrslt3" class="output" style="align:center middle;"/>
  194. <Static text="검색결과" position="absolute 5 687 66 710" align="align:center middle;" id="caption7" class="cell_1"/>
  195. <Static text="저위험도" position="absolute 247 687 307 710" align="align:center middle;" id="caption8" class="cell_1"/>
  196. <Static text="양호" position="absolute 68 687 116 710" align="align:center middle;" id="caption10" class="cell_1"/>
  197. <Static text="중위험도" position="absolute 438 687 499 710" align="align:center middle;" id="caption11" class="cell_1"/>
  198. <Static text="고위험도" position="absolute 630 687 691 710" align="align:center middle;" id="caption12" class="cell_1"/>
  199. <Edit readonly="true" position="absolute 693 689 813 708" align="align:center middle;" id="opt_srchrslt4" class="output" style="align:center middle;"/>
  200. <Edit readonly="true" position="absolute 1062 689 1187 708" align="align:center middle;" id="opt_srchrsltsum1" class="output" style="align:center middle;"/>
  201. <Static text="계" position="absolute 1000 687 1061 710" align="align:center middle;" id="caption3" class="cell_1"/>
  202. <Shape position="absolute 5 707 1187 713" linetype="horizontal" id="line5" class="line_3"/>
  203. <Static text="판정불가" position="absolute 815 687 876 710" align="align:center middle;" id="caption5" class="cell_1"/>
  204. <Edit readonly="true" position="absolute 878 689 998 708" align="align:center middle;" id="opt_srchrslt5" class="output" style="align:center middle;"/>
  205. <cp_checkboxList id="chk_ward" titletext="CheckBox List" taborder="2" text="cp_checkboxList00" scrollbars="none" position="absolute 940 38 1096 686" style="background:white;" col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  206. </Layout>
  207. </Layouts>
  208. </Tabpage>
  209. <Tabpage text="영양검색결과조회" id="case2">
  210. <Layouts>
  211. <Layout>
  212. <Div position="absolute 5 10 1187 45" align="align:center top;" id="group1" class="div_SA">
  213. <Layouts>
  214. <Layout>
  215. <Button position="absolute 1106 7 1162 29" id="btn_search2" class="btn1" text="조회" onclick="swt_nutrsrchrslt_case2_group1_btn_search2_onclick"/>
  216. <Shape position="absolute 1089 7 1095 29" linetype="vertical" id="line1" class="line_4"/>
  217. <Static text="검색일자 :" position="absolute 4 9 90 26" id="caption13" class="search_name"/>
  218. <Calendar position="absolute 91 8 180 27" id="ipt_fromdd" class="input_essential" autoselect="true"/>
  219. <Static text="병동 :" position="absolute 860 9 920 26" id="caption16" class="search_name"/>
  220. <Combo position="absolute 920 8 1070 27" id="cmb_ward2" class="combo_essential" innerdataset="@ds_init_basecode_ward_dept" datacolumn="depthngnm" codecolumn="deptcd"/>
  221. <Radio position="absolute 359 8 505 28" id="rdo_patflag2" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1">
  222. <Dataset id="innerdataset">
  223. <ColumnInfo>
  224. <Column id="codecolumn"/>
  225. <Column id="datacolumn"/>
  226. </ColumnInfo>
  227. <Rows>
  228. <Row>
  229. <Col id="codecolumn">H</Col>
  230. <Col id="datacolumn">전체</Col>
  231. </Row>
  232. <Row>
  233. <Col id="codecolumn">I</Col>
  234. <Col id="datacolumn">재검색</Col>
  235. </Row>
  236. <Row>
  237. <Col id="codecolumn">F</Col>
  238. <Col id="datacolumn">신환</Col>
  239. </Row>
  240. </Rows>
  241. </Dataset>
  242. </Radio>
  243. <Static text="구분 :" position="absolute 299 9 353 26" id="caption17" class="search_name"/>
  244. <Static text="~" position="absolute 183 10 195 27" id="caption18" class="search_no_b"/>
  245. <Calendar position="absolute 198 8 287 27" id="ipt_todd" class="input_essential" autoselect="true"/>
  246. <Static text="위험군 :" position="absolute 509 9 567 26" id="caption19" class="search_name"/>
  247. <cp_checkboxList id="checkbox1" titletext="CheckBox List" taborder="1" text="cp_checkboxList00" scrollbars="none" position="absolute 574 6 855 26" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible"/>
  248. </Layout>
  249. </Layouts>
  250. </Div>
  251. <Button position="absolute 1137 55 1187 74" id="btn_excel2" class="btn7" text="엑셀" onclick="swt_nutrsrchrslt_case2_btn_excel2_onclick"/>
  252. <Shape position="absolute 5 75 1188 81" linetype="horizontal" id="line2" class="line_10"/>
  253. <Grid position="absolute 5 80 1187 680" id="grd_pastnutrsrch" binddataset="ds_main_pastsrchrslt_data">
  254. <Formats>
  255. <Format id="default">
  256. <Columns>
  257. <Column size="24" band="left"/>
  258. <Column size="55"/>
  259. <Column size="70"/>
  260. <Column size="55"/>
  261. <Column size="70"/>
  262. <Column size="100"/>
  263. <Column size="50"/>
  264. <Column size="75"/>
  265. <Column size="70"/>
  266. <Column size="32"/>
  267. <Column size="32"/>
  268. <Column size="190"/>
  269. <Column size="90"/>
  270. <Column size="70"/>
  271. <Column size="70"/>
  272. <Column size="170"/>
  273. <Column size="45"/>
  274. <Column size="45"/>
  275. <Column size="54"/>
  276. <Column size="60"/>
  277. <Column size="60"/>
  278. <Column size="60"/>
  279. <Column size="60"/>
  280. <Column size="60"/>
  281. <Column size="60"/>
  282. <Column size="68"/>
  283. <Column size="55"/>
  284. <Column size="60"/>
  285. <Column size="120"/>
  286. </Columns>
  287. <Rows>
  288. <Row size="24" band="head"/>
  289. <Row size="24" band="head"/>
  290. <Row size="24"/>
  291. </Rows>
  292. <Band id="head">
  293. <Cell rowspan="2" taborder="undefined"/>
  294. <Cell col="1" rowspan="2" text="회신여부" taborder="undefined"/>
  295. <Cell col="2" rowspan="2" text="검색일자" taborder="undefined"/>
  296. <Cell col="3" rowspan="2" text="신환구분" taborder="undefined"/>
  297. <Cell col="4" rowspan="2" text="입원일자" taborder="undefined"/>
  298. <Cell col="5" rowspan="2" text="병동" taborder="undefined"/>
  299. <Cell col="6" rowspan="2" text="병실" taborder="undefined"/>
  300. <Cell col="7" rowspan="2" text="등록번호" taborder="undefined"/>
  301. <Cell col="8" rowspan="2" text="환자명" taborder="undefined"/>
  302. <Cell col="9" rowspan="2" text="성별" taborder="undefined"/>
  303. <Cell col="10" rowspan="2" text="나이" taborder="undefined"/>
  304. <Cell col="11" rowspan="2" text="진단명" taborder="undefined"/>
  305. <Cell col="12" rowspan="2" text="진료과" taborder="undefined"/>
  306. <Cell col="13" rowspan="2" text="담당교수" taborder="undefined"/>
  307. <Cell col="14" rowspan="2" text="담당의" taborder="undefined"/>
  308. <Cell col="15" rowspan="2" text="식사명" taborder="undefined"/>
  309. <Cell col="16" text="PIBW"/>
  310. <Cell col="17" text="Alb"/>
  311. <Cell col="18" text="TLC"/>
  312. <Cell col="19" rowspan="2" text="식욕" taborder="undefined"/>
  313. <Cell col="20" rowspan="2" text="체중감소" taborder="undefined"/>
  314. <Cell col="21" rowspan="2" text="연하곤란" taborder="undefined"/>
  315. <Cell col="22" rowspan="2" text="식이처방" taborder="undefined"/>
  316. <Cell col="23" rowspan="2" text="검색결과" taborder="undefined"/>
  317. <Cell col="24" rowspan="2" text="이전결과" taborder="undefined"/>
  318. <Cell col="25" rowspan="2" text="이전결과판정일" wordwrap="word" taborder="undefined"/>
  319. <Cell col="26" text="TRF"/>
  320. <Cell col="27" rowspan="2" text="INS결과" taborder="undefined"/>
  321. <Cell col="28" rowspan="2" text="비고" taborder="undefined"/>
  322. <Cell row="1" col="16" text="(%)"/>
  323. <Cell row="1" col="17" text="(g/dl)"/>
  324. <Cell row="1" col="18" text="(cell/㎣)"/>
  325. <Cell row="1" col="26" text="(mg/dl)"/>
  326. </Band>
  327. <Band id="body">
  328. <Cell celltype="head"/>
  329. <Cell col="1" text="bind:replyn"/>
  330. <Cell col="2" displaytype="date" text="bind:srchdd" calendardisplaynulltype="none"/>
  331. <Cell col="3" displaytype="combo" style="padding:1 2 1 2;" text="bind:patflag" combodataset="ds_cbo_patflag" combocodecol="value" combodatacol="label" enable="false"/>
  332. <Cell col="4" displaytype="date" text="bind:orddd" calendardisplaynulltype="none"/>
  333. <Cell col="5" displaytype="combo" style="padding:1 2 1 2;" text="bind:ward" combodataset="ds_init_basecode_ward_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
  334. <Cell col="6" text="bind:room"/>
  335. <Cell col="7" text="bind:pid"/>
  336. <Cell col="8" text="bind:hngnm"/>
  337. <Cell col="9" text="bind:sex"/>
  338. <Cell col="10" text="bind:age"/>
  339. <Cell col="11" style="align:left top;padding:5 2 1 2;" text="bind:diagnm" wordwrap="word"/>
  340. <Cell col="12" displaytype="combo" style="padding:1 2 1 2;" text="bind:orddept" combodataset="ds_init_basecode_orddept_dept" combocodecol="deptcd" combodatacol="depthngnm" enable="false"/>
  341. <Cell col="13" text="bind:orddrnm"/>
  342. <Cell col="14" text="bind:atdoct"/>
  343. <Cell col="15" style="align:left top;padding:5 2 1 2;" text="bind:dietnm" wordwrap="word"/>
  344. <Cell col="16" displaytype="number" edittype="masknumber" style="align:center;" text="bind:pibw" mask="###"/>
  345. <Cell col="17" displaytype="number" edittype="masknumber" style="align:center;" text="bind:alb" mask="###.#"/>
  346. <Cell col="18" displaytype="number" edittype="masknumber" style="align:center;" text="bind:tlc" mask="###"/>
  347. <Cell col="19" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:apptchngyn" combodataset="ds_cbo_apptchngyn" combocodecol="value" combodatacol="label"/>
  348. <Cell col="20" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:bdwtchngyn" combodataset="ds_cbo_bdwtchngyn" combocodecol="value" combodatacol="label"/>
  349. <Cell col="21" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:symp" combodataset="ds_cbo_symp" combocodecol="value" combodatacol="label"/>
  350. <Cell col="22" text="bind:dietcnt"/>
  351. <Cell col="23" displaytype="combo" edittype="combo" style="padding:1 2 1 2;" text="bind:srchrslt" combodataset="ds_init_basecode_dngr_A0058" combocodecol="cdid" combodatacol="cdnm"/>
  352. <Cell col="24" displaytype="combo" style="padding:1 2 1 2;" text="bind:bfrslt" combodataset="ds_init_basecode_dngr_A0058" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  353. <Cell col="25" displaytype="date" text="bind:bfrsltdd" calendardisplaynulltype="none"/>
  354. <Cell col="26" text="bind:trf"/>
  355. <Cell col="27" text="bind:insrslt"/>
  356. <Cell col="28" displaytype="text" edittype="text" text="bind:rem"/>
  357. </Band>
  358. </Format>
  359. </Formats>
  360. </Grid>
  361. <Shape position="absolute 5 682 1187 688" linetype="horizontal" id="line3" class="line_2"/>
  362. <Edit readonly="true" position="absolute 118 689 243 708" align="align:center middle;" id="opt_srchrslt6" class="output" style="align:center middle;"/>
  363. <Edit readonly="true" position="absolute 308 689 433 708" align="align:center middle;" id="opt_srchrslt7" class="output" style="align:center middle;"/>
  364. <Edit readonly="true" position="absolute 499 689 624 708" align="align:center middle;" id="opt_srchrslt8" class="output" style="align:center middle;"/>
  365. <Static text="검색결과" position="absolute 5 687 66 710" align="align:center middle;" id="caption20" class="cell_1"/>
  366. <Static text="저위험도" position="absolute 246 687 306 710" align="align:center middle;" id="caption21" class="cell_1"/>
  367. <Static text="양호" position="absolute 68 687 116 710" align="align:center middle;" id="caption22" class="cell_1"/>
  368. <Static text="중위험도" position="absolute 436 687 497 710" align="align:center middle;" id="caption23" class="cell_1"/>
  369. <Static text="고위험도" position="absolute 627 687 688 710" align="align:center middle;" id="caption24" class="cell_1"/>
  370. <Edit readonly="true" position="absolute 690 689 815 708" align="align:center middle;" id="opt_srchrslt9" class="output" style="align:center middle;"/>
  371. <Edit readonly="true" position="absolute 1070 689 1187 708" align="align:center middle;" id="opt_srchrsltsum2" class="output" style="align:center middle;"/>
  372. <Static text="계" position="absolute 1008 687 1069 710" align="align:center middle;" id="caption25" class="cell_1"/>
  373. <Shape position="absolute 5 707 1187 713" linetype="horizontal" id="line6" class="line_3"/>
  374. <Edit readonly="true" position="absolute 880 689 1005 708" align="align:center middle;" id="opt_srchrslt10" class="output" style="align:center middle;"/>
  375. <Static text="판정불가" position="absolute 817 687 878 710" align="align:center middle;" id="caption15" class="cell_1"/>
  376. </Layout>
  377. </Layouts>
  378. </Tabpage>
  379. <Tabpage text="영양검색통계" id="case3">
  380. <Layouts>
  381. <Layout>
  382. <Div position="absolute 5 10 1187 45" align="align:center top;" id="group2" class="div_SA">
  383. <Layouts>
  384. <Layout>
  385. <Button position="absolute 1106 7 1162 29" id="btn_search3" class="btn1" text="조회"/>
  386. <Shape position="absolute 1089 7 1095 29" linetype="vertical" id="line7" class="line_4"/>
  387. <Static text="검색일자 :" position="absolute 10 9 96 26" id="caption26" class="search_name"/>
  388. <Calendar position="absolute 97 8 190 27" id="ipt_fromdd3" class="input_s_essential"/>
  389. <Static text="진료과 :" position="absolute 720 9 793 26" id="caption27" class="search_name"/>
  390. <Combo position="absolute 795 8 890 27" id="cmb_orddept3" class="combo_search" innerdataset="ds_init_cmb_orddept3" datacolumn="depthngnm" codecolumn="deptcd"/>
  391. <Static text="병동 :" position="absolute 910 9 970 26" id="caption28" class="search_name"/>
  392. <Combo position="absolute 970 8 1075 27" id="cmb_ward3" class="combo_s_essential" innerdataset="ds_init_cmb_ward3" datacolumn="depthngnm" codecolumn="deptcd"/>
  393. <Radio position="absolute 380 9 540 29" id="rdo_patflag3" columncount="3" codecolumn="codecolumn" datacolumn="datacolumn">
  394. <Dataset id="innerdataset">
  395. <ColumnInfo>
  396. <Column id="codecolumn"/>
  397. <Column id="datacolumn"/>
  398. </ColumnInfo>
  399. <Rows>
  400. <Row>
  401. <Col id="codecolumn">H</Col>
  402. <Col id="datacolumn">전체</Col>
  403. </Row>
  404. <Row>
  405. <Col id="codecolumn">I</Col>
  406. <Col id="datacolumn">재검색</Col>
  407. </Row>
  408. <Row>
  409. <Col id="codecolumn">F</Col>
  410. <Col id="datacolumn">신환</Col>
  411. </Row>
  412. </Rows>
  413. </Dataset>
  414. </Radio>
  415. <Static text="구분 :" position="absolute 320 9 393 26" id="caption29" class="search_name"/>
  416. <Static text="~" position="absolute 195 10 207 27" id="caption30" class="search_no_b"/>
  417. <Calendar position="absolute 210 8 303 27" id="ipt_todd3" class="input_s_essential"/>
  418. <Static text="위험군 :" position="absolute 550 9 623 26" id="caption31" class="search_name"/>
  419. <Combo position="absolute 623 8 698 27" id="cmb_dngrflag3" class="combo_search" innerdataset="ds_init_cmb_dngrflag3" datacolumn="cdnm" codecolumn="cdid"/>
  420. </Layout>
  421. </Layouts>
  422. </Div>
  423. <Button position="absolute 1146 50 1188 69" id="btn_excel3" class="btn2_letter2" text="엑셀"/>
  424. <Shape position="absolute 5 71 1188 77" linetype="vertical" id="line8" class="line_1"/>
  425. <Grid position="absolute 5 80 1187 709" align="align:center middle;" id="grd_nutrsrchstats" binddataset="ds_grd_nutrsrchstats">
  426. <Formats>
  427. <Format id="default">
  428. <Columns>
  429. <Column size="100"/>
  430. <Column size="65"/>
  431. <Column size="65"/>
  432. <Column size="67"/>
  433. <Column size="72"/>
  434. <Column size="88"/>
  435. <Column size="65"/>
  436. <Column size="65"/>
  437. <Column size="76"/>
  438. <Column size="71"/>
  439. <Column size="77"/>
  440. </Columns>
  441. <Rows>
  442. <Row size="24" band="head"/>
  443. <Row size="24" band="head"/>
  444. <Row size="24"/>
  445. </Rows>
  446. <Band id="head">
  447. <Cell text="검색일자"/>
  448. <Cell col="1" text="신환"/>
  449. <Cell col="2" text="신환"/>
  450. <Cell col="3" text="신환"/>
  451. <Cell col="4" text="신환"/>
  452. <Cell col="5" text="신환"/>
  453. <Cell col="6" text="재검색"/>
  454. <Cell col="7" text="재검색"/>
  455. <Cell col="8" text="재검색"/>
  456. <Cell col="9" text="재검색"/>
  457. <Cell col="10" text="재검색"/>
  458. <Cell row="1" text="검색일자"/>
  459. <Cell row="1" col="1" text="양호"/>
  460. <Cell row="1" col="2" text="저위험도"/>
  461. <Cell row="1" col="3" text="중위헙도"/>
  462. <Cell row="1" col="4" text="고위험도"/>
  463. <Cell row="1" col="5" text="합계"/>
  464. <Cell row="1" col="6" text="양호"/>
  465. <Cell row="1" col="7" text="저위험도"/>
  466. <Cell row="1" col="8" text="중위험도"/>
  467. <Cell row="1" col="9" text="고위험도"/>
  468. <Cell row="1" col="10" text="합계"/>
  469. </Band>
  470. <Band id="body">
  471. <Cell text="bind:srchdd" mask="yyyy-mm-dd"/>
  472. <Cell col="1" text="bind:good1"/>
  473. <Cell col="2" text="bind:low1"/>
  474. <Cell col="3" text="bind:mid1"/>
  475. <Cell col="4" text="bind:high1"/>
  476. <Cell col="5" text="bind:total1"/>
  477. <Cell col="6" text="bind:good2"/>
  478. <Cell col="7" text="bind:low2"/>
  479. <Cell col="8" text="bind:mid2"/>
  480. <Cell col="9" text="bind:high2"/>
  481. <Cell col="10" text="bind:total2"/>
  482. </Band>
  483. </Format>
  484. </Formats>
  485. </Grid>
  486. </Layout>
  487. </Layouts>
  488. </Tabpage>
  489. </Tabpages>
  490. </Tab>
  491. <Div position="absolute 0 761 1195 788" id="grp_btn">
  492. <Layouts>
  493. <Layout>
  494. <Button position="absolute 0 5 56 27" id="btn_prnt" class="btn6" visible="false" text="출력" anchor="default"/>
  495. <Button position="absolute 1067 5 1135 27" id="btn_reset" class="btn4" text="초기화" anchor="default" onclick="grp_btn_btn_reset_onclick"/>
  496. <Button position="absolute 1136 5 1192 27" id="btn_save" class="btn3" text="저장" anchor="default" onclick="grp_btn_btn_save_onclick"/>
  497. <Shape position="absolute 0 1 1194 7" linetype="horizontal" id="line32" class="line_6" anchor="default"/>
  498. </Layout>
  499. </Layouts>
  500. </Div>
  501. <Static id="caption6" text="영양검색수정" class="tit_1" position="absolute 0 0 216 25"/>
  502. <Button id="btn_nutrsrch" taborder="1" text="영양검색" position="absolute 4 26 67 48" onclick="btn_nutrsrch_onclick"/>
  503. <Shape id="line38" class="line_10" position="absolute 5 45 1188 51"/>
  504. <Button id="btn_pastnutrsrch" taborder="2" text="영양검색결과조회" position="absolute 68 26 176 48" onclick="btn_pastnutrsrch_onclick"/>
  505. <Button id="btn_nutrsrchstats" taborder="3" text="영양검색통계" position="absolute 177 26 268 48" onclick="btn_nutrsrchstats_onclick" visible="false"/>
  506. </Layout>
  507. </Layouts>
  508. <Objects>
  509. <Dataset id="ds_main_srchrslt_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  510. <ColumnInfo>
  511. <Column id="check" type="STRING" size="256"/>
  512. <Column id="h_patflag" type="STRING" size="256"/>
  513. <Column id="h_prcpdd" type="STRING" size="256"/>
  514. <Column id="h_cretno" type="STRING" size="256"/>
  515. <Column id="h_prcpgenrflag" type="STRING" size="256"/>
  516. <Column id="h_orddd" type="STRING" size="256"/>
  517. <Column id="replyn" type="STRING" size="256"/>
  518. <Column id="ward" type="STRING" size="256"/>
  519. <Column id="room" type="STRING" size="256"/>
  520. <Column id="h_wardroom" type="STRING" size="256"/>
  521. <Column id="pid" type="STRING" size="256"/>
  522. <Column id="hngnm" type="STRING" size="256"/>
  523. <Column id="sex" type="STRING" size="256"/>
  524. <Column id="age" type="STRING" size="256"/>
  525. <Column id="h_diagcd" type="STRING" size="256"/>
  526. <Column id="diagnm" type="STRING" size="256"/>
  527. <Column id="orddept" type="STRING" size="256"/>
  528. <Column id="orddrid" type="STRING" size="256"/>
  529. <Column id="atdoct" type="STRING" size="256"/>
  530. <Column id="dietnm" type="STRING" size="256"/>
  531. <Column id="h_ht" type="STRING" size="256"/>
  532. <Column id="h_wt" type="STRING" size="256"/>
  533. <Column id="pibw" type="STRING" size="256"/>
  534. <Column id="alb" type="STRING" size="256"/>
  535. <Column id="tlc" type="STRING" size="256"/>
  536. <Column id="apptchngyn" type="STRING" size="256"/>
  537. <Column id="bdwtchngyn" type="STRING" size="256"/>
  538. <Column id="symp" type="STRING" size="256"/>
  539. <Column id="dietcnt" type="STRING" size="256"/>
  540. <Column id="srchrslt" type="STRING" size="256"/>
  541. <Column id="bfrslt" type="STRING" size="256"/>
  542. <Column id="bfrsltdd" type="STRING" size="256"/>
  543. <Column id="trf" type="STRING" size="256"/>
  544. <Column id="insrslt" type="STRING" size="256"/>
  545. <Column id="nutrmngtkind" type="STRING" size="256"/>
  546. <Column id="execdd" type="STRING" size="256"/>
  547. <Column id="indd" type="STRING" size="256"/>
  548. </ColumnInfo>
  549. <Rows>
  550. <Row>
  551. <Col id="check"/>
  552. <Col id="h_patflag"/>
  553. <Col id="h_prcpdd"/>
  554. <Col id="h_cretno"/>
  555. <Col id="h_prcpgenrflag"/>
  556. <Col id="h_orddd"/>
  557. <Col id="replyn"/>
  558. <Col id="ward"/>
  559. <Col id="room"/>
  560. <Col id="h_wardroom"/>
  561. <Col id="pid"/>
  562. <Col id="hngnm"/>
  563. <Col id="sex"/>
  564. <Col id="age"/>
  565. <Col id="h_diagcd"/>
  566. <Col id="diagnm"/>
  567. <Col id="orddept"/>
  568. <Col id="orddrid"/>
  569. <Col id="atdoct"/>
  570. <Col id="dietnm"/>
  571. <Col id="h_ht"/>
  572. <Col id="h_wt"/>
  573. <Col id="pibw"/>
  574. <Col id="alb"/>
  575. <Col id="tlc"/>
  576. <Col id="apptchngyn"/>
  577. <Col id="bdwtchngyn"/>
  578. <Col id="symp"/>
  579. <Col id="dietcnt"/>
  580. <Col id="srchrslt"/>
  581. <Col id="bfrslt"/>
  582. <Col id="bfrsltdd"/>
  583. <Col id="trf"/>
  584. <Col id="insrslt"/>
  585. <Col id="nutrmngtkind"/>
  586. <Col id="execdd"/>
  587. <Col id="indd"/>
  588. </Row>
  589. </Rows>
  590. </Dataset>
  591. <Dataset id="ds_main_srchrslt_count" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  592. <ColumnInfo>
  593. <Column id="good" type="STRING" size="256"/>
  594. <Column id="low" type="STRING" size="256"/>
  595. <Column id="mid" type="STRING" size="256"/>
  596. <Column id="high" type="STRING" size="256"/>
  597. <Column id="non" type="STRING" size="256"/>
  598. <Column id="total" type="STRING" size="256"/>
  599. </ColumnInfo>
  600. <Rows>
  601. <Row>
  602. <Col id="good"/>
  603. <Col id="low"/>
  604. <Col id="mid"/>
  605. <Col id="high"/>
  606. <Col id="non"/>
  607. <Col id="total"/>
  608. </Row>
  609. </Rows>
  610. </Dataset>
  611. <Dataset id="ds_main_pastsrchrslt_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  612. <ColumnInfo>
  613. <Column id="replyn" type="STRING" size="256"/>
  614. <Column id="prcpdd" type="STRING" size="256"/>
  615. <Column id="cretno" type="STRING" size="256"/>
  616. <Column id="prcpgenrflag" type="STRING" size="256"/>
  617. <Column id="orddept" type="STRING" size="256"/>
  618. <Column id="orddrid" type="STRING" size="256"/>
  619. <Column id="atdoct" type="STRING" size="256"/>
  620. <Column id="dietnm" type="STRING" size="256"/>
  621. <Column id="bfrslt" type="STRING" size="256"/>
  622. <Column id="bfrsltdd" type="STRING" size="256"/>
  623. <Column id="srchdd" type="STRING" size="256"/>
  624. <Column id="patflag" type="STRING" size="256"/>
  625. <Column id="orddd" type="STRING" size="256"/>
  626. <Column id="indd" type="STRING" size="256"/>
  627. <Column id="ward" type="STRING" size="256"/>
  628. <Column id="room" type="STRING" size="256"/>
  629. <Column id="h_wardroom" type="STRING" size="256"/>
  630. <Column id="pid" type="STRING" size="256"/>
  631. <Column id="hngnm" type="STRING" size="256"/>
  632. <Column id="sex" type="STRING" size="256"/>
  633. <Column id="age" type="STRING" size="256"/>
  634. <Column id="diagnm" type="STRING" size="256"/>
  635. <Column id="pibw" type="STRING" size="256"/>
  636. <Column id="alb" type="STRING" size="256"/>
  637. <Column id="tlc" type="STRING" size="256"/>
  638. <Column id="apptchngyn" type="STRING" size="256"/>
  639. <Column id="bdwtchngyn" type="STRING" size="256"/>
  640. <Column id="symp" type="STRING" size="256"/>
  641. <Column id="dietcnt" type="STRING" size="256"/>
  642. <Column id="srchrslt" type="STRING" size="256"/>
  643. <Column id="trf" type="STRING" size="256"/>
  644. <Column id="insrslt" type="STRING" size="256"/>
  645. <Column id="rem" type="STRING" size="256"/>
  646. </ColumnInfo>
  647. <Rows>
  648. <Row>
  649. <Col id="replyn"/>
  650. <Col id="prcpdd"/>
  651. <Col id="cretno"/>
  652. <Col id="prcpgenrflag"/>
  653. <Col id="orddept"/>
  654. <Col id="orddrid"/>
  655. <Col id="atdoct"/>
  656. <Col id="dietnm"/>
  657. <Col id="bfrslt"/>
  658. <Col id="bfrsltdd"/>
  659. <Col id="srchdd"/>
  660. <Col id="patflag"/>
  661. <Col id="orddd"/>
  662. <Col id="indd"/>
  663. <Col id="ward"/>
  664. <Col id="room"/>
  665. <Col id="h_wardroom"/>
  666. <Col id="pid"/>
  667. <Col id="hngnm"/>
  668. <Col id="sex"/>
  669. <Col id="age"/>
  670. <Col id="diagnm"/>
  671. <Col id="pibw"/>
  672. <Col id="alb"/>
  673. <Col id="tlc"/>
  674. <Col id="apptchngyn"/>
  675. <Col id="bdwtchngyn"/>
  676. <Col id="symp"/>
  677. <Col id="dietcnt"/>
  678. <Col id="srchrslt"/>
  679. <Col id="trf"/>
  680. <Col id="insrslt"/>
  681. <Col id="rem"/>
  682. </Row>
  683. </Rows>
  684. </Dataset>
  685. <Dataset id="ds_main_pastsrchrslt_count" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  686. <ColumnInfo>
  687. <Column id="good" type="STRING" size="256"/>
  688. <Column id="low" type="STRING" size="256"/>
  689. <Column id="mid" type="STRING" size="256"/>
  690. <Column id="high" type="STRING" size="256"/>
  691. <Column id="non" type="STRING" size="256"/>
  692. <Column id="total" type="STRING" size="256"/>
  693. </ColumnInfo>
  694. <Rows>
  695. <Row>
  696. <Col id="good"/>
  697. <Col id="low"/>
  698. <Col id="mid"/>
  699. <Col id="high"/>
  700. <Col id="non"/>
  701. <Col id="total"/>
  702. </Row>
  703. </Rows>
  704. </Dataset>
  705. <Dataset id="ds_main_srchstats_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  706. <ColumnInfo>
  707. <Column id="srchdd" type="STRING" size="256"/>
  708. <Column id="good1" type="STRING" size="256"/>
  709. <Column id="low1" type="STRING" size="256"/>
  710. <Column id="mid1" type="STRING" size="256"/>
  711. <Column id="high1" type="STRING" size="256"/>
  712. <Column id="total1" type="STRING" size="256"/>
  713. <Column id="good2" type="STRING" size="256"/>
  714. <Column id="low2" type="STRING" size="256"/>
  715. <Column id="mid2" type="STRING" size="256"/>
  716. <Column id="high2" type="STRING" size="256"/>
  717. <Column id="total2" type="STRING" size="256"/>
  718. </ColumnInfo>
  719. <Rows>
  720. <Row>
  721. <Col id="srchdd"/>
  722. <Col id="good1"/>
  723. <Col id="low1"/>
  724. <Col id="mid1"/>
  725. <Col id="high1"/>
  726. <Col id="total1"/>
  727. <Col id="good2"/>
  728. <Col id="low2"/>
  729. <Col id="mid2"/>
  730. <Col id="high2"/>
  731. <Col id="total2"/>
  732. </Row>
  733. </Rows>
  734. </Dataset>
  735. <Dataset id="ds_main_nutrjudgbase_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  736. <ColumnInfo>
  737. <Column id="cd" type="STRING" size="256"/>
  738. <Column id="dngrcd" type="STRING" size="256"/>
  739. <Column id="min" type="STRING" size="256"/>
  740. <Column id="max" type="STRING" size="256"/>
  741. </ColumnInfo>
  742. <Rows>
  743. <Row>
  744. <Col id="cd"/>
  745. <Col id="dngrcd"/>
  746. <Col id="min"/>
  747. <Col id="max"/>
  748. </Row>
  749. </Rows>
  750. </Dataset>
  751. <Dataset id="ds_send_searchitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  752. <ColumnInfo>
  753. <Column id="basedd" type="STRING" size="256"/>
  754. <Column id="patflag" type="STRING" size="256"/>
  755. <Column id="orddept" type="STRING" size="256"/>
  756. <Column id="ward" type="STRING" size="256"/>
  757. <Column id="dngrflag" type="STRING" size="256"/>
  758. <Column id="optward" type="STRING" size="256"/>
  759. </ColumnInfo>
  760. <Rows>
  761. <Row>
  762. <Col id="basedd"/>
  763. <Col id="patflag"/>
  764. <Col id="orddept"/>
  765. <Col id="ward"/>
  766. <Col id="dngrflag"/>
  767. <Col id="optward"/>
  768. </Row>
  769. </Rows>
  770. </Dataset>
  771. <Dataset id="ds_send_pastsearchitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  772. <ColumnInfo>
  773. <Column id="fromdd" type="STRING" size="256"/>
  774. <Column id="todd" type="STRING" size="256"/>
  775. <Column id="patflag" type="STRING" size="256"/>
  776. <Column id="ward" type="STRING" size="256"/>
  777. <Column id="dngrflag" type="STRING" size="256"/>
  778. </ColumnInfo>
  779. <Rows>
  780. <Row>
  781. <Col id="fromdd"/>
  782. <Col id="todd"/>
  783. <Col id="patflag"/>
  784. <Col id="ward"/>
  785. <Col id="dngrflag">4 3</Col>
  786. </Row>
  787. </Rows>
  788. </Dataset>
  789. <Dataset id="ds_send_statssearchitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  790. <ColumnInfo>
  791. <Column id="fromdd" type="STRING" size="256"/>
  792. <Column id="todd" type="STRING" size="256"/>
  793. <Column id="patflag" type="STRING" size="256"/>
  794. <Column id="orddept" type="STRING" size="256"/>
  795. <Column id="ward" type="STRING" size="256"/>
  796. <Column id="dngrflag" type="STRING" size="256"/>
  797. </ColumnInfo>
  798. <Rows>
  799. <Row>
  800. <Col id="fromdd"/>
  801. <Col id="todd"/>
  802. <Col id="patflag"/>
  803. <Col id="orddept"/>
  804. <Col id="ward"/>
  805. <Col id="dngrflag"/>
  806. </Row>
  807. </Rows>
  808. </Dataset>
  809. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  810. <ColumnInfo>
  811. <Column id="list" type="STRING" size="256"/>
  812. <Column id="pastlist" type="STRING" size="256"/>
  813. </ColumnInfo>
  814. <Rows>
  815. <Row>
  816. <Col id="list"/>
  817. <Col id="pastlist"/>
  818. </Row>
  819. </Rows>
  820. </Dataset>
  821. <Dataset id="ds_send_popup" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  822. <ColumnInfo>
  823. <Column id="flag" type="STRING" size="256"/>
  824. <Column id="flag2" type="STRING" size="256"/>
  825. <Column id="pid" type="STRING" size="256"/>
  826. <Column id="hngnm" type="STRING" size="256"/>
  827. <Column id="reqdd" type="STRING" size="256"/>
  828. <Column id="reqpsn" type="STRING" size="256"/>
  829. <Column id="orddrid" type="STRING" size="256"/>
  830. <Column id="educreqcnts" type="STRING" size="256"/>
  831. <Column id="h_cretno" type="STRING" size="256"/>
  832. <Column id="h_orddeptcd" type="STRING" size="256"/>
  833. <Column id="h_prcpgenrflag" type="STRING" size="256"/>
  834. <Column id="h_orddd" type="STRING" size="256"/>
  835. <Column id="h_formrecseq" type="STRING" size="256"/>
  836. <Column id="execprcpuniqno" type="STRING" size="256"/>
  837. <Column id="nutrmngtkind" type="STRING" size="256"/>
  838. <Column id="execdd" type="STRING" size="256"/>
  839. <Column id="srchdd" type="STRING" size="256"/>
  840. </ColumnInfo>
  841. <Rows>
  842. <Row>
  843. <Col id="flag"/>
  844. <Col id="flag2"/>
  845. <Col id="pid"/>
  846. <Col id="hngnm"/>
  847. <Col id="reqdd"/>
  848. <Col id="reqpsn"/>
  849. <Col id="orddrid"/>
  850. <Col id="educreqcnts"/>
  851. <Col id="h_cretno"/>
  852. <Col id="h_orddeptcd"/>
  853. <Col id="h_prcpgenrflag"/>
  854. <Col id="h_orddd"/>
  855. <Col id="h_formrecseq"/>
  856. <Col id="execprcpuniqno"/>
  857. <Col id="nutrmngtkind"/>
  858. <Col id="execdd"/>
  859. <Col id="srchdd"/>
  860. </Row>
  861. </Rows>
  862. </Dataset>
  863. <Dataset id="ds_temp_count" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  864. <ColumnInfo>
  865. <Column id="cnt" type="STRING" size="256"/>
  866. </ColumnInfo>
  867. <Rows>
  868. <Row>
  869. <Col id="cnt"/>
  870. </Row>
  871. </Rows>
  872. </Dataset>
  873. <Dataset id="ds_init_basecode_dngr_A0058" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  874. <ColumnInfo>
  875. <Column id="cdid" type="STRING" size="256"/>
  876. <Column id="cdnm" type="STRING" size="256"/>
  877. </ColumnInfo>
  878. <Rows>
  879. <Row>
  880. <Col id="cdid"/>
  881. <Col id="cdnm"/>
  882. </Row>
  883. </Rows>
  884. </Dataset>
  885. <Dataset id="ds_init_basecode_orddept_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  886. <ColumnInfo>
  887. <Column id="deptcd" type="STRING" size="256"/>
  888. <Column id="depthngnm" type="STRING" size="256"/>
  889. </ColumnInfo>
  890. <Rows>
  891. <Row>
  892. <Col id="deptcd"/>
  893. <Col id="depthngnm"/>
  894. </Row>
  895. </Rows>
  896. </Dataset>
  897. <Dataset id="ds_init_basecode_ward_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  898. <ColumnInfo>
  899. <Column id="deptcd" type="STRING" size="256"/>
  900. <Column id="depthngnm" type="STRING" size="256"/>
  901. </ColumnInfo>
  902. <Rows>
  903. <Row>
  904. <Col id="deptcd"/>
  905. <Col id="depthngnm"/>
  906. </Row>
  907. </Rows>
  908. </Dataset>
  909. <Dataset id="ds_cbo_apptchngyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  910. <ColumnInfo>
  911. <Column id="label" type="STRING" size="256"/>
  912. <Column id="value" type="STRING" size="256"/>
  913. </ColumnInfo>
  914. <Rows>
  915. <Row>
  916. <Col id="label">좋음</Col>
  917. <Col id="value">1</Col>
  918. </Row>
  919. <Row>
  920. <Col id="label">보통</Col>
  921. <Col id="value">2</Col>
  922. </Row>
  923. <Row>
  924. <Col id="label">나쁨</Col>
  925. <Col id="value">3</Col>
  926. </Row>
  927. <Row>
  928. <Col id="label">매우나쁨</Col>
  929. <Col id="value">4</Col>
  930. </Row>
  931. </Rows>
  932. </Dataset>
  933. <Dataset id="ds_cbo_bdwtchngyn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  934. <ColumnInfo>
  935. <Column id="label" type="STRING" size="256"/>
  936. <Column id="value" type="STRING" size="256"/>
  937. </ColumnInfo>
  938. <Rows>
  939. <Row>
  940. <Col id="label">무</Col>
  941. <Col id="value">1</Col>
  942. </Row>
  943. <Row>
  944. <Col id="label">유</Col>
  945. <Col id="value">2</Col>
  946. </Row>
  947. </Rows>
  948. </Dataset>
  949. <Dataset id="ds_cbo_symp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  950. <ColumnInfo>
  951. <Column id="label" type="STRING" size="256"/>
  952. <Column id="value" type="STRING" size="256"/>
  953. </ColumnInfo>
  954. <Rows>
  955. <Row>
  956. <Col id="label">없음</Col>
  957. <Col id="value">N</Col>
  958. </Row>
  959. <Row>
  960. <Col id="label">있음</Col>
  961. <Col id="value">Y</Col>
  962. </Row>
  963. </Rows>
  964. </Dataset>
  965. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  966. <Dataset id="ds_cbo_choices" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  967. <ColumnInfo>
  968. <Column id="label" type="STRING" size="256"/>
  969. <Column id="value" type="STRING" size="256"/>
  970. </ColumnInfo>
  971. <Rows>
  972. <Row>
  973. <Col id="label">고위험군</Col>
  974. <Col id="value">4</Col>
  975. </Row>
  976. <Row>
  977. <Col id="label">중위험군</Col>
  978. <Col id="value">3</Col>
  979. </Row>
  980. <Row>
  981. <Col id="label">저위험군</Col>
  982. <Col id="value">2</Col>
  983. </Row>
  984. <Row>
  985. <Col id="label">양호군</Col>
  986. <Col id="value">1</Col>
  987. </Row>
  988. </Rows>
  989. </Dataset>
  990. <Dataset id="ds_cbo_patflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  991. <ColumnInfo>
  992. <Column id="label" type="STRING" size="256"/>
  993. <Column id="value" type="STRING" size="256"/>
  994. </ColumnInfo>
  995. <Rows>
  996. <Row>
  997. <Col id="label">재검색</Col>
  998. <Col id="value">I</Col>
  999. </Row>
  1000. <Row>
  1001. <Col id="label">신환</Col>
  1002. <Col id="value">F</Col>
  1003. </Row>
  1004. </Rows>
  1005. </Dataset>
  1006. </Objects>
  1007. <Bind>
  1008. <BindItem id="item0" compid="swt_nutrsrchrslt.case1.grp_sea.ipt_basedd" propid="value" datasetid="ds_send_searchitem" columnid="basedd"/>
  1009. <BindItem id="item1" compid="swt_nutrsrchrslt.case1.grp_sea.rdo_patflag1" propid="value" datasetid="ds_send_searchitem" columnid="patflag"/>
  1010. <BindItem id="item2" compid="swt_nutrsrchrslt.case1.grp_sea.cmb_dngrflag1" propid="value" datasetid="ds_send_searchitem" columnid="dngrflag"/>
  1011. <BindItem id="item3" compid="swt_nutrsrchrslt.case1.grp_sea.cmb_orddept1" propid="value" datasetid="ds_send_searchitem" columnid="orddept"/>
  1012. <BindItem id="item4" compid="swt_nutrsrchrslt.case1.grp_sea.opt_ward" propid="value" datasetid="ds_send_searchitem" columnid="optward"/>
  1013. <BindItem id="item5" compid="swt_nutrsrchrslt.case1.opt_srchrslt1" propid="value" datasetid="ds_main_srchrslt_count" columnid="good"/>
  1014. <BindItem id="item6" compid="swt_nutrsrchrslt.case1.opt_srchrslt2" propid="value" datasetid="ds_main_srchrslt_count" columnid="low"/>
  1015. <BindItem id="item7" compid="swt_nutrsrchrslt.case1.opt_srchrslt3" propid="value" datasetid="ds_main_srchrslt_count" columnid="mid"/>
  1016. <BindItem id="item8" compid="swt_nutrsrchrslt.case1.opt_srchrslt4" propid="value" datasetid="ds_main_srchrslt_count" columnid="high"/>
  1017. <BindItem id="item9" compid="swt_nutrsrchrslt.case1.opt_srchrslt5" propid="value" datasetid="ds_main_srchrslt_count" columnid="non"/>
  1018. <BindItem id="item10" compid="swt_nutrsrchrslt.case1.opt_srchrsltsum1" propid="value" datasetid="ds_main_srchrslt_count" columnid="total"/>
  1019. <BindItem id="item11" compid="swt_nutrsrchrslt.case2.group1.ipt_fromdd" propid="value" datasetid="ds_send_pastsearchitem" columnid="fromdd"/>
  1020. <BindItem id="item12" compid="swt_nutrsrchrslt.case2.group1.ipt_todd" propid="value" datasetid="ds_send_pastsearchitem" columnid="todd"/>
  1021. <BindItem id="item13" compid="swt_nutrsrchrslt.case2.group1.rdo_patflag2" propid="value" datasetid="ds_send_pastsearchitem" columnid="patflag"/>
  1022. <BindItem id="item14" compid="swt_nutrsrchrslt.case2.group1.cmb_ward2" propid="value" datasetid="ds_send_pastsearchitem" columnid="ward"/>
  1023. <BindItem id="item15" compid="swt_nutrsrchrslt.case2.opt_srchrslt6" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="good"/>
  1024. <BindItem id="item16" compid="swt_nutrsrchrslt.case2.opt_srchrslt7" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="low"/>
  1025. <BindItem id="item17" compid="swt_nutrsrchrslt.case2.opt_srchrslt8" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="mid"/>
  1026. <BindItem id="item18" compid="swt_nutrsrchrslt.case2.opt_srchrslt9" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="high"/>
  1027. <BindItem id="item19" compid="swt_nutrsrchrslt.case2.opt_srchrslt10" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="non"/>
  1028. <BindItem id="item20" compid="swt_nutrsrchrslt.case2.opt_srchrsltsum2" propid="value" datasetid="ds_main_pastsrchrslt_count" columnid="total"/>
  1029. </Bind>
  1030. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  1031. * System Name :
  1032. * Job Name :
  1033. * Creator :
  1034. * Make Date : 2015-11-13
  1035. * Description :
  1036. *---------------------------------------------------------------------------------------
  1037. * Modify Date Modifier Modify Description
  1038. *---------------------------------------------------------------------------------------
  1039. * 2015-11-13 Live Converter TF->XP
  1040. *
  1041. *---------------------------------------------------------------------------------------
  1042. ****************************************************************************************/
  1043. include "com_commonxp::comm_main.xjs";
  1044. var arErrorCode = new HashArray();
  1045. function SMANC00160_oninit(obj:Form, e:InitEventInfo)
  1046. {
  1047. frmf_initForm(obj); //폼 초기화
  1048. grdf_initGrid(swt_nutrsrchrslt.case1.grd_nutrsrch);
  1049. grdf_setRowTypeIcon(swt_nutrsrchrslt.case1.grd_nutrsrch, 0);
  1050. grdf_initGrid(swt_nutrsrchrslt.case2.grd_pastnutrsrch);
  1051. grdf_setRowTypeIcon(swt_nutrsrchrslt.case2.grd_pastnutrsrch, 0);
  1052. }
  1053. function SMANC00160_onload(obj:Form, e:LoadEventInfo)
  1054. {
  1055. //chk_ward
  1056. finit();
  1057. }
  1058. function fn_ward(){
  1059. var getData = String(swt_nutrsrchrslt.case1.chk_ward.getLableData()).replace(","," ");
  1060. ds_send_searchitem.setColumn(0, "optward", getData);
  1061. }
  1062. function fn_checkbox1(){
  1063. var getData = String(swt_nutrsrchrslt.case2.group1.checkbox1.getData()).replace(","," ");
  1064. ds_send_pastsearchitem.setColumn(0, "dngrflag", getData);
  1065. }
  1066. function finit() {
  1067. // 화면open시 공통코드 setting
  1068. //zbcfGetCodeList( new Array( "A0058", "P0149", "P0160" ), new Array( "/root/init/basecode/dngr", "/root/init/basecode/orddept", "/root/init/basecode/ward" ) );
  1069. var arrParam = [{dsNm: "ds_init_basecode_dngr_A0058", cdGrpId: "A0058"}]
  1070. appf_getCodeList(arrParam);
  1071. ds_init_basecode_dngr_A0058.insertRow(0);
  1072. swt_nutrsrchrslt.case1.grp_sea.cmb_dngrflag1.index = 0;
  1073. appf_getDeptCodeList(sysf_getUserInfo('dutplceinstcd'), 'orduseyn', 'D', 'depthngnm', '', '', '', '', 'ds_init_basecode_orddept_dept', false, '');
  1074. ds_init_basecode_orddept_dept.insertRow(0);
  1075. swt_nutrsrchrslt.case1.grp_sea.cmb_orddept1.index = 0;
  1076. //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), 'orduseyn', 'W', '/root/init/basecode/ward', 'depthngnm', 'asc', new Date().getDateFormat("YYYYMMDD"), "", 'after');
  1077. var today = utlf_getCurrentDate();
  1078. appf_getDeptCodeList(sysf_getUserInfo('dutplceinstcd'), 'orduseyn', 'W', 'depthngnm', 'asc', today.toDate().getDateFormat('YYYYMMDD'), '', 'asc', 'ds_init_basecode_ward_dept', false, null);
  1079. ds_init_basecode_ward_dept.insertRow(0);
  1080. swt_nutrsrchrslt.case2.group1.cmb_ward2.index = 0;
  1081. var chkrow = ds_init_basecode_ward_dept.rowcount;
  1082. var sProp = "col=1,row="+chkrow+",cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=18,overflow='visible'";
  1083. swt_nutrsrchrslt.case1.chk_ward.setInitComp(sProp, ds_init_basecode_ward_dept,"deptcd","depthngnm", "fn_ward");
  1084. var sProp = "col=4,row=1,cellspacing=2,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
  1085. swt_nutrsrchrslt.case2.group1.checkbox1.setInitComp(sProp, ds_cbo_choices,"value","label", "fn_checkbox1");
  1086. swt_nutrsrchrslt.case2.group1.checkbox1.setData(utlf_transNullToEmpty(ds_send_pastsearchitem.getColumn(0, "dngrflag")).split(" "), null, false);
  1087. ds_main_pastsrchrslt_data.clearData();
  1088. ds_send_searchitem.setColumn(0, "basedd", utlf_getCurrentDate());
  1089. ds_send_pastsearchitem.setColumn(0, "fromdd", utlf_getCurrentDate());
  1090. ds_send_pastsearchitem.setColumn(0, "todd", utlf_getCurrentDate());
  1091. ds_send_statssearchitem.setColumn(0, "fromdd", utlf_getCurrentDate());
  1092. ds_send_statssearchitem.setColumn(0, "todd", utlf_getCurrentDate());
  1093. ds_send_searchitem.setColumn(0, "patflag", "F");
  1094. ds_send_pastsearchitem.setColumn(0, "patflag", "F");
  1095. ds_send_pastsearchitem.setColumn(0, "dngrflag", "4 3");
  1096. ds_send_statssearchitem.setColumn(0, "patflag", "H");
  1097. //2011.05.02 타파트조회함으로 인해 주석처리
  1098. if(sysf_getUserInfo("dutplcecd") != "3250100000"){
  1099. swt_nutrsrchrslt.case1.chk_ward.visible = false;
  1100. btn_pastnutrsrch.enable = false;
  1101. btn_nutrsrchstats.enable = false;
  1102. grp_btn.btn_save.enable = false;
  1103. dsf_createDsRow('ds_req', [
  1104. { col: 'temp', type: 'string', size: 256, val: '' }
  1105. ], false);
  1106. //영양판정기준표 조회;
  1107. var oParam = {};
  1108. oParam.id = "TRANC00102";
  1109. oParam.service = "dietbaseapp.ClinicNutr";
  1110. oParam.method = "reqGetNutrJudgBase";
  1111. oParam.inds = "req=ds_req";
  1112. oParam.outds = "ds_main_nutrjudgbase_data=ret";
  1113. oParam.async = false;
  1114. //oParam.callback = "cf_TRANC00102";
  1115. tranf_submit(oParam);
  1116. }else{
  1117. swt_nutrsrchrslt.case1.chk_ward.visible = false;
  1118. btn_pastnutrsrch_onclick();//영양검색결과조회 탭화면 선택
  1119. dsf_createDsRow('ds_req', [
  1120. { col: 'temp', type: 'string', size: 256, val: '' }
  1121. ], false);
  1122. //영양판정기준표 조회;
  1123. var oParam = {};
  1124. oParam.id = "TRANC00102";
  1125. oParam.service = "dietbaseapp.ClinicNutr";
  1126. oParam.method = "reqGetNutrJudgBase";
  1127. oParam.inds = "req=ds_req";
  1128. oParam.outds = "ds_main_nutrjudgbase_data=ret";
  1129. oParam.async = false;
  1130. //oParam.callback = "cf_TRANC00102";
  1131. tranf_submit(oParam);
  1132. swt_nutrsrchrslt.case1.grp_sea.btn_search1.enable = frmf_checkAuth("R");
  1133. swt_nutrsrchrslt.case3.group2.btn_search3.enable = frmf_checkAuth("R");
  1134. grp_btn.btn_save.enable = frmf_checkAuth("X");
  1135. swt_nutrsrchrslt.case1.btn_excel1.enable = frmf_checkAuth("P");
  1136. swt_nutrsrchrslt.case2.btn_excel2.enable = frmf_checkAuth("P");
  1137. swt_nutrsrchrslt.case3.btn_excel3.enable = frmf_checkAuth("P");
  1138. }
  1139. }
  1140. function btn_nutrsrch_onclick(obj:Button, e:ClickEventInfo)
  1141. {
  1142. grp_btn.btn_save.enable = true;
  1143. swt_nutrsrchrslt.tabindex = 0;
  1144. }
  1145. function btn_pastnutrsrch_onclick(obj:Button, e:ClickEventInfo)
  1146. {
  1147. if (swt_nutrsrchrslt.case1.chk_ward.visible == true) {
  1148. swt_nutrsrchrslt.case1.chk_ward.visible = false;
  1149. }
  1150. swt_nutrsrchrslt.tabindex = 1;
  1151. grp_btn.btn_save.enable = true;
  1152. }
  1153. function btn_nutrsrchstats_onclick(obj:Button, e:ClickEventInfo)
  1154. {
  1155. if (swt_nutrsrchrslt.case1.chk_ward.visible == true) {
  1156. swt_nutrsrchrslt.case1.chk_ward.visible = false;
  1157. }
  1158. swt_nutrsrchrslt.tabindex = 2;
  1159. grp_btn.btn_save.enable = false;
  1160. }
  1161. function swt_nutrsrchrslt_case1_grp_sea_btn_beforedd_onclick(obj:Button, e:ClickEventInfo)
  1162. {
  1163. var dd = ds_send_searchitem.getColumn(0, "basedd");
  1164. dd = dd.toDate().getAddDate(-1, "D");
  1165. dd = dd.getDateFormat();
  1166. ds_send_searchitem.setColumn(0, "basedd", dd);
  1167. }
  1168. function swt_nutrsrchrslt_case1_grp_sea_btn_nextdd_onclick(obj:Button, e:ClickEventInfo)
  1169. {
  1170. var dd = ds_send_searchitem.getColumn(0, "basedd");
  1171. dd = dd.toDate().getAddDate(1, "D");
  1172. dd = dd.getDateFormat();
  1173. ds_send_searchitem.setColumn(0, "basedd", dd);
  1174. }
  1175. function swt_nutrsrchrslt_case1_grp_sea_rdo_patflag1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  1176. {
  1177. ds_send_searchitem.setColumn(0, "dngrflag", "");
  1178. }
  1179. function swt_nutrsrchrslt_case1_grp_sea_opt_ward_oneditclick(obj:Edit, e:EditClickEventInfo)
  1180. {
  1181. if (swt_nutrsrchrslt.case1.chk_ward.visible == false) {
  1182. swt_nutrsrchrslt.case1.chk_ward.visible = true;
  1183. } else if (swt_nutrsrchrslt.case1.chk_ward.visible == true) {
  1184. swt_nutrsrchrslt.case1.chk_ward.visible = false;
  1185. }
  1186. }
  1187. function swt_nutrsrchrslt_case1_btn_nutrjudgbase_onclick(obj:Button, e:ClickEventInfo)
  1188. {
  1189. if(!utlf_isNull(ds_main_nutrjudgbase_data.getColumnInfo('valuitemcd'))){
  1190. ds_main_nutrjudgbase_data.updateColID('valuitemcd', 'cd');
  1191. ds_main_nutrjudgbase_data.updateColID('dngrstatcd', 'dngrcd');
  1192. ds_main_nutrjudgbase_data.updateColID('minval', 'min');
  1193. ds_main_nutrjudgbase_data.updateColID('maxval', 'max');
  1194. }
  1195. frmf_modal("SPANC00200", "SPANC00200", { arg_ds_main_receivedata: ds_main_nutrjudgbase_data }, "", "", "", "", "", "", "", "", "", "M");
  1196. }
  1197. function swt_nutrsrchrslt_case1_btn_insbase_onclick(obj:Button, e:ClickEventInfo)
  1198. {
  1199. frmf_modal("SPANC00300", "SPANC00300", "", "", "", "", "", "", "", "", "", "", "M");
  1200. }
  1201. function swt_nutrsrchrslt_case1_btn_excel1_onclick(obj:Button, e:ClickEventInfo)
  1202. {
  1203. grdf_exportExcel(swt_nutrsrchrslt.case1.grd_nutrsrch, "NutrSrchRslt_list" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  1204. }
  1205. function grp_btn_btn_reset_onclick(obj:Button, e:ClickEventInfo)
  1206. {
  1207. finit();
  1208. }
  1209. function grp_btn_btn_save_onclick(obj:Button, e:ClickEventInfo)
  1210. {
  1211. //영양검색 탭화면 일때
  1212. if ( swt_nutrsrchrslt.tabindex == 0) {
  1213. sysf_messageBox("영양검색내용은 저장할 수", "I004");
  1214. }
  1215. //과거영양검색조회 탭화면 일때
  1216. else if ( swt_nutrsrchrslt.tabindex == 1 ) {
  1217. var updateData = grdf_getGridUpdateData(swt_nutrsrchrslt.case2.grd_pastnutrsrch);
  1218. if ( updateData.rowcount == 0) {
  1219. sysf_messageBox("입력 또는 수정한 데이터가", "I004");
  1220. } else {
  1221. ds_temp.copyData(updateData, true);
  1222. ds_temp.updateColID('patflag', 'fnexamflag');
  1223. var oParam = {};
  1224. oParam.id = "TXANC00102";
  1225. oParam.service = "nutritionconsultapp.PatientNutr";
  1226. oParam.method = "reqExePastNutrSrchRslt";
  1227. oParam.inds = "req=ds_temp";
  1228. oParam.outds = "";
  1229. oParam.async = false;
  1230. oParam.callback = "cf_TXANC00102";
  1231. tranf_submit(oParam);
  1232. if(arErrorCode.pop("TXANC00102") > -1){
  1233. swt_nutrsrchrslt.case2.group1.btn_search2.click();
  1234. }
  1235. }
  1236. }
  1237. }
  1238. function cf_TXANC00102(sSvcId, nErrorCode, sErrorMsg) {
  1239. arErrorCode.push(sSvcId, nErrorCode);
  1240. }
  1241. function swt_nutrsrchrslt_case1_grp_sea_btn_search1_onclick(obj:Button, e:ClickEventInfo)
  1242. {
  1243. if (swt_nutrsrchrslt.case1.chk_ward.visible == true) {
  1244. swt_nutrsrchrslt.case1.chk_ward.visible = false;
  1245. }
  1246. //grd_nutrsrch.fixedcellischeck(0,1) = false; //영양검색 탭화면 전체선택 체크박스 초기화
  1247. ds_main_srchrslt_data.clearData();
  1248. ds_main_srchrslt_data.addRow();
  1249. ds_main_srchrslt_count.clearData();
  1250. ds_main_srchrslt_count.addRow();
  1251. var oParam = {};
  1252. oParam.id = "TRANC00101";
  1253. oParam.service = "nutritionconsultapp.PatientNutr";
  1254. oParam.method = "reqGetNutrSrchRslt";
  1255. oParam.inds = "req=ds_send_searchitem";
  1256. oParam.outds = "ds_main_srchrslt_data=ret ds_main_srchrslt_count=count";
  1257. oParam.async = false;
  1258. //oParam.callback = "cf_TRANC00101";
  1259. tranf_submit(oParam);
  1260. if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("patflag")) ){
  1261. ds_main_srchrslt_data.addColumn("h_patflag", "string");
  1262. }else{
  1263. ds_main_srchrslt_data.updateColID("patflag", "h_patflag");
  1264. }
  1265. if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("prcpdd")) ){
  1266. ds_main_srchrslt_data.addColumn("h_prcpdd", "string");
  1267. }else{
  1268. ds_main_srchrslt_data.updateColID("prcpdd", "h_prcpdd");
  1269. }
  1270. if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("cretno")) ){
  1271. ds_main_srchrslt_data.addColumn("h_cretno", "string");
  1272. }else{
  1273. ds_main_srchrslt_data.updateColID("cretno", "h_cretno");
  1274. }
  1275. if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("prcpgenrflag")) ){
  1276. ds_main_srchrslt_data.addColumn("h_prcpgenrflag", "string");
  1277. }else{
  1278. ds_main_srchrslt_data.updateColID("prcpgenrflag", "h_prcpgenrflag");
  1279. }
  1280. if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("orddd")) ){
  1281. ds_main_srchrslt_data.addColumn("h_orddd", "string");
  1282. }else{
  1283. ds_main_srchrslt_data.updateColID("orddd", "h_orddd");
  1284. }
  1285. if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("wardroom")) ){
  1286. ds_main_srchrslt_data.addColumn("h_wardroom", "string");
  1287. }else{
  1288. ds_main_srchrslt_data.updateColID("wardroom", "h_wardroom");
  1289. }
  1290. if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("diagcd")) ){
  1291. ds_main_srchrslt_data.addColumn("h_diagcd", "string");
  1292. }else{
  1293. ds_main_srchrslt_data.updateColID("diagcd", "h_diagcd");
  1294. }
  1295. if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("ht")) ){
  1296. ds_main_srchrslt_data.addColumn("h_ht", "string");
  1297. }else{
  1298. ds_main_srchrslt_data.updateColID("ht", "h_ht");
  1299. }
  1300. if( utlf_isNull(ds_main_srchrslt_data.getColumnInfo("wt")) ){
  1301. ds_main_srchrslt_data.addColumn("h_wt", "string");
  1302. }else{
  1303. ds_main_srchrslt_data.updateColID("wt", "h_wt");
  1304. }
  1305. for( var i=0 ; i<ds_main_srchrslt_count.getColCount() ; i++ ){
  1306. ds_main_srchrslt_count.updateColID(ds_main_srchrslt_count.getColID(i), utlf_transNullToEmpty(ds_main_srchrslt_count.getColID(i)).replace("cnt", ""));
  1307. }
  1308. // 신환(F) or 재검색(I) 구분값 setting 및 PIBW, TLC 반올림
  1309. var patflag = ds_send_searchitem.getColumn(0, 'patflag');
  1310. var pibw = '';
  1311. var tlc = '';
  1312. ds_main_srchrslt_data.addColumn("h_patflag", "string");
  1313. ds_main_srchrslt_data.addColumn("mask25", "string");
  1314. ds_main_srchrslt_data.enableevent = false;
  1315. ds_main_srchrslt_data.updatecontrol = false;
  1316. for(var i = 0; i < ds_main_srchrslt_data.rowcount; i++){
  1317. ds_main_srchrslt_data.setColumn(i, 'h_patflag', patflag);
  1318. pibw = ds_main_srchrslt_data.getColumn(i, 'pibw');
  1319. tlc = ds_main_srchrslt_data.getColumn(i, 'tlc');
  1320. if(utlf_transNullToEmpty(pibw) != ''){
  1321. pibw = String(pibw).getRound(-2, 'HALF_UP');
  1322. ds_main_srchrslt_data.setColumn(i, 'pibw', pibw);
  1323. var ilen = pibw.length;
  1324. if(ilen > 0){
  1325. if(pibw.substr(ilen - 2, ilen - 1) == '.0'){
  1326. //ds_main_srchrslt_data.setColumn(i, 'mask25', "####");
  1327. }
  1328. else{
  1329. //ds_main_srchrslt_data.setColumn(i, 'mask25', "####.9");
  1330. }
  1331. }
  1332. }
  1333. if (!utlf_isNull(tlc)) {
  1334. tlc = tlc.toString().getRound(-2, "HALF_UP");
  1335. ds_main_srchrslt_data.setColumn(i, "tlc", tlc);
  1336. var klen = tlc.length;
  1337. if (klen > 0){
  1338. if (tlc.substr(klen - 2, klen - 1) == ".0"){
  1339. //grd_nutrsrch.cellFormat(irow, grd_nutrsrch.colRef("tlc")) = "####";
  1340. }else{
  1341. //grd_nutrsrch.cellFormat(irow, grd_nutrsrch.colRef("tlc")) = "####.9";
  1342. }
  1343. }
  1344. }
  1345. }
  1346. ds_main_srchrslt_data.updatecontrol = true;
  1347. ds_main_srchrslt_data.enableevent = true;
  1348. grdf_setGridSort(swt_nutrsrchrslt.case1.grd_nutrsrch);
  1349. }
  1350. function swt_nutrsrchrslt_case2_group1_btn_search2_onclick(obj:Button, e:ClickEventInfo)
  1351. {
  1352. var fromdd = ds_send_pastsearchitem.getColumn(0, "fromdd");
  1353. var todd = ds_send_pastsearchitem.getColumn(0, "todd");
  1354. if ( utlf_getDateInterval(fromdd, todd) < 0 ) {
  1355. sysf_messageBox("검색 시작일은 종료일보다 클 수", "I004");
  1356. return;
  1357. } else {
  1358. ds_main_pastsrchrslt_data.clearData();
  1359. ds_main_pastsrchrslt_data.addRow();
  1360. ds_main_pastsrchrslt_count.clearData();
  1361. ds_main_pastsrchrslt_count.addRow();
  1362. var oParam = {};
  1363. oParam.id = "TRANC00106";
  1364. oParam.service = "nutritionconsultapp.PatientNutr";
  1365. oParam.method = "reqGetPastNutrSrchRslt";
  1366. oParam.inds = "req=ds_send_pastsearchitem";
  1367. oParam.outds = "ds_main_pastsrchrslt_data=ret ds_main_pastsrchrslt_count=count";
  1368. oParam.async = false;
  1369. //oParam.callback = "cf_TRANC00106";
  1370. tranf_submit(oParam);
  1371. if( utlf_isNull(ds_main_pastsrchrslt_data.getColumnInfo("wardroom")) ){
  1372. ds_main_pastsrchrslt_data.addColumn("h_wardroom", "string");
  1373. }else{
  1374. ds_main_pastsrchrslt_data.updateColID("wardroom", "h_wardroom");
  1375. }
  1376. for( var i=0 ; i<ds_main_pastsrchrslt_count.getColCount() ; i++ ){
  1377. ds_main_pastsrchrslt_count.updateColID(ds_main_pastsrchrslt_count.getColID(i), utlf_transNullToEmpty(ds_main_pastsrchrslt_count.getColID(i)).replace("cnt", ""));
  1378. }
  1379. }
  1380. }
  1381. function getMask(colnm, value){
  1382. var len = value.toString().getRound(-2, 'HALF_UP');
  1383. if(len < 0){
  1384. return '';
  1385. }
  1386. var result = (value.substr(len - 2, len - 1) == '.0') ? '###' : '###.9';
  1387. return result;
  1388. }
  1389. function swt_nutrsrchrslt_case2_btn_excel2_onclick(obj:Button, e:ClickEventInfo)
  1390. {
  1391. grdf_exportExcel(swt_nutrsrchrslt.case2.grd_pastnutrsrch, "PastNutrSrchRslt_list" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
  1392. }
  1393. function swt_nutrsrchrslt_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1394. {
  1395. if(swt_nutrsrchrslt.tabindex == 0){
  1396. btn_nutrsrch.setSelectStatus(true);
  1397. btn_pastnutrsrch.setSelectStatus(false);
  1398. btn_nutrsrchstats.setSelectStatus(false);
  1399. }else if(swt_nutrsrchrslt.tabindex == 1){
  1400. btn_nutrsrch.setSelectStatus(false);
  1401. btn_pastnutrsrch.setSelectStatus(true);
  1402. btn_nutrsrchstats.setSelectStatus(false);
  1403. }else if(swt_nutrsrchrslt.tabindex == 2){
  1404. btn_nutrsrch.setSelectStatus(false);
  1405. btn_pastnutrsrch.setSelectStatus(false);
  1406. btn_nutrsrchstats.setSelectStatus(true);
  1407. }
  1408. }
  1409. ]]></Script>
  1410. </Form>
  1411. </FDL>