SPMNF00110_가정간호 의뢰서 조회.xrw 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/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. <item>
  10. </item>
  11. <main>
  12. <parameter/>
  13. <prcp>
  14. <prcplist>
  15. <status/>
  16. <prcpstatcd/>
  17. <prcpclscd/>
  18. <prcpkindcd/>
  19. <prcpcd/>
  20. <prcpnm/>
  21. <prcpvol/>
  22. <prcpvolunitnm/>
  23. <prcpqty/>
  24. <prcpqtyunitnm/>
  25. <prcptims/>
  26. <prcpdayno/>
  27. <drugmthdspccdnm/>
  28. <prcpmixno/>
  29. <payflagcd/>
  30. <prcpdelivefact/>
  31. <hosinhosoutflag/>
  32. <prcpexecdeptcd/>
  33. <prcphopedd/>
  34. <choiordflag/>
  35. <rgstdt/>
  36. <rgstridnm/>
  37. <testrsltunit/>
  38. <testrsltcnts/>
  39. <prcpgenrflag/>
  40. <prcphistcd/>
  41. <tempprcpflag/>
  42. <prcpsetcd/>
  43. <prcpvolunitflag/>
  44. <prcpqtyunitflag/>
  45. <orgprcpqty/>
  46. <drugspd/>
  47. <drugspdunitflag/>
  48. <powdflag/>
  49. <prnprcpflag/>
  50. <prepprcpflag/>
  51. <selfprcpflag/>
  52. <selfdrugflag/>
  53. <drugpackflag/>
  54. <erprcpflag/>
  55. <precureprcpflag/>
  56. <nigtprcpflag/>
  57. <portprcpflag/>
  58. <fixprcpflag/>
  59. <anamneflag/>
  60. <fastprcpflag/>
  61. <erreadflag/>
  62. <prcpdirecflag/>
  63. <tnsuseflag/>
  64. <tnsfiltflag/>
  65. <trnptbftestflag/>
  66. <offictourhealexamflag/>
  67. <stemcellflag/>
  68. <angioflagcd/>
  69. <opansflagcd/>
  70. <ansttm/>
  71. <mealcalrcnts/>
  72. <mealprotcnts/>
  73. <mealupdtflag/>
  74. <hosinprcpresncd/>
  75. <etcprcpresncd/>
  76. <drugmthdspccd/>
  77. <issdeptcd/>
  78. <prcpauthflag/>
  79. <prcpinptflag/>
  80. <prcpsignflag/>
  81. <rateprcpflag/>
  82. <prcprefseq/>
  83. <ordreqlnkno/>
  84. <testreqlnkno/>
  85. <prcplnkdd/>
  86. <prcplnkno/>
  87. <oprsrvno/>
  88. <tootfact/>
  89. <clinccmtcnts/>
  90. <prcpessninptflag/>
  91. <grupsnglflag/>
  92. <drugrateqty/>
  93. <asttestflag/>
  94. <clincstdyflag/>
  95. <prtlno/>
  96. <clincstdycd/>
  97. <optermcd/>
  98. <prcpflag/>
  99. <hscttempprcpflag/>
  100. <inclprcpcd/>
  101. <inclprcpno/>
  102. <pampkspec/>
  103. <prcppkspec/>
  104. <calcscormastspec/>
  105. <drugmastspec/>
  106. <rateprcpspec/>
  107. <matrsetprcpspec/>
  108. <suppdeptspec/>
  109. <contprcpspec/>
  110. <etclnkspec/>
  111. <srchcondcnts/>
  112. <orgprcpnm/>
  113. <chkcol/>
  114. <hsctdelivepos/>
  115. <hsctlnkno/>
  116. <etcprcpflag/>
  117. <tempcol1/>
  118. <tempcol2/>
  119. <tempcol3/>
  120. <tempcol4/>
  121. <tempcol5/>
  122. <tempcol6/>
  123. <tempcol7/>
  124. <tempcol8/>
  125. <tempcol9/>
  126. <tempcol10/>
  127. <tempcol11/>
  128. <tempcol12/>
  129. </prcplist>
  130. </prcp>
  131. <cond>
  132. <pid/>
  133. <hngnm/>
  134. <sa/>
  135. <reqdeptcd/>
  136. <reqdrid/>
  137. <reqdeptnm/>
  138. <reqdrnm/>
  139. </cond>
  140. <cnstinfo>
  141. <cnstlist/>
  142. <patinfo>
  143. <reqdt/>
  144. <inptuserid/>
  145. <inptusernm/>
  146. <cnt/>
  147. <inyn/>
  148. <outyn/>
  149. <roomcd/>
  150. <indd/>
  151. <dschdd/>
  152. <addr/>
  153. <tel1/>
  154. <tel2/>
  155. <outorddd/>
  156. <rrgstno1/>
  157. </patinfo>
  158. </cnstinfo>
  159. <reqprntinfo>
  160. <reqprntlist>
  161. <diagnm/>
  162. <RO/>
  163. <main/>
  164. <dschdd/>
  165. <opdd/>
  166. <opnm/>
  167. <reqpatstat/>
  168. <statobs1>0</statobs1>
  169. <statobs2>0</statobs2>
  170. <statobs3>0</statobs3>
  171. <statobs4>0</statobs4>
  172. <statobs5>0</statobs5>
  173. <kind1>0</kind1>
  174. <kind2>0</kind2>
  175. <mthd1>0</mthd1>
  176. <mthd2>0</mthd2>
  177. <mthd3>0</mthd3>
  178. <vol/>
  179. <calr/>
  180. <urinmngt1>0</urinmngt1>
  181. <urinmngt1vol/>
  182. <urinmngt2>0</urinmngt2>
  183. <urinmngt2vol/>
  184. <urinmngt3>0</urinmngt3>
  185. <defemngt1>0</defemngt1>
  186. <defemngt2>0</defemngt2>
  187. <defemngt3>0</defemngt3>
  188. <oxyregm1>0</oxyregm1>
  189. <oxyregm1vol/>
  190. <oxyregm2>0</oxyregm2>
  191. <oxyregm3>0</oxyregm3>
  192. <attmptmngt1>0</attmptmngt1>
  193. <attmptmngt2>0</attmptmngt2>
  194. <attmptmngt3>0</attmptmngt3>
  195. <attmptmngt3vol/>
  196. <wundmngt1>0</wundmngt1>
  197. <wundmngt1vol/>
  198. <wundmngt2>0</wundmngt2>
  199. <wundmngt2vol/>
  200. <etctube1>0</etctube1>
  201. <etctube2>0</etctube2>
  202. <etc/>
  203. <diagnm2/>
  204. <diagnm3/>
  205. <diagcd/>
  206. <diagcd2/>
  207. <diagcd3/>
  208. </reqprntlist>
  209. </reqprntinfo>
  210. </main>
  211. <send>
  212. <pid/>
  213. <inptdt/>
  214. <instcd/>
  215. <reqdd/>
  216. <formrecseq/>
  217. <cond>
  218. <cond1/>
  219. <cond2/>
  220. <cond3/>
  221. </cond>
  222. </send>
  223. <init>
  224. <payflagcd/>
  225. <prcpclscd/>
  226. <hsctdelivepos/>
  227. <patnm>
  228. <patnm>
  229. <hngnm/>
  230. </patnm>
  231. </patnm>
  232. <reqcancelreason>
  233. <M0387/>
  234. </reqcancelreason>
  235. </init>
  236. </root>
  237. </instance>
  238. <script type="javascript" ev:event="xforms-ready">
  239. <![CDATA[
  240. zbcfGetCodeList(new Array( "M0029", "M0005" , "M0343" , "M0387"), new Array( "/root/init/payflagcd", "/root/init/prcpclscd", "/root/init/hsctdelivepos" , "/root/init/reqcancelreason"));
  241. ivw_rep.src = "../../../emr/medirecweb/xrw/SSMMR01100_서식로더.xrw";
  242. //ivw_req.window.javascript.fInitPage(false, true,parseInt(ivw_req.attribute("height"))); // 의뢰
  243. ivw_rep.window.javascript.fInitPage(false, true,parseInt(ivw_rep.attribute("height")), null, true); // 회신
  244. var sReqformrecseq = null;
  245. sReqformrecseq = model.getValue("/root/main/parameter/formrecseq");
  246. sReqpid = model.getValue("/root/main/parameter/pid");
  247. sReqhngnm = model.getValue("/root/main/parameter/hngnm");
  248. sReqsa = model.getValue("/root/main/parameter/sa");
  249. sReqdeptnm = model.getValue("/root/main/parameter/reqdeptnm");
  250. sReqdrnm = model.getValue("/root/main/parameter/reqdrnm");
  251. //alert(sReqformrecseq);
  252. if((sReqformrecseq == '0') || (sReqformrecseq == "")){
  253. messageBox("의뢰서가 존재 하지","E007"); //않습니다.
  254. return;
  255. }else{
  256. model.setValue("/root/main/cond/pid", sReqpid);
  257. model.setValue("/root/main/cond/hngnm", sReqhngnm);
  258. model.setValue("/root/main/cond/sa", sReqsa);
  259. model.setValue("/root/main/cond/reqdeptnm", sReqdeptnm);
  260. model.setValue("/root/main/cond/reqdrnm", sReqdrnm);
  261. // 서식지 연결
  262. //ivw_rep.src = "../../../emr/medirecweb/xrw/SSMMR01100_서식로더.xrw";
  263. //ivw_rep.indow.javascript.fSetCnstRecvDeptcd("3090100000"); // 삭제된 메소드
  264. //ivw_rep.window.javascript.fInitPage(false, false,parseInt(ivw_rep.attribute("height"))); // 회신
  265. ivw_rep.window.javascript.setParameter("cnstopenmode", "Y"); // 의뢰서 서식만 조회
  266. ivw_rep.window.javascript.setParameter("homeNurOrd_dispYn", "N");
  267. ivw_rep.window.javascript.fLoadRecForm(sReqformrecseq); //sReqformrecseq);
  268. model.removeNodeset("/root/main/prcp/prcplist");
  269. model.setValue ( "/root/send/cond/cond1", sReqformrecseq);
  270. submit("TRMMB00501", false );
  271. model.makeValue ( "/root/main/cond/formrecseq", sReqformrecseq);
  272. submit("TRMNF01110");
  273. model.refresh();
  274. model.recalculate();
  275. }
  276. ]]>
  277. </script>
  278. <submission id="TRMMB00501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/cond" resultref="/root/main/prcp"/>
  279. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  280. <submission id="TRMNF01110" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/cond" resultref="/root/main/cnstinfo"/>
  281. </model>
  282. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  283. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  284. <script type="javascript" src="../../../emr/homecareweb/js/SMMNF01600.js"/>
  285. <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
  286. <script type="javascript" src="../../../emr/medirecweb/js/MMRCommon.js"/>
  287. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  288. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  289. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  290. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  291. <script type="javascript" src="../../../ast/soclworkweb/js/AWMCommon.js"/>
  292. </xhtml:head>
  293. <!--(2010903 경북대) s
  294. 전체화면 늘림
  295. 좌측 iviewer 의 사이즈 늘림
  296. 우측 컨트롤들 우측으로 이동 및 위치이동
  297. -->
  298. <xhtml:body pagewidth="1215" pageheight="790" guideline="1,1197;">
  299. <!--(2010903 경북대) e -->
  300. <caption id="caption17" class="tit_2" style="left:5px; top:9px; width:144px; height:14px; ">가정간호 의뢰서</caption>
  301. <line id="line1" class="line_1" style="x1:0px; y1:24px; x2:605px; y2:25px; "/>
  302. <iviewer id="ivw_rep" style="left:0px; top:30px; width:605px; height:720px; border-style:sunken; "/>
  303. <!--(2010903 경북대) s -->
  304. <button id="button26" class="btn4_letter2" style="left:1155px; top:755px; width:56px; height:22px; ">
  305. <!--(2010903 경북대) e-->
  306. <caption>종료</caption>
  307. <script type="javascript" ev:event="DOMActivate">
  308. <![CDATA[
  309. window.close();
  310. ]]>
  311. </script>
  312. </button>
  313. <caption id="caption14" class="tit_2" style="left:610px; top:60px; width:172px; height:13px; ">처방조회 리스트</caption>
  314. <line id="line3" class="line_1" style="x1:609px; y1:80px; x2:1209px; y2:80px; "/>
  315. <datagrid id="grd_prcplist" nodeset="/root/main/prcp/prcplist" class="datagrid2" caption="^분류^적용기간^적용기간^처방코드^처방명^총용량^일회&#xA;용량^일회&#xA;용량^수량^일회&#xA;수량^일회&#xA;수량^횟수^일수^급비^용법/검체^MIX^전달^원내외^전달부서^시행부서^희망일자^선택진료^등록일시^등록자" colsep="^" colwidth="38, 50, 100, 100, 80, 260, 0, 35, 30, 0, 39, 30, 40, 37, 60, 153, 38, 40, 50, 100, 100, 100, 60, 80, 80" dataheight="23" ellipsis="true" explorerbar="sort" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" tooltip="true" navindex="1" style="left:609px; top:85px; width:602px; height:665px; focus-rect:hidden; ">
  316. <col disabled="true" ref="status" type="combo" visibility="hidden" style="left:0px; top:23px; width:38px; height:23px; text-align:center; word-wrap:word; focus-rect:visible; ">
  317. <choices>
  318. <item>
  319. <label>검색</label>
  320. <value>S</value>
  321. </item>
  322. <item>
  323. <label>신규</label>
  324. <value>I</value>
  325. </item>
  326. <item>
  327. <label>삭제</label>
  328. <value>D</value>
  329. </item>
  330. <item>
  331. <label>D/C</label>
  332. <value>C</value>
  333. </item>
  334. <item>
  335. <label>-</label>
  336. <value>-</value>
  337. </item>
  338. <item>
  339. <label>수정</label>
  340. <value>U</value>
  341. </item>
  342. </choices>
  343. </col>
  344. <col ref="prcpclscd" type="combo" visibility="hidden" style="text-align:left; focus-rect:visible; ">
  345. <choices>
  346. <itemset nodeset="/root/init/prcpclscd/M0005">
  347. <label ref="cdnm"/>
  348. <value ref="cdid"/>
  349. </itemset>
  350. </choices>
  351. </col>
  352. <col disabled="true" ref="tempcol6" type="date" format="yyyy-mm-dd" style="text-align:center; "/>
  353. <col ref="tempcol7" type="date" format="yyyy-mm-dd" style="text-align:center; "/>
  354. <col ref="prcpcd" style="text-align:left; focus-rect:visible; "/>
  355. <col ref="prcpnm" style="text-align:left; focus-rect:visible; "/>
  356. <col ref="prcpvol" visibility="hidden" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
  357. <col ref="drprcpetc7" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
  358. <col ref="prcpvolunitnm" type="output" style="text-align:center; focus-rect:visible; "/>
  359. <col ref="prcpqty" visibility="hidden" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
  360. <col ref="drprcpetc8" format="#.#" maxlength="5.3" style="text-align:center; focus-rect:visible; "/>
  361. <col ref="prcpqtyunitnm" style="text-align:center; focus-rect:visible; "/>
  362. <col ref="prcptims" format="#" style="text-align:center; focus-rect:visible; "/>
  363. <col ref="prcpdayno" format="#" style="text-align:center; focus-rect:visible; "/>
  364. <col disabled="true" ref="payflagcd" type="combo">
  365. <choices>
  366. <itemset nodeset="/root/init/payflagcd/M0029">
  367. <label ref="cdnm"/>
  368. <value ref="cdid"/>
  369. </itemset>
  370. </choices>
  371. </col>
  372. <col disabled="true" ref="drugmthdspccdnm" type="output" style="focus-rect:visible; "/>
  373. <col ref="prcpmixno" style="focus-rect:visible; "/>
  374. <col ref="prcpdelivefact" style="focus-rect:visible; "/>
  375. <col disabled="true" ref="hosinhosoutflag" type="combo" style="text-align:center; focus-rect:visible; ">
  376. <choices>
  377. <item>
  378. <label>원내</label>
  379. <value>I</value>
  380. </item>
  381. <item>
  382. <label>원외</label>
  383. <value>O</value>
  384. </item>
  385. <item>
  386. <label/>
  387. <value/>
  388. </item>
  389. </choices>
  390. </col>
  391. <col disabled="true" ref="hsctdelivepos" type="combo">
  392. <choices>
  393. <itemset nodeset="/root/init/hsctdelivepos/M0343">
  394. <label ref="cdnm"/>
  395. <value ref="cdid"/>
  396. </itemset>
  397. </choices>
  398. </col>
  399. <col class="gridcombo" disabled="true" ref="prcpexecdeptcd" type="combo" style="focus-rect:visible; ">
  400. <choices>
  401. <itemset nodeset="/root/orddept/dept">
  402. <label ref="depthngnm"/>
  403. <value ref="deptcd"/>
  404. </itemset>
  405. </choices>
  406. </col>
  407. <col ref="prcphopedd" type="inputdate" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; focus-rect:visible; "/>
  408. <col checkvalue="Y,N" ref="choiordflag" type="checkbox" visibility="hidden" style="focus-rect:visible; "/>
  409. <col ref="rgsttm" visibility="hidden" format="yyyy-mm-dd"/>
  410. <col ref="rgstridnm" visibility="hidden"/>
  411. </datagrid>
  412. <!--(2010903 경북대) -->
  413. <button id="btn_print" class="btn2_letter4" style="left:1145px; top:60px; width:64px; height:19px; ">
  414. <!--(2010903 경북대) -->
  415. <caption>처방출력</caption>
  416. <script type="javascript" ev:event="DOMActivate">
  417. <![CDATA[
  418. exeReportPreview("RPMNF00110","XMLSTR");
  419. ]]>
  420. </script>
  421. </button>
  422. <line id="line2" class="line_1" style="x1:609px; y1:24px; x2:1209px; y2:24px; "/>
  423. <line id="line4" class="line_3" style="x1:605px; y1:55px; x2:1210px; y2:55px; "/>
  424. <caption id="caption7" class="cell_1" style="left:608px; top:30px; width:67px; height:23px; text-align:center; ">환자정보</caption>
  425. <output id="output3" ref="/root/main/cond/hngnm" class="output_fix" style="left:785px; top:31px; width:125px; height:19px; "/>
  426. <output id="output1" ref="/root/main/cond/pid" class="output_fix" style="left:676px; top:31px; width:109px; height:19px; "/>
  427. <output id="output2" ref="/root/main/cond/sa" class="output_fix" style="left:893px; top:31px; width:90px; height:19px; "/>
  428. <output id="output4" ref="/root/main/cond/reqdeptnm" class="output_fix" style="left:967px; top:31px; width:135px; height:19px; "/>
  429. <output id="output5" ref="/root/main/cond/reqdrnm" class="output_fix" style="left:1082px; top:31px; width:120px; height:19px; "/>
  430. <!--(2010903 경북대) -->
  431. <button id="btn_reqprint" class="btn2_letter5" style="left:1065px; top:60px; width:75px; height:19px; ">
  432. <!--(2010903 경북대) -->
  433. <caption>의뢰서출력</caption>
  434. <script type="javascript" ev:event="DOMActivate">
  435. <![CDATA[
  436. /* var outorddd = model.getValue("/root/main/cnstinfo/patinfo/outorddd");
  437. if(outorddd != ""){
  438. var orddd = outorddd.substr(0,4) + "." + outorddd.substr(4,2) + "." + outorddd.substr(6,2);
  439. model.setValue("/root/main/cnstinfo/patinfo/outorddd", orddd);
  440. }
  441. */
  442. //var count = model.getValue("/root/main/cnstinfo/cnstlist/count");
  443. /****************** AWMCommon.js에서 지원하는 함수 getNodesetCnt******
  444. * 로드갯수 구하기
  445. * @param : 모델명(model1), 경로(path) 일수가 구해짐.
  446. ************************************************************************/
  447. var count = getNodesetCnt(model1, "/root/main/cnstinfo/cnstlist"); // list의 개수와 쿼리로 가져오는 갯수가 상의해서 list의 개수를 세서 for문 돌리도록 수정 (2009.10.22 hhm)
  448. for(var i = 1; i <= count ; i++){
  449. var degnitemnm = model.getValue("/root/main/cnstinfo/cnstlist[" + i + "]/degnitemnm");
  450. var rectermcd = model.getValue("/root/main/cnstinfo/cnstlist[" + i + "]/rectermcd");
  451. var rectermnm = model.getValue("/root/main/cnstinfo/cnstlist[" + i + "]/rectermnm");
  452. var reccnts = model.getValue("/root/main/cnstinfo/cnstlist[" + i + "]/reccnts");
  453. if(degnitemnm == "R/O"){
  454. model.setValue("/root/main/reqprntinfo/reqprntlist/RO" , rectermnm);
  455. }else if(degnitemnm == "주"){
  456. model.setValue("/root/main/reqprntinfo/reqprntlist/main" , rectermnm);
  457. }else if(degnitemnm == "진단명"){
  458. if(model.getValue("/root/main/reqprntinfo/reqprntlist/diagnm" ) == ""){
  459. model.setValue("/root/main/reqprntinfo/reqprntlist/diagnm" , rectermnm);
  460. model.setValue("/root/main/reqprntinfo/reqprntlist/diagcd" , rectermcd);
  461. }else if((model.getValue("/root/main/reqprntinfo/reqprntlist/diagnm" ) != "") && (model.getValue("/root/main/reqprntinfo/reqprntlist/diagnm2" ) == "")){
  462. model.setValue("/root/main/reqprntinfo/reqprntlist/diagnm2 " , rectermnm);
  463. model.setValue("/root/main/reqprntinfo/reqprntlist/diagcd2" , rectermcd);
  464. }else if((model.getValue("/root/main/reqprntinfo/reqprntlist/diagnm" ) != "") && (model.getValue("/root/main/reqprntinfo/reqprntlist/diagnm2" ) != "") && (model.getValue("/root/main/reqprntinfo/reqprntlist/diagnm3" ) == "")){
  465. model.setValue("/root/main/reqprntinfo/reqprntlist/diagnm3 " , rectermnm);
  466. model.setValue("/root/main/reqprntinfo/reqprntlist/diagcd2" , rectermcd);
  467. }
  468. }else if(degnitemnm == "퇴원일자"){
  469. model.setValue("/root/main/reqprntinfo/reqprntlist/dschdd" , reccnts);
  470. }else if(degnitemnm == "수술일"){
  471. model.setValue("/root/main/reqprntinfo/reqprntlist/opdd" , reccnts);
  472. }else if(degnitemnm == "수술명"){
  473. model.setValue("/root/main/reqprntinfo/reqprntlist/opnm" , reccnts);
  474. }else if(degnitemnm == "의뢰내용 및 환자상태"){
  475. model.setValue("/root/main/reqprntinfo/reqprntlist/reqpatstat" , reccnts);
  476. }else if(degnitemnm == "상태관찰"){
  477. if(rectermnm == "TPR BP"){
  478. model.setValue("/root/main/reqprntinfo/reqprntlist/statobs1" , "1");
  479. }
  480. if(rectermnm == "BWt"){
  481. model.setValue("/root/main/reqprntinfo/reqprntlist/statobs2" , "1");
  482. }
  483. if(rectermnm == "BST"){
  484. model.setValue("/root/main/reqprntinfo/reqprntlist/statobs3" , "1");
  485. }
  486. if(rectermnm == "의식상태"){
  487. model.setValue("/root/main/reqprntinfo/reqprntlist/statobs4" , "1");
  488. }
  489. if(rectermnm == "I/O Check"){
  490. model.setValue("/root/main/reqprntinfo/reqprntlist/statobs5" , "1");
  491. }
  492. }else if(degnitemnm == "종류"){
  493. if(rectermnm == "일반식"){
  494. model.setValue("/root/main/reqprntinfo/reqprntlist/kind1" , "1");
  495. }else if(rectermnm == "특별식"){
  496. model.setValue("/root/main/reqprntinfo/reqprntlist/kind2" , "1");
  497. }
  498. }else if(degnitemnm == "방법"){
  499. if(rectermnm == "경관영양 :"){
  500. model.setValue("/root/main/reqprntinfo/reqprntlist/mthd1" , "1");
  501. }
  502. if(rectermnm == "L-Tube 교환관리"){
  503. model.setValue("/root/main/reqprntinfo/reqprntlist/mthd2" , "1");
  504. }
  505. if(rectermnm == "Gastrostomy Tube 관리"){
  506. model.setValue("/root/main/reqprntinfo/reqprntlist/mthd3" , "1");
  507. }
  508. }else if(degnitemnm == "양"){
  509. model.setValue("/root/main/reqprntinfo/reqprntlist/vol" , reccnts);
  510. }else if(degnitemnm == "열량"){
  511. model.setValue("/root/main/reqprntinfo/reqprntlist/calr" , reccnts);
  512. }else if(degnitemnm == "배뇨관리"){
  513. if(rectermnm == "Foley Cath 교환/관리 (Fr)"){
  514. model.setValue("/root/main/reqprntinfo/reqprntlist/urinmngt1" , "1");
  515. model.setValue("/root/main/reqprntinfo/reqprntlist/urinmngt1vol" , reccnts);
  516. }
  517. if(rectermnm == "단순도뇨 (회/일)"){
  518. model.setValue("/root/main/reqprntinfo/reqprntlist/urinmngt2" , "1");
  519. model.setValue("/root/main/reqprntinfo/reqprntlist/urinmngt2vol" , reccnts);
  520. }
  521. if(rectermnm == "방광세척"){
  522. model.setValue("/root/main/reqprntinfo/reqprntlist/urinmngt3" , "1");
  523. }
  524. if(rectermnm == "관장"){
  525. model.setValue("/root/main/reqprntinfo/reqprntlist/urinmngt4" , "1");
  526. }
  527. if(rectermnm == "완화제"){
  528. model.setValue("/root/main/reqprntinfo/reqprntlist/urinmngt5" , "1");
  529. }
  530. if(rectermnm == "Ostomy Care"){
  531. model.setValue("/root/main/reqprntinfo/reqprntlist/urinmngt6" , "1");
  532. }
  533. }else if(degnitemnm == "배변관리"){
  534. if(rectermnm == "관장"){
  535. model.setValue("/root/main/reqprntinfo/reqprntlist/defemngt1" , "1");
  536. }
  537. if(rectermnm == "완화제"){
  538. model.setValue("/root/main/reqprntinfo/reqprntlist/defemngt2" , "1");
  539. }
  540. if(rectermnm == "Ostomy Care"){
  541. model.setValue("/root/main/reqprntinfo/reqprntlist/defemngt3" , "1");
  542. }
  543. }else if(degnitemnm == "산소요법"){
  544. if(rectermnm == "산소 (ℓ/min)"){
  545. model.setValue("/root/main/reqprntinfo/reqprntlist/oxyregm1" , "1");
  546. model.setValue("/root/main/reqprntinfo/reqprntlist/oxyregm1vol" , reccnts);
  547. }
  548. if(rectermnm == "인공호흡기 관리"){
  549. model.setValue("/root/main/reqprntinfo/reqprntlist/oxyregm2" , "1");
  550. }
  551. if(rectermnm == "SPO2 Check"){
  552. model.setValue("/root/main/reqprntinfo/reqprntlist/oxyregm3" , "1");
  553. }
  554. }else if(degnitemnm == "기도관리"){
  555. if(rectermnm == "Lung Care 교육/관리"){
  556. model.setValue("/root/main/reqprntinfo/reqprntlist/attmptmngt1" , "1");
  557. }
  558. if(rectermnm == "Suction"){
  559. model.setValue("/root/main/reqprntinfo/reqprntlist/attmptmngt2" , "1");
  560. }
  561. if(rectermnm == "기관지절개관 교환 (#)"){
  562. model.setValue("/root/main/reqprntinfo/reqprntlist/attmptmngt3" , "1");
  563. model.setValue("/root/main/reqprntinfo/reqprntlist/attmptmngt3vol" , reccnts);
  564. }
  565. }else if(degnitemnm == "상처관리"){
  566. if(rectermnm == "Dressing (회/일)"){
  567. model.setValue("/root/main/reqprntinfo/reqprntlist/wundmngt1" , "1");
  568. model.setValue("/root/main/reqprntinfo/reqprntlist/wundmngt1vol" , reccnts);
  569. }
  570. if(rectermnm == "봉합사제거 (일)"){
  571. model.setValue("/root/main/reqprntinfo/reqprntlist/wundmngt2" , "1");
  572. model.setValue("/root/main/reqprntinfo/reqprntlist/wundmngt2vol" , reccnts);
  573. }
  574. }else if(degnitemnm == "기타튜브"){
  575. if(rectermnm == "중심정맥관 관리/교육"){
  576. model.setValue("/root/main/reqprntinfo/reqprntlist/etctube1" , "1");
  577. }
  578. if(rectermnm == "배액관 (PTBD PCN Chest Tube 등) 관리/교육"){
  579. model.setValue("/root/main/reqprntinfo/reqprntlist/etctube2" , "1");
  580. }
  581. }else if(degnitemnm == "기타"){
  582. model.setValue("/root/main/reqprntinfo/reqprntlist/etc" , reccnts);
  583. }
  584. }
  585. model.refresh();
  586. exeReportPreview("RPMNF00111","XMLSTR");
  587. ]]>
  588. </script>
  589. </button>
  590. <output id="output6" ref="/root/main/cnstinfo/patinfo/reqdt" style="left:490px; top:2px; width:115px; height:19px; text-align:left; vertical-align:bottom; "/>
  591. <caption id="caption1" style="left:390px; top:5px; width:100px; height:20px; ">의뢰(입력) 일시 :</caption>
  592. </xhtml:body>
  593. </xhtml:html>