SPADC02500_SGA.xrw 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>SGA(영양상태판정)</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <mainlist>
  11. <sgainfo>
  12. <pid/>
  13. <hngnm/>
  14. <nstflag/>
  15. <orddeptnm/>
  16. <reqdd/>
  17. <roomcd/>
  18. <indd/>
  19. <dschdd/>
  20. <nweight/>
  21. <bweight/>
  22. <decreasew1/>
  23. <decreasew2/>
  24. <changew>2</changew>
  25. <dietintake>1</dietintake>
  26. <dietterm/>
  27. <dietweek/>
  28. <diettype>1</diettype>
  29. <symptoms/>
  30. <capacity>1</capacity>
  31. <capaterm/>
  32. <capaweek/>
  33. <capatype>1</capatype>
  34. <stress>1</stress>
  35. <physical_1/>
  36. <physical_2/>
  37. <physical_3/>
  38. <physical_4/>
  39. <physical_5/>
  40. <grade>A</grade>
  41. <tmpsave/>
  42. <cfmsave/>
  43. <mode/>
  44. </sgainfo>
  45. </mainlist>
  46. </main>
  47. <send>
  48. <srchpid/>
  49. <srchindd/>
  50. <srchreqdd/>
  51. <srchnstflag/>
  52. <srchhngnm/>
  53. <srchorddeptnm/>
  54. <srchroomcd/>
  55. </send>
  56. <temp>
  57. <diaglist>
  58. <diagcd/>
  59. <diagnm/>
  60. </diaglist>
  61. <item>
  62. <count/>
  63. </item>
  64. </temp>
  65. </root>
  66. </instance>
  67. <script type="javascript">
  68. <![CDATA[
  69. function fInint(){
  70. model.setFocus("ipt_nweight");
  71. ipt_dietterm.disabled = true;
  72. ipt_dietweek.disabled = true;
  73. rdo_diettype.disabled = true;
  74. ipt_capaterm.disabled = true;
  75. ipt_capaweek.disabled = true;
  76. rdo_capatype.disabled = true;
  77. }
  78. function fSgalist(){
  79. var dietintake = model.getValue("/root/main/mainlist/sgainfo/dietintake");
  80. if(dietintake== "1"){
  81. // model.setValue("/root/main/mainlist/sgainfo/dietterm",'' ");
  82. // model.setValue("/root/main/mainlist/sgainfo/dietweek"," ");
  83. // model.setValue("/root/main/mainlist/sgainfo/diettype"," ");
  84. ipt_dietterm.disabled = true;
  85. ipt_dietweek.disabled = true;
  86. rdo_diettype.disabled = true;
  87. }else{
  88. ipt_dietterm.disabled = false;
  89. ipt_dietweek.disabled = false;
  90. rdo_diettype.disabled = false;
  91. model.setFocus("ipt_dietterm");
  92. }
  93. var capacity = model.getValue("/root/main/mainlist/sgainfo/capacity");
  94. if(capacity== "1"){
  95. // model.setValue("/root/main/mainlist/sgainfo/capaterm",'' ");
  96. // model.setValue("/root/main/mainlist/sgainfo/capaweek"," ");
  97. // model.setValue("/root/main/mainlist/sgainfo/capatype"," ");
  98. ipt_capaterm.disabled = true;
  99. ipt_capaweek.disabled = true;
  100. rdo_capatype.disabled = true;
  101. }else{
  102. ipt_capaterm.disabled = false;
  103. ipt_capaweek.disabled = false;
  104. rdo_capatype.disabled = false;
  105. model.setFocus("ipt_capaterm");
  106. }
  107. }
  108. ]]>
  109. </script>
  110. <script type="javascript" ev:event="xforms-ready">
  111. <![CDATA[
  112. vPid = opener.javascript.getParameter ("SPADC02500_PARAM1");
  113. vHngnm = opener.javascript.getParameter ("SPADC02500_PARAM2");
  114. vNstflag = opener.javascript.getParameter ("SPADC02500_PARAM3");
  115. vOrddeptnm = opener.javascript.getParameter ("SPADC02500_PARAM4");
  116. vReqdd = opener.javascript.getParameter ("SPADC02500_PARAM5");
  117. vRoomcd = opener.javascript.getParameter ("SPADC02500_PARAM6");
  118. vIndd = opener.javascript.getParameter ("SPADC02500_PARAM7");
  119. vDschdd = opener.javascript.getParameter ("SPADC02500_PARAM8");
  120. if (vPid != ""){
  121. model.setValue("/root/send/srchpid" , vPid);
  122. model.setValue("/root/send/srchhngnm" , vHngnm);
  123. model.setValue("/root/send/srchnstflag" , vNstflag);
  124. model.setValue("/root/send/srchorddeptnm" , vOrddeptnm);
  125. model.setValue("/root/send/srchreqdd" , vReqdd);
  126. model.setValue("/root/send/srchroomcd" , vRoomcd);
  127. model.setValue("/root/send/srchindd" , vIndd );
  128. }
  129. submit("TRADC02503"); //진단명 조회
  130. submit("TRADC02504"); //sga조회
  131. model.setValue("/root/main/mainlist/sgainfo/pid", vPid);
  132. model.setValue("/root/main/mainlist/sgainfo/nstflag", vNstflag);
  133. model.setValue("/root/main/mainlist/sgainfo/reqdd", vReqdd);
  134. model.setValue("/root/main/mainlist/sgainfo/indd", vIndd);
  135. if(model.getValue("/root/main/mainlist/sgainfo/tmpsave") == "Y"){
  136. fSgalist();
  137. }else{
  138. fInint();
  139. }
  140. if(model.getValue("/root/main/mainlist/sgainfo/cfmsave") == "Y"){
  141. btn_tmpsave.disabled = true ;
  142. btn_cfmsave.disabled = true;
  143. model.refresh();
  144. }
  145. model.refresh();
  146. ]]>
  147. </script>
  148. <submission id="TRADC02503" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp"/>
  149. <submission id="TRADC02504" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/mainlist"/>
  150. <submission id="TXADC02502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/mainlist" replace="instance" resultref="/root/temp"/>
  151. </model>
  152. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  153. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  154. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  155. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  156. </xhtml:head>
  157. <xhtml:body scroll="auto" pagewidth="680" pageheight="800" guideline="2,13;1,1194;2,1196;2,1216;" style="font-weight:bold; margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  158. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:215px; height:15px; ">SGA(영양상태판정)</caption>
  159. <caption id="caption29" class="tit_3" style="left:5px; top:853px; width:475px; height:40px; font-size:12pt; color:#800080; ">Ⅱ. 신체조사(Physical examination) - 숫자로 표시</caption>
  160. <line id="line5" class="line_1" style="x1:0px; y1:85px; x2:640px; y2:85px; "/>
  161. <caption id="caption17" class="cell_1" style="left:0px; top:264px; width:275px; height:23px; vertical-align:middle; ">2. 식사섭취의 변화 (Dietary intake chang)</caption>
  162. <caption id="caption18" class="cell_1" style="left:0px; top:114px; width:190px; height:23px; vertical-align:middle; ">1. 체중변화(Weight change)</caption>
  163. <caption id="caption20" class="tit_3" style="left:5px; top:95px; width:295px; height:18px; font-size:12pt; color:#800080; ">Ⅰ. 과거력(History)</caption>
  164. <caption id="caption14" class="cell_1" style="left:0px; top:483px; width:240px; height:23px; vertical-align:middle; ">4. 신체기능(Functional capacity)</caption>
  165. <line id="line14" class="line_3" style="x1:0px; y1:883px; x2:640px; y2:883px; "/>
  166. <button id="btn_cls" class="btn4_letter2" style="left:585px; top:1170px; width:56px; height:22px; ">
  167. <caption>닫기</caption>
  168. <script type="javascript" ev:event="DOMActivate">
  169. <![CDATA[
  170. model.close();
  171. ]]>
  172. </script>
  173. </button>
  174. <select1 id="rdo_changew" ref="/root/main/mainlist/sgainfo/changew" appearance="full" cols="1" rows="3" vcellspacing="8" overflow="visible" style="left:180px; top:185px; width:90px; height:75px; border-style:none; ">
  175. <choices>
  176. <item>
  177. <label>증가</label>
  178. <value>1</value>
  179. </item>
  180. <item>
  181. <label>변화없음</label>
  182. <value>2</value>
  183. </item>
  184. <item>
  185. <label>감소</label>
  186. <value>3</value>
  187. </item>
  188. </choices>
  189. </select1>
  190. <select1 id="cmb_physical_1" ref="/root/main/mainlist/sgainfo/physical_1" appearance="minimal" style="left:35px; top:910px; width:60px; height:19px; ">
  191. <choices>
  192. <item>
  193. <label>0</label>
  194. <value>0</value>
  195. </item>
  196. <item>
  197. <label>1+</label>
  198. <value>1</value>
  199. </item>
  200. <item>
  201. <label>2+</label>
  202. <value>2</value>
  203. </item>
  204. <item>
  205. <label>3+</label>
  206. <value>3</value>
  207. </item>
  208. </choices>
  209. </select1>
  210. <switch id="switch1" class="sw_no_border" style="left:0px; top:15px; width:640px; height:70px; ">
  211. <case id="case1" selected="true">
  212. <shape id="roundrect2" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:640px; height:68px; background-color:#fffbf2; border-color:#ffd799; "/>
  213. <output id="output1" ref="/root/send/srchreqdd" class="output_search" appearance="output" style="left:365px; top:35px; width:75px; height:19px; "/>
  214. <output id="output2" ref="/root/send/srchhngnm" class="output_search" appearance="output" style="left:285px; top:10px; width:130px; height:19px; "/>
  215. <caption id="caption9" class="search_name" style="left:5px; top:35px; width:86px; height:17px; ">진료과 :</caption>
  216. <caption id="caption11" class="search_name" style="left:5px; top:10px; width:86px; height:17px; ">등록번호 :</caption>
  217. <caption id="caption12" class="search_name" style="left:210px; top:10px; width:90px; height:17px; ">환자명 :</caption>
  218. <caption id="caption19" class="search_name" style="left:275px; top:35px; width:90px; height:17px; ">의뢰일 :</caption>
  219. <caption id="caption21" class="search_name" style="left:445px; top:35px; width:90px; height:17px; ">병실 :</caption>
  220. <caption id="caption22" class="search_name" style="left:445px; top:10px; width:95px; height:17px; ">구분:</caption>
  221. <output id="output5" ref="/root/send/srchorddeptnm" class="output_search" appearance="output" style="left:95px; top:35px; width:160px; height:19px; "/>
  222. <output id="output6" ref="/root/send/srchroomcd" class="output_search" appearance="output" style="left:535px; top:35px; width:65px; height:19px; "/>
  223. <output id="output7" ref="/root/send/srchnstflag" class="output_search" appearance="output" style="left:535px; top:10px; width:65px; height:19px; "/>
  224. <output id="output4" ref="/root/send/srchpid" class="output_search" appearance="output" style="left:95px; top:10px; width:100px; height:19px; "/>
  225. </case>
  226. </switch>
  227. <select id="chk_symptoms" ref="/root/main/mainlist/sgainfo/symptoms" overflow="visible" appearance="full" cellspacing="15" cols="5" sep="▦" vcellspacing="1" style="left:35px; top:460px; width:420px; height:20px; border-style:none; ">
  228. <choices>
  229. <item>
  230. <label>없음</label>
  231. <value>1</value>
  232. </item>
  233. <item>
  234. <label>메스꺼움</label>
  235. <value>2</value>
  236. </item>
  237. <item>
  238. <label>구토</label>
  239. <value>3</value>
  240. </item>
  241. <item>
  242. <label>설사</label>
  243. <value>4</value>
  244. </item>
  245. <item>
  246. <label>식욕부진</label>
  247. <value>5</value>
  248. </item>
  249. </choices>
  250. </select>
  251. <line id="line19" class="line_2" style="x1:5px; y1:136px; x2:595px; y2:136px; "/>
  252. <line id="line6" class="line_2" style="x1:5px; y1:161px; x2:595px; y2:161px; "/>
  253. <input id="ipt_nweight" ref="/root/main/mainlist/sgainfo/nweight" class="input_default" editable="true" maxlength="4" format="##.#" style="left:120px; top:140px; width:100px; height:19px; ">
  254. <script type="javascript" ev:event="onmaxlength">
  255. <![CDATA[
  256. messageBox("입력가능한 글자수를", "E003");
  257. model.setFocus("ipt_nweight");
  258. ]]>
  259. </script>
  260. <script type="javascript" ev:event="onkeyup">
  261. <![CDATA[
  262. if( event.keyCode == 13) {
  263. model.setFocus("ipt_bweight");
  264. }
  265. ]]>
  266. </script>
  267. </input>
  268. <line id="line7" class="line_2" style="x1:5px; y1:186px; x2:595px; y2:186px; "/>
  269. <input id="ipt_decreasew1" ref="/root/main/mainlist/sgainfo/decreasew1" class="input_default" editable="false" maxlength="4" format="##.#" style="left:245px; top:165px; width:45px; height:19px; ">
  270. <script type="javascript" ev:event="onmaxlength">
  271. <![CDATA[
  272. messageBox("입력가능한 글자수를", "E003");
  273. ]]>
  274. </script>
  275. </input>
  276. <line id="line8" class="line_2" style="x1:5px; y1:211px; x2:595px; y2:211px; "/>
  277. <line id="line9" class="line_2" style="x1:5px; y1:261px; x2:595px; y2:261px; "/>
  278. <line id="line20" class="line_2" style="x1:5px; y1:236px; x2:595px; y2:236px; "/>
  279. <caption id="caption23" style="left:65px; top:140px; width:65px; height:20px; ">현체중 :</caption>
  280. <caption id="caption24" style="left:235px; top:140px; width:115px; height:20px; ">지난6개월 체중 :</caption>
  281. <input id="ipt_bweight" ref="/root/main/mainlist/sgainfo/bweight" class="input_default" editable="true" maxlength="4" format="##.#" style="left:340px; top:140px; width:100px; height:19px; ">
  282. <script type="javascript" ev:event="onmaxlength">
  283. <![CDATA[
  284. messageBox("입력가능한 글자수를", "E003");
  285. model.setFocus("ipt_bweight");
  286. ]]>
  287. </script>
  288. </input>
  289. <caption id="caption25" style="left:30px; top:165px; width:240px; height:20px; ">지난 6개월간의 체중감소 : 감소량 =</caption>
  290. <caption id="caption26" style="left:320px; top:165px; width:145px; height:20px; ">kg: % 체중감소 =</caption>
  291. <input id="ipt_decreasew2" ref="/root/main/mainlist/sgainfo/decreasew2" class="input_default" editable="false" maxlength="4" format="##.#" style="left:430px; top:165px; width:45px; height:19px; ">
  292. <script type="javascript" ev:event="onmaxlength">
  293. <![CDATA[
  294. messageBox("입력가능한 글자수를", "E003");
  295. ]]>
  296. </script>
  297. </input>
  298. <caption id="caption27" style="left:30px; top:190px; width:155px; height:20px; ">지난 2주간의 체중변화 :</caption>
  299. <select1 id="rdo_dietintake" ref="/root/main/mainlist/sgainfo/dietintake" appearance="full" cols="1" rows="3" vcellspacing="5" overflow="visible" style="left:40px; top:290px; width:90px; height:45px; border-style:none; ">
  300. <choices>
  301. <item>
  302. <label>변화없음</label>
  303. <value>1</value>
  304. </item>
  305. <item>
  306. <label>변화있음</label>
  307. <value>2</value>
  308. </item>
  309. </choices>
  310. <script type="javascript" ev:event="xforms-value-changed">
  311. <![CDATA[
  312. var dietintake = model.getValue("/root/main/mainlist/sgainfo/dietintake");
  313. if(dietintake== "1"){
  314. model.setValue("/root/main/mainlist/sgainfo/dietterm","");
  315. model.setValue("/root/main/mainlist/sgainfo/dietweek","");
  316. model.setValue("/root/main/mainlist/sgainfo/diettype","");
  317. ipt_dietterm.disabled = true;
  318. ipt_dietweek.disabled = true;
  319. rdo_diettype.disabled = true;
  320. model.refresh();
  321. }else{
  322. ipt_dietterm.disabled = false;
  323. ipt_dietweek.disabled = false;
  324. rdo_diettype.disabled = false;
  325. model.setFocus("ipt_dietterm");
  326. model.refresh();
  327. }
  328. ]]>
  329. </script>
  330. </select1>
  331. <input id="ipt_dietterm" ref="/root/main/mainlist/sgainfo/dietterm" class="input_default" editable="true" maxlength="3" style="left:135px; top:315px; width:45px; height:19px; ">
  332. <script type="javascript" ev:event="onmaxlength">
  333. <![CDATA[
  334. messageBox("입력가능한 글자수를", "E003");
  335. ]]>
  336. </script>
  337. <script type="javascript" ev:event="onkeyup">
  338. <![CDATA[
  339. if( event.keyCode == 13) {
  340. model.setFocus("ipt_dietweek");
  341. }
  342. ]]>
  343. </script>
  344. </input>
  345. <caption id="caption1" style="left:185px; top:315px; width:96px; height:20px; ">기간 =</caption>
  346. <input id="ipt_dietweek" ref="/root/main/mainlist/sgainfo/dietweek" class="input_default" editable="true" maxlength="3" style="left:225px; top:315px; width:45px; height:19px; ">
  347. <script type="javascript" ev:event="onmaxlength">
  348. <![CDATA[
  349. messageBox("입력가능한 글자수를", "E003");
  350. model.setFocus("ipt_dietweek");
  351. ]]>
  352. </script>
  353. </input>
  354. <caption id="caption2" style="left:275px; top:315px; width:25px; height:20px; ">주</caption>
  355. <select1 id="rdo_diettype" ref="/root/main/mainlist/sgainfo/diettype" appearance="full" cols="1" rows="4" vcellspacing="8" overflow="visible" style="left:130px; top:335px; width:235px; height:105px; border-style:none; ">
  356. <choices>
  357. <item>
  358. <label>정상에 가까운 고형식</label>
  359. <value>1</value>
  360. </item>
  361. <item>
  362. <label>전유동식(full liquid diet)</label>
  363. <value>2</value>
  364. </item>
  365. <item>
  366. <label>저칼로리 유동식(hypocaloroc liquid)</label>
  367. <value>3</value>
  368. </item>
  369. <item>
  370. <label>기아</label>
  371. <value>4</value>
  372. </item>
  373. </choices>
  374. </select1>
  375. <caption id="caption3" style="left:55px; top:335px; width:40px; height:20px; ">종류 :</caption>
  376. <caption id="caption4" class="cell_1" style="left:0px; top:435px; width:410px; height:23px; vertical-align:middle; ">3. 위장관계 증상(Gastrointestinal symptoms) - 2주 이상 지속시</caption>
  377. <line id="line3" class="line_2" style="x1:5px; y1:360px; x2:595px; y2:360px; "/>
  378. <line id="line21" class="line_2" style="x1:5px; y1:410px; x2:595px; y2:410px; "/>
  379. <line id="line22" class="line_2" style="x1:5px; y1:385px; x2:595px; y2:385px; "/>
  380. <line id="line23" class="line_2" style="x1:5px; y1:285px; x2:595px; y2:285px; "/>
  381. <line id="line24" class="line_2" style="x1:5px; y1:310px; x2:595px; y2:310px; "/>
  382. <line id="line25" class="line_2" style="x1:5px; y1:335px; x2:595px; y2:335px; "/>
  383. <select1 id="rdo_capacity" ref="/root/main/mainlist/sgainfo/capacity" appearance="full" cols="1" rows="3" vcellspacing="8" overflow="visible" style="left:35px; top:508px; width:155px; height:52px; border-style:none; ">
  384. <choices>
  385. <item>
  386. <label>이상없음(Full capacity)</label>
  387. <value>1</value>
  388. </item>
  389. <item>
  390. <label>기능부전(Dyafunction)</label>
  391. <value>2</value>
  392. </item>
  393. </choices>
  394. <script type="javascript" ev:event="xforms-value-changed">
  395. <![CDATA[
  396. var capacity = model.getValue("/root/main/mainlist/sgainfo/capacity");
  397. if(capacity== "1"){
  398. model.setValue("/root/main/mainlist/sgainfo/capaterm","");
  399. model.setValue("/root/main/mainlist/sgainfo/capaweek","");
  400. model.setValue("/root/main/mainlist/sgainfo/capatype","");
  401. ipt_capaterm.disabled = true;
  402. ipt_capaweek.disabled = true;
  403. rdo_capatype.disabled = true;
  404. model.refresh();
  405. }else{
  406. ipt_capaterm.disabled = false;
  407. ipt_capaweek.disabled = false;
  408. rdo_capatype.disabled = false;
  409. model.setFocus("ipt_capaterm");
  410. model.refresh();
  411. }
  412. ]]>
  413. </script>
  414. </select1>
  415. <input id="ipt_capaterm" ref="/root/main/mainlist/sgainfo/capaterm" class="input_default" editable="true" maxlength="3" style="left:200px; top:535px; width:45px; height:19px; ">
  416. <script type="javascript" ev:event="onmaxlength">
  417. <![CDATA[
  418. messageBox("입력가능한 글자수를", "E003");
  419. ]]>
  420. </script>
  421. <script type="javascript" ev:event="onkeyup">
  422. <![CDATA[
  423. if( event.keyCode == 13) {
  424. model.setFocus("ipt_capaweek");
  425. }
  426. ]]>
  427. </script>
  428. </input>
  429. <input id="ipt_capaweek" ref="/root/main/mainlist/sgainfo/capaweek" class="input_default" editable="true" maxlength="3" style="left:295px; top:535px; width:45px; height:19px; ">
  430. <script type="javascript" ev:event="onmaxlength">
  431. <![CDATA[
  432. messageBox("입력가능한 글자수를", "E003");
  433. ]]>
  434. </script>
  435. </input>
  436. <caption id="caption5" style="left:250px; top:535px; width:95px; height:20px; ">기간 =</caption>
  437. <caption id="caption13" style="left:345px; top:535px; width:25px; height:20px; ">주</caption>
  438. <caption id="caption15" style="left:50px; top:560px; width:40px; height:20px; ">종류 :</caption>
  439. <select1 id="rdo_capatype" ref="/root/main/mainlist/sgainfo/capatype" appearance="full" cols="1" rows="3" vcellspacing="8" overflow="visible" style="left:120px; top:556px; width:190px; height:79px; border-style:none; ">
  440. <choices>
  441. <item>
  442. <label>정상에 가깝게 움직임</label>
  443. <value>1</value>
  444. </item>
  445. <item>
  446. <label>거동가능</label>
  447. <value>2</value>
  448. </item>
  449. <item>
  450. <label>거동 불가능</label>
  451. <value>3</value>
  452. </item>
  453. </choices>
  454. </select1>
  455. <caption id="caption16" class="cell_1" style="left:0px; top:630px; width:255px; height:23px; vertical-align:middle; ">5. 질병 및 질병과 영양요구량간의 관계</caption>
  456. <caption id="caption28" style="left:35px; top:653px; width:95px; height:20px; ">* 주진단명</caption>
  457. <datagrid id="grd_diaginfo" nodeset="/root/temp/diaglist" scroll="auto" caption="진단코드^진단명" colsep="^" colwidth="120, 400" mergecellsfixedrows="bycolrec" rowsep="|" style="left:30px; top:675px; width:550px; height:117px; ">
  458. <col ref="diagcd" style="text-align:center; "/>
  459. <col ref="diagnm" style="text-align:center; "/>
  460. </datagrid>
  461. <caption id="caption30" style="left:45px; top:800px; width:180px; height:20px; ">대사적 요구도(스트레스) :</caption>
  462. <select1 id="rdo_stress" ref="/root/main/mainlist/sgainfo/stress" appearance="full" cellspacing="10" cols="2" rows="2" vcellspacing="8" overflow="visible" style="left:205px; top:800px; width:330px; height:50px; border-style:none; ">
  463. <choices>
  464. <item>
  465. <label>스트레스 없음</label>
  466. <value>1</value>
  467. </item>
  468. <item>
  469. <label>약간의 스트레스</label>
  470. <value>2</value>
  471. </item>
  472. <item>
  473. <label>중정도의 스트레스</label>
  474. <value>3</value>
  475. </item>
  476. <item>
  477. <label>심한 스트레스</label>
  478. <value>4</value>
  479. </item>
  480. </choices>
  481. </select1>
  482. <caption id="caption31" style="left:30px; top:885px; width:600px; height:20px; ">0 = 정상, 1+ = 약간 있음, 2+ = 상당히 있음, 3+ = 매우 심함</caption>
  483. <caption id="caption32" style="left:100px; top:910px; width:265px; height:20px; ">피하지방의 손실(삼두근, 흉부)</caption>
  484. <caption id="caption33" style="left:100px; top:936px; width:215px; height:20px; ">근육 손실(사두근, 삼각근)</caption>
  485. <caption id="caption7" style="left:100px; top:960px; width:175px; height:20px; ">발목 부종</caption>
  486. <caption id="caption8" style="left:100px; top:984px; width:175px; height:20px; ">천골 부종</caption>
  487. <caption id="caption10" style="left:100px; top:1011px; width:175px; height:20px; ">복수</caption>
  488. <select1 id="cmb_physical_2" ref="/root/main/mainlist/sgainfo/physical_2" appearance="minimal" style="left:35px; top:935px; width:60px; height:19px; ">
  489. <choices>
  490. <item>
  491. <label>0</label>
  492. <value>0</value>
  493. </item>
  494. <item>
  495. <label>1+</label>
  496. <value>1</value>
  497. </item>
  498. <item>
  499. <label>2+</label>
  500. <value>2</value>
  501. </item>
  502. <item>
  503. <label>3+</label>
  504. <value>3</value>
  505. </item>
  506. </choices>
  507. </select1>
  508. <select1 id="cmb_physical_3" ref="/root/main/mainlist/sgainfo/physical_3" appearance="minimal" style="left:35px; top:960px; width:60px; height:19px; ">
  509. <choices>
  510. <item>
  511. <label>0</label>
  512. <value>0</value>
  513. </item>
  514. <item>
  515. <label>1+</label>
  516. <value>1</value>
  517. </item>
  518. <item>
  519. <label>2+</label>
  520. <value>2</value>
  521. </item>
  522. <item>
  523. <label>3+</label>
  524. <value>3</value>
  525. </item>
  526. </choices>
  527. </select1>
  528. <select1 id="cmb_physical_4" ref="/root/main/mainlist/sgainfo/physical_4" appearance="minimal" style="left:35px; top:985px; width:60px; height:19px; ">
  529. <choices>
  530. <item>
  531. <label>0</label>
  532. <value>0</value>
  533. </item>
  534. <item>
  535. <label>1+</label>
  536. <value>1</value>
  537. </item>
  538. <item>
  539. <label>2+</label>
  540. <value>2</value>
  541. </item>
  542. <item>
  543. <label>3+</label>
  544. <value>3</value>
  545. </item>
  546. </choices>
  547. </select1>
  548. <select1 id="cmb_physical_5" ref="/root/main/mainlist/sgainfo/physical_5" appearance="minimal" style="left:35px; top:1012px; width:60px; height:19px; ">
  549. <choices>
  550. <item>
  551. <label>0</label>
  552. <value>0</value>
  553. </item>
  554. <item>
  555. <label>1+</label>
  556. <value>1</value>
  557. </item>
  558. <item>
  559. <label>2+</label>
  560. <value>2</value>
  561. </item>
  562. <item>
  563. <label>3+</label>
  564. <value>3</value>
  565. </item>
  566. </choices>
  567. </select1>
  568. <caption id="caption34" class="tit_3" style="left:10px; top:1044px; width:380px; height:35px; font-size:12pt; color:#800080; ">Ⅲ. SGA 평가등급</caption>
  569. <select1 id="rdo_grade" ref="/root/main/mainlist/sgainfo/grade" appearance="full" cols="1" rows="3" vcellspacing="8" overflow="visible" style="left:40px; top:1075px; width:190px; height:80px; border-style:none; ">
  570. <choices>
  571. <item>
  572. <label>A. 양호</label>
  573. <value>A</value>
  574. </item>
  575. <item>
  576. <label>B. 중증도의 결핍 상태</label>
  577. <value>B</value>
  578. </item>
  579. <item>
  580. <label>C. 심한 결핍상태</label>
  581. <value>C</value>
  582. </item>
  583. </choices>
  584. </select1>
  585. <line id="line30" class="line_2" style="x1:5px; y1:508px; x2:595px; y2:508px; "/>
  586. <line id="line31" class="line_2" style="x1:5px; y1:533px; x2:595px; y2:533px; "/>
  587. <line id="line26" class="line_2" style="x1:5px; y1:583px; x2:595px; y2:583px; "/>
  588. <line id="line27" class="line_2" style="x1:5px; y1:558px; x2:595px; y2:558px; "/>
  589. <line id="line28" class="line_2" style="x1:5px; y1:458px; x2:595px; y2:458px; "/>
  590. <line id="line29" class="line_2" style="x1:5px; y1:483px; x2:595px; y2:483px; "/>
  591. <line id="line2" class="line_2" style="x1:5px; y1:434px; x2:595px; y2:434px; "/>
  592. <line id="line1" class="line_2" style="x1:5px; y1:606px; x2:595px; y2:606px; "/>
  593. <line id="line4" class="line_2" style="x1:5px; y1:933px; x2:595px; y2:933px; "/>
  594. <line id="line11" class="line_2" style="x1:5px; y1:631px; x2:595px; y2:631px; "/>
  595. <line id="line12" class="line_2" style="x1:5px; y1:825px; x2:595px; y2:825px; "/>
  596. <line id="line34" class="line_2" style="x1:5px; y1:1035px; x2:595px; y2:1035px; "/>
  597. <line id="line35" class="line_2" style="x1:5px; y1:908px; x2:595px; y2:908px; "/>
  598. <line id="line10" class="line_2" style="x1:5px; y1:958px; x2:595px; y2:958px; "/>
  599. <line id="line13" class="line_2" style="x1:5px; y1:983px; x2:595px; y2:983px; "/>
  600. <line id="line32" class="line_3" style="x1:0px; y1:1072px; x2:640px; y2:1072px; "/>
  601. <line id="line17" class="line_2" style="x1:5px; y1:1010px; x2:595px; y2:1010px; "/>
  602. <line id="line33" class="line_2" style="x1:5px; y1:1150px; x2:595px; y2:1150px; "/>
  603. <line id="line36" class="line_2" style="x1:5px; y1:1075px; x2:595px; y2:1075px; "/>
  604. <line id="line37" class="line_2" style="x1:5px; y1:1100px; x2:595px; y2:1100px; "/>
  605. <line id="line38" class="line_2" style="x1:5px; y1:1125px; x2:595px; y2:1125px; "/>
  606. <line id="line15" class="line_3" style="x1:0px; y1:114px; x2:640px; y2:114px; "/>
  607. <line id="line16" class="line_2" style="x1:5px; y1:850px; x2:595px; y2:850px; "/>
  608. <button id="btn_cfmsave" class="btn4_letter4" style="left:500px; top:1170px; width:80px; height:22px; ">
  609. <caption>확정저장</caption>
  610. <script type="javascript" ev:event="DOMActivate">
  611. <![CDATA[
  612. model.setValue("/root/main/mainlist/sgainfo/cfmsave","Y");
  613. model.makeNode("/root/main/mainlist/sgainfo/mode");
  614. model.setValue("/root/main/mainlist/sgainfo/mode", "U");
  615. submit("TXADC02502");
  616. messageBox("저장","I002");
  617. submit("TRADC02503"); //진단명 조회
  618. fSgalist(); //조회
  619. model.refresh();
  620. ]]>
  621. </script>
  622. </button>
  623. <button id="btn_tmpsave" class="btn4_letter4" style="left:415px; top:1170px; width:80px; height:22px; ">
  624. <caption>임시저장</caption>
  625. <script type="javascript" ev:event="DOMActivate">
  626. <![CDATA[
  627. var tmpsave = model.getValue("/root/main/mainlist/sgainfo/tmpsave");
  628. model.makeNode("/root/main/mainlist/sgainfo/mode");
  629. if (tmpsave != "Y"){
  630. model.setValue("/root/main/mainlist/sgainfo/mode", "I");
  631. }else{
  632. model.setValue("/root/main/mainlist/sgainfo/mode", "U");
  633. }
  634. model.setValue("/root/main/mainlist/sgainfo/tmpsave","Y");
  635. submit("TXADC02502");
  636. messageBox("저장","I002");
  637. submit("TRADC02503"); //진단명 조회
  638. fSgalist(); //조회
  639. model.refresh();
  640. ]]>
  641. </script>
  642. </button>
  643. <button id="btn_cal" style="left:465px; top:140px; width:45px; height:20px; text-align:center; background-color:#ccffff; ">
  644. <caption>계산</caption>
  645. <script type="javascript" ev:event="onclick">
  646. <![CDATA[
  647. var bweight = model.getValue("/root/main/mainlist/sgainfo/bweight");
  648. var nweight = model.getValue("/root/main/mainlist/sgainfo/nweight");
  649. if (nweight == "") {
  650. messageBox("현체중을","C001");
  651. model.setFocus("ipt_nweight");
  652. return true;
  653. }
  654. if (bweight == "") {
  655. messageBox("지난 6개월 체중을","C001");
  656. model.setFocus("ipt_bweight");
  657. return true;
  658. }
  659. var decreasew1 =((bweight-nweight)).toFixed(1);
  660. var decreasew2 =((bweight-nweight)/bweight*100).toFixed(1);
  661. model.setValue("/root/main/mainlist/sgainfo/decreasew1",decreasew1);
  662. model.setValue("/root/main/mainlist/sgainfo/decreasew2",decreasew2);
  663. model.refresh();
  664. ]]>
  665. </script>
  666. </button>
  667. </xhtml:body>
  668. </xhtml:html>