SMANB00500_교환기준관리.xfdl 79 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMANB00500" position="absolute 0 0 1200 790" titletext="교환기준관리" oninit="SMANB00500_oninit" onload="SMANB00500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 13 1195 757" id="group2" scrollbars="autovert">
  8. <Layouts>
  9. <Layout>
  10. <Tab position="absolute 0 19 1194 741" id="switch1" onchanged="group2_switch1_onchanged">
  11. <Tabpages>
  12. <Tabpage text="당뇨" id="case1">
  13. <Layouts>
  14. <Layout>
  15. <Grid position="absolute 0 3 1194 695" align="align:center middle;" id="grd_glycosuria" binddataset="ds_main_data_glycosuria">
  16. <Formats>
  17. <Format id="default">
  18. <Columns>
  19. <Column size="20" band="left"/>
  20. <Column size="0"/>
  21. <Column size="0"/>
  22. <Column size="0"/>
  23. <Column size="90"/>
  24. <Column size="205"/>
  25. <Column size="80"/>
  26. <Column size="100"/>
  27. <Column size="100"/>
  28. <Column size="100"/>
  29. <Column size="100"/>
  30. <Column size="160"/>
  31. <Column size="90"/>
  32. </Columns>
  33. <Rows>
  34. <Row size="24" band="head"/>
  35. <Row size="24"/>
  36. </Rows>
  37. <Band id="head">
  38. <Cell/>
  39. <Cell col="1" text="sick"/>
  40. <Cell col="2" text="h_sick"/>
  41. <Cell col="3" text="h_코드"/>
  42. <Cell col="4" text="코드"/>
  43. <Cell col="5" text="구분"/>
  44. <Cell col="6" text="단위"/>
  45. <Cell col="7" text="열량(kcal)"/>
  46. <Cell col="8" text="단백질(g)"/>
  47. <Cell col="9" text="지질(g)"/>
  48. <Cell col="10" text="당질(g)"/>
  49. <Cell col="11" text="최종수정일시"/>
  50. <Cell col="12" text="최종수정자"/>
  51. </Band>
  52. <Band id="body">
  53. <Cell celltype="head" expr="expr:currow + 1"/>
  54. <Cell col="1" displaytype="combo" edittype="combo" text="bind:sick"/>
  55. <Cell col="2" text="bind:h_sick"/>
  56. <Cell col="3" text="bind:h_exchstndcd"/>
  57. <Cell col="4" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndcd"/>
  58. <Cell col="5" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndnm"/>
  59. <Cell col="6" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndunit"/>
  60. <Cell col="7" displaytype="text" edittype="text" style="align:center;" text="bind:calr"/>
  61. <Cell col="8" displaytype="text" edittype="text" style="align:center;" text="bind:prot"/>
  62. <Cell col="9" displaytype="text" edittype="text" style="align:center;" text="bind:lipo"/>
  63. <Cell col="10" displaytype="text" edittype="text" style="align:center;" text="bind:gluco"/>
  64. <Cell col="11" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
  65. <Cell col="12" text="bind:lastupdtr"/>
  66. </Band>
  67. </Format>
  68. </Formats>
  69. </Grid>
  70. </Layout>
  71. </Layouts>
  72. </Tabpage>
  73. <Tabpage text="신장" id="case2">
  74. <Layouts>
  75. <Layout>
  76. <Grid position="absolute 0 3 1194 695" align="align:center middle;" id="grd_kidney" binddataset="ds_main_data_kidney">
  77. <Formats>
  78. <Format id="default">
  79. <Columns>
  80. <Column size="20" band="left"/>
  81. <Column size="0"/>
  82. <Column size="0"/>
  83. <Column size="0"/>
  84. <Column size="80"/>
  85. <Column size="205"/>
  86. <Column size="80"/>
  87. <Column size="100"/>
  88. <Column size="100"/>
  89. <Column size="100"/>
  90. <Column size="100"/>
  91. <Column size="100"/>
  92. <Column size="130"/>
  93. <Column size="80"/>
  94. </Columns>
  95. <Rows>
  96. <Row size="24" band="head"/>
  97. <Row size="24"/>
  98. </Rows>
  99. <Band id="head">
  100. <Cell/>
  101. <Cell col="1" text="sick"/>
  102. <Cell col="2" text="h_sick"/>
  103. <Cell col="3" text="h_코드"/>
  104. <Cell col="4" text="코드"/>
  105. <Cell col="5" text="구분"/>
  106. <Cell col="6" text="단위"/>
  107. <Cell col="7" text="열량(kcal)"/>
  108. <Cell col="8" text="단백질(g)"/>
  109. <Cell col="9" text="나트륨(mg)"/>
  110. <Cell col="10" text="칼륨(mg)"/>
  111. <Cell col="11" text="인(mg)"/>
  112. <Cell col="12" text="최종수정일시"/>
  113. <Cell col="13" text="최종수정자"/>
  114. </Band>
  115. <Band id="body">
  116. <Cell celltype="head" expr="expr:currow + 1"/>
  117. <Cell col="1" displaytype="combo" edittype="combo" text="bind:sick"/>
  118. <Cell col="2" text="bind:h_sick"/>
  119. <Cell col="3" text="bind:h_exchstndcd"/>
  120. <Cell col="4" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndcd"/>
  121. <Cell col="5" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndnm"/>
  122. <Cell col="6" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndunit"/>
  123. <Cell col="7" displaytype="text" edittype="text" style="align:center;" text="bind:calr"/>
  124. <Cell col="8" displaytype="text" edittype="text" style="align:center;" text="bind:prot"/>
  125. <Cell col="9" displaytype="text" edittype="text" style="align:center;" text="bind:sodium"/>
  126. <Cell col="10" displaytype="text" edittype="text" style="align:center;" text="bind:potas"/>
  127. <Cell col="11" displaytype="text" edittype="text" style="align:center;" text="bind:phos"/>
  128. <Cell col="12" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
  129. <Cell col="13" text="bind:lastupdtr"/>
  130. </Band>
  131. </Format>
  132. </Formats>
  133. </Grid>
  134. </Layout>
  135. </Layouts>
  136. </Tabpage>
  137. <Tabpage text="경장" id="case3">
  138. <Layouts>
  139. <Layout>
  140. <Grid position="absolute 0 3 1194 695" align="align:center middle;" id="grd_etrlfd" binddataset="ds_main_data_etrlfd">
  141. <Formats>
  142. <Format id="default">
  143. <Columns>
  144. <Column size="20" band="left"/>
  145. <Column size="0"/>
  146. <Column size="0"/>
  147. <Column size="0"/>
  148. <Column size="80"/>
  149. <Column size="205"/>
  150. <Column size="70"/>
  151. <Column size="70"/>
  152. <Column size="70"/>
  153. <Column size="70"/>
  154. <Column size="70"/>
  155. <Column size="70"/>
  156. <Column size="70"/>
  157. <Column size="70"/>
  158. <Column size="70"/>
  159. <Column size="70"/>
  160. <Column size="70"/>
  161. <Column size="70"/>
  162. <Column size="70"/>
  163. <Column size="70"/>
  164. <Column size="70"/>
  165. <Column size="70"/>
  166. <Column size="70"/>
  167. <Column size="70"/>
  168. <Column size="70"/>
  169. <Column size="70"/>
  170. <Column size="70"/>
  171. <Column size="70"/>
  172. <Column size="70"/>
  173. <Column size="70"/>
  174. <Column size="70"/>
  175. <Column size="70"/>
  176. <Column size="70"/>
  177. <Column size="70"/>
  178. <Column size="70"/>
  179. <Column size="70"/>
  180. <Column size="70"/>
  181. <Column size="70"/>
  182. <Column size="120"/>
  183. <Column size="70"/>
  184. </Columns>
  185. <Rows>
  186. <Row size="24" band="head"/>
  187. <Row size="24"/>
  188. </Rows>
  189. <Band id="head">
  190. <Cell/>
  191. <Cell col="1" text="sick"/>
  192. <Cell col="2" text="h_sick"/>
  193. <Cell col="3" text="h_코드"/>
  194. <Cell col="4" text="코드"/>
  195. <Cell col="5" text="구분"/>
  196. <Cell col="6" text="단위"/>
  197. <Cell col="7" text="열량(kcal)"/>
  198. <Cell col="8" text="단백질(g)"/>
  199. <Cell col="9" text="지질(g)"/>
  200. <Cell col="10" text="당질(g)"/>
  201. <Cell col="11" text="나트륨(mg)"/>
  202. <Cell col="12" text="칼륨(mg)"/>
  203. <Cell col="13" text="인(mg)"/>
  204. <Cell col="14" text="식이섬유"/>
  205. <Cell col="15" text="철(mg)"/>
  206. <Cell col="16" text="칼슘(mg)"/>
  207. <Cell col="17" text="회분"/>
  208. <Cell col="18" text="아연"/>
  209. <Cell col="19" text="비타민A"/>
  210. <Cell col="20" text="비타민B1"/>
  211. <Cell col="21" text="비타민B2"/>
  212. <Cell col="22" text="판토텐산"/>
  213. <Cell col="23" text="비타민B6"/>
  214. <Cell col="24" text="비타민B12"/>
  215. <Cell col="25" text="비타민C"/>
  216. <Cell col="26" text="비타민E"/>
  217. <Cell col="27" text="Biotin"/>
  218. <Cell col="28" text="비타민K"/>
  219. <Cell col="29" text="나이아신"/>
  220. <Cell col="30" text="엽산"/>
  221. <Cell col="31" text="콜레스테롤"/>
  222. <Cell col="32" text="삼투압"/>
  223. <Cell col="33" text="마그네슘"/>
  224. <Cell col="34" text="Felate"/>
  225. <Cell col="35" text="Chalime"/>
  226. <Cell col="36" text="망간"/>
  227. <Cell col="37" text="요오드"/>
  228. <Cell col="38" text="최종수정일시"/>
  229. <Cell col="39" text="최종수정자"/>
  230. </Band>
  231. <Band id="body">
  232. <Cell celltype="head" expr="expr:currow + 1"/>
  233. <Cell col="1" displaytype="combo" edittype="combo" text="bind:sick"/>
  234. <Cell col="2" text="bind:h_sick"/>
  235. <Cell col="3" text="bind:h_exchstndcd"/>
  236. <Cell col="4" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndcd"/>
  237. <Cell col="5" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndnm"/>
  238. <Cell col="6" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndunit"/>
  239. <Cell col="7" displaytype="text" edittype="text" style="align:center;" text="bind:calr"/>
  240. <Cell col="8" displaytype="text" edittype="text" style="align:center;" text="bind:prot"/>
  241. <Cell col="9" displaytype="text" edittype="text" style="align:center;" text="bind:lipo"/>
  242. <Cell col="10" displaytype="text" edittype="text" style="align:center;" text="bind:gluco"/>
  243. <Cell col="11" displaytype="text" edittype="text" style="align:center;" text="bind:sodium"/>
  244. <Cell col="12" displaytype="text" edittype="text" style="align:center;" text="bind:potas"/>
  245. <Cell col="13" displaytype="text" edittype="text" style="align:center;" text="bind:phos"/>
  246. <Cell col="14" displaytype="text" edittype="text" style="align:center;" text="bind:fiber"/>
  247. <Cell col="15" displaytype="text" edittype="text" style="align:center;" text="bind:iron"/>
  248. <Cell col="16" displaytype="text" edittype="text" style="align:center;" text="bind:calcium"/>
  249. <Cell col="17" displaytype="text" edittype="text" style="align:center;" text="bind:ash"/>
  250. <Cell col="18" displaytype="text" edittype="text" style="align:center;" text="bind:zinc"/>
  251. <Cell col="19" displaytype="text" edittype="text" style="align:center;" text="bind:vita"/>
  252. <Cell col="20" displaytype="text" edittype="text" style="align:center;" text="bind:vitb1"/>
  253. <Cell col="21" displaytype="text" edittype="text" style="align:center;" text="bind:vitb2"/>
  254. <Cell col="22" displaytype="text" edittype="text" style="align:center;" text="bind:vitb5"/>
  255. <Cell col="23" displaytype="text" edittype="text" style="align:center;" text="bind:vitb6"/>
  256. <Cell col="24" displaytype="text" edittype="text" style="align:center;" text="bind:vitb12"/>
  257. <Cell col="25" displaytype="text" edittype="text" style="align:center;" text="bind:vitc"/>
  258. <Cell col="26" displaytype="text" edittype="text" style="align:center;" text="bind:vite"/>
  259. <Cell col="27" displaytype="text" edittype="text" style="align:center;" text="bind:vith"/>
  260. <Cell col="28" displaytype="text" edittype="text" style="align:center;" text="bind:vitk"/>
  261. <Cell col="29" displaytype="text" edittype="text" style="align:center;" text="bind:nia"/>
  262. <Cell col="30" displaytype="text" edittype="text" style="align:center;" text="bind:folacd"/>
  263. <Cell col="31" displaytype="text" edittype="text" style="align:center;" text="bind:chol"/>
  264. <Cell col="32" displaytype="text" edittype="text" style="align:center;" text="bind:oncopres"/>
  265. <Cell col="33" displaytype="text" edittype="text" style="align:center;" text="bind:magne"/>
  266. <Cell col="34" displaytype="text" edittype="text" style="align:center;" text="bind:fela"/>
  267. <Cell col="35" displaytype="text" edittype="text" style="align:center;" text="bind:chal"/>
  268. <Cell col="36" displaytype="text" edittype="text" style="align:center;" text="bind:mang"/>
  269. <Cell col="37" displaytype="text" edittype="text" style="align:center;" text="bind:iodi"/>
  270. <Cell col="38" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
  271. <Cell col="39" text="bind:lastupdtr"/>
  272. </Band>
  273. </Format>
  274. </Formats>
  275. </Grid>
  276. </Layout>
  277. </Layouts>
  278. </Tabpage>
  279. <Tabpage text="정맥" id="case4">
  280. <Layouts>
  281. <Layout>
  282. <Grid position="absolute 0 3 1194 695" align="align:center middle;" id="grd_varices" binddataset="ds_main_data_varices">
  283. <Formats>
  284. <Format id="default">
  285. <Columns>
  286. <Column size="20" band="left"/>
  287. <Column size="0"/>
  288. <Column size="0"/>
  289. <Column size="0"/>
  290. <Column size="80"/>
  291. <Column size="205"/>
  292. <Column size="70"/>
  293. <Column size="70"/>
  294. <Column size="70"/>
  295. <Column size="70"/>
  296. <Column size="70"/>
  297. <Column size="70"/>
  298. <Column size="70"/>
  299. <Column size="70"/>
  300. <Column size="70"/>
  301. <Column size="70"/>
  302. <Column size="70"/>
  303. <Column size="70"/>
  304. <Column size="70"/>
  305. <Column size="70"/>
  306. <Column size="70"/>
  307. <Column size="70"/>
  308. <Column size="70"/>
  309. <Column size="70"/>
  310. <Column size="70"/>
  311. <Column size="70"/>
  312. <Column size="70"/>
  313. <Column size="70"/>
  314. <Column size="70"/>
  315. <Column size="70"/>
  316. <Column size="70"/>
  317. <Column size="70"/>
  318. <Column size="70"/>
  319. <Column size="70"/>
  320. <Column size="70"/>
  321. <Column size="70"/>
  322. <Column size="70"/>
  323. <Column size="70"/>
  324. <Column size="120"/>
  325. <Column size="80"/>
  326. </Columns>
  327. <Rows>
  328. <Row size="24" band="head"/>
  329. <Row size="24"/>
  330. </Rows>
  331. <Band id="head">
  332. <Cell/>
  333. <Cell col="1" text="sick"/>
  334. <Cell col="2" text="h_sick"/>
  335. <Cell col="3" text="h_코드"/>
  336. <Cell col="4" text="코드"/>
  337. <Cell col="5" text="구분"/>
  338. <Cell col="6" text="단위"/>
  339. <Cell col="7" text="열량(kcal)"/>
  340. <Cell col="8" text="단백질(g)"/>
  341. <Cell col="9" text="지질(g)"/>
  342. <Cell col="10" text="당질(g)"/>
  343. <Cell col="11" text="나트륨(mg)"/>
  344. <Cell col="12" text="칼륨(mg)"/>
  345. <Cell col="13" text="인(mg)"/>
  346. <Cell col="14" text="식이섬유"/>
  347. <Cell col="15" text="철(mg)"/>
  348. <Cell col="16" text="칼슘(mg)"/>
  349. <Cell col="17" text="회분"/>
  350. <Cell col="18" text="아연"/>
  351. <Cell col="19" text="비타민A"/>
  352. <Cell col="20" text="비타민B1"/>
  353. <Cell col="21" text="비타민B2"/>
  354. <Cell col="22" text="판토텐산"/>
  355. <Cell col="23" text="비타민B6"/>
  356. <Cell col="24" text="비타민B12"/>
  357. <Cell col="25" text="비타민C"/>
  358. <Cell col="26" text="비타민E"/>
  359. <Cell col="27" text="Biotin"/>
  360. <Cell col="28" text="비타민K"/>
  361. <Cell col="29" text="나이아신"/>
  362. <Cell col="30" text="엽산"/>
  363. <Cell col="31" text="콜레스테롤"/>
  364. <Cell col="32" text="삼투압"/>
  365. <Cell col="33" text="마그네슘"/>
  366. <Cell col="34" text="Felate"/>
  367. <Cell col="35" text="Chalime"/>
  368. <Cell col="36" text="망간"/>
  369. <Cell col="37" text="요오드"/>
  370. <Cell col="38" text="최종수정일시"/>
  371. <Cell col="39" text="최종수정자"/>
  372. </Band>
  373. <Band id="body">
  374. <Cell celltype="head" expr="expr:currow + 1"/>
  375. <Cell col="1" displaytype="combo" edittype="combo" text="bind:sick"/>
  376. <Cell col="2" text="bind:h_sick"/>
  377. <Cell col="3" text="bind:h_exchstndcd"/>
  378. <Cell col="4" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndcd"/>
  379. <Cell col="5" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndnm"/>
  380. <Cell col="6" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndunit"/>
  381. <Cell col="7" displaytype="text" edittype="text" style="align:center;" text="bind:calr"/>
  382. <Cell col="8" displaytype="text" edittype="text" style="align:center;" text="bind:prot"/>
  383. <Cell col="9" displaytype="text" edittype="text" style="align:center;" text="bind:lipo"/>
  384. <Cell col="10" displaytype="text" edittype="text" style="align:center;" text="bind:gluco"/>
  385. <Cell col="11" displaytype="text" edittype="text" style="align:center;" text="bind:sodium"/>
  386. <Cell col="12" displaytype="text" edittype="text" style="align:center;" text="bind:potas"/>
  387. <Cell col="13" displaytype="text" edittype="text" style="align:center;" text="bind:phos"/>
  388. <Cell col="14" displaytype="text" edittype="text" style="align:center;" text="bind:fiber"/>
  389. <Cell col="15" displaytype="text" edittype="text" style="align:center;" text="bind:iron"/>
  390. <Cell col="16" displaytype="text" edittype="text" style="align:center;" text="bind:calcium"/>
  391. <Cell col="17" displaytype="text" edittype="text" style="align:center;" text="bind:ash"/>
  392. <Cell col="18" displaytype="text" edittype="text" style="align:center;" text="bind:zinc"/>
  393. <Cell col="19" displaytype="text" edittype="text" style="align:center;" text="bind:vita"/>
  394. <Cell col="20" displaytype="text" edittype="text" style="align:center;" text="bind:vitb1"/>
  395. <Cell col="21" displaytype="text" edittype="text" style="align:center;" text="bind:vitb2"/>
  396. <Cell col="22" displaytype="text" edittype="text" style="align:center;" text="bind:vitb5"/>
  397. <Cell col="23" displaytype="text" edittype="text" style="align:center;" text="bind:vitb6"/>
  398. <Cell col="24" displaytype="text" edittype="text" style="align:center;" text="bind:vitb12"/>
  399. <Cell col="25" displaytype="text" edittype="text" style="align:center;" text="bind:vitc"/>
  400. <Cell col="26" displaytype="text" edittype="text" style="align:center;" text="bind:vite"/>
  401. <Cell col="27" displaytype="text" edittype="text" style="align:center;" text="bind:vith"/>
  402. <Cell col="28" displaytype="text" edittype="text" style="align:center;" text="bind:vitk"/>
  403. <Cell col="29" displaytype="text" edittype="text" style="align:center;" text="bind:nia"/>
  404. <Cell col="30" displaytype="text" edittype="text" style="align:center;" text="bind:folacd"/>
  405. <Cell col="31" displaytype="text" edittype="text" style="align:center;" text="bind:chol"/>
  406. <Cell col="32" displaytype="text" edittype="text" style="align:center;" text="bind:oncopres"/>
  407. <Cell col="33" displaytype="text" edittype="text" style="align:center;" text="bind:magne"/>
  408. <Cell col="34" displaytype="text" edittype="text" style="align:center;" text="bind:fela"/>
  409. <Cell col="35" displaytype="text" edittype="text" style="align:center;" text="bind:chal"/>
  410. <Cell col="36" displaytype="text" edittype="text" style="align:center;" text="bind:mang"/>
  411. <Cell col="37" displaytype="text" edittype="text" style="align:center;" text="bind:iodi"/>
  412. <Cell col="38" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
  413. <Cell col="39" text="bind:lastupdtr"/>
  414. </Band>
  415. </Format>
  416. </Formats>
  417. </Grid>
  418. </Layout>
  419. </Layouts>
  420. </Tabpage>
  421. <Tabpage text="보충" id="case5">
  422. <Layouts>
  423. <Layout>
  424. <Grid position="absolute 0 3 1194 695" align="align:center middle;" id="grd_supply" binddataset="ds_main_data_supply">
  425. <Formats>
  426. <Format id="default">
  427. <Columns>
  428. <Column size="20" band="left"/>
  429. <Column size="0"/>
  430. <Column size="0"/>
  431. <Column size="0"/>
  432. <Column size="80"/>
  433. <Column size="205"/>
  434. <Column size="70"/>
  435. <Column size="70"/>
  436. <Column size="70"/>
  437. <Column size="70"/>
  438. <Column size="70"/>
  439. <Column size="70"/>
  440. <Column size="70"/>
  441. <Column size="70"/>
  442. <Column size="70"/>
  443. <Column size="70"/>
  444. <Column size="70"/>
  445. <Column size="70"/>
  446. <Column size="70"/>
  447. <Column size="70"/>
  448. <Column size="70"/>
  449. <Column size="70"/>
  450. <Column size="70"/>
  451. <Column size="70"/>
  452. <Column size="70"/>
  453. <Column size="70"/>
  454. <Column size="70"/>
  455. <Column size="70"/>
  456. <Column size="70"/>
  457. <Column size="70"/>
  458. <Column size="70"/>
  459. <Column size="70"/>
  460. <Column size="70"/>
  461. <Column size="70"/>
  462. <Column size="70"/>
  463. <Column size="70"/>
  464. <Column size="70"/>
  465. <Column size="70"/>
  466. <Column size="120"/>
  467. <Column size="80"/>
  468. </Columns>
  469. <Rows>
  470. <Row size="24" band="head"/>
  471. <Row size="24"/>
  472. </Rows>
  473. <Band id="head">
  474. <Cell/>
  475. <Cell col="1" text="sick"/>
  476. <Cell col="2" text="h_sick"/>
  477. <Cell col="3" text="h_코드"/>
  478. <Cell col="4" text="코드"/>
  479. <Cell col="5" text="구분"/>
  480. <Cell col="6" text="단위"/>
  481. <Cell col="7" text="열량(kcal)"/>
  482. <Cell col="8" text="단백질(g)"/>
  483. <Cell col="9" text="지질(g)"/>
  484. <Cell col="10" text="당질(g)"/>
  485. <Cell col="11" text="나트륨(mg)"/>
  486. <Cell col="12" text="칼륨(mg)"/>
  487. <Cell col="13" text="인(mg)"/>
  488. <Cell col="14" text="식이섬유"/>
  489. <Cell col="15" text="철(mg)"/>
  490. <Cell col="16" text="칼슘(mg)"/>
  491. <Cell col="17" text="회분"/>
  492. <Cell col="18" text="아연"/>
  493. <Cell col="19" text="비타민A"/>
  494. <Cell col="20" text="비타민B1"/>
  495. <Cell col="21" text="비타민B2"/>
  496. <Cell col="22" text="판토텐산"/>
  497. <Cell col="23" text="비타민B6"/>
  498. <Cell col="24" text="비타민B12"/>
  499. <Cell col="25" text="비타민C"/>
  500. <Cell col="26" text="비타민E"/>
  501. <Cell col="27" text="Biotin"/>
  502. <Cell col="28" text="비타민K"/>
  503. <Cell col="29" text="나이아신"/>
  504. <Cell col="30" text="엽산"/>
  505. <Cell col="31" text="콜레스테롤"/>
  506. <Cell col="32" text="삼투압"/>
  507. <Cell col="33" text="마그네슘"/>
  508. <Cell col="34" text="Felate"/>
  509. <Cell col="35" text="Chalime"/>
  510. <Cell col="36" text="망간"/>
  511. <Cell col="37" text="요오드"/>
  512. <Cell col="38" text="최종수정일시"/>
  513. <Cell col="39" text="최종수정자"/>
  514. </Band>
  515. <Band id="body">
  516. <Cell celltype="head" expr="expr:currow + 1"/>
  517. <Cell col="1" displaytype="combo" edittype="combo" text="bind:sick"/>
  518. <Cell col="2" text="bind:h_sick"/>
  519. <Cell col="3" text="bind:h_exchstndcd"/>
  520. <Cell col="4" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndcd"/>
  521. <Cell col="5" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndnm"/>
  522. <Cell col="6" displaytype="text" edittype="text" style="align:center;" text="bind:exchstndunit"/>
  523. <Cell col="7" displaytype="text" edittype="text" style="align:center;" text="bind:calr"/>
  524. <Cell col="8" displaytype="text" edittype="text" style="align:center;" text="bind:prot"/>
  525. <Cell col="9" displaytype="text" edittype="text" style="align:center;" text="bind:lipo"/>
  526. <Cell col="10" displaytype="text" edittype="text" style="align:center;" text="bind:gluco"/>
  527. <Cell col="11" displaytype="text" edittype="text" style="align:center;" text="bind:sodium"/>
  528. <Cell col="12" displaytype="text" edittype="text" style="align:center;" text="bind:potas"/>
  529. <Cell col="13" displaytype="text" edittype="text" style="align:center;" text="bind:phos"/>
  530. <Cell col="14" displaytype="text" edittype="text" style="align:center;" text="bind:fiber"/>
  531. <Cell col="15" displaytype="text" edittype="text" style="align:center;" text="bind:iron"/>
  532. <Cell col="16" displaytype="text" edittype="text" style="align:center;" text="bind:calcium"/>
  533. <Cell col="17" displaytype="text" edittype="text" style="align:center;" text="bind:ash"/>
  534. <Cell col="18" displaytype="text" edittype="text" style="align:center;" text="bind:zinc"/>
  535. <Cell col="19" displaytype="text" edittype="text" style="align:center;" text="bind:vita"/>
  536. <Cell col="20" displaytype="text" edittype="text" style="align:center;" text="bind:vitb1"/>
  537. <Cell col="21" displaytype="text" edittype="text" style="align:center;" text="bind:vitb2"/>
  538. <Cell col="22" displaytype="text" edittype="text" style="align:center;" text="bind:vitb5"/>
  539. <Cell col="23" displaytype="text" edittype="text" style="align:center;" text="bind:vitb6"/>
  540. <Cell col="24" displaytype="text" edittype="text" style="align:center;" text="bind:vitb12"/>
  541. <Cell col="25" displaytype="text" edittype="text" style="align:center;" text="bind:vitc"/>
  542. <Cell col="26" displaytype="text" edittype="text" style="align:center;" text="bind:vite"/>
  543. <Cell col="27" displaytype="text" edittype="text" style="align:center;" text="bind:vith"/>
  544. <Cell col="28" displaytype="text" edittype="text" style="align:center;" text="bind:vitk"/>
  545. <Cell col="29" displaytype="text" edittype="text" style="align:center;" text="bind:nia"/>
  546. <Cell col="30" displaytype="text" edittype="text" style="align:center;" text="bind:folacd"/>
  547. <Cell col="31" displaytype="text" edittype="text" style="align:center;" text="bind:chol"/>
  548. <Cell col="32" displaytype="text" edittype="text" style="align:center;" text="bind:oncopres"/>
  549. <Cell col="33" displaytype="text" edittype="text" style="align:center;" text="bind:magne"/>
  550. <Cell col="34" displaytype="text" edittype="text" style="align:center;" text="bind:fela"/>
  551. <Cell col="35" displaytype="text" edittype="text" style="align:center;" text="bind:chal"/>
  552. <Cell col="36" displaytype="text" edittype="text" style="align:center;" text="bind:mang"/>
  553. <Cell col="37" displaytype="text" edittype="text" style="align:center;" text="bind:iodi"/>
  554. <Cell col="38" text="bind:lastupdtdt" mask="expr:utlf_isNull(lastupdtdt) ? '' : '####-##-## ##:##:##'"/>
  555. <Cell col="39" text="bind:lastupdtr"/>
  556. </Band>
  557. </Format>
  558. </Formats>
  559. </Grid>
  560. </Layout>
  561. </Layouts>
  562. </Tabpage>
  563. </Tabpages>
  564. </Tab>
  565. <Button position="absolute 1122 2 1178 24" id="btn_search" class="btn1" text="조회" onclick="group2_btn_search_onclick"/>
  566. <Shape position="absolute 1103 2 1109 24" linetype="vertical" id="line13"/>
  567. <Button position="absolute 1048 4 1098 23" id="btn_excel" class="btn7" text="엑셀" onclick="group2_btn_excel_onclick"/>
  568. <Button position="absolute 936 4 989 23" id="btn_rowadd" class="btn2" text="행추가" onclick="group2_btn_rowadd_onclick"/>
  569. <Button position="absolute 992 4 1045 23" id="btn_rowdel" class="btn2" text="행삭제" onclick="group2_btn_rowdel_onclick"/>
  570. </Layout>
  571. </Layouts>
  572. </Div>
  573. <Div position="absolute 0 757 1195 784" id="group3" scrollbars="autoboth">
  574. <Layouts>
  575. <Layout>
  576. <Button position="absolute 1066 5 1134 27" id="btn_reset" class="btn4" text="초기화" onclick="group3_btn_reset_onclick"/>
  577. <Button position="absolute 1138 4 1194 26" id="btn_save" class="btn4" text="저장" onclick="group3_btn_save_onclick"/>
  578. </Layout>
  579. </Layouts>
  580. </Div>
  581. <Static id="caption6" text="교환기준관리" class="tit_1" position="absolute 0 0 114 24"/>
  582. </Layout>
  583. </Layouts>
  584. <Objects>
  585. <Dataset id="ds_send_searchitem" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  586. <ColumnInfo>
  587. <Column id="sickcd" type="STRING" size="256"/>
  588. </ColumnInfo>
  589. <Rows>
  590. <Row/>
  591. </Rows>
  592. </Dataset>
  593. <Dataset id="ds_main_data_glycosuria" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  594. <ColumnInfo>
  595. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분"/>
  596. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분(hidden)"/>
  597. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드"/>
  598. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드(hidden)"/>
  599. <Column id="exchstndnm" type="STRING" size="256" sumtext="교환기준명"/>
  600. <Column id="exchstndunit" type="STRING" size="256" sumtext="교환기준단위"/>
  601. <Column id="calr" type="STRING" size="256" sumtext="열량"/>
  602. <Column id="prot" type="STRING" size="256" sumtext="단백질"/>
  603. <Column id="lipo" type="STRING" size="256" sumtext="지질"/>
  604. <Column id="gluco" type="STRING" size="256" sumtext="당질"/>
  605. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  606. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  607. </ColumnInfo>
  608. </Dataset>
  609. <Dataset id="ds_main_data_kidney" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  610. <ColumnInfo>
  611. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분"/>
  612. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분(hidden)"/>
  613. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드"/>
  614. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드(hidden)"/>
  615. <Column id="exchstndnm" type="STRING" size="256" sumtext="교환기준명"/>
  616. <Column id="exchstndunit" type="STRING" size="256" sumtext="교환기준단위"/>
  617. <Column id="calr" type="STRING" size="256" sumtext="열량"/>
  618. <Column id="prot" type="STRING" size="256" sumtext="단백질"/>
  619. <Column id="phos" type="STRING" size="256" sumtext="인"/>
  620. <Column id="sodium" type="STRING" size="256" sumtext="나트륨"/>
  621. <Column id="potas" type="STRING" size="256" sumtext="칼륨"/>
  622. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  623. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  624. </ColumnInfo>
  625. </Dataset>
  626. <Dataset id="ds_main_data_etrlfd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  627. <ColumnInfo>
  628. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분"/>
  629. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분(hidden)"/>
  630. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드"/>
  631. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드(hidden)"/>
  632. <Column id="exchstndnm" type="STRING" size="256" sumtext="교환기준명"/>
  633. <Column id="exchstndunit" type="STRING" size="256" sumtext="교환기준단위"/>
  634. <Column id="calr" type="STRING" size="256" sumtext="열량"/>
  635. <Column id="prot" type="STRING" size="256" sumtext="단백질"/>
  636. <Column id="lipo" type="STRING" size="256" sumtext="지질"/>
  637. <Column id="gluco" type="STRING" size="256" sumtext="당질"/>
  638. <Column id="sodium" type="STRING" size="256" sumtext="나트륨"/>
  639. <Column id="potas" type="STRING" size="256" sumtext="칼륨"/>
  640. <Column id="phos" type="STRING" size="256" sumtext="인"/>
  641. <Column id="fiber" type="STRING" size="256" sumtext="식이섬유"/>
  642. <Column id="iron" type="STRING" size="256" sumtext="철"/>
  643. <Column id="calcium" type="STRING" size="256" sumtext="칼슘"/>
  644. <Column id="ash" type="STRING" size="256" sumtext="회분"/>
  645. <Column id="zinc" type="STRING" size="256" sumtext="아연"/>
  646. <Column id="vita" type="STRING" size="256" sumtext="비타민A"/>
  647. <Column id="vitb1" type="STRING" size="256" sumtext="비타민B1"/>
  648. <Column id="vitb2" type="STRING" size="256" sumtext="비타민B2"/>
  649. <Column id="vitb5" type="STRING" size="256" sumtext="판토텐산"/>
  650. <Column id="vitb6" type="STRING" size="256" sumtext="비타민B6"/>
  651. <Column id="vitb12" type="STRING" size="256" sumtext="비타민B12"/>
  652. <Column id="vitc" type="STRING" size="256" sumtext="비타민C"/>
  653. <Column id="vite" type="STRING" size="256" sumtext="비타민E"/>
  654. <Column id="vith" type="STRING" size="256" sumtext="Biotin"/>
  655. <Column id="vitk" type="STRING" size="256" sumtext="비타민K"/>
  656. <Column id="nia" type="STRING" size="256" sumtext="나이아신"/>
  657. <Column id="folacd" type="STRING" size="256" sumtext="엽산"/>
  658. <Column id="chol" type="STRING" size="256" sumtext="콜레스테롤"/>
  659. <Column id="oncopres" type="STRING" size="256" sumtext="삼투압"/>
  660. <Column id="magne" type="STRING" size="256" sumtext="마그네슘"/>
  661. <Column id="fela" type="STRING" size="256" sumtext="Felate"/>
  662. <Column id="chal" type="STRING" size="256" sumtext="Chalime"/>
  663. <Column id="mang" type="STRING" size="256" sumtext="망간"/>
  664. <Column id="iodi" type="STRING" size="256" sumtext="요오드"/>
  665. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  666. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  667. </ColumnInfo>
  668. </Dataset>
  669. <Dataset id="ds_main_data_varices" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  670. <ColumnInfo>
  671. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분"/>
  672. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분(hidden)"/>
  673. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드"/>
  674. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드(hidden)"/>
  675. <Column id="exchstndnm" type="STRING" size="256" sumtext="교환기준명"/>
  676. <Column id="exchstndunit" type="STRING" size="256" sumtext="교환기준단위"/>
  677. <Column id="calr" type="STRING" size="256" sumtext="열량"/>
  678. <Column id="prot" type="STRING" size="256" sumtext="단백질"/>
  679. <Column id="lipo" type="STRING" size="256" sumtext="지질"/>
  680. <Column id="gluco" type="STRING" size="256" sumtext="당질"/>
  681. <Column id="sodium" type="STRING" size="256" sumtext="나트륨"/>
  682. <Column id="potas" type="STRING" size="256" sumtext="칼륨"/>
  683. <Column id="phos" type="STRING" size="256" sumtext="인"/>
  684. <Column id="fiber" type="STRING" size="256" sumtext="식이섬유"/>
  685. <Column id="iron" type="STRING" size="256" sumtext="철"/>
  686. <Column id="calcium" type="STRING" size="256" sumtext="칼슘"/>
  687. <Column id="ash" type="STRING" size="256" sumtext="회분"/>
  688. <Column id="zinc" type="STRING" size="256" sumtext="아연"/>
  689. <Column id="vita" type="STRING" size="256" sumtext="비타민A"/>
  690. <Column id="vitb1" type="STRING" size="256" sumtext="비타민B1"/>
  691. <Column id="vitb2" type="STRING" size="256" sumtext="비타민B2"/>
  692. <Column id="vitb5" type="STRING" size="256" sumtext="판토텐산"/>
  693. <Column id="vitb6" type="STRING" size="256" sumtext="비타민B6"/>
  694. <Column id="vitb12" type="STRING" size="256" sumtext="비타민B12"/>
  695. <Column id="vitc" type="STRING" size="256" sumtext="비타민C"/>
  696. <Column id="vite" type="STRING" size="256" sumtext="비타민E"/>
  697. <Column id="vith" type="STRING" size="256" sumtext="Biotin"/>
  698. <Column id="vitk" type="STRING" size="256" sumtext="비타민K"/>
  699. <Column id="nia" type="STRING" size="256" sumtext="나이아신"/>
  700. <Column id="folacd" type="STRING" size="256" sumtext="엽산"/>
  701. <Column id="chol" type="STRING" size="256" sumtext="콜레스테롤"/>
  702. <Column id="oncopres" type="STRING" size="256" sumtext="삼투압"/>
  703. <Column id="magne" type="STRING" size="256" sumtext="마그네슘"/>
  704. <Column id="fela" type="STRING" size="256" sumtext="Felate"/>
  705. <Column id="chal" type="STRING" size="256" sumtext="Chalime"/>
  706. <Column id="mang" type="STRING" size="256" sumtext="망간"/>
  707. <Column id="iodi" type="STRING" size="256" sumtext="요오드"/>
  708. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  709. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  710. </ColumnInfo>
  711. </Dataset>
  712. <Dataset id="ds_main_data_supply" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  713. <ColumnInfo>
  714. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분"/>
  715. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분(hidden)"/>
  716. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드"/>
  717. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드(hidden)"/>
  718. <Column id="exchstndnm" type="STRING" size="256" sumtext="교환기준명"/>
  719. <Column id="exchstndunit" type="STRING" size="256" sumtext="교환기준단위"/>
  720. <Column id="calr" type="STRING" size="256" sumtext="열량"/>
  721. <Column id="prot" type="STRING" size="256" sumtext="단백질"/>
  722. <Column id="lipo" type="STRING" size="256" sumtext="지질"/>
  723. <Column id="gluco" type="STRING" size="256" sumtext="당질"/>
  724. <Column id="sodium" type="STRING" size="256" sumtext="나트륨"/>
  725. <Column id="potas" type="STRING" size="256" sumtext="칼륨"/>
  726. <Column id="phos" type="STRING" size="256" sumtext="인"/>
  727. <Column id="fiber" type="STRING" size="256" sumtext="식이섬유"/>
  728. <Column id="iron" type="STRING" size="256" sumtext="철"/>
  729. <Column id="calcium" type="STRING" size="256" sumtext="칼슘"/>
  730. <Column id="ash" type="STRING" size="256" sumtext="회분"/>
  731. <Column id="zinc" type="STRING" size="256" sumtext="아연"/>
  732. <Column id="vita" type="STRING" size="256" sumtext="비타민A"/>
  733. <Column id="vitb1" type="STRING" size="256" sumtext="비타민B1"/>
  734. <Column id="vitb2" type="STRING" size="256" sumtext="비타민B2"/>
  735. <Column id="vitb5" type="STRING" size="256" sumtext="판토텐산"/>
  736. <Column id="vitb6" type="STRING" size="256" sumtext="비타민B6"/>
  737. <Column id="vitb12" type="STRING" size="256" sumtext="비타민B12"/>
  738. <Column id="vitc" type="STRING" size="256" sumtext="비타민C"/>
  739. <Column id="vite" type="STRING" size="256" sumtext="비타민E"/>
  740. <Column id="vith" type="STRING" size="256" sumtext="Biotin"/>
  741. <Column id="vitk" type="STRING" size="256" sumtext="비타민K"/>
  742. <Column id="nia" type="STRING" size="256" sumtext="나이아신"/>
  743. <Column id="folacd" type="STRING" size="256" sumtext="엽산"/>
  744. <Column id="chol" type="STRING" size="256" sumtext="콜레스테롤"/>
  745. <Column id="oncopres" type="STRING" size="256" sumtext="삼투압"/>
  746. <Column id="magne" type="STRING" size="256" sumtext="마그네슘"/>
  747. <Column id="fela" type="STRING" size="256" sumtext="Felate"/>
  748. <Column id="chal" type="STRING" size="256" sumtext="Chalime"/>
  749. <Column id="mang" type="STRING" size="256" sumtext="망간"/>
  750. <Column id="iodi" type="STRING" size="256" sumtext="요오드"/>
  751. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종수정일시"/>
  752. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종수정자"/>
  753. </ColumnInfo>
  754. </Dataset>
  755. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  756. <ColumnInfo>
  757. <Column id="m" type="STRING" size="256" sumtext="실행구분"/>
  758. <Column id="sickcd" type="STRING" size="256" sumtext="질환구분"/>
  759. <Column id="h_sickcd" type="STRING" size="256" sumtext="질환구분(hidden)"/>
  760. <Column id="exchstndcd" type="STRING" size="256" sumtext="교환기준코드"/>
  761. <Column id="h_exchstndcd" type="STRING" size="256" sumtext="교환기준코드(hidden)"/>
  762. <Column id="exchstndnm" type="STRING" size="256" sumtext="교환기준명"/>
  763. <Column id="exchstndunit" type="STRING" size="256" sumtext="교환기준단위"/>
  764. <Column id="calr" type="BIGDECIMAL" size="256" sumtext="열량"/>
  765. <Column id="prot" type="BIGDECIMAL" size="256" sumtext="단백질"/>
  766. <Column id="lipo" type="BIGDECIMAL" size="256" sumtext="지질"/>
  767. <Column id="gluco" type="BIGDECIMAL" size="256" sumtext="당질"/>
  768. <Column id="sodium" type="BIGDECIMAL" size="256" sumtext="나트륨"/>
  769. <Column id="potas" type="BIGDECIMAL" size="256" sumtext="칼륨"/>
  770. <Column id="phos" type="BIGDECIMAL" size="256" sumtext="인"/>
  771. <Column id="fiber" type="BIGDECIMAL" size="256" sumtext="식이섬유"/>
  772. <Column id="iron" type="BIGDECIMAL" size="256" sumtext="철"/>
  773. <Column id="calcium" type="BIGDECIMAL" size="256" sumtext="칼슘"/>
  774. <Column id="ash" type="BIGDECIMAL" size="256" sumtext="회분"/>
  775. <Column id="zinc" type="BIGDECIMAL" size="256" sumtext="아연"/>
  776. <Column id="vita" type="BIGDECIMAL" size="256" sumtext="비타민A"/>
  777. <Column id="vitb1" type="BIGDECIMAL" size="256" sumtext="비타민B1"/>
  778. <Column id="vitb2" type="BIGDECIMAL" size="256" sumtext="비타민B2"/>
  779. <Column id="vitb5" type="BIGDECIMAL" size="256" sumtext="판토텐산"/>
  780. <Column id="vitb6" type="BIGDECIMAL" size="256" sumtext="비타민B6"/>
  781. <Column id="vitb12" type="BIGDECIMAL" size="256" sumtext="비타민B12"/>
  782. <Column id="vitc" type="BIGDECIMAL" size="256" sumtext="비타민C"/>
  783. <Column id="vite" type="BIGDECIMAL" size="256" sumtext="비타민E"/>
  784. <Column id="vith" type="BIGDECIMAL" size="256" sumtext="Biotin"/>
  785. <Column id="vitk" type="BIGDECIMAL" size="256" sumtext="비타민K"/>
  786. <Column id="nia" type="BIGDECIMAL" size="256" sumtext="나이아신"/>
  787. <Column id="folacd" type="BIGDECIMAL" size="256" sumtext="엽산"/>
  788. <Column id="chol" type="BIGDECIMAL" size="256" sumtext="콜레스테롤"/>
  789. <Column id="oncopres" type="BIGDECIMAL" size="256" sumtext="삼투압"/>
  790. <Column id="magne" type="BIGDECIMAL" size="256" sumtext="마그네슘"/>
  791. <Column id="fela" type="BIGDECIMAL" size="256" sumtext="Felate"/>
  792. <Column id="chal" type="BIGDECIMAL" size="256" sumtext="Chalime"/>
  793. <Column id="mang" type="BIGDECIMAL" size="256" sumtext="망간"/>
  794. <Column id="iodi" type="BIGDECIMAL" size="256" sumtext="요오드"/>
  795. </ColumnInfo>
  796. </Dataset>
  797. <Dataset id="ds_hidden_ret" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  798. <ColumnInfo>
  799. <Column id="count" type="STRING" size="256" sumtext="실행건수"/>
  800. </ColumnInfo>
  801. </Dataset>
  802. </Objects>
  803. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  804. * System Name : 경대 의료정보시스템
  805. * Job Name : ast_dietxp -> SMANB00500
  806. * Creator : yjh
  807. * Make Date : 2017-10-19
  808. * Description :
  809. *---------------------------------------------------------------------------------------
  810. * Modify Date Modifier Modify Description
  811. *---------------------------------------------------------------------------------------
  812. * 2017-10-19 yjh TF->XP
  813. *
  814. *---------------------------------------------------------------------------------------
  815. ****************************************************************************************/
  816. //=======================================================================================
  817. // Lib Include
  818. //---------------------------------------------------------------------------------------
  819. include "com_commonxp::comm_main.xjs";
  820. //=======================================================================================
  821. // Global Form Variable
  822. //---------------------------------------------------------------------------------------
  823. var arErrorCode = new HashArray();
  824. //=======================================================================================
  825. // Function
  826. //---------------------------------------------------------------------------------------
  827. function finit() {
  828. // 화면open시 공통코드 setting
  829. var arrParam = [{dsNm: "ds_init_basecode_sick_A0056", cdGrpId: "A0056"}]
  830. appf_getCodeList(arrParam);
  831. // model.resetInstanceNode("/root/main/data");
  832. ds_send_searchitem.clearData();
  833. ds_send_searchitem.addRow();
  834. ds_main_data_glycosuria.clearData();
  835. ds_main_data_kidney.clearData();
  836. ds_main_data_etrlfd.clearData();
  837. ds_main_data_varices.clearData();
  838. ds_main_data_supply.clearData();
  839. }
  840. //=======================================================================================
  841. // Event
  842. //---------------------------------------------------------------------------------------
  843. /****************************************************************************************
  844. * Components : Form
  845. * Components ID : SMANB00500
  846. * Event : oninit
  847. * Argument : 01.obj : Object Event has occurred
  848. * : 02.e : Event Object
  849. * Description : 화면 처음 초기화시
  850. ****************************************************************************************/
  851. function SMANB00500_oninit(obj:Form, e:InitEventInfo)
  852. {
  853. frmf_initForm(obj); //폼 초기화
  854. }
  855. /****************************************************************************************
  856. * Components : Form
  857. * Components ID : SMANB00500
  858. * Event : onload
  859. * Argument : 01.obj : Object Event has occurred
  860. * : 02.e : Event Object
  861. * Description : 화면 로딩 완료시
  862. ****************************************************************************************/
  863. function SMANB00500_onload(obj:Form, e:LoadEventInfo)
  864. {
  865. finit();
  866. group2.btn_search.enable = frmf_checkAuth("R");
  867. group3.btn_save.enable = frmf_checkAuth("X");
  868. group2.btn_excel.enable = frmf_checkAuth("P");
  869. ds_send_searchitem.setColumn(0, "sickcd", "1");
  870. fn_searchGrid();
  871. }
  872. function fn_searchGrid(){
  873. ds_main_data_glycosuria.clearData();
  874. ds_main_data_kidney.clearData();
  875. ds_main_data_etrlfd.clearData();
  876. ds_main_data_varices.clearData();
  877. ds_main_data_supply.clearData();
  878. ds_main_data_glycosuria.filter("");
  879. ds_main_data_kidney.filter("");
  880. ds_main_data_etrlfd.filter("");
  881. ds_main_data_varices.filter("");
  882. ds_main_data_supply.filter("");
  883. var oParam = {};
  884. oParam.id = "TRANB00501";
  885. oParam.service = "dietbaseapp.ClinicNutr";
  886. oParam.method = "reqGetExchBase";
  887. oParam.inds = "req=ds_send_searchitem";
  888. oParam.outds = "ds_main_data_glycosuria=glycosuria ds_main_data_kidney=kidney ds_main_data_etrlfd=etrlfd ds_main_data_varices=varices ds_main_data_supply=supply";
  889. oParam.async = false;
  890. //oParam.callback = "cf_TRANB00501";
  891. tranf_submit(oParam);
  892. if( utlf_isNull(ds_main_data_glycosuria.getColumnInfo("sickcd")) ){
  893. ds_main_data_glycosuria.addColumn("sickcd", "string");
  894. }
  895. if( utlf_isNull(ds_main_data_glycosuria.getColumnInfo("lastupdtrid")) ){
  896. ds_main_data_glycosuria.addColumn("lastupdtrid", "string");
  897. }
  898. ds_main_data_glycosuria.updateColID("sickcd", "sick");
  899. ds_main_data_glycosuria.updateColID("lastupdtrid", "lastupdtr");
  900. ds_main_data_glycosuria.addColumn("h_sick", "string");
  901. ds_main_data_glycosuria.addColumn("h_exchstndcd", "string");
  902. ds_main_data_glycosuria.enableevent = false;
  903. ds_main_data_glycosuria.updatecontrol = false;
  904. for( var i=0 ; i<ds_main_data_glycosuria.rowcount ; i++ ){
  905. ds_main_data_glycosuria.setColumn(i, "h_sick", ds_main_data_glycosuria.getColumn(i, "sick"));
  906. ds_main_data_glycosuria.setColumn(i, "h_exchstndcd", ds_main_data_glycosuria.getColumn(i, "exchstndcd"));
  907. }
  908. ds_main_data_glycosuria.updatecontrol = true;
  909. ds_main_data_glycosuria.enableevent = true;
  910. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  911. if( utlf_isNull(ds_main_data_kidney.getColumnInfo("sickcd")) ){
  912. ds_main_data_kidney.addColumn("sickcd", "string");
  913. }
  914. if( utlf_isNull(ds_main_data_kidney.getColumnInfo("lastupdtrid")) ){
  915. ds_main_data_kidney.addColumn("lastupdtrid", "string");
  916. }
  917. ds_main_data_kidney.updateColID("sickcd", "sick");
  918. ds_main_data_kidney.updateColID("lastupdtrid", "lastupdtr");
  919. ds_main_data_kidney.addColumn("h_sick", "string");
  920. ds_main_data_kidney.addColumn("h_exchstndcd", "string");
  921. ds_main_data_kidney.enableevent = false;
  922. ds_main_data_kidney.updatecontrol = false;
  923. for( var i=0 ; i<ds_main_data_kidney.rowcount ; i++ ){
  924. ds_main_data_kidney.setColumn(i, "h_sick", ds_main_data_kidney.getColumn(i, "sick"));
  925. ds_main_data_kidney.setColumn(i, "h_exchstndcd", ds_main_data_kidney.getColumn(i, "exchstndcd"));
  926. }
  927. ds_main_data_kidney.updatecontrol = true;
  928. ds_main_data_kidney.enableevent = true;
  929. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  930. if( utlf_isNull(ds_main_data_etrlfd.getColumnInfo("sickcd")) ){
  931. ds_main_data_etrlfd.addColumn("sickcd", "string");
  932. }
  933. if( utlf_isNull(ds_main_data_etrlfd.getColumnInfo("lastupdtrid")) ){
  934. ds_main_data_etrlfd.addColumn("lastupdtrid", "string");
  935. }
  936. ds_main_data_etrlfd.updateColID("sickcd", "sick");
  937. ds_main_data_etrlfd.updateColID("lastupdtrid", "lastupdtr");
  938. ds_main_data_etrlfd.addColumn("h_sick", "string");
  939. ds_main_data_etrlfd.addColumn("h_exchstndcd", "string");
  940. ds_main_data_etrlfd.enableevent = false;
  941. ds_main_data_etrlfd.updatecontrol = false;
  942. for( var i=0 ; i<ds_main_data_etrlfd.rowcount ; i++ ){
  943. ds_main_data_etrlfd.setColumn(i, "h_sick", ds_main_data_etrlfd.getColumn(i, "sick"));
  944. ds_main_data_etrlfd.setColumn(i, "h_exchstndcd", ds_main_data_etrlfd.getColumn(i, "exchstndcd"));
  945. }
  946. ds_main_data_etrlfd.updatecontrol = true;
  947. ds_main_data_etrlfd.enableevent = true;
  948. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  949. if( utlf_isNull(ds_main_data_varices.getColumnInfo("sickcd")) ){
  950. ds_main_data_varices.addColumn("sickcd", "string");
  951. }
  952. if( utlf_isNull(ds_main_data_varices.getColumnInfo("lastupdtrid")) ){
  953. ds_main_data_varices.addColumn("lastupdtrid", "string");
  954. }
  955. ds_main_data_varices.updateColID("sickcd", "sick");
  956. ds_main_data_varices.updateColID("lastupdtrid", "lastupdtr");
  957. ds_main_data_varices.addColumn("h_sick", "string");
  958. ds_main_data_varices.addColumn("h_exchstndcd", "string");
  959. ds_main_data_varices.enableevent = false;
  960. ds_main_data_varices.updatecontrol = false;
  961. for( var i=0 ; i<ds_main_data_varices.rowcount ; i++ ){
  962. ds_main_data_varices.setColumn(i, "h_sick", ds_main_data_varices.getColumn(i, "sick"));
  963. ds_main_data_varices.setColumn(i, "h_exchstndcd", ds_main_data_varices.getColumn(i, "exchstndcd"));
  964. }
  965. ds_main_data_varices.updatecontrol = true;
  966. ds_main_data_varices.enableevent = true;
  967. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
  968. if( utlf_isNull(ds_main_data_supply.getColumnInfo("sickcd")) ){
  969. ds_main_data_supply.addColumn("sickcd", "string");
  970. }
  971. if( utlf_isNull(ds_main_data_supply.getColumnInfo("lastupdtrid")) ){
  972. ds_main_data_supply.addColumn("lastupdtrid", "string");
  973. }
  974. ds_main_data_supply.updateColID("sickcd", "sick");
  975. ds_main_data_supply.updateColID("lastupdtrid", "lastupdtr");
  976. ds_main_data_supply.addColumn("h_sick", "string");
  977. ds_main_data_supply.addColumn("h_exchstndcd", "string");
  978. ds_main_data_supply.enableevent = false;
  979. ds_main_data_supply.updatecontrol = false;
  980. for( var i=0 ; i<ds_main_data_supply.rowcount ; i++ ){
  981. ds_main_data_supply.setColumn(i, "h_sick", ds_main_data_supply.getColumn(i, "sick"));
  982. ds_main_data_supply.setColumn(i, "h_exchstndcd", ds_main_data_supply.getColumn(i, "exchstndcd"));
  983. }
  984. ds_main_data_supply.updatecontrol = true;
  985. ds_main_data_supply.enableevent = true;
  986. }
  987. /****************************************************************************************
  988. * Components : Tab
  989. * Components ID : switch1
  990. * Event : onchanged
  991. * Argument : 01.obj : Object Event has occurred
  992. * : 02.e : Event Object
  993. * Description : 탭 변경시
  994. ****************************************************************************************/
  995. function group2_switch1_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  996. {
  997. switch( e.postindex ){
  998. case 0 :
  999. ds_send_searchitem.setColumn(0, "sickcd", "1");
  1000. fn_searchGrid();
  1001. break;
  1002. case 1 :
  1003. ds_send_searchitem.setColumn(0, "sickcd", "2");
  1004. fn_searchGrid();
  1005. break;
  1006. case 2 :
  1007. ds_send_searchitem.setColumn(0, "sickcd", "3");
  1008. fn_searchGrid();
  1009. break;
  1010. case 3 :
  1011. ds_send_searchitem.setColumn(0, "sickcd", "4");
  1012. fn_searchGrid();
  1013. break;
  1014. case 4 :
  1015. ds_send_searchitem.setColumn(0, "sickcd", "5");
  1016. fn_searchGrid();
  1017. break;
  1018. default :
  1019. break;
  1020. }
  1021. }
  1022. /****************************************************************************************
  1023. * Components : Button
  1024. * Components ID : btn_search
  1025. * Event : onclick
  1026. * Argument : 01.obj : Object Event has occurred
  1027. * : 02.e : Event Object
  1028. * Description : 조회버튼 클릭시
  1029. ****************************************************************************************/
  1030. function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1031. {
  1032. if (group2.switch1.tabindex == 0) { //당뇨 탭화면일때
  1033. ds_send_searchitem.setColumn(0, "sickcd", "1");
  1034. }
  1035. else if (group2.switch1.tabindex == 1) { //신장 탭화면일때
  1036. ds_send_searchitem.setColumn(0, "sickcd", "2");
  1037. }
  1038. else if (group2.switch1.tabindex == 2) { //경장 탭화면일때
  1039. ds_send_searchitem.setColumn(0, "sickcd", "3");
  1040. }
  1041. else if (group2.switch1.tabindex == 3) { //정맥 탭화면일때
  1042. ds_send_searchitem.setColumn(0, "sickcd", "4");
  1043. }
  1044. else if (group2.switch1.tabindex == 4) { //보충 탭화면일때
  1045. ds_send_searchitem.setColumn(0, "sickcd", "5");
  1046. }
  1047. fn_searchGrid();
  1048. }
  1049. /****************************************************************************************
  1050. * Components : Button
  1051. * Components ID : btn_excel
  1052. * Event : onclick
  1053. * Argument : 01.obj : Object Event has occurred
  1054. * : 02.e : Event Object
  1055. * Description : 엑셀버튼 클릭시
  1056. ****************************************************************************************/
  1057. function group2_btn_excel_onclick(obj:Button, e:ClickEventInfo)
  1058. {
  1059. //if( group2.switch1.case1.grd_glycosuria.rowcount > 0 ){
  1060. grdf_exportExcel(group2.switch1.case1.grd_glycosuria, "ExchBase_list", "grd_glycosuria", false, "", "user", false);
  1061. // } else {
  1062. // sysf_messageBox("조회된 데이터가 ", "I004");
  1063. // return;
  1064. // }
  1065. }
  1066. /****************************************************************************************
  1067. * Components : Button
  1068. * Components ID : btn_rowadd
  1069. * Event : onclick
  1070. * Argument : 01.obj : Object Event has occurred
  1071. * : 02.e : Event Object
  1072. * Description : 행추가버튼 클릭시
  1073. ****************************************************************************************/
  1074. function group2_btn_rowadd_onclick(obj:Button, e:ClickEventInfo)
  1075. {
  1076. if (group2.switch1.tabindex == 0) { //당뇨 탭화면일때
  1077. ds_main_data_glycosuria.addRow();
  1078. ds_main_data_glycosuria.setColumn(ds_main_data_glycosuria.rowposition, "sick", '1');
  1079. }
  1080. else if (group2.switch1.tabindex == 1) { //신장 탭화면일때
  1081. ds_main_data_kidney.addRow();
  1082. ds_main_data_kidney.setColumn(ds_main_data_kidney.rowposition, "sick", '2');
  1083. }
  1084. else if (group2.switch1.tabindex == 2) { //경장 탭화면일때
  1085. ds_main_data_etrlfd.addRow();
  1086. ds_main_data_etrlfd.setColumn(ds_main_data_etrlfd.rowposition, "sick", '3');
  1087. }
  1088. else if (group2.switch1.tabindex == 3) { //정맥 탭화면일때
  1089. ds_main_data_varices.addRow();
  1090. ds_main_data_varices.setColumn(ds_main_data_varices.rowposition, "sick", '4');
  1091. }
  1092. else if (group2.switch1.tabindex == 4) { //보충 탭화면일때
  1093. ds_main_data_supply.addRow();
  1094. ds_main_data_supply.setColumn(ds_main_data_supply.rowposition, "sick", '5');
  1095. }
  1096. }
  1097. /****************************************************************************************
  1098. * Components : Button
  1099. * Components ID : btn_rowdel
  1100. * Event : onclick
  1101. * Argument : 01.obj : Object Event has occurred
  1102. * : 02.e : Event Object
  1103. * Description : 행삭제버튼 클릭시
  1104. ****************************************************************************************/
  1105. function group2_btn_rowdel_onclick(obj:Button, e:ClickEventInfo)
  1106. {
  1107. if (group2.switch1.tabindex == 0) { //당뇨 탭화면일때
  1108. if( ds_main_data_glycosuria.getRowType(ds_main_data_glycosuria.rowposition) == 2 ){
  1109. ds_main_data_glycosuria.deleteRow(ds_main_data_glycosuria.rowposition);
  1110. }else{
  1111. ds_main_data_glycosuria.enableevent = false;
  1112. ds_main_data_glycosuria.updatecontrol = false;
  1113. grdf_setStatusColumn(ds_main_data_glycosuria, "m");
  1114. ds_main_data_glycosuria.updatecontrol = true;
  1115. ds_main_data_glycosuria.enableevent = true;
  1116. ds_main_data_glycosuria.setColumn(ds_main_data_glycosuria.rowposition, "m", "d");
  1117. ds_main_data_glycosuria.filter("m!='d'");
  1118. // var cur_row = ds_main_data_glycosuria.rowposition;
  1119. // ds_main_data_glycosuria.deleteRow(cur_row);
  1120. }
  1121. }
  1122. else if (group2.switch1.tabindex == 1) { //신장 탭화면일때
  1123. if( ds_main_data_kidney.getRowType(ds_main_data_kidney.rowposition) == 2 ){
  1124. ds_main_data_kidney.deleteRow(ds_main_data_kidney.rowposition);
  1125. }else{
  1126. ds_main_data_kidney.enableevent = false;
  1127. ds_main_data_kidney.updatecontrol = false;
  1128. grdf_setStatusColumn(ds_main_data_kidney, "m");
  1129. ds_main_data_kidney.updatecontrol = true;
  1130. ds_main_data_kidney.enableevent = true;
  1131. ds_main_data_kidney.setColumn(ds_main_data_kidney.rowposition, "m", "d");
  1132. ds_main_data_kidney.filter("m!='d'");
  1133. // var cur_row = ds_main_data_kidney.rowposition;
  1134. // ds_main_data_kidney.deleteRow(cur_row);
  1135. }
  1136. }
  1137. else if (group2.switch1.tabindex == 2) { //경장 탭화면일때
  1138. if( ds_main_data_etrlfd.getRowType(ds_main_data_etrlfd.rowposition) == 2 ){
  1139. ds_main_data_etrlfd.deleteRow(ds_main_data_etrlfd.rowposition);
  1140. }else{
  1141. ds_main_data_etrlfd.enableevent = false;
  1142. ds_main_data_etrlfd.updatecontrol = false;
  1143. grdf_setStatusColumn(ds_main_data_etrlfd, "m");
  1144. ds_main_data_etrlfd.updatecontrol = true;
  1145. ds_main_data_etrlfd.enableevent = true;
  1146. ds_main_data_etrlfd.setColumn(ds_main_data_etrlfd.rowposition, "m", "d");
  1147. ds_main_data_etrlfd.filter("m!='d'");
  1148. // var cur_row = ds_main_data_etrlfd.rowposition;
  1149. // ds_main_data_etrlfd.deleteRow(cur_row);
  1150. }
  1151. }
  1152. else if (group2.switch1.tabindex == 3) { //정맥 탭화면일때
  1153. if( ds_main_data_varices.getRowType(ds_main_data_varices.rowposition) == 2 ){
  1154. ds_main_data_varices.deleteRow(ds_main_data_varices.rowposition);
  1155. }else{
  1156. ds_main_data_varices.enableevent = false;
  1157. ds_main_data_varices.updatecontrol = false;
  1158. grdf_setStatusColumn(ds_main_data_varices, "m");
  1159. ds_main_data_varices.updatecontrol = true;
  1160. ds_main_data_varices.enableevent = true;
  1161. ds_main_data_varices.setColumn(ds_main_data_varices.rowposition, "m", "d");
  1162. ds_main_data_varices.filter("m!='d'");
  1163. // var cur_row = ds_main_data_varices.rowposition;
  1164. // ds_main_data_varices.deleteRow(cur_row);
  1165. }
  1166. }
  1167. else if (group2.switch1.tabindex == 4) { //보충 탭화면일때
  1168. if( ds_main_data_supply.getRowType(ds_main_data_supply.rowposition) == 2 ){
  1169. ds_main_data_supply.deleteRow(ds_main_data_supply.rowposition);
  1170. }else{
  1171. ds_main_data_supply.enableevent = false;
  1172. ds_main_data_supply.updatecontrol = false;
  1173. grdf_setStatusColumn(ds_main_data_supply, "m");
  1174. ds_main_data_supply.updatecontrol = true;
  1175. ds_main_data_supply.enableevent = true;
  1176. ds_main_data_supply.setColumn(ds_main_data_supply.rowposition, "m", "d");
  1177. ds_main_data_supply.filter("m!='d'");
  1178. // var cur_row = ds_main_data_supply.rowposition;
  1179. // ds_main_data_supply.deleteRow(cur_row);
  1180. }
  1181. }
  1182. }
  1183. /****************************************************************************************
  1184. * Components : Button
  1185. * Components ID : btn_reset
  1186. * Event : onclick
  1187. * Argument : 01.obj : Object Event has occurred
  1188. * : 02.e : Event Object
  1189. * Description : 초기화버튼 클릭시
  1190. ****************************************************************************************/
  1191. function group3_btn_reset_onclick(obj:Button, e:ClickEventInfo)
  1192. {
  1193. finit();
  1194. }
  1195. /****************************************************************************************
  1196. * Components : Button
  1197. * Components ID : btn_save
  1198. * Event : onclick
  1199. * Argument : 01.obj : Object Event has occurred
  1200. * : 02.e : Event Object
  1201. * Description : 저장버튼 클릭시
  1202. ****************************************************************************************/
  1203. function group3_btn_save_onclick(obj:Button, e:ClickEventInfo)
  1204. {
  1205. if ( sysf_messageBox("", "Q002") == 6 ) {
  1206. if (group2.switch1.tabindex == 0) { //당뇨 탭화면일때
  1207. //필수입력항목 체크
  1208. for ( var j = 0; j < ds_main_data_glycosuria.rowcount; j++ ) {
  1209. var exchstndcd = ds_main_data_glycosuria.getColumn(j, "exchstndcd");
  1210. if ( utlf_isNull(exchstndcd) ) {
  1211. sysf_messageBox("교환기준명, 교환기준코드 항목은", "I003");
  1212. return;
  1213. }
  1214. }
  1215. ds_main_data_glycosuria.enableevent = false;
  1216. ds_main_data_glycosuria.updatecontrol = false;
  1217. grdf_setStatusColumn(ds_main_data_glycosuria, "m");
  1218. ds_main_data_glycosuria.updatecontrol = true;
  1219. ds_main_data_glycosuria.enableevent = true;
  1220. ds_main_data_glycosuria.filter("");
  1221. ds_send_data.assign(grdf_getGridUpdateData(group2.switch1.case1.grd_glycosuria, "all"));
  1222. }
  1223. else if (group2.switch1.tabindex == 1) { //신장 탭화면일때
  1224. //필수입력항목 체크
  1225. for ( var j = 0; j < ds_main_data_kidney.rowcount; j++ ) {
  1226. var exchstndcd = ds_main_data_kidney.getColumn(j, "exchstndcd");
  1227. if ( utlf_isNull(exchstndcd) ) {
  1228. sysf_messageBox("교환기준명, 교환기준코드 항목은", "I003");
  1229. return;
  1230. }
  1231. }
  1232. ds_main_data_kidney.enableevent = false;
  1233. ds_main_data_kidney.updatecontrol = false;
  1234. grdf_setStatusColumn(ds_main_data_kidney, "m");
  1235. ds_main_data_kidney.updatecontrol = true;
  1236. ds_main_data_kidney.enableevent = true;
  1237. ds_main_data_kidney.filter("");
  1238. ds_send_data.assign(grdf_getGridUpdateData(group2.switch1.case2.grd_kidney, "all"));
  1239. }
  1240. else if (group2.switch1.tabindex == 2) { //경장 탭화면일때
  1241. //필수입력항목 체크
  1242. for ( var j = 0; j < ds_main_data_etrlfd.rowcount; j++ ) {
  1243. var exchstndcd = ds_main_data_etrlfd.getColumn(j, "exchstndcd");
  1244. if ( utlf_isNull(exchstndcd) ) {
  1245. sysf_messageBox("교환기준명, 교환기준코드 항목은", "I003");
  1246. return;
  1247. }
  1248. }
  1249. ds_main_data_etrlfd.enableevent = false;
  1250. ds_main_data_etrlfd.updatecontrol = false;
  1251. grdf_setStatusColumn(ds_main_data_etrlfd, "m");
  1252. ds_main_data_etrlfd.updatecontrol = true;
  1253. ds_main_data_etrlfd.enableevent = true;
  1254. ds_main_data_etrlfd.filter("");
  1255. ds_send_data.assign(grdf_getGridUpdateData(group2.switch1.case3.grd_etrlfd, "all"));
  1256. }
  1257. else if (group2.switch1.tabindex == 3) { //정맥 탭화면일때
  1258. //필수입력항목 체크
  1259. for ( var j = 0; j < ds_main_data_varices.rowcount; j++ ) {
  1260. var exchstndcd = ds_main_data_varices.getColumn(j, "exchstndcd");
  1261. if ( utlf_isNull(exchstndcd) ) {
  1262. sysf_messageBox("교환기준명, 교환기준코드 항목은", "I003");
  1263. return;
  1264. }
  1265. }
  1266. ds_main_data_varices.enableevent = false;
  1267. ds_main_data_varices.updatecontrol = false;
  1268. grdf_setStatusColumn(ds_main_data_varices, "m");
  1269. ds_main_data_varices.updatecontrol = true;
  1270. ds_main_data_varices.enableevent = true;
  1271. ds_main_data_varices.filter("");
  1272. ds_send_data.assign(grdf_getGridUpdateData(group2.switch1.case4.grd_varices, "all"));
  1273. }
  1274. else if (group2.switch1.tabindex == 4) { //보충 탭화면일때
  1275. //필수입력항목 체크
  1276. for ( var j = 0; j < ds_main_data_supply.rowcount; j++ ) {
  1277. var exchstndcd = ds_main_data_supply.getColumn(j, "exchstndcd");
  1278. if ( utlf_isNull(exchstndcd) ) {
  1279. sysf_messageBox("교환기준명, 교환기준코드 항목은", "I003");
  1280. return;
  1281. }
  1282. }
  1283. ds_main_data_supply.enableevent = false;
  1284. ds_main_data_supply.updatecontrol = false;
  1285. grdf_setStatusColumn(ds_main_data_supply, "m");
  1286. ds_main_data_supply.updatecontrol = true;
  1287. ds_main_data_supply.enableevent = true;
  1288. ds_main_data_supply.filter("");
  1289. ds_send_data.assign(grdf_getGridUpdateData(group2.switch1.case5.grd_supply, "all"));
  1290. }
  1291. ds_send_data.updateColID("sick", "sickcd");
  1292. ds_send_data.updateColID("h_sick", "h_sickcd");
  1293. var oParam = {};
  1294. oParam.id = "TXANB00501";
  1295. oParam.service = "dietbaseapp.ClinicNutr";
  1296. oParam.method = "reqExeExchBase";
  1297. oParam.inds = "data=ds_send_data:A";
  1298. oParam.outds = "ds_hidden_ret=ret";
  1299. oParam.async = false;
  1300. oParam.callback = "cf_TXANB00501";
  1301. tranf_submit(oParam);
  1302. if (arErrorCode.pop("TXANB00501") > -1) {
  1303. fn_searchGrid();
  1304. }
  1305. // model.resetInstanceNode("/root/main/data");
  1306. // model.resetInstanceNode("/root/send/data");
  1307. } else { return; }
  1308. }
  1309. function cf_TXANB00501(sSvcId, nErrorCode, sErrorMsg) {
  1310. arErrorCode.push(sSvcId, nErrorCode);
  1311. }
  1312. ]]></Script>
  1313. </Form>
  1314. </FDL>