SPMNF00600_방문간호환자등록.xrw 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  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>방문간호 환자등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <visitinfo>
  11. <visitinfolist>
  12. <pid/>
  13. <rrgstno1/>
  14. <rrgstno2/>
  15. <hngnm/>
  16. <brthdd/>
  17. <sex/>
  18. <telno1/>
  19. <cphone1/>
  20. <gradeflag/>
  21. <qualflag/>
  22. <dctype/>
  23. <longtermno/>
  24. <reqdd/>
  25. <visitpridflag/>
  26. <visitpridtimes/>
  27. <visitdwflag/>
  28. <injmedremark/>
  29. <etcdressremark/>
  30. <nutflag/>
  31. <nutday/>
  32. <nutkcal/>
  33. <urinflag/>
  34. <breathflag/>
  35. <woundflag/>
  36. <wounddeldd/>
  37. <woundremark/>
  38. <chrgnursid/>
  39. <hocmyn/>
  40. <trgtyn/>
  41. <cretno/>
  42. <vitcareflag>Y</vitcareflag>
  43. <orddd/>
  44. <otptyn/>
  45. <orddrid/>
  46. <orddeptcd/>
  47. </visitinfolist>
  48. </visitinfo>
  49. <transinfo>
  50. <parameter/>
  51. </transinfo>
  52. <patinfo>
  53. <patinfolist/>
  54. </patinfo>
  55. <cond/>
  56. <parameter/>
  57. <status/>
  58. </main>
  59. <item>
  60. <chargenurse>
  61. <nurselist/>
  62. </chargenurse>
  63. <dctype>
  64. <dctypelist>
  65. <nm/>
  66. <cd/>
  67. </dctypelist>
  68. <qualflaglist>
  69. <nm>해당없음</nm>
  70. <cd>-</cd>
  71. </qualflaglist>
  72. <vdctypelist>
  73. <nm>해당없음</nm>
  74. <cd>-</cd>
  75. </vdctypelist>
  76. </dctype>
  77. </item>
  78. <send>
  79. <pid/>
  80. <savedata/>
  81. <kind/>
  82. <vitcareflag/>
  83. <careflag/>
  84. <vorddd/>
  85. <vcretno/>
  86. </send>
  87. <tmp/>
  88. <init>
  89. <orddept/>
  90. <userlist/>
  91. </init>
  92. <temp/>
  93. </root>
  94. </instance>
  95. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  96. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  97. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  98. <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
  99. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  100. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  101. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  102. <script type="javascript">
  103. <![CDATA[
  104. function fFindRow(data, col){
  105. var row = grd_reqtramlist.findRow(data, 1, col);
  106. grd_reqtramlist.select(row, 1, row,grd_reqtramlist.cols-1) = true;
  107. var row = grd_reqrecvlist.findRow(data, 1, col);
  108. grd_reqrecvlist.select(row, 1, row,grd_reqrecvlist.cols-1) = true;
  109. return row;
  110. }
  111. // 메인팝업, 방문등록에따른 화면 제어 셋팅
  112. function fCareflagSetting(sFlag) {
  113. //alert(sFlag);
  114. // 메인팝업시
  115. if (sFlag == "M") {
  116. ipt_pidsearch.disabled = true;
  117. //btn_save.disabled = true;
  118. btn_homezip.disabled = true;
  119. input3.disabled = true;
  120. input6.disabled = true;
  121. combo9.disabled = true;
  122. combo2.disabled = true;
  123. combo1.disabled = true;
  124. input7.disabled = true;
  125. //input1.disabled = true;
  126. radio2.disabled = true;
  127. input4.disabled = true;
  128. chk_visitdays.disabled = true;
  129. combo3.disabled = true;
  130. //cmb_orddept.disabled = true;
  131. //cmb_orddrid.disabled = true;
  132. //textarea1.disabled = true;
  133. //textarea2.disabled = true;
  134. //chk_level2.disabled = true;
  135. //input9.disabled = true;
  136. //input10.disabled = true;
  137. //checkbox1.disabled = true;
  138. //checkbox2.disabled = true;
  139. //checkbox3.disabled = true;
  140. //input5.disabled = true;
  141. //input8.disabled = true;
  142. //발급일자, 진료과, 진료의, 주사/투약처방, 기타 처치처방, 현재 장착/사용의료기기정보 조회 부분만 수정가능함_20091102_SMY
  143. model.setValue("/root/main/status", "U");
  144. input1.disabled = false;
  145. cmb_orddept.disabled = false;
  146. cmb_orddrid.disabled = false;
  147. textarea1.disabled = false;
  148. textarea2.disabled = false;
  149. chk_level2.disabled = false;
  150. input9.disabled = false;
  151. input10.disabled = false;
  152. checkbox1.disabled = false;
  153. checkbox2.disabled = false;
  154. checkbox3.disabled = false;
  155. input5.disabled = false;
  156. input8.disabled = false;
  157. btn_save.disabled = false;
  158. // 방문등록시
  159. } else if (sFlag == "V") {
  160. model.setValue("/root/main/status", "I");
  161. ipt_pidsearch.disabled = false;
  162. btn_save.disabled = false;
  163. btn_homezip.disabled = false;
  164. input3.disabled = false;
  165. input6.disabled = false;
  166. combo9.disabled = false;
  167. combo2.disabled = false;
  168. combo1.disabled = false;
  169. input7.disabled = false;
  170. input1.disabled = false;
  171. radio2.disabled = false;
  172. input4.disabled = false;
  173. chk_visitdays.disabled = false;
  174. combo3.disabled = false;
  175. cmb_orddept.disabled = false;
  176. cmb_orddrid.disabled = false;
  177. textarea1.disabled = false;
  178. textarea2.disabled = false;
  179. chk_level2.disabled = false;
  180. input9.disabled = false;
  181. input10.disabled = false;
  182. checkbox1.disabled = false;
  183. checkbox2.disabled = false;
  184. checkbox3.disabled = false;
  185. input5.disabled = false;
  186. input8.disabled = false;
  187. }
  188. }
  189. //진료과 변경시
  190. function fChgOrdDetpcd(){
  191. model.removeNodeset("/root/init/userlist");
  192. model.makeNode("/root/init/userlist/usercombo");
  193. mmbfGetUserComboList("/root/send/reqdata", "/root/init/userlist", cmb_orddept.value, "0330");
  194. addComboInstance("/root/init/userlist", "userid^usernm", "-^전체", "usercombo"); //의사콤보 전체항목 추가
  195. //cmb_orddrid.select(1);
  196. model.refresh();
  197. //fReqOutPatList();
  198. }
  199. ]]>
  200. </script>
  201. <!--<submission id="TXMNF00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/savedata" replace="instance" resultref="/root/temp"/>-->
  202. <submission id="TRMNF00601" ref="root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="root/main/visitinfo"/>
  203. <submission id="TXMNF00601" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp"/>
  204. <submission id="TXMNF00602" ref="/root/send/savedata" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/temp"/>
  205. <submission id="TRMNF00106" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/item/chargenurse"/>
  206. <script type="javascript" ev:event="xforms-ready">
  207. <![CDATA[
  208. model.setFocus("ipt_pidsearch");
  209. ipt_pidsearch.refresh();
  210. model.setValue("/root/send/kind", "2");
  211. model.setValue("/root/send/careflag", 'V');
  212. submit("TRMNF00106"); // 방문간호사 리스트 조회
  213. submit("TRMNF00110"); // 본인부담률/본인부담 경감
  214. mmbfGetDeptCodeComboList("/root/send/reqdata", "/root/init/orddept", "O"); // 진료과리스트 조회
  215. spid = model.getValue("/root/main/parameter/pid");
  216. // 가정간호 메인 [방문계약 의뢰서 보기]팝업으로 오픈시
  217. if (!isNull(spid)) {
  218. model.setValue("/root/send/pid", model.getValue("/root/main/parameter/pid"));
  219. model.setValue("/root/send/vorddd", model.getValue("/root/main/parameter/vorddd"));
  220. model.setValue("/root/send/vcretno", model.getValue("/root/main/parameter/vcretno"));
  221. model.refresh();
  222. btn_sel.dispatch("DOMActivate");
  223. //진료과 갱신하여 의사나오도록
  224. //cmb_orddept.dispatch("xforms-value-changed");
  225. fChgOrdDetpcd();
  226. model.refresh();
  227. /*
  228. ipt_pidsearch.disabled = true;
  229. btn_save.disabled = true;
  230. btn_homezip.disabled = true;
  231. */
  232. fCareflagSetting("M"); // 메인팝업, 방문등록에따른 화면 제어 셋팅f
  233. }
  234. // 방문계약 등록시
  235. else {
  236. /*
  237. ipt_pidsearch.disabled = false;
  238. btn_save.disabled = false;
  239. btn_homezip.disabled = false;
  240. group3.disabled = false;
  241. */
  242. fCareflagSetting("V");
  243. }
  244. model.refresh();
  245. ]]>
  246. </script>
  247. <submission id="TRMMB04101" method="post" mediatype="application/x-www-form-urlencoded"/>
  248. <submission id="TRMMB04102" method="post" mediatype="application/x-www-form-urlencoded"/>
  249. <submission id="TRMNF00110" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" replace="instance" resultref="/root/item/dctype"/>
  250. </model>
  251. </xhtml:head>
  252. <xhtml:body pagewidth="820" pageheight="590" guideline="1,812;" style="border-color:#999999; border-style:none; margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  253. <group id="group1" style="left:375px; top:265px; width:424px; height:310px; border-color:#d2d2d2; border-left-color:#d2d2d2; border-top-color:#d2d2d2; border-right-color:#d2d2d2; border-bottom-color:#d2d2d2; border-style:solid; "/>
  254. <group id="group3" scroll="auto" style="left:0px; top:13px; width:375px; height:457px; ">
  255. <!-- <caption id="cap_listtitle" class="tit_2" style="left:5px; top:58px; width:152px; height:13px; ">의뢰전송 리스트</caption> -->
  256. <line id="line2" class="line_1" style="x1:0px; y1:17px; x2:368; y2:17px; "/>
  257. <caption id="caption1" class="tit_2" style="left:0px; top:0px; width:152px; height:14px; ">방문간호 계약</caption>
  258. <output id="output7" ref="/root/main/visitinfo/visitinfolist/hngnm" class="output_fix" style="left:104; top:75px; width:264; height:19px; text-align:center; "/>
  259. <line id="line11" class="line_3" style="x1:0px; y1:175px; x2:368; y2:175px; "/>
  260. <caption id="caption20" class="cell_1" style="left:0px; top:22px; width:100; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">등록번호</caption>
  261. <caption id="caption22" class="cell_1" style="left:0px; top:125px; width:100; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">전화번호[I]</caption>
  262. <caption id="caption24" class="cell_1" style="left:0px; top:151; width:100; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">휴대전화</caption>
  263. <line id="line16" class="line_2" style="x1:0px; y1:46px; x2:368; y2:46px; "/>
  264. <line id="line17" class="line_2" style="x1:0px; y1:72px; x2:368; y2:72px; "/>
  265. <caption id="caption26" class="cell_1" style="left:0px; top:74; width:100; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">성 명</caption>
  266. <line id="line18" class="line_2" style="x1:0px; y1:98px; x2:368; y2:98px; "/>
  267. <input id="input3" ref="/root/main/visitinfo/visitinfolist/telno1" class="input_default" maxlength="25" style="left:104px; top:129px; width:264; height:19px; "/>
  268. <input id="input6" ref="/root/main/visitinfo/visitinfolist/cphone1" class="input_default" maxlength="15" style="left:104px; top:153px; width:264; height:19px; "/>
  269. <caption id="caption6" class="cell_1" style="left:0px; top:48; width:100; height:23px; vertical-align:middle; ">주민번호</caption>
  270. <caption id="caption15" class="cell_1" style="left:0px; top:100px; width:100; height:23px; vertical-align:middle; ">생년월일</caption>
  271. <caption id="caption14" class="cell_1" style="left:230px; top:100px; width:48px; height:23px; vertical-align:middle; ">성별</caption>
  272. <button id="btn_homezip" class="icon_search" style="left:227px; top:26px; width:16px; height:16px; ">
  273. <caption/>
  274. <script type="javascript" ev:event="DOMActivate">
  275. <![CDATA[
  276. modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/main/cond");
  277. var popupendflag = model.getValue("/root/main/popupendflag");
  278. if (popupendflag == "ok"){
  279. model.setValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
  280. model.refresh();
  281. btn_sel.dispatch("DOMActivate");
  282. }
  283. ]]>
  284. </script>
  285. </button>
  286. <line id="line1" class="line_2" style="x1:0px; y1:150px; x2:368; y2:150px; "/>
  287. <line id="line13" class="line_2" style="x1:0px; y1:124px; x2:368; y2:124px; "/>
  288. <caption id="caption16" class="cell_1" style="left:1px; top:228px; width:100px; height:21px; font-family:돋움; text-align:left; vertical-align:middle; ">본인부담 경감</caption>
  289. <caption id="caption18" class="cell_1" style="left:1px; top:252px; width:147px; height:21px; font-family:돋움; text-align:left; vertical-align:middle; ">장기요양번호</caption>
  290. <caption id="caption19" class="cell_1" style="left:1; top:181px; width:147; height:21px; font-family:돋움; text-align:left; vertical-align:middle; ">등급</caption>
  291. <caption id="caption21" class="cell_1" style="left:1px; top:205px; width:147; height:21px; font-family:돋움; text-align:left; vertical-align:middle; ">본인부담률</caption>
  292. <select1 id="combo9" ref="/root/main/visitinfo/visitinfolist/gradeflag" class="combo_default" appearance="minimal" style="left:150; top:181px; width:219; height:19px; ">
  293. <choices>
  294. <item>
  295. <label>1등급</label>
  296. <value>1</value>
  297. </item>
  298. <item>
  299. <label>2등급</label>
  300. <value>2</value>
  301. </item>
  302. <item>
  303. <label>3등급</label>
  304. <value>3</value>
  305. </item>
  306. </choices>
  307. </select1>
  308. <caption id="caption2" class="cell_1" style="left:0px; top:276px; width:147px; height:23px; vertical-align:middle; ">방문간호 지시서 발급일자</caption>
  309. <input id="input1" ref="/root/main/visitinfo/visitinfolist/reqdd" class="input_default" inputtype="date" format="yyyy-mm-dd" appearance="input" style="left:150px; top:276px; width:219; height:19px; "/>
  310. <caption id="caption3" class="cell_1" style="left:0px; top:302px; width:147px; height:43px; font-family:돋움; text-align:left; vertical-align:middle; ">방문주기</caption>
  311. <input id="input7" ref="/root/main/visitinfo/visitinfolist/longtermno" class="input_default" maxlength="25" style="left:150px; top:252px; width:219; height:19px; "/>
  312. <select1 id="combo1" ref="/root/main/visitinfo/visitinfolist/dctype" class="combo_default" appearance="minimal" style="left:150; top:230px; width:219; height:19px; ">
  313. <choices>
  314. <itemset nodeset="/root/item/dctype/vdctypelist">
  315. <label ref="nm"/>
  316. <value ref="cd"/>
  317. </itemset>
  318. </choices>
  319. </select1>
  320. <caption id="caption4" class="cell_1" style="left:1px; top:228px; width:147; height:21px; font-family:돋움; text-align:left; vertical-align:middle; ">본인부담 경감</caption>
  321. <input id="ipt_pidsearch" ref="/root/send/pid" class="input_search" autonext="false" style="left:105px; top:24px; width:115px; height:19px; ">
  322. <script type="javascript" ev:event="onkeyup">
  323. <![CDATA[
  324. if(event.keyCode == 13) {
  325. inputEnterKey("btn_sel", "DOMActivate");
  326. }
  327. ]]>
  328. </script>
  329. </input>
  330. <select1 id="combo2" ref="/root/main/visitinfo/visitinfolist/qualflag" class="combo_default" appearance="minimal" style="left:150px; top:205px; width:219px; height:19px; ">
  331. <choices>
  332. <itemset nodeset="/root/item/dctype/qualflaglist">
  333. <label ref="nm"/>
  334. <value ref="cd"/>
  335. </itemset>
  336. </choices>
  337. </select1>
  338. <select id="chk_visitdays" ref="/root/main/visitinfo/visitinfolist/visitdwflag" overflow="visible" appearance="full" rows="1" cols="6" style="left:150px; top:327px; width:195px; height:17px; border-style:none; ">
  339. <choices>
  340. <item>
  341. <label>월</label>
  342. <value>1</value>
  343. </item>
  344. <item>
  345. <label>화</label>
  346. <value>2</value>
  347. </item>
  348. <item>
  349. <label>수</label>
  350. <value>3</value>
  351. </item>
  352. <item>
  353. <label>목</label>
  354. <value>4</value>
  355. </item>
  356. <item>
  357. <label>금</label>
  358. <value>5</value>
  359. </item>
  360. <item>
  361. <label>토</label>
  362. <value>6</value>
  363. </item>
  364. </choices>
  365. </select>
  366. <select1 id="radio2" ref="/root/main/visitinfo/visitinfolist/visitpridflag" overflow="visible" appearance="full" rows="1" cols="3" style="left:150px; top:302px; width:140px; height:20px; border-style:none; ">
  367. <choices>
  368. <item>
  369. <label>월1회</label>
  370. <value>1</value>
  371. </item>
  372. <item>
  373. <label>격주</label>
  374. <value>2</value>
  375. </item>
  376. <item>
  377. <label>주당</label>
  378. <value>3</value>
  379. </item>
  380. </choices>
  381. <script type="javascript" ev:event="onclick">
  382. <![CDATA[
  383. if (radio2.value == 3)
  384. {
  385. input4.value = "";
  386. input4.disabled = false;
  387. }
  388. else
  389. {
  390. input4.value = "";
  391. input4.disabled = true;
  392. }
  393. ]]>
  394. </script>
  395. </select1>
  396. <input id="input4" ref="/root/main/visitinfo/visitinfolist/visitpridtimes" class="input_default" format="#,###" style="left:296px; top:302px; width:25px; height:19px; text-align:right; "/>
  397. <caption id="caption17" style="left:320px; top:303px; width:17px; height:19px; vertical-align:middle; ">회</caption>
  398. <output id="output1" ref="/root/main/visitinfo/visitinfolist/brthdd" class="output_fix" style="left:104px; top:102px; width:116px; height:19px; text-align:center; "/>
  399. <output id="output2" ref="/root/main/visitinfo/visitinfolist/sex" class="output_fix" style="left:280px; top:102px; width:87px; height:19px; text-align:center; "/>
  400. <caption id="caption23" style="left:228px; top:50px; width:17px; height:19px; font-size:8pt; font-weight:bold; text-align:center; vertical-align:middle; ">~</caption>
  401. <output id="output3" ref="/root/main/visitinfo/visitinfolist/rrgstno1" class="output_fix" style="left:104px; top:50px; width:116px; height:19px; text-align:center; "/>
  402. <output id="output4" ref="/root/main/visitinfo/visitinfolist/rrgstno2" class="output_fix" style="left:252px; top:50px; width:116px; height:19px; text-align:center; "/>
  403. <select1 id="combo3" ref="/root/main/visitinfo/visitinfolist/chrgnursid" class="combo_default" appearance="minimal" style="left:150px; top:348px; width:161px; height:19px; ">
  404. <choices>
  405. <itemset nodeset="/root/item/chargenurse/nurselist">
  406. <label ref="usernm"/>
  407. <value ref="userid"/>
  408. </itemset>
  409. </choices>
  410. </select1>
  411. <caption id="caption25" class="cell_1" style="left:0px; top:347px; width:147px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">방문간호사</caption>
  412. <select1 id="cmb_orddrid" ref="/root/main/visitinfo/visitinfolist/orddrid" appearance="minimal" editmode="search" itemcount="30" style="left:150px; top:398px; width:161; height:19px; ">
  413. <choices>
  414. <itemset nodeset="/root/init/userlist/usercombo">
  415. <label ref="usernm"/>
  416. <value ref="userid"/>
  417. </itemset>
  418. </choices>
  419. </select1>
  420. <select1 id="cmb_orddept" ref="/root/main/visitinfo/visitinfolist/orddeptcd" class="combo_default" appearance="minimal" editmode="search" style="left:150px; top:373px; width:161; height:19px; ">
  421. <choices>
  422. <itemset nodeset="/root/init/orddept/dept">
  423. <label ref="depthngnm"/>
  424. <value ref="deptcd"/>
  425. </itemset>
  426. </choices>
  427. <script type="javascript" ev:event="xforms-value-changed">
  428. <![CDATA[
  429. fChgOrdDetpcd();
  430. model.resetInstanceNode("/root/main/visitinfo/visitinfolist/orddrid"); //20091104_SMY추가
  431. ]]>
  432. </script>
  433. </select1>
  434. <caption id="caption27" class="cell_1" style="left:0px; top:372px; width:147px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">진 료 과</caption>
  435. <caption id="caption28" class="cell_1" style="left:0px; top:397px; width:147px; height:23px; font-family:돋움; text-align:left; vertical-align:middle; ">진 료 의</caption>
  436. </group>
  437. <caption id="caption63" class="cell_1" style="left:374px; top:35px; width:425px; height:29px; font-family:돋움; text-align:left; vertical-align:middle; ">주사 . 투약처방</caption>
  438. <textarea id="textarea1" ref="/root/main/visitinfo/visitinfolist/injmedremark" scroll="autovscroll" maxlength="3500" style="left:374px; top:66px; width:424px; height:65px; "/>
  439. <caption id="caption5" class="cell_1" style="left:374px; top:135px; width:425px; height:29px; font-family:돋움; text-align:left; vertical-align:middle; ">기타 처치처방</caption>
  440. <textarea id="textarea2" ref="/root/main/visitinfo/visitinfolist/etcdressremark" scroll="autovscroll" maxlength="3500" style="left:374px; top:166px; width:424px; height:65px; "/>
  441. <line id="line6" class="line_1" style="x1:360px; y1:30px; x2:799px; y2:30px; "/>
  442. <caption id="caption7" class="cell_1" style="left:374px; top:235px; width:425px; height:29px; font-family:돋움; text-align:left; vertical-align:middle; ">현재 장착.사용의료기기등에 √표시</caption>
  443. <select id="chk_level2" ref="/root/main/visitinfo/visitinfolist/nutflag" appearance="full" cols="1" style="left:455; top:270px; width:320px; height:105px; text-align:left; border-style:none; ">
  444. <choices>
  445. <item>
  446. <label>일반식</label>
  447. <value>1</value>
  448. </item>
  449. <item>
  450. <label>특별식</label>
  451. <value>2</value>
  452. </item>
  453. <item>
  454. <label>중심정맥영양</label>
  455. <value>3</value>
  456. </item>
  457. <item>
  458. <label>경관영양:</label>
  459. <value>4</value>
  460. </item>
  461. <item>
  462. <label>L-tube</label>
  463. <value>5</value>
  464. </item>
  465. <item>
  466. <label>Gastrostomy tube</label>
  467. <value>6</value>
  468. </item>
  469. </choices>
  470. </select>
  471. <caption id="caption70" style="left:387; top:280px; width:65px; height:35px; vertical-align:middle; ">영양관리</caption>
  472. <caption id="caption8" style="left:387px; top:380px; width:65px; height:35px; vertical-align:middle; ">배뇨관리</caption>
  473. <caption id="caption9" style="left:387px; top:440px; width:65px; height:35px; vertical-align:middle; ">호흡관리</caption>
  474. <select id="checkbox1" ref="/root/main/visitinfo/visitinfolist/urinflag" appearance="full" cols="2" style="left:455px; top:380px; width:320px; height:55px; text-align:left; border-style:none; ">
  475. <choices>
  476. <item>
  477. <label>(Foley/Cystostomy/CIC)</label>
  478. <value>1</value>
  479. </item>
  480. <item>
  481. <label>방광세척</label>
  482. <value>2</value>
  483. </item>
  484. <item>
  485. <label>방광훈련</label>
  486. <value>3</value>
  487. </item>
  488. <item>
  489. <label>요루관리</label>
  490. <value>4</value>
  491. </item>
  492. <item>
  493. <label>인공방광</label>
  494. <value>5</value>
  495. </item>
  496. </choices>
  497. </select>
  498. <caption id="caption10" style="left:525px; top:310px; width:226px; height:35px; vertical-align:middle; ">( )cc/일, 열량:( )cal/일</caption>
  499. <select id="checkbox2" ref="/root/main/visitinfo/visitinfolist/breathflag" appearance="full" cols="2" style="left:455px; top:440px; width:320px; height:40px; text-align:left; border-style:none; ">
  500. <choices>
  501. <item>
  502. <label>산소 ℓ/min</label>
  503. <value>1</value>
  504. </item>
  505. <item>
  506. <label>기관지절개관</label>
  507. <value>2</value>
  508. </item>
  509. <item>
  510. <label>인공호흡기</label>
  511. <value>3</value>
  512. </item>
  513. <item>
  514. <label>흡인(① oro & nasal ② intro-tracheal)</label>
  515. <value>4</value>
  516. </item>
  517. </choices>
  518. </select>
  519. <select id="checkbox3" ref="/root/main/visitinfo/visitinfolist/woundflag" appearance="full" cols="1" style="left:455px; top:485px; width:320px; height:55px; text-align:left; border-style:none; ">
  520. <choices>
  521. <item>
  522. <label>외과적 상처 Dressing</label>
  523. <value>1</value>
  524. </item>
  525. <item>
  526. <label>봉합사제거</label>
  527. <value>2</value>
  528. </item>
  529. <item>
  530. <label>욕창 Dressing</label>
  531. <value>3</value>
  532. </item>
  533. </choices>
  534. </select>
  535. <caption id="caption11" style="left:387px; top:485px; width:65px; height:35px; vertical-align:middle; ">상처관리</caption>
  536. <caption id="caption12" style="left:387px; top:540px; width:397px; height:35px; vertical-align:middle; ">기타( )</caption>
  537. <input id="input8" ref="/root/main/visitinfo/visitinfolist/woundremark" maxlength="450" autonext="false" style="left:420px; top:545px; width:350px; height:19px; "/>
  538. <input id="input9" ref="/root/main/visitinfo/visitinfolist/nutday" maxlength="10" autonext="false" style="left:535px; top:320px; width:40px; height:19px; "/>
  539. <input id="input10" ref="/root/main/visitinfo/visitinfolist/nutkcal" maxlength="10" autonext="false" style="left:655px; top:320px; width:35px; height:19px; "/>
  540. <button id="btn_reqview" class="btn2_letter2" style="left:758px; top:10px; width:42px; height:19px; ">
  541. <caption>닫기</caption>
  542. <script type="javascript" ev:event="DOMActivate">
  543. <![CDATA[
  544. window.close();
  545. ]]>
  546. </script>
  547. </button>
  548. <button id="btn_save" class="btn5_letter2" style="left:712px; top:10px; width:42px; height:19px; ">
  549. <caption>저장</caption>
  550. <script type="javascript" ev:event="DOMActivate">
  551. <![CDATA[
  552. var spid = null;
  553. var sgradeflag = null;
  554. var squalflag = null;
  555. //var sdctype = null;
  556. var slongtermno = null;
  557. var sreqdd = null;
  558. var schrgnursid = null;
  559. var sreqdeptcd = null;
  560. var sreqdrid = null;
  561. // 필수입력 체크_실제 맵핑된 경로로 체크되도록 수정_20091104_SMY
  562. spid = model.getValue("/root/send/pid");
  563. sgradeflag = model.getValue("/root/main/visitinfo/visitinfolist/gradeflag");
  564. squalflag = model.getValue("/root/main/visitinfo/visitinfolist/qualflag");
  565. //sdctype = model.getValue("/root/send/savedata/dctype");
  566. slongtermno = model.getValue("/root/main/visitinfo/visitinfolist/longtermno");
  567. sreqdd = model.getValue("/root/main/visitinfo/visitinfolist/reqdd");
  568. schrgnursid = model.getValue("/root/main/visitinfo/visitinfolist/chrgnursid");
  569. sreqdeptcd = model.getValue("/root/main/visitinfo/visitinfolist/orddeptcd");
  570. sreqdrid = model.getValue("/root/main/visitinfo/visitinfolist/orddrid");
  571. if (getStringLength(spid)==0) {
  572. messageBox("환자번호를","C001"); // 입력하십시오!
  573. //model.setFocus(ipt_pidsearch);
  574. return;
  575. }
  576. if (getStringLength(sgradeflag)==0) {
  577. messageBox("등급을","C001"); // 입력하십시오!
  578. return;
  579. }
  580. if (getStringLength(squalflag)==0) {
  581. messageBox("본인부담률을","C001"); // 입력하십시오!
  582. return;
  583. }
  584. if (getStringLength(slongtermno)==0) {
  585. messageBox("장기요양번호를","C001"); // 입력하십시오!
  586. return;
  587. }
  588. if (getStringLength(sreqdd)==0) {
  589. messageBox("지시서 발급일자를","C001"); // 입력하십시오!
  590. return;
  591. }
  592. if (getStringLength(sreqdeptcd)==0) {
  593. messageBox("진료과를","C001"); // 입력하십시오!
  594. return;
  595. }
  596. if (getStringLength(sreqdrid)==0) {
  597. messageBox("진료의를","C001"); // 입력하십시오!
  598. return;
  599. }
  600. if (sreqdrid == "-") {
  601. messageBox("진료의 - 전체는 입력할 수 없습니다.","C"); // 입력하십시오!
  602. return;
  603. }
  604. if (getStringLength(schrgnursid)==0) {
  605. messageBox("방문간호사를","C001"); // 입력하십시오!
  606. return;
  607. }
  608. model.removenode("/root/send/savedata");
  609. model.makeNode("/root/send/savedata");
  610. model.copyNode("/root/send/savedata", "/root/main/visitinfo/visitinfolist");
  611. model.makeValue("/root/send/savedata/vitcareflag",'Y');
  612. //방문간호 계약 내용 수정가능_20091102_SMY
  613. model.makeValue("/root/send/savedata/status", model.getValue("/root/main/status"));
  614. model.refresh();
  615. /*
  616. // 필수입력 체크
  617. spid = model.getValue("/root/send/savedata/pid");
  618. sgradeflag = model.getValue("/root/send/savedata/gradeflag");
  619. squalflag = model.getValue("/root/send/savedata/qualflag");
  620. //sdctype = model.getValue("/root/send/savedata/dctype");
  621. slongtermno = model.getValue("/root/send/savedata/longtermno");
  622. sreqdd = model.getValue("/root/send/savedata/reqdd");
  623. schrgnursid = model.getValue("/root/send/savedata/chrgnursid");
  624. sreqdeptcd = model.getValue("/root/send/savedata/orddeptcd");
  625. sreqdrid = model.getValue("/root/send/savedata/orddrid");
  626. if (getStringLength(spid)==0) {
  627. messageBox("환자번호를","C001"); // 입력하십시오!
  628. //model.setFocus(ipt_pidsearch);
  629. return;
  630. }
  631. if (getStringLength(sgradeflag)==0) {
  632. messageBox("등급을","C001"); // 입력하십시오!
  633. return;
  634. }
  635. if (getStringLength(squalflag)==0) {
  636. messageBox("본인부담률을","C001"); // 입력하십시오!
  637. return;
  638. }
  639. if (getStringLength(slongtermno)==0) {
  640. messageBox("장기요양번호를","C001"); // 입력하십시오!
  641. return;
  642. }
  643. if (getStringLength(sreqdd)==0) {
  644. messageBox("지시서 발급일자를","C001"); // 입력하십시오!
  645. return;
  646. }
  647. if (getStringLength(sreqdeptcd)==0) {
  648. messageBox("진료과를","C001"); // 입력하십시오!
  649. return;
  650. }
  651. if (getStringLength(sreqdrid)==0) {
  652. messageBox("진료의를","C001"); // 입력하십시오!
  653. return;
  654. }
  655. if (getStringLength(schrgnursid)==0) {
  656. messageBox("방문간호사를","C001"); // 입력하십시오!
  657. return;
  658. }
  659. model.refresh();
  660. */
  661. //if(model.getValue("/root/send/savedata/status") == "U"){
  662. // submit("TXMNF00602");
  663. //}else{
  664. submit("TXMNF00601");
  665. //}
  666. //messageBox("등록이","I002"); // 완료되었습니다.
  667. window.close();
  668. ]]>
  669. </script>
  670. </button>
  671. <input id="input5" ref="/root/main/visitinfo/visitinfolist/wounddeldd" maxlength="8" autonext="false" style="left:540px; top:500px; width:75px; height:19px; "/>
  672. <caption id="caption13" style="left:620px; top:500px; width:17px; height:19px; vertical-align:middle; ">일</caption>
  673. <button id="btn_sel" class="btn2_letter2" visibility="hidden" style="left:255px; top:35px; width:42px; height:19px; ">
  674. <caption>조회</caption>
  675. <script type="javascript" ev:event="DOMActivate">
  676. <![CDATA[
  677. //model.setValue("root/send/vitcareflag",'N'); // 지시서 방문간호등록구분
  678. // model.setValue("/root/send/pid", ipt_pidsearch.currentText);
  679. svitcareflag = model.getValue("/root/main/parameter/vitcareflag");
  680. if (svitcareflag == "Y" ) {
  681. model.setValue("root/send/vitcareflag",'Y'); // 지시서 방문간호등록구분
  682. } else {
  683. model.setValue("root/send/vitcareflag",'N'); // 지시서 방문간호등록구분
  684. }
  685. model.refresh();
  686. submit("TRMNF00601");
  687. var shocmyn = null;
  688. shocmyn = model.getValue("/root/main/visitinfo/visitinfolist/hocmyn");
  689. //alert(shocmyn+'/'+svitcareflag);
  690. // 지시서 등록체크
  691. if (shocmyn =='N' && svitcareflag == '') {
  692. messageBox("등록된 지시서 정보가 ","I004"); // 없습니다.
  693. btn_save.disabled = true;
  694. } else {
  695. btn_save.disabled = false;
  696. }
  697. ]]>
  698. </script>
  699. </button>
  700. </xhtml:body>
  701. </xhtml:html>