SMAEB02900_치료스케줄관리(핵의학체내).xrw 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  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. <curescheinfo>
  11. <maininfo>
  12. <flag/>
  13. <genrdd/>
  14. <genrno/>
  15. <suppdeptcd/>
  16. <pid/>
  17. <hngnm/>
  18. <sex/>
  19. <age/>
  20. <rrgstno1/>
  21. <rrgstno2/>
  22. <tel/>
  23. <addr/>
  24. <orddrid/>
  25. <orddeptcd/>
  26. <curedg1/>
  27. <oldcuredg1/>
  28. <curedgseq1/>
  29. <curedg2/>
  30. <oldcuredg2/>
  31. <curedgseq2/>
  32. <curedg3/>
  33. <oldcuredg3/>
  34. <curedgseq3/>
  35. <curedg4/>
  36. <oldcuredg4/>
  37. <curedgseq4/>
  38. <curedg5/>
  39. <oldcuredg5/>
  40. <curedgseq5/>
  41. <curedg6/>
  42. <oldcuredg6/>
  43. <curedgseq6/>
  44. <remfact/>
  45. <startdd/>
  46. <endcnts/>
  47. <inschedd/>
  48. <dutplceinstnm/>
  49. </maininfo>
  50. </curescheinfo>
  51. <cureschelist>
  52. <mainlist>
  53. <flag/>
  54. <genrdd/>
  55. <genrno/>
  56. <suppdeptcd/>
  57. <pid/>
  58. <hngnm/>
  59. <sex/>
  60. <age/>
  61. <rrgstno1/>
  62. <rrgstno2/>
  63. <tel/>
  64. <addr/>
  65. <orddrid/>
  66. <orddeptcd/>
  67. <curedg1/>
  68. <oldcuredg1/>
  69. <curedgseq1/>
  70. <curedg2/>
  71. <oldcuredg2/>
  72. <curedgseq2/>
  73. <curedg3/>
  74. <oldcuredg3/>
  75. <curedgseq3/>
  76. <curedg4/>
  77. <oldcuredg4/>
  78. <curedgseq4/>
  79. <curedg5/>
  80. <oldcuredg5/>
  81. <curedgseq5/>
  82. <curedg6/>
  83. <oldcuredg6/>
  84. <curedgseq6/>
  85. <remfact/>
  86. <startdd/>
  87. <endcnts/>
  88. <inschedd/>
  89. </mainlist>
  90. </cureschelist>
  91. <patinfo>
  92. <patinfolist>
  93. <pid/>
  94. <hngnm/>
  95. </patinfolist>
  96. </patinfo>
  97. <iptbox>
  98. <wardcd/>
  99. <roomcd/>
  100. </iptbox>
  101. <popupendflag/>
  102. </main>
  103. <send>
  104. <data>
  105. <srchpid/>
  106. <hngnm/>
  107. <fromdd/>
  108. <todd/>
  109. </data>
  110. <savedata/>
  111. <data2>
  112. <srchcond/>
  113. <pid/>
  114. <hngnm/>
  115. <rrgstno1/>
  116. <rrgstno2/>
  117. <acptdd/>
  118. </data2>
  119. <globalinstance>
  120. <instance1/>
  121. </globalinstance>
  122. </send>
  123. <hidden>
  124. <srchcond/>
  125. <pid/>
  126. <hngnm/>
  127. <rrgstno1/>
  128. <rrgstno2/>
  129. <session/>
  130. </hidden>
  131. <init>
  132. <today/>
  133. <roomlist/>
  134. <orddeptcd>
  135. <cd/>
  136. <nm/>
  137. <deptengabbr/>
  138. <reqdeptno/>
  139. </orddeptcd>
  140. <orddrid>
  141. <cd/>
  142. <nm/>
  143. <dp/>
  144. <sp/>
  145. </orddrid>
  146. </init>
  147. <temp>
  148. <printyn1/>
  149. <printyn2/>
  150. <printyn3/>
  151. </temp>
  152. </root>
  153. </instance>
  154. <script type="javascript" ev:event="xforms-ready">
  155. <![CDATA[
  156. makeReportPreview(0,50,1194,600, "grp_report");
  157. fInit();
  158. // 부서코드 설정
  159. aezfSetSuppDeptcd();
  160. // 진료과/진료의 조회
  161. submit("TRPMOCOM01", false);
  162. var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
  163. cmb_orddept.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd[cd='"+ suppdeptcd + "']";
  164. cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp='"+ suppdeptcd + "']";
  165. cmb_orddept.value = suppdeptcd;
  166. makeReportPreview(0, 50, 1179, 678, "grp_report1");
  167. makeReportPreview(0, 50, 1179, 678, "grp_report2");
  168. makeReportPreview(0, 50, 1179, 678, "grp_report3");
  169. makeReportPreview(0, 50, 1179, 678, "grp_report4");
  170. makeReportPreview(0, 50, 1179, 678, "grp_report5");
  171. makeReportPreview(0, 50, 1179, 678, "grp_report6");
  172. var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
  173. if (suppdeptcd != "2180000000" ) {
  174. btn_hold.disabled = true;
  175. btn_holdcncl.disabled = true;
  176. }
  177. ]]>
  178. </script>
  179. <submission id="TRPMOCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden/session" replace="instance" resultref="/root/init"/>
  180. <submission id="TRMMO04105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/patnm"/>
  181. <submission id="TRAEB02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/cureschelist"/>
  182. <submission id="TRAEB02902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/patinfo" resultref="/root/main/patinfo"/>
  183. <submission id="TXAEB02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/curescheinfo/maininfo" resultref="/root/main/cureschelist"/>
  184. </model>
  185. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  186. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  187. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  188. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  189. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  190. <script type="javascript" src="../../../ast/examcureweb/js/AEZ0001.js"/>
  191. <script type="javascript">
  192. <![CDATA[
  193. function fInit() {
  194. model.resetInstanceNode("/root/send/data");
  195. model.resetInstanceNode("/root/main/curescheinfo/maininfo");
  196. model.removenode("/root/main/cureschelist");
  197. //조회기간 시작일자는 7일 전, 종료일자는 7일 후로 설정한다.
  198. var fromdd = ((getCurrentDate()).toDate()).getAddDate(-7);
  199. model.setValue("/root/send/data/fromdd", fromdd.getDateFormat());
  200. var todd = ((getCurrentDate()).toDate()).getAddDate(7);
  201. model.setValue("/root/send/data/todd" , todd.getDateFormat());
  202. model.makeValue("/root/main/curescheinfo/maininfo/curedg1",getCurrentDate());
  203. model.makeValue("/root/main/curescheinfo/maininfo/curedg2",((getCurrentDate()).toDate()).getAddDate(7).getDateFormat());
  204. model.makeValue("/root/main/curescheinfo/maininfo/curedg3",((getCurrentDate()).toDate()).getAddDate(14).getDateFormat());
  205. model.makeValue("/root/main/curescheinfo/maininfo/curedg4",((getCurrentDate()).toDate()).getAddDate(21).getDateFormat());
  206. model.makeValue("/root/main/curescheinfo/maininfo/curedg5",((getCurrentDate()).toDate()).getAddDate(28).getDateFormat());
  207. model.makeValue("/root/main/curescheinfo/maininfo/curedg6",((getCurrentDate()).toDate()).getAddDate(35).getDateFormat());
  208. model.makeValue("/root/main/curescheinfo/maininfo/startdd",((getCurrentDate()).toDate()).getAddDate(7).getDateFormat());
  209. model.makeValue("/root/main/curescheinfo/maininfo/inschedd",((getCurrentDate()).toDate()).getAddDate(28).getDateFormat());
  210. model.refresh();
  211. }
  212. // 환자별 치료 스케줄 조회
  213. function fGetCureScheList() {
  214. model.resetInstanceNode("/root/main/curescheinfo/maininfo");
  215. model.removenode("/root/main/cureschelist");
  216. submit("TRAEB02901");
  217. model.refresh();
  218. }
  219. /**
  220. * @desc : 환자정보 조회
  221. * @
  222. * @param :
  223. * @return :
  224. * @author :
  225. * @---------------------------------------------------
  226. */
  227. function fGetPatInfo(){
  228. var pid = model.getValue("/root/main/curescheinfo/maininfo/pid");
  229. model.makeValue("/root/main/patinfo/patinfolist/pid",pid);
  230. if ( submit("TRAEB02902",false) ) {
  231. var cnt = getNodesetCount("/root/main/patinfo/patinfolist");
  232. if (cnt == 0) {
  233. model.makeValue("/root/main/curescheinfo/maininfo/suppdeptcd", "");
  234. model.makeValue("/root/main/curescheinfo/maininfo/hngnm", "");
  235. model.makeValue("/root/main/curescheinfo/maininfo/sex", "");
  236. model.makeValue("/root/main/curescheinfo/maininfo/age", "");
  237. model.makeValue("/root/main/curescheinfo/maininfo/rrgstno1", "");
  238. model.makeValue("/root/main/curescheinfo/maininfo/rrgstno2", "");
  239. model.makeValue("/root/main/curescheinfo/maininfo/tel", "");
  240. model.makeValue("/root/main/curescheinfo/maininfo/addr", "");
  241. messageBox("등록된 환자 정보가","I004");
  242. } else if (cnt == 1) {
  243. model.makeValue("/root/main/curescheinfo/maininfo/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  244. model.makeValue("/root/main/curescheinfo/maininfo/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
  245. model.makeValue("/root/main/curescheinfo/maininfo/sex", model.getValue("/root/main/patinfo/patinfolist/sex"));
  246. model.makeValue("/root/main/curescheinfo/maininfo/age", model.getValue("/root/main/patinfo/patinfolist/age"));
  247. model.makeValue("/root/main/curescheinfo/maininfo/rrgstno1", model.getValue("/root/main/patinfo/patinfolist/rrgstno1"));
  248. model.makeValue("/root/main/curescheinfo/maininfo/rrgstno2", model.getValue("/root/main/patinfo/patinfolist/rrgstno2"));
  249. model.makeValue("/root/main/curescheinfo/maininfo/tel", model.getValue("/root/main/patinfo/patinfolist/tel"));
  250. model.makeValue("/root/main/curescheinfo/maininfo/addr", "");
  251. }
  252. var suppdeptcd = model.getValue("/root/send/globalinstance/instance1");
  253. cmb_orddept.choices.itemset.attribute("nodeset") = "/root/init/orddeptcd[cd='"+ suppdeptcd + "']";
  254. cmb_orddr.choices.itemset.attribute("nodeset") = "/root/init/orddrid[dp='"+ suppdeptcd + "']";
  255. cmb_orddept.value = suppdeptcd;
  256. model.refresh();
  257. }
  258. }
  259. ]]>
  260. </script>
  261. </xhtml:head>
  262. <xhtml:body pagewidth="940" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  263. <line id="line1" class="line_1" style="x1:5px; y1:78px; x2:925px; y2:78px; "/>
  264. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:20px; width:920px; height:39px; background-color:#fffbf2; border-color:#ffd799; "/>
  265. <button id="btn_req" class="btn1_letter2" style="left:847px; top:30px; width:56px; height:22px; ">
  266. <caption>조회</caption>
  267. <script type="javascript" ev:event="DOMActivate">
  268. <![CDATA[
  269. fGetCureScheList();
  270. ]]>
  271. </script>
  272. </button>
  273. <line id="line3" style="x1:836px; y1:28px; x2:836px; y2:55px; border-color:#ffe4bb; border-left-style:solid; "/>
  274. <caption id="caption5" class="search_name" style="left:7px; top:30px; width:91px; height:17px; ">등록번호 :</caption>
  275. <input id="ipt_pid" ref="/root/send/data/srchpid" style="left:98px; top:30px; width:88px; height:19px; ">
  276. <script type="javascript" ev:event="onkeypress">
  277. <![CDATA[
  278. if (event.keyCode == '13') { // Enter 입력 시에
  279. setInputNodeCurText(); // (tfHelper.js) 현재 인풋값 노드 반영
  280. inputEnterKey("btn_req","DOMActivate");
  281. }
  282. ]]>
  283. </script>
  284. </input>
  285. <button id="btn_getpatinfo" class="icon_search" style="left:190px; top:30px; width:16px; height:16px; ">
  286. <caption/>
  287. <script type="javascript" ev:event="DOMActivate">
  288. <![CDATA[
  289. model.setValue("/root/send/data2/srchcond", "2");
  290. model.setValue("/root/send/data2/pid", model.getValue("/root/main/cond/pid"));
  291. modal("SPPMC02500", "", "200", "200", "SPPMC02500","/root/send/data2","/root/send");
  292. var sPid = model.getValue("/root/main/patinfo/patinfolist/pid");
  293. var sHngnm = model.getValue("/root/main/patinfo/patinfolist/hngnm");
  294. model.setValue("/root/send/data/srchpid", sPid);
  295. model.setValue("/root/send/data/hngnm", sHngnm);
  296. model.refresh();
  297. ]]>
  298. </script>
  299. </button>
  300. <caption id="caption6" class="tit_1" style="left:5px; top:0px; width:204px; height:13px; ">방사선요오드 치료스케줄관리</caption>
  301. <input id="input1" ref="/root/main/curescheinfo/maininfo/curedg1" class="input_default" inputtype="date" style="left:107px; top:347px; width:123px; height:19px; ">
  302. <script type="javascript" ev:event="xforms-value-changed">
  303. <![CDATA[
  304. var fromdd= model.getValue("/root/main/curescheinfo/maininfo/curedg1");
  305. model.makeValue("/root/main/curescheinfo/maininfo/curedg2",((fromdd).toDate()).getAddDate(7).getDateFormat());
  306. model.makeValue("/root/main/curescheinfo/maininfo/curedg3",((fromdd).toDate()).getAddDate(14).getDateFormat());
  307. model.makeValue("/root/main/curescheinfo/maininfo/curedg4",((fromdd).toDate()).getAddDate(21).getDateFormat());
  308. model.makeValue("/root/main/curescheinfo/maininfo/curedg5",((fromdd).toDate()).getAddDate(28).getDateFormat());
  309. model.makeValue("/root/main/curescheinfo/maininfo/curedg6",((fromdd).toDate()).getAddDate(35).getDateFormat());
  310. model.makeValue("/root/main/curescheinfo/maininfo/startdd",((fromdd).toDate()).getAddDate(7).getDateFormat());
  311. model.makeValue("/root/main/curescheinfo/maininfo/inschedd",((fromdd).toDate()).getAddDate(28).getDateFormat());
  312. model.refresh();
  313. ]]>
  314. </script>
  315. </input>
  316. <input id="input7" ref="/root/main/curescheinfo/maininfo/curedg6" class="input_default" inputtype="date" style="left:107px; top:498px; width:123px; height:19px; "/>
  317. <caption id="caption3" style="left:235px; top:347px; width:695px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">의사의 지시가 있을 때 까지 지금 먹는 갑상선 호르몬 (노란색 씬지로이드) 중지</caption>
  318. <caption id="caption15" style="left:235px; top:471px; width:673px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">치료를 위한 약물 투여 (입원·외래 시) 입원 혹은 외래 치료 6시간 전 금식하세요</caption>
  319. <caption id="caption17" style="left:235px; top:498px; width:615px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">치료 후 사진 촬영 (I-131 전신 촬영)</caption>
  320. <caption id="caption18" style="left:107px; top:525px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">칼슘약, 비타민 D, 혈압약, 당뇨약은 매일 드세요.</caption>
  321. <caption id="caption19" style="left:107px; top:544px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">갑상선 호르몬을 끊으면 피로, 의욕상실, 소화불량, 몸이 붓는 등의 증상</caption>
  322. <caption id="caption20" style="left:107px; top:563px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">이 나타날 수도 있습니다. (나타나지 않는 환자도 많습니다.)</caption>
  323. <caption id="caption21" style="left:107px; top:582px; width:700px; height:19px; font-family:굴림체; font-size:10pt; font-weight:bold; ">치료 약 투여 후 1년 간 환자는(남녀 모두) 반드시 피임하셔야 합니다.</caption>
  324. <datagrid id="grd_cureschelist" nodeset="/root/main/cureschelist/mainlist" caption="상태^등록일자^발생번호^지원부서^등록번호^이름^성별^나이^주민번호1^주민번호2^연락처^주소^진료과^진료의^악물조절^변경전 일자^임시예약 순번^식이요법^변경전 일자^임시예약 순번^검사예약^변경전 일자^임시예약 순번^촬영^변경전 일자^임시예약 순번^치료일^변경전 일자^임시예약 순번^치료후 촬영^변경전 일자^임시예약 순번^참고사항^시작일자^종료내용^입원예정일" colsep="^" colwidth="0, 90, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 0, 100, 0, 0, 100, 0, 0, 100, 0, 0, 100, 0, 0, 100, 0, 0, 194, 0, 0, 0" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:83px; width:920px; height:152px; ">
  325. <col ref="flag"/>
  326. <col ref="genrdd" format="yyyy-mm-dd"/>
  327. <col ref="genrno"/>
  328. <col ref="suppdeptcd"/>
  329. <col ref="pid" style="text-align:center; "/>
  330. <col ref="hngnm" style="text-align:center; "/>
  331. <col ref="sex" style="text-align:center; "/>
  332. <col ref="age" style="text-align:center; "/>
  333. <col ref="rrgstno1"/>
  334. <col ref="rrgstno2"/>
  335. <col ref="tel"/>
  336. <col ref="addr"/>
  337. <col ref="orddrid"/>
  338. <col ref="orddeptcd"/>
  339. <col ref="curedg1" format="yyyy-mm-dd" style="text-align:center; "/>
  340. <col ref="oldcuredg1"/>
  341. <col ref="curedgseq1"/>
  342. <col ref="curedg2" format="yyyy-mm-dd" style="text-align:center; "/>
  343. <col ref="oldcuredg2"/>
  344. <col ref="curedgseq2"/>
  345. <col ref="curedg3" format="yyyy-mm-dd" style="text-align:center; "/>
  346. <col ref="oldcuredg3"/>
  347. <col ref="curedgseq3"/>
  348. <col ref="curedg4" format="yyyy-mm-dd" style="text-align:center; "/>
  349. <col ref="oldcuredg4"/>
  350. <col ref="curedgseq4"/>
  351. <col ref="curedg5" format="yyyy-mm-dd" style="text-align:center; "/>
  352. <col ref="oldcuredg5"/>
  353. <col ref="curedgseq5"/>
  354. <col ref="curedg6" format="yyyy-mm-dd" style="text-align:center; "/>
  355. <col ref="oldcuredg6"/>
  356. <col ref="curedgseq6"/>
  357. <col ref="remfact"/>
  358. <col/>
  359. <col/>
  360. <col/>
  361. <script type="javascript" ev:event="onclick">
  362. <![CDATA[
  363. if ( (grd_cureschelist.row >= grd_cureschelist.fixedRows) && (grd_cureschelist.isCell(event.target))) {
  364. var row = grd_cureschelist.row;
  365. model.setValue("/root/main/curescheinfo/maininfo/flag", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/flag"));
  366. model.setValue("/root/main/curescheinfo/maininfo/genrdd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/genrdd"));
  367. model.setValue("/root/main/curescheinfo/maininfo/genrno", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/genrno"));
  368. model.setValue("/root/main/curescheinfo/maininfo/suppdeptcd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/suppdeptcd"));
  369. model.setValue("/root/main/curescheinfo/maininfo/pid", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/pid"));
  370. model.setValue("/root/main/curescheinfo/maininfo/hngnm", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/hngnm"));
  371. model.setValue("/root/main/curescheinfo/maininfo/sex", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/sex"));
  372. model.setValue("/root/main/curescheinfo/maininfo/age", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/age"));
  373. model.setValue("/root/main/curescheinfo/maininfo/rrgstno1", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/rrgstno1"));
  374. model.setValue("/root/main/curescheinfo/maininfo/rrgstno2", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/rrgstno2"));
  375. model.setValue("/root/main/curescheinfo/maininfo/tel", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/tel"));
  376. model.setValue("/root/main/curescheinfo/maininfo/addr", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/addr"));
  377. model.setValue("/root/main/curescheinfo/maininfo/orddrid", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/orddrid"));
  378. model.setValue("/root/main/curescheinfo/maininfo/orddeptcd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/orddeptcd"));
  379. model.setValue("/root/main/curescheinfo/maininfo/curedg1", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg1"));
  380. model.setValue("/root/main/curescheinfo/maininfo/oldcuredg1", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg1"));
  381. model.setValue("/root/main/curescheinfo/maininfo/curedgseq1", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq1"));
  382. model.setValue("/root/main/curescheinfo/maininfo/curedg2", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg2"));
  383. model.setValue("/root/main/curescheinfo/maininfo/oldcuredg2", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg2"));
  384. model.setValue("/root/main/curescheinfo/maininfo/curedgseq2", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq2"));
  385. model.setValue("/root/main/curescheinfo/maininfo/curedg3", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg3"));
  386. model.setValue("/root/main/curescheinfo/maininfo/oldcuredg3", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg3"));
  387. model.setValue("/root/main/curescheinfo/maininfo/curedgseq3", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq3"));
  388. model.setValue("/root/main/curescheinfo/maininfo/curedg4", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg4"));
  389. model.setValue("/root/main/curescheinfo/maininfo/oldcuredg4", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg4"));
  390. model.setValue("/root/main/curescheinfo/maininfo/curedgseq4", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq4"));
  391. model.setValue("/root/main/curescheinfo/maininfo/curedg5", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg5"));
  392. model.setValue("/root/main/curescheinfo/maininfo/oldcuredg5", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg5"));
  393. model.setValue("/root/main/curescheinfo/maininfo/curedgseq5", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq"));
  394. model.setValue("/root/main/curescheinfo/maininfo/curedg6", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedg6"));
  395. model.setValue("/root/main/curescheinfo/maininfo/oldcuredg6", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/oldcuredg6"));
  396. model.setValue("/root/main/curescheinfo/maininfo/curedgseq6", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/curedgseq6"));
  397. model.setValue("/root/main/curescheinfo/maininfo/remfact", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/remfact"));
  398. model.setValue("/root/main/curescheinfo/maininfo/startdd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/startdd"));
  399. model.setValue("/root/main/curescheinfo/maininfo/endcnts", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/endcnts"));
  400. model.setValue("/root/main/curescheinfo/maininfo/inschedd", model.getValue("/root/main/cureschelist/mainlist[" + row + "]/inschedd"));
  401. model.refresh();
  402. }
  403. ]]>
  404. </script>
  405. </datagrid>
  406. <caption id="caption23" class="tit_2" style="left:5px; top:63px; width:181px; height:13px; ">치료 스케줄</caption>
  407. <output id="ipt_patnm" ref="/root/send/data/hngnm" class="output_fix" style="left:210px; top:30px; width:72px; height:19px; "/>
  408. <caption id="caption26" style="left:235px; top:390px; width:615px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">갑상선 호르몬 (흰색 테트로닌) 중지 식사 조절 (저요오드식) 시작</caption>
  409. <line id="line12" class="line_2" style="x1:5px; y1:384px; x2:925px; y2:384px; "/>
  410. <output id="opt_sex" ref="/root/main/curescheinfo/maininfo/sex" class="output_fix" appearance="output" style="left:571px; top:267px; width:30px; height:19px; "/>
  411. <output id="opt_hngnm" ref="/root/main/curescheinfo/maininfo/hngnm" class="output_fix" appearance="output" style="left:340px; top:267px; width:120px; height:19px; "/>
  412. <line id="line13" class="line_1" style="x1:5px; y1:260px; x2:925px; y2:260px; "/>
  413. <caption id="caption2" class="cell_1" style="left:238px; top:265px; width:100px; height:23px; text-align:center; vertical-align:middle; ">이 름</caption>
  414. <caption id="caption11" class="cell_1" style="left:5px; top:265px; width:100px; height:23px; text-align:center; vertical-align:middle; ">등 록 번 호</caption>
  415. <input id="opt_pid" ref="/root/main/curescheinfo/maininfo/pid" class="output_fix" appearance="input" style="left:107px; top:267px; width:123px; height:19px; ">
  416. <script type="javascript" ev:event="onkeypress">
  417. <![CDATA[
  418. if ( event.keyCode == 13 ) {
  419. setInputNodeCurText();
  420. fGetPatInfo();
  421. }
  422. ]]>
  423. </script>
  424. </input>
  425. <caption id="caption4" class="cell_1" style="left:469px; top:265px; width:100px; height:23px; text-align:center; vertical-align:middle; ">성별/나이</caption>
  426. <caption id="caption27" class="tit_2" style="left:5px; top:245px; width:193px; height:13px; ">환자정보</caption>
  427. <output id="opt_age" ref="/root/main/curescheinfo/maininfo/age" class="output_fix" appearance="output" style="left:603px; top:267px; width:30px; height:19px; "/>
  428. <line id="line5" class="line_3" style="x1:5px; y1:316px; x2:925px; y2:316px; "/>
  429. <line id="line18" class="line_2" style="x1:5px; y1:289px; x2:925px; y2:289px; "/>
  430. <caption id="caption1" class="cell_1" style="left:238px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">의사명</caption>
  431. <caption id="caption7" class="cell_1" style="left:5px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진료과</caption>
  432. <caption id="caption9" class="cell_1" style="left:469px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">참고사항</caption>
  433. <input id="input2" ref="/root/main/curescheinfo/maininfo/remfact" class="input_default" appearance="input" style="left:571px; top:295px; width:354px; height:19px; "/>
  434. <select1 id="cmb_orddept" ref="/root/main/curescheinfo/maininfo/orddeptcd" disabled="true" appearance="minimal" style="left:107px; top:295px; width:123px; height:19px; ">
  435. <choices>
  436. <itemset nodeset="/root/init/orddeptcd">
  437. <label ref="nm"/>
  438. <value ref="cd"/>
  439. </itemset>
  440. </choices>
  441. </select1>
  442. <select1 id="cmb_orddr" ref="/root/main/curescheinfo/maininfo/orddrid" appearance="minimal" style="left:340px; top:295px; width:120px; height:19px; ">
  443. <choices>
  444. <itemset nodeset="/root/init/orddrid">
  445. <label ref="nm"/>
  446. <value ref="cd"/>
  447. </itemset>
  448. </choices>
  449. </select1>
  450. <select id="chk_printyn" ref="/root/temp/printyn1" overflow="visible" appearance="full" style="left:5px; top:715px; width:185px; height:15px; border-style:none; ">
  451. <choices>
  452. <item>
  453. <label>방사선요오드치료준비안내출력</label>
  454. <value>Y</value>
  455. </item>
  456. </choices>
  457. </select>
  458. <select id="checkbox2" ref="/root/temp/printyn2" overflow="visible" appearance="full" style="left:200px; top:715px; width:115px; height:15px; border-style:none; ">
  459. <choices>
  460. <item>
  461. <label>저요오드식안내문</label>
  462. <value>Y</value>
  463. </item>
  464. </choices>
  465. </select>
  466. <select id="checkbox3" ref="/root/temp/printyn3" overflow="visible" appearance="full" style="left:330px; top:715px; width:100px; height:15px; border-style:none; ">
  467. <choices>
  468. <item>
  469. <label>안내와주의사항</label>
  470. <value>Y</value>
  471. </item>
  472. </choices>
  473. </select>
  474. <input id="input8" ref="/root/main/curescheinfo/maininfo/startdd" class="input_default" inputtype="date" style="left:107px; top:632px; width:123px; height:19px; "/>
  475. <select1 id="cmb_endcnts" ref="/root/main/curescheinfo/maininfo/endcnts" appearance="minimal" style="left:340px; top:632px; width:123px; height:19px; ">
  476. <choices>
  477. <item>
  478. <label>지시사항 있을 때</label>
  479. <value>1</value>
  480. </item>
  481. <item>
  482. <label>I-131 검사날</label>
  483. <value>2</value>
  484. </item>
  485. <item>
  486. <label>I-123 검사날</label>
  487. <value>3</value>
  488. </item>
  489. <item>
  490. <label>입원 하는 날</label>
  491. <value>4</value>
  492. </item>
  493. </choices>
  494. </select1>
  495. <input id="input9" ref="/root/main/curescheinfo/maininfo/inschedd" class="input_default" inputtype="date" style="left:107px; top:688px; width:123px; height:19px; "/>
  496. <group id="grp_report1" visibility="hidden" style="left:10px; top:140px; width:85px; height:85px; "/>
  497. <group id="grp_report2" visibility="hidden" style="left:100px; top:140px; width:85px; height:85px; "/>
  498. <group id="grp_report3" visibility="hidden" style="left:190px; top:140px; width:85px; height:85px; "/>
  499. <group id="grp_report4" visibility="hidden" style="left:280px; top:140px; width:85px; height:85px; "/>
  500. <group id="grp_report5" visibility="hidden" style="left:370px; top:140px; width:85px; height:85px; "/>
  501. <group id="grp_report6" visibility="hidden" style="left:460px; top:140px; width:85px; height:85px; "/>
  502. <caption id="caption22" style="left:235px; top:417px; width:615px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">오후 2시 점심만 금식 후 핵의학과 혈액검사 검사를 위한 약물 투여</caption>
  503. <caption id="caption28" style="left:235px; top:443px; width:615px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">검사용 사진 촬영 (I-131 전신 촬영)</caption>
  504. <input id="input10" ref="/root/main/curescheinfo/maininfo/curedg3" class="input_default" inputtype="date" style="left:107px; top:417px; width:123px; height:19px; "/>
  505. <input id="input11" ref="/root/main/curescheinfo/maininfo/curedg2" class="input_default" inputtype="date" style="left:107px; top:390px; width:123px; height:19px; ">
  506. <script type="javascript" ev:event="xforms-value-changed">
  507. <![CDATA[
  508. model.setValue("/root/main/curescheinfo/maininfo/startdd", model.getValue("/root/main/curescheinfo/maininfo/curedg2"));
  509. ]]>
  510. </script>
  511. </input>
  512. <input id="input12" ref="/root/main/curescheinfo/maininfo/curedg4" class="input_default" inputtype="date" style="left:107px; top:443px; width:123px; height:19px; "/>
  513. <input id="input13" ref="/root/main/curescheinfo/maininfo/curedg5" class="input_default" inputtype="date" style="left:107px; top:471px; width:123px; height:19px; ">
  514. <script type="javascript" ev:event="xforms-value-changed">
  515. <![CDATA[
  516. model.setValue("/root/main/curescheinfo/maininfo/inschedd", model.getValue("/root/main/curescheinfo/maininfo/curedg5"));
  517. ]]>
  518. </script>
  519. </input>
  520. <caption id="caption8" class="cell_1" style="left:5px; top:345px; width:100px; height:23px; text-align:left; vertical-align:middle; ">약품조절</caption>
  521. <caption id="caption10" class="cell_1" style="left:5px; top:387px; width:100px; height:23px; text-align:left; vertical-align:middle; ">식이요법</caption>
  522. <caption id="caption30" class="cell_1" style="left:5px; top:414px; width:100px; height:23px; text-align:left; vertical-align:middle; ">검사예약</caption>
  523. <caption id="caption31" class="cell_1" style="left:5px; top:441px; width:100px; height:23px; text-align:left; vertical-align:middle; ">검사촬영</caption>
  524. <caption id="caption32" class="cell_1" style="left:5px; top:468px; width:100px; height:23px; text-align:left; vertical-align:middle; ">치료일</caption>
  525. <caption id="caption33" class="cell_1" style="left:5px; top:495px; width:100px; height:23px; text-align:left; vertical-align:middle; ">치료 후 촬영</caption>
  526. <line id="line9" class="line_1" style="x1:5px; y1:340px; x2:925px; y2:340px; "/>
  527. <caption id="caption34" class="tit_2" style="left:5px; top:325px; width:193px; height:13px; ">방사선 요오드 치료 준비 안내</caption>
  528. <caption id="caption35" style="left:235px; top:367px; width:695px; height:19px; font-family:굴림체; font-size:11pt; font-weight:bold; ">새로 처방 받은 호르몬 (흰색 테트로닌) 시작</caption>
  529. <line id="line2" class="line_2" style="x1:5px; y1:411px; x2:925px; y2:411px; "/>
  530. <line id="line4" class="line_2" style="x1:5px; y1:438px; x2:925px; y2:438px; "/>
  531. <line id="line6" class="line_2" style="x1:5px; y1:465px; x2:925px; y2:465px; "/>
  532. <line id="line7" class="line_2" style="x1:5px; y1:492px; x2:925px; y2:492px; "/>
  533. <line id="line8" class="line_2" style="x1:5px; y1:520px; x2:925px; y2:520px; "/>
  534. <caption id="caption12" class="cell_1" style="left:5px; top:522px; width:100px; height:23px; text-align:left; vertical-align:middle; ">안내</caption>
  535. <line id="line10" class="line_3" style="x1:5px; y1:600px; x2:925px; y2:600px; "/>
  536. <line id="line11" class="line_1" style="x1:5px; y1:625px; x2:925px; y2:625px; "/>
  537. <caption id="caption14" class="tit_2" style="left:5px; top:610px; width:240px; height:13px; ">저요오드식(Low lodine Diet) 안내문</caption>
  538. <caption id="caption29" class="cell_1" style="left:5px; top:630px; width:100px; height:23px; text-align:left; vertical-align:middle; ">시작</caption>
  539. <caption id="caption24" class="cell_1" style="left:238px; top:630px; width:100px; height:23px; text-align:left; vertical-align:middle; ">아침부터 ~ 끝</caption>
  540. <line id="line14" class="line_1" style="x1:5px; y1:680px; x2:925px; y2:680px; "/>
  541. <caption id="caption25" class="tit_2" style="left:5px; top:665px; width:302px; height:14px; ">방사선 요오드 입원치료에 대한 안내와 주의사항</caption>
  542. <caption id="caption36" class="cell_1" style="left:5px; top:685px; width:100px; height:23px; text-align:left; vertical-align:middle; ">입원 예정일</caption>
  543. <line id="line15" class="line_3" style="x1:5px; y1:654px; x2:925px; y2:654px; "/>
  544. <line id="line16" class="line_3" style="x1:5px; y1:709px; x2:925px; y2:709px; "/>
  545. <group id="group1" style="left:5px; top:735px; width:920px; height:30px; ">
  546. <button id="btn_holdcncl" class="btn4_letter2" style="left:802px; top:5px; width:56px; height:22px; ">
  547. <caption>삭제</caption>
  548. <script type="javascript" ev:event="DOMActivate">
  549. <![CDATA[
  550. var flag = model.getValue("/root/main/curescheinfo/maininfo/flag");
  551. if (flag == "I" ) {
  552. model.resetInstanceNode("/root/main/curescheinfo/maininfo");
  553. model.refresh();
  554. } else {
  555. model.setValue("/root/main/curescheinfo/maininfo/flag","D");
  556. submit("TXAEB02901");
  557. }
  558. ]]>
  559. </script>
  560. </button>
  561. <button id="btn_print" class="btn4_letter2" style="left:860px; top:5px; width:56px; height:22px; ">
  562. <caption>출력</caption>
  563. <script type="javascript" ev:event="DOMActivate">
  564. <![CDATA[
  565. model.makeValue("/root/main/curescheinfo/maininfo/endcontsnm" , cmb_endcnts.label);
  566. var dutplceinstnm = getUserInfo("dutplceinstnm");
  567. model.makeValue("/root/main/curescheinfo/maininfo/dutplceinstnm", "가톨릭대학교 " + dutplceinstnm + " 핵의학과");
  568. var printyn1 = model.getValue("/root/temp/printyn1");
  569. var printyn2 = model.getValue("/root/temp/printyn2");
  570. var printyn3 = model.getValue("/root/temp/printyn3");
  571. var sPreview = "true";
  572. if ( printyn1 == "Y" ) {
  573. //exeReportPreview("RPAEB02901", "XMLSTR", "/root/main/curescheinfo/maininfo");
  574. exeReportPreview("RPAEB02900", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report1");
  575. }
  576. if ( printyn2 == "Y" ) {
  577. exeReportPreview("RPAEB03000", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report2");
  578. exeReportPreview("RPAEB03100", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report3");
  579. }
  580. if ( printyn3 == "Y" ) {
  581. exeReportPreview("RPAEB03200", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report4");
  582. exeReportPreview("RPAEB03300", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report5");
  583. exeReportPreview("RPAEB03400", "XMLSTR", "/root/main/curescheinfo/maininfo", "", sPreview, "", "", "", "", "", "", "grp_report6");
  584. }
  585. ]]>
  586. </script>
  587. </button>
  588. <button id="button3" class="btn4_letter3" style="left:674px; top:5px; width:68px; height:22px; ">
  589. <caption>초기화</caption>
  590. <script type="javascript" ev:event="DOMActivate">
  591. <![CDATA[
  592. fInit();
  593. ]]>
  594. </script>
  595. </button>
  596. <button id="button4" class="btn4_letter2" style="left:744px; top:5px; width:56px; height:22px; ">
  597. <caption>저장</caption>
  598. <script type="javascript" ev:event="DOMActivate">
  599. <![CDATA[
  600. var pid = model.getValue("/root/main/curescheinfo/maininfo/pid");
  601. if ( pid == "" ) {
  602. messageBox("등록번호를","C001");
  603. return "0";
  604. }
  605. var flag = model.getValue("/root/main/curescheinfo/maininfo/flag");
  606. var age = model.getValue("/root/main/curescheinfo/maininfo/age");
  607. if (flag == "" ) {
  608. model.setValue("/root/main/curescheinfo/maininfo/flag","I");
  609. model.setValue("/root/main/curescheinfo/maininfo/genrdd",getCurrentDate());
  610. }
  611. if (age == "-") {
  612. model.setValue("/root/main/curescheinfo/maininfo/age","0");
  613. }
  614. model.setValue("/root/main/curescheinfo/maininfo/suppdeptcd", model.getValue("/root/send/globalinstance/instance1"));
  615. model.setValue("/root/send/data/srchpid", model.getValue("/root/main/curescheinfo/maininfo/pid"));
  616. if (submit("TXAEB02901", false)) {
  617. model.resetInstanceNode("/root/main/curescheinfo/maininfo");
  618. model.refresh();
  619. }
  620. ]]>
  621. </script>
  622. </button>
  623. </group>
  624. <caption id="caption13" class="cell_1" style="left:635px; top:265px; width:100px; height:23px; text-align:center; vertical-align:middle; ">연락처</caption>
  625. <input id="input3" style="left:738px; top:267px; width:187px; height:19px; "/>
  626. <caption id="caption16" class="cell_1" style="left:238px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">의사명</caption>
  627. <caption id="caption37" class="cell_1" style="left:5px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">진료과</caption>
  628. <select1 id="combo1" ref="/root/main/curescheinfo/maininfo/orddrid" appearance="minimal" style="left:340px; top:295px; width:120px; height:19px; ">
  629. <choices>
  630. <itemset nodeset="/root/init/orddrid">
  631. <label ref="nm"/>
  632. <value ref="cd"/>
  633. </itemset>
  634. </choices>
  635. </select1>
  636. <caption id="caption38" class="cell_1" style="left:469px; top:292px; width:100px; height:23px; text-align:center; vertical-align:middle; ">참고사항</caption>
  637. <select1 id="combo2" ref="/root/main/curescheinfo/maininfo/orddeptcd" disabled="true" appearance="minimal" style="left:107px; top:295px; width:123px; height:19px; ">
  638. <choices>
  639. <itemset nodeset="/root/init/orddeptcd">
  640. <label ref="nm"/>
  641. <value ref="cd"/>
  642. </itemset>
  643. </choices>
  644. </select1>
  645. </xhtml:body>
  646. </xhtml:html>