SPMMO11200_일괄입력재활.xrw 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  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. <prcp>
  11. <prcplist>
  12. <status/>
  13. <prcpstatcd/>
  14. <prcpclscd/>
  15. <prcpkindcd/>
  16. <prcpcd/>
  17. <prcpnm/>
  18. <prcpvol/>
  19. <prcpvolunitnm/>
  20. <prcpqty/>
  21. <prcpqtyunitnm/>
  22. <prcptims/>
  23. <prcpdayno/>
  24. <drugmthdspccdnm/>
  25. <prcpmixno/>
  26. <payflagcd/>
  27. <prcpdelivefact/>
  28. <hosinhosoutflag/>
  29. <prcpexecdeptcd/>
  30. <prcphopedd/>
  31. <choiordflag/>
  32. <rgstdt/>
  33. <rgstridnm/>
  34. <testrsltunit/>
  35. <testrsltcnts/>
  36. <prcpgenrflag/>
  37. <prcphistcd/>
  38. <tempprcpflag/>
  39. <prcpsetcd/>
  40. <prcpvolunitflag/>
  41. <prcpqtyunitflag/>
  42. <orgprcpqty/>
  43. <drugspd/>
  44. <drugspdunitflag/>
  45. <powdflag/>
  46. <prnprcpflag/>
  47. <prepprcpflag/>
  48. <selfprcpflag/>
  49. <selfdrugflag/>
  50. <drugpackflag/>
  51. <erprcpflag/>
  52. <precureprcpflag/>
  53. <nigtprcpflag/>
  54. <portprcpflag/>
  55. <fixprcpflag/>
  56. <anamneflag/>
  57. <fastprcpflag/>
  58. <erreadflag/>
  59. <prcpdirecflag/>
  60. <tnsuseflag/>
  61. <tnsfiltflag/>
  62. <trnptbftestflag/>
  63. <offictourhealexamflag/>
  64. <stemcellflag/>
  65. <angioflagcd/>
  66. <opansflagcd/>
  67. <ansttm/>
  68. <mealcalrcnts/>
  69. <mealprotcnts/>
  70. <mealupdtflag/>
  71. <hosinprcpresncd/>
  72. <etcprcpresncd/>
  73. <drugmthdspccd/>
  74. <issdeptcd/>
  75. <prcpauthflag/>
  76. <prcpinptflag/>
  77. <prcpsignflag/>
  78. <rateprcpflag/>
  79. <prcprefseq/>
  80. <ordreqlnkno/>
  81. <testreqlnkno/>
  82. <prcplnkdd/>
  83. <prcplnkno/>
  84. <oprsrvno/>
  85. <tootfact/>
  86. <clinccmtcnts/>
  87. <prcpessninptflag/>
  88. <grupsnglflag/>
  89. <drugrateqty/>
  90. <asttestflag/>
  91. <clincstdyflag/>
  92. <prtlno/>
  93. <clincstdycd/>
  94. <optermcd/>
  95. <prcpflag/>
  96. <hscttempprcpflag/>
  97. <inclprcpcd/>
  98. <inclprcpno/>
  99. <pampkspec/>
  100. <prcppkspec/>
  101. <calcscormastspec/>
  102. <drugmastspec/>
  103. <rateprcpspec/>
  104. <matrsetprcpspec/>
  105. <suppdeptspec/>
  106. <contprcpspec/>
  107. <etclnkspec/>
  108. <srchcondcnts/>
  109. <orgprcpnm/>
  110. <chkcol/>
  111. <hsctdelivepos/>
  112. <hsctlnkno/>
  113. <etcprcpflag/>
  114. <aftcertflag/>
  115. <aftcertdrid/>
  116. <prcpvalidd/>
  117. <insukind/>
  118. <specdrid/>
  119. <anticncrprtlno/>
  120. <anticncrdayno/>
  121. <druglnkno/>
  122. <rehbprcpcurefreqflag/>
  123. <dietprcpgenrflag/>
  124. <irpayflag/>
  125. <irflag/>
  126. <procerdietflag/>
  127. <diagtestconttestintvlflag/>
  128. <drugindependpackflag/>
  129. <diagtestconttestbasetm/>
  130. <diagtestconttestorgtims/>
  131. <ermediscmngtresncd/>
  132. <rehbprcpenddd/>
  133. <matrallsizespecid/>
  134. <rehbprcpcurepartcd/>
  135. <lowdrugresncd/>
  136. <tfdtlcd/>
  137. <dnorreqlnkno/>
  138. <subcretno/>
  139. <exptmthdfact/>
  140. <lowdrugresnetcfact/>
  141. <diagtestconttestcdspec/>
  142. <drprcpetc1/>
  143. <drprcpetc2/>
  144. <drprcpetc3/>
  145. <drprcpetc4/>
  146. <drprcpetc5/>
  147. <drprcpetc6/>
  148. <drprcpetc7/>
  149. <drprcpetc8/>
  150. <drprcpetc9/>
  151. <drprcpetc10/>
  152. <tempcol1/>
  153. <tempcol2/>
  154. <tempcol3/>
  155. <tempcol4/>
  156. <tempcol5/>
  157. <tempcol6/>
  158. <tempcol7/>
  159. <tempcol8/>
  160. <tempcol9/>
  161. <tempcol10/>
  162. <tempcol11/>
  163. <tempcol12/>
  164. <tempcol13/>
  165. <tempcol14/>
  166. <tempcol15/>
  167. <tempcol16/>
  168. <tempcol17/>
  169. <tempcol18/>
  170. <tempcol19/>
  171. <tempcol20/>
  172. <tempcol21/>
  173. <tempcol22/>
  174. <tempcol23/>
  175. <tempcol24/>
  176. <tempcol25/>
  177. </prcplist>
  178. </prcp>
  179. </main>
  180. <init>
  181. <prcpdirecflag/>
  182. <payflagcd/>
  183. <drugspd/>
  184. <drugmthdspccdnm/>
  185. <orddept/>
  186. <userlist/>
  187. </init>
  188. <chkflag>
  189. <drugmthdspccd/>
  190. <prcpdirecflag/>
  191. <drugspd/>
  192. <payflagcd/>
  193. <prcpdelivefact/>
  194. <prcptims/>
  195. <prcpdayno/>
  196. <etcprcpresncd/>
  197. <choiordflag/>
  198. <prcpexecdeptcd/>
  199. <anamneflag/>
  200. </chkflag>
  201. <orddept/>
  202. <temp>
  203. <send/>
  204. <patsupkind/>
  205. </temp>
  206. </root>
  207. </instance>
  208. <script type="javascript" ev:event="xforms-model-construct-done">
  209. <![CDATA[
  210. //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "insuuseyn", "", "/root/init/orddept" , "depthngnm"); //부서코드 콤보 조회
  211. zbcfGetCodeList(new Array("M0029"), new Array("/root/init/payflagcd"));
  212. zbcfGetKindCodeList(new Array("M0041", "M0042", "M0043"), new Array("M0046", "M0041", "M0045"), new Array("/root/init/drugspd", "/root/init/prcpdirecflag", "/root/init/drugmthdspccdnm"), false);
  213. fPrcpExecDeptSrch("all");
  214. //group1.disabled = true ;
  215. combo1.disabled = true;
  216. combo2.disabled = true;
  217. combo3.disabled = true;
  218. combo4.disabled = true;
  219. combo5.disabled = true;
  220. input1.disabled = true;
  221. input2.disabled = true;
  222. input3.disabled = true;
  223. textarea1.disabled = true;
  224. model.refresh();
  225. ]]>
  226. </script>
  227. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  228. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  229. <submission id="TRMMO01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmedmthd"/>
  230. <submission id="TRMMO00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/orddept"/>
  231. <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
  232. <submission id="TRMMO15701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send" resultref="/root/temp/patsupkind"/>
  233. </model>
  234. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  235. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  236. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  237. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  238. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  239. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO00100.js"/>
  240. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  241. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  242. </xhtml:head>
  243. <xhtml:body pagewidth="430" pageheight="266" guideline="2,266;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  244. <caption id="caption22" class="cell_1" style="left:208px; top:197px; width:101px; height:21px; "/>
  245. <button id="button1" class="btn4_letter2" style="left:296px; top:228px; width:56px; height:22px; ">
  246. <caption>확인</caption>
  247. <script type="javascript" ev:event="onclick">
  248. <![CDATA[
  249. var value = "";
  250. var drugmthdspccd_useyn = "";
  251. var drugmthdspccd = "";
  252. var tempcol1_useyn = "";
  253. var tempcol1 = "";
  254. var prcpdirecflag_useyn = "";
  255. var prcpdirecflag = "";
  256. var drugspd_useyn = "";
  257. var drugspd = "";
  258. var payflagcd_useyn = "";
  259. var payflagcd = "";
  260. var prcpdelivefact_useyn = "";
  261. var prcpdelivefact = "";
  262. var prcptims_useyn = "";
  263. var prcptims = "";
  264. var prcpdayno_useyn = "";
  265. var prcpdayno = "";
  266. var etcprcpresncd_useyn = "";
  267. var etcprcpresncd = "";
  268. var choiordflag_useyn = "";
  269. var choiordflag = "";
  270. var prcpexecdeptcd_useyn = "";
  271. var prcpexecdeptcd = "";
  272. var header = "";
  273. var useyn = "";
  274. var value = "";
  275. //치료부위(drugmthdspccd -> rehbprcpcurepartcd), 치료빈도(drugspd -> rehbprcpcurefreqflag), 마감일(etcprcpresncd->rehbprcpenddd)
  276. //마감일 변경된 instance로 대체 2008.06.02 오지훈
  277. header = "rehbprcpcurepartcd|tempcol1|prcpdirecflag|rehbprcpcurefreqflag|payflagcd|prcpdelivefact|prcptims|prcpdayno|choiordflag|prcpexecdeptcd|anamneflag|rehbprcpenddd^";
  278. //header = "drugmthdspccd|tempcol1|prcpdirecflag|drugspd|payflagcd|prcpdelivefact|prcptims|prcpdayno|choiordflag|prcpexecdeptcd|anamneflag|etcprcpresncd^";
  279. if ( model.getValue ( "/root/chkflag/drugmthdspccd" ) == "Y" ) {
  280. drugmthdspccd_useyn = "Y" + "|";
  281. drugmthdspccd = model.getValue ("/root/main/prcp/prcplist/rehbprcpcurepartcd" ) + "|";
  282. tempcol1_useyn = "Y" + "|";
  283. tempcol1 = combo1.label + "|";
  284. if ( isNull(model.getValue ("/root/main/prcp/prcplist/rehbprcpcurepartcd" ))) {
  285. model.alert ( "입력된 치료부위 값이 없습니다." );
  286. return;
  287. }
  288. } else {
  289. drugmthdspccd_useyn = "N" + "|";
  290. drugmthdspccd = "" + "|";
  291. tempcol1_useyn = "N" + "|";
  292. tempcol1 = "" + "|";
  293. }
  294. useyn = useyn + drugmthdspccd_useyn + tempcol1_useyn;
  295. value = value + drugmthdspccd + tempcol1;
  296. if ( model.getValue ( "/root/chkflag/prcpdirecflag" ) == "Y" ) {
  297. prcpdirecflag_useyn = "Y" + "|";
  298. prcpdirecflag = model.getValue ("/root/main/prcp/prcplist/prcpdirecflag" ) + "|";
  299. if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcpdirecflag" ))) {
  300. model.alert ( "입력된 치료위치 값이 없습니다." );
  301. return;
  302. }
  303. } else {
  304. prcpdirecflag_useyn = "N" + "|";
  305. prcpdirecflag = "" + "|";
  306. }
  307. useyn = useyn + prcpdirecflag_useyn ;
  308. value = value + prcpdirecflag;
  309. if ( model.getValue ( "/root/chkflag/drugspd" ) == "Y" ) {
  310. drugspd_useyn = "Y" + "|";
  311. drugspd = model.getValue ("/root/main/prcp/prcplist/rehbprcpcurefreqflag" ) + "|";
  312. if ( isNull(model.getValue ("/root/main/prcp/prcplist/rehbprcpcurefreqflag" ))) {
  313. model.alert ( "입력된 치료빈도 값이 없습니다." );
  314. return;
  315. }
  316. } else {
  317. drugspd_useyn = "N" + "|";
  318. drugspd = "" + "|";
  319. }
  320. useyn = useyn + drugspd_useyn ;
  321. value = value + drugspd;
  322. if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
  323. payflagcd_useyn = "Y" + "|";
  324. payflagcd = model.getValue ( "/root/main/prcp/prcplist/payflagcd" ) + "|";
  325. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/payflagcd" ))) {
  326. model.alert ( "입력된 급여구분 값이 없습니다." ) ;
  327. return;
  328. }
  329. } else {
  330. payflagcd_useyn = "N" + "|";
  331. payflagcd = "" + "|";
  332. }
  333. useyn = useyn + payflagcd_useyn ;
  334. value = value + payflagcd;
  335. if ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
  336. prcpdelivefact_useyn = "Y" + "|";
  337. prcpdelivefact = model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ) + "|";
  338. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ))) {
  339. model.alert ( "입력된 특기사항 값이 없습니다." );
  340. return;
  341. }
  342. } else {
  343. prcpdelivefact_useyn = "N" + "|";
  344. prcpdelivefact = "" + "|";
  345. }
  346. useyn = useyn + prcpdelivefact_useyn ;
  347. value = value + prcpdelivefact;
  348. if ( model.getValue ( "/root/chkflag/prcptims" ) == "Y" ) {
  349. prcptims_useyn = "Y" + "|";
  350. prcptims = model.getValue ("/root/main/prcp/prcplist/prcptims" ) + "|";
  351. if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcptims" ))) {
  352. model.alert ( "입력된 1일치료횟수 값이 없습니다." );
  353. return;
  354. }
  355. } else {
  356. prcptims_useyn = "N" + "|";
  357. prcptims = "" + "|";
  358. }
  359. useyn = useyn + prcptims_useyn ;
  360. value = value + prcptims;
  361. if ( model.getValue ( "/root/chkflag/prcpdayno" ) == "Y" ) {
  362. prcpdayno_useyn = "Y" + "|";
  363. prcpdayno = model.getValue ("/root/main/prcp/prcplist/prcpdayno" ) + "|";
  364. if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcpdayno" ))) {
  365. model.alert ( "입력된 치료일수 값이 없습니다." );
  366. return;
  367. }
  368. } else {
  369. prcpdayno_useyn = "N" + "|";
  370. prcpdayno = "" + "|";
  371. }
  372. useyn = useyn + prcpdayno_useyn ;
  373. value = value + prcpdayno;
  374. if ( model.getValue ( "/root/chkflag/choiordflag" ) == "Y" ) {
  375. choiordflag_useyn = "Y" + "|";
  376. choiordflag = model.getValue ("/root/main/prcp/prcplist/choiordflag" ) + "|";
  377. if ( isNull(model.getValue ("/root/main/prcp/prcplist/choiordflag" ))) {
  378. choiordflag = "N" + "|";
  379. }
  380. } else {
  381. choiordflag_useyn = "N" + "|";
  382. choiordflag = "" + "|";
  383. }
  384. useyn = useyn + choiordflag_useyn ;
  385. value = value + choiordflag;
  386. if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
  387. prcpexecdeptcd_useyn = "Y" + "|";
  388. prcpexecdeptcd = model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ) + "|";
  389. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ))) {
  390. model.alert ( "입력된 시행부서가 없습니다." ) ;
  391. return;
  392. }
  393. } else {
  394. prcpexecdeptcd_useyn = "N" + "|";
  395. prcpexecdeptcd = "" + "|";
  396. }
  397. useyn = useyn + prcpexecdeptcd_useyn ;
  398. value = value + prcpexecdeptcd;
  399. if( model.getValue ( "/root/chkflag/anamneflag" ) == "Y" ) {
  400. useyn = useyn + "Y" + "|";
  401. value = value + "Y" + "|";
  402. } else {
  403. useyn = useyn + "N" + "|";
  404. value = value + "N" + "|";
  405. }
  406. if ( model.getValue ( "/root/chkflag/etcprcpresncd" ) == "Y" ) {
  407. etcprcpresncd_useyn = "Y" + "^";
  408. etcprcpresncd = model.getValue ("/root/main/prcp/prcplist/rehbprcpenddd" ) + "^";
  409. if ( isNull(model.getValue ("/root/main/prcp/prcplist/rehbprcpenddd" ))) {
  410. model.alert ( "입력된 마감일 값이 없습니다." );
  411. return;
  412. } else {
  413. if ( !isValidDateTime ( model.getValue ( "/root/main/prcp/prcplist/rehbprcpenddd" ), "YYYYMMDD")) {
  414. model.alert ( "마감일이 유효한 날짜가 아닙니다." );
  415. return;
  416. }
  417. }
  418. } else {
  419. etcprcpresncd_useyn = "N"+ "^";
  420. etcprcpresncd = "" + "^";
  421. }
  422. useyn = useyn + etcprcpresncd_useyn;
  423. value = value + etcprcpresncd;
  424. var batipt_rtn1 = header + useyn + value;
  425. opener.javascript.setParameter ( "batipt_rtn1", batipt_rtn1 );
  426. opener.javascript.setParameter ( "batipt_rtn1_useyn", "Y" );
  427. window.close();
  428. ]]>
  429. </script>
  430. </button>
  431. <button id="button2" class="btn4_letter2" style="left:356px; top:228px; width:56px; height:22px; ">
  432. <caption>취소</caption>
  433. <script type="javascript" ev:event="onclick">
  434. <![CDATA[
  435. opener.javascript.setParameter ( "batipt_rtn1_useyn", "N" );
  436. window.close();
  437. ]]>
  438. </script>
  439. </button>
  440. <caption id="caption8" class="cell_1" style="left:209px; top:145px; width:100px; height:23px; "/>
  441. <caption id="caption7" class="cell_1" style="left:209px; top:119px; width:100px; height:23px; "/>
  442. <caption id="caption6" class="cell_1" style="left:209px; top:93px; width:100px; height:23px; "/>
  443. <caption id="caption3" class="cell_1" style="left:4px; top:19px; width:100px; height:50px; "/>
  444. <caption id="caption2" class="cell_1" style="left:3px; top:172px; width:100px; height:23px; "/>
  445. <caption id="caption5" class="cell_1" style="left:4px; top:145px; width:100px; height:23px; "/>
  446. <caption id="caption4" class="cell_1" style="left:4px; top:119px; width:100px; height:23px; "/>
  447. <caption id="caption1" class="cell_1" style="left:4px; top:93px; width:100px; height:23px; "/>
  448. <select id="checkbox1" ref="/root/chkflag/drugmthdspccd" overflow="visible" appearance="full" style="left:9px; top:97px; width:100px; height:20px; border-style:none; ">
  449. <choices>
  450. <item>
  451. <label>치료부위</label>
  452. <value>Y</value>
  453. </item>
  454. </choices>
  455. <script type="javascript" ev:event="xforms-value-changed">
  456. <![CDATA[
  457. if ( model.getValue ( "/root/chkflag/drugmthdspccd" ) == "Y" ) {
  458. checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "bold";
  459. combo1.disabled = false;
  460. model.refresh();
  461. } else {
  462. checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "normal";
  463. combo1.disabled = true;
  464. model.refresh();
  465. }
  466. ]]>
  467. </script>
  468. </select>
  469. <select id="checkbox2" ref="/root/chkflag/prcpdirecflag" overflow="visible" appearance="full" style="left:9px; top:123px; width:100px; height:20px; border-style:none; ">
  470. <choices>
  471. <item>
  472. <label>치료위치</label>
  473. <value>Y</value>
  474. </item>
  475. </choices>
  476. <script type="javascript" ev:event="xforms-value-changed">
  477. <![CDATA[
  478. if ( model.getValue ( "/root/chkflag/prcpdirecflag" ) == "Y" ) {
  479. checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "bold";
  480. combo2.disabled = false;
  481. model.refresh();
  482. } else {
  483. checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "normal";
  484. combo2.disabled = true;
  485. model.refresh();
  486. }
  487. ]]>
  488. </script>
  489. </select>
  490. <select id="checkbox3" ref="/root/chkflag/drugspd" overflow="visible" appearance="full" style="left:9px; top:149px; width:100px; height:20px; border-style:none; ">
  491. <choices>
  492. <item>
  493. <label>치료빈도</label>
  494. <value>Y</value>
  495. </item>
  496. </choices>
  497. <script type="javascript" ev:event="xforms-value-changed">
  498. <![CDATA[
  499. if ( model.getValue ( "/root/chkflag/drugspd" ) == "Y" ) {
  500. checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "bold";
  501. combo3.disabled = false;
  502. model.refresh();
  503. } else {
  504. checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "normal";
  505. combo3.disabled = true;
  506. model.refresh();
  507. }
  508. ]]>
  509. </script>
  510. </select>
  511. <select1 id="combo1" ref="/root/main/prcp/prcplist/rehbprcpcurepartcd" class="combo_default" appearance="minimal" style="left:105px; top:95px; width:100px; height:19px; ">
  512. <choices>
  513. <itemset nodeset="/root/init/drugspd/M0041M0046">
  514. <label ref="cdnm"/>
  515. <value ref="cdid"/>
  516. </itemset>
  517. </choices>
  518. </select1>
  519. <select id="checkbox4" ref="/root/chkflag/payflagcd" overflow="visible" appearance="full" style="left:9px; top:175px; width:100px; height:20px; border-style:none; ">
  520. <choices>
  521. <item>
  522. <label>급여구분</label>
  523. <value>Y</value>
  524. </item>
  525. </choices>
  526. <script type="javascript" ev:event="xforms-value-changed">
  527. <![CDATA[
  528. if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
  529. checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "bold";
  530. combo4.disabled = false;
  531. model.refresh();
  532. } else {
  533. checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "normal";
  534. combo4.disabled = true;
  535. model.refresh();
  536. }
  537. ]]>
  538. </script>
  539. </select>
  540. <select1 id="combo2" ref="/root/main/prcp/prcplist/prcpdirecflag" class="combo_default" appearance="minimal" style="left:105px; top:121px; width:100px; height:19px; ">
  541. <choices>
  542. <itemset nodeset="/root/init/prcpdirecflag/M0042M0041">
  543. <label ref="cdnm"/>
  544. <value ref="cdid"/>
  545. </itemset>
  546. </choices>
  547. </select1>
  548. <line id="line15" class="line_2" style="x1:4px; y1:117px; x2:412px; y2:117px; "/>
  549. <select id="checkbox5" ref="/root/chkflag/prcpdelivefact" overflow="visible" appearance="full" style="left:9px; top:19px; width:68px; height:25px; border-style:none; ">
  550. <choices>
  551. <item>
  552. <label>전달사항</label>
  553. <value>Y</value>
  554. </item>
  555. </choices>
  556. <script type="javascript" ev:event="xforms-value-changed">
  557. <![CDATA[
  558. if ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
  559. checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "bold";
  560. textarea1.disabled = false;
  561. model.refresh();
  562. } else {
  563. checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "normal";
  564. textarea1.disabled = true;
  565. model.refresh();
  566. }
  567. ]]>
  568. </script>
  569. </select>
  570. <select id="checkbox6" ref="/root/chkflag/prcptims" overflow="visible" appearance="full" style="left:214px; top:97px; width:100px; height:20px; border-style:none; ">
  571. <choices>
  572. <item>
  573. <label>1일치료횟수</label>
  574. <value>Y</value>
  575. </item>
  576. </choices>
  577. <script type="javascript" ev:event="xforms-value-changed">
  578. <![CDATA[
  579. if ( model.getValue ( "/root/chkflag/prcptims" ) == "Y" ) {
  580. checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "bold";
  581. input1.disabled = false;
  582. model.refresh();
  583. } else {
  584. checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "normal";
  585. input1.disabled = true;
  586. model.refresh();
  587. }
  588. ]]>
  589. </script>
  590. </select>
  591. <select1 id="combo3" ref="/root/main/prcp/prcplist/rehbprcpcurefreqflag" class="combo_default" appearance="minimal" style="left:105px; top:147px; width:100px; height:19px; ">
  592. <choices>
  593. <itemset nodeset="/root/init/drugmthdspccdnm/M0043M0045">
  594. <label ref="cdnm"/>
  595. <value ref="cdid"/>
  596. </itemset>
  597. </choices>
  598. </select1>
  599. <select id="checkbox7" ref="/root/chkflag/prcpdayno" overflow="visible" appearance="full" style="left:214px; top:123px; width:100px; height:20px; border-style:none; ">
  600. <choices>
  601. <item>
  602. <label>치료일수</label>
  603. <value>Y</value>
  604. </item>
  605. </choices>
  606. <script type="javascript" ev:event="xforms-value-changed">
  607. <![CDATA[
  608. if ( model.getValue ( "/root/chkflag/prcpdayno" ) == "Y" ) {
  609. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "bold";
  610. input2.disabled = false;
  611. model.refresh();
  612. } else {
  613. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
  614. input2.disabled = true;
  615. model.refresh();
  616. }
  617. ]]>
  618. </script>
  619. </select>
  620. <line id="line1" class="line_2" style="x1:4px; y1:17px; x2:412px; y2:17px; "/>
  621. <select1 id="combo4" ref="/root/main/prcp/prcplist/payflagcd" class="combo_default" appearance="minimal" style="left:107px; top:174px; width:100px; height:19px; ">
  622. <choices>
  623. <itemset nodeset="/root/init/payflagcd/M0029">
  624. <label ref="cdnm"/>
  625. <value ref="cdid"/>
  626. </itemset>
  627. </choices>
  628. </select1>
  629. <input id="input1" ref="/root/main/prcp/prcplist/prcptims" class="input_search" imemode="disabled" format="#,###" style="left:312px; top:95px; width:100px; height:19px; "/>
  630. <select id="checkbox8" ref="/root/chkflag/etcprcpresncd" overflow="visible" appearance="full" style="left:214px; top:149px; width:100px; height:20px; border-style:none; ">
  631. <choices>
  632. <item>
  633. <label>마감일</label>
  634. <value>Y</value>
  635. </item>
  636. </choices>
  637. <script type="javascript" ev:event="xforms-value-changed">
  638. <![CDATA[
  639. if ( model.getValue ( "/root/chkflag/etcprcpresncd" ) == "Y" ) {
  640. checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "bold";
  641. input3.disabled = false;
  642. model.refresh();
  643. } else {
  644. checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "normal";
  645. input3.disabled = true;
  646. model.refresh();
  647. }
  648. ]]>
  649. </script>
  650. </select>
  651. <line id="line2" class="line_2" style="x1:4px; y1:143px; x2:412px; y2:143px; "/>
  652. <input id="input2" ref="/root/main/prcp/prcplist/prcpdayno" class="input_search" imemode="disabled" format="#,###" style="left:312px; top:121px; width:100px; height:19px; "/>
  653. <line id="line3" class="line_2" style="x1:4px; y1:170px; x2:411px; y2:170px; "/>
  654. <textarea id="textarea1" ref="/root/main/prcp/prcplist/prcpdelivefact" style="left:105px; top:19px; width:307px; height:49px; "/>
  655. <input id="input3" ref="/root/main/prcp/prcplist/rehbprcpenddd" class="input_search" imemode="disabled" inputtype="date" format="yyyy-mm-dd" style="left:312px; top:147px; width:100px; height:19px; "/>
  656. <line id="line6" class="line_3" style="x1:4px; y1:221px; x2:411px; y2:221px; "/>
  657. <line id="line7" class="line_1" style="x1:4px; y1:14px; x2:412px; y2:14px; "/>
  658. <caption id="caption18" class="tit_2" style="left:5px; top:0px; width:121px; height:14px; ">공통</caption>
  659. <caption id="caption11" class="tit_2" style="left:5px; top:74px; width:121px; height:14px; ">재활</caption>
  660. <line id="line5" class="line_1" style="x1:2px; y1:88px; x2:410px; y2:88px; "/>
  661. <line id="line4" class="line_2" style="x1:4px; y1:70px; x2:412px; y2:70px; "/>
  662. <select1 id="combo5" ref="/root/main/prcp/prcplist/prcpexecdeptcd" class="combo_default" appearance="minimal" itemcount="30" style="left:106px; top:199px; width:100px; height:19px; ">
  663. <choices>
  664. <itemset nodeset="/root/orddept/dept">
  665. <label ref="depthngnm"/>
  666. <value ref="deptcd"/>
  667. </itemset>
  668. </choices>
  669. </select1>
  670. <caption id="caption13" class="cell_1" style="left:3px; top:197px; width:100px; height:23px; "/>
  671. <select id="checkbox18" ref="/root/chkflag/prcpexecdeptcd" overflow="visible" appearance="full" style="left:8px; top:200px; width:100px; height:20px; border-style:none; ">
  672. <choices>
  673. <item>
  674. <label>시행부서</label>
  675. <value>Y</value>
  676. </item>
  677. </choices>
  678. <script type="javascript" ev:event="xforms-value-changed">
  679. <![CDATA[
  680. if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
  681. checkbox18.item(checkbox18.focusIndex).attribute("font-weight") = "bold";
  682. combo5.disabled = false;
  683. model.refresh();
  684. } else {
  685. checkbox18.item(checkbox18.focusIndex).attribute("font-weight") = "normal";
  686. combo5.disabled = true;
  687. model.refresh();
  688. }
  689. ]]>
  690. </script>
  691. </select>
  692. <button id="button4" class="icon_search" style="left:79px; top:20px; width:16px; height:16px; ">
  693. <caption/>
  694. <script type="javascript" ev:event="DOMActivate">
  695. <![CDATA[
  696. setParameter ( "SPMMB02200_cond2", "3" );
  697. fPrcpModal ( "SPMMB02200", 50, 50 );
  698. model.setValue ( "/root/main/prcp/prcplist/prcpdelivefact", getParameter ( "SPMMB02200_clinccmt" ));
  699. model.refresh();
  700. ]]>
  701. </script>
  702. </button>
  703. <bool id="bool2" checkvalue="Y,N" ref="/root/chkflag/anamneflag" style="left:209px; top:197px; width:25px; height:20px; ">
  704. <script type="javascript" ev:event="xforms-value-changed">
  705. <![CDATA[
  706. if(bool2.value == "Y"){
  707. var prcpgenrflag = opener.model.getValue("/root/patflag/list/prcpgenrflag");
  708. var pid = opener.model.getValue("/root/paminfo/list/pid");
  709. var indd = opener.model.getValue("/root/paminfo/list/indd");
  710. if(prcpgenrflag == "I" || prcpgenrflag == "D" || prcpgenrflag == "E"){
  711. var subcretno = fGetSubcretno(pid, indd, "anamneflag");
  712. model.setValue("/root/main/prcp/prcplist/subcretno", subcretno);
  713. if(subcretno == "0"){
  714. messageBox ( "환자의 부유형이 없거나 또는 선택되지 않았습니다.", "I999" );
  715. bool2.value = "N";
  716. }
  717. } else {
  718. messageBox ( "외래 환자는 기왕증을 선택 할 수", "I004" );
  719. bool2.value = "N";
  720. }
  721. }else{ //기왕증이 N로 처리된 경우에는 subcretno 0로 처리
  722. model.setValue("/root/main/prcp/prcplist/subcretno", "0");
  723. }
  724. ]]>
  725. </script>
  726. </bool>
  727. <caption id="caption23" style="left:231px; top:198px; width:50px; height:20px; ">기왕증</caption>
  728. </xhtml:body>
  729. </xhtml:html>