SPMMO12900_일괄입력angio.xrw 25 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>일괄입력[angio]</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. <opansflagcd/>
  186. <angioflagcd/>
  187. <orddept/>
  188. <nigtprcpflag/>
  189. </init>
  190. <chkflag>
  191. <erprcpflag/>
  192. <prnprcpflag/>
  193. <erreadflag/>
  194. <portprcpflag/>
  195. <precureprcpflag/>
  196. <clincstdyflag/>
  197. <payflagcd/>
  198. <prcphopedd/>
  199. <clinccmtcnts/>
  200. <prcpdelivefact/>
  201. <nigtprcpflag/>
  202. <choiordflag/>
  203. <opansflagcd/>
  204. <angioflagcd/>
  205. <prcpexecdeptcd/>
  206. <anamneflag/>
  207. </chkflag>
  208. <orddept/>
  209. <temp>
  210. <send/>
  211. <patsupkind/>
  212. </temp>
  213. </root>
  214. </instance>
  215. <script type="javascript" ev:event="xforms-model-construct-done">
  216. <![CDATA[
  217. //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "insuuseyn", "", "/root/init/orddept" , "depthngnm"); //부서코드 콤보 조회
  218. zbcfGetCodeList(new Array("M0029", "M0006", "M0639"),new Array("/root/init/payflagcd", "/root/init/angioflagcd", "/root/init/nigtprcpflag"));
  219. fPrcpExecDeptSrch("all");
  220. checkbox10.disabled = true;
  221. //checkbox12.disabled = true;
  222. checkbox15.disabled = true;
  223. button4.disabled = true;
  224. combo1.disabled = true;
  225. combo2.disabled = true;
  226. combo3.disabled = true;
  227. combo4.disabled = true;
  228. textarea1.disabled = true;
  229. model.refresh();
  230. ]]>
  231. </script>
  232. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  233. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  234. <submission id="TRMMO01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmedmthd"/>
  235. <submission id="TRMMO00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/orddept"/>
  236. <submission id="TRMMO15701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send" resultref="/root/temp/patsupkind"/>
  237. </model>
  238. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  239. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  240. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  241. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  242. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  243. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO00100.js"/>
  244. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  245. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  246. </xhtml:head>
  247. <xhtml:body pagewidth="430" pageheight="240" guideline="2,240;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  248. <caption id="caption22" class="cell_1" style="left:208px; top:173px; width:99px; height:21px; "/>
  249. <caption id="caption13" class="cell_1" style="left:2px; top:173px; width:100px; height:23px; "/>
  250. <caption id="caption2" class="cell_1" style="left:2px; top:147px; width:100px; height:23px; "/>
  251. <button id="button1" class="btn4_letter2" style="left:294px; top:204px; width:56px; height:22px; ">
  252. <caption>확인</caption>
  253. <script type="javascript" ev:event="onclick">
  254. <![CDATA[
  255. var erprcpflag_useyn = "";
  256. var erprcpflag = "";
  257. var nigtprcpflag_useyn = "";
  258. var nigtprcpflag = "";
  259. var opansflagcd_useyn = "";
  260. var opansflagcd = "";
  261. var tempcol1_useyn = "";
  262. var tempcol1 = "";
  263. var payflagcd_useyn = "";
  264. var payflagcd = "";
  265. var clincstdyflag_useyn = "";
  266. var clincstdyflag = "";
  267. var prcpexecdeptcd_useyn = "";
  268. var prcpexecdeptcd = "";
  269. var prcpdelivefact_useyn = "";
  270. var prcpdelivefact = "";
  271. var useyn = "";
  272. var value = "";
  273. var header = "erprcpflag|nigtprcpflag|angioflagcd|payflagcd|clincstdyflag|prcpexecdeptcd|anamneflag|prcpdelivefact|subcretno^";
  274. if ( model.getValue ( "/root/chkflag/erprcpflag" ) == "Y" ) {
  275. erprcpflag_useyn = "Y" + "|";
  276. erprcpflag = model.getValue ("/root/main/prcp/prcplist/erprcpflag" ) + "|";
  277. if ( isNull(model.getValue ("/root/main/prcp/prcplist/erprcpflag" ))) {
  278. erprcpflag = "N" + "|";
  279. }
  280. } else {
  281. erprcpflag_useyn = "N" + "|";
  282. erprcpflag = "" + "|";
  283. }
  284. useyn = useyn + erprcpflag_useyn;
  285. value = value + erprcpflag;
  286. if ( model.getValue ( "/root/chkflag/nigtprcpflag" ) == "Y" ) {
  287. nigtprcpflag_useyn = "Y" + "|";
  288. nigtprcpflag = model.getValue ("/root/main/prcp/prcplist/nigtprcpflag" ) + "|";
  289. if ( isNull(model.getValue ("/root/main/prcp/prcplist/nigtprcpflag" ))) {
  290. nigtprcpflag = "N" + "|";
  291. }
  292. } else {
  293. nigtprcpflag_useyn = "N" + "|";
  294. nigtprcpflag = "" + "|";
  295. }
  296. useyn = useyn + nigtprcpflag_useyn ;
  297. value = value + nigtprcpflag;
  298. if ( model.getValue ( "/root/chkflag/angioflagcd" ) == "Y" ) {
  299. angioflagcd_useyn = "Y" + "|";
  300. tempcol1_useyn = "Y" + "|";
  301. angioflagcd = model.getValue ( "/root/main/prcp/prcplist/angioflagcd" ) + "|";
  302. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/angioflagcd" ))) {
  303. model.alert ( "입력된 Angio구분 값이 없습니다." ) ;
  304. return;
  305. } else {
  306. tempcol1 = combo2.label + "|";
  307. }
  308. } else {
  309. angioflagcd_useyn = "N" + "|";
  310. angioflagcd = "" + "|";
  311. tempcol1_useyn = "N" + "|";
  312. tempcol1 = "" + "|";
  313. }
  314. useyn = useyn + angioflagcd_useyn ;
  315. value = value + angioflagcd;
  316. if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
  317. payflagcd_useyn = "Y" + "|";
  318. payflagcd = model.getValue ( "/root/main/prcp/prcplist/payflagcd" ) + "|";
  319. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/payflagcd" ))) {
  320. model.alert ( "입력된 급여구분 값이 없습니다." ) ;
  321. return;
  322. }
  323. } else {
  324. payflagcd_useyn = "N" + "|";
  325. payflagcd = "" + "|";
  326. }
  327. useyn = useyn + payflagcd_useyn ;
  328. value = value + payflagcd;
  329. if ( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ) {
  330. clincstdyflag_useyn = "Y" + "|";
  331. clincstdyflag = model.getValue ("/root/main/prcp/prcplist/clincstdyflag" ) + "|";
  332. if ( isNull(model.getValue ("/root/main/prcp/prcplist/clincstdyflag" ))) {
  333. clincstdyflag = "N" + "|";
  334. }
  335. } else {
  336. clincstdyflag_useyn = "N" + "|";
  337. clincstdyflag = "" + "|";
  338. }
  339. useyn = useyn + clincstdyflag_useyn ;
  340. value = value + clincstdyflag;
  341. if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
  342. prcpexecdeptcd_useyn = "Y" + "|";
  343. prcpexecdeptcd = model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ) + "|";
  344. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ))) {
  345. model.alert ( "입력된 시행부서가 없습니다." ) ;
  346. return;
  347. }
  348. } else {
  349. prcpexecdeptcd_useyn = "N" + "|";
  350. prcpexecdeptcd = "" + "|";
  351. }
  352. useyn = useyn + prcpexecdeptcd_useyn ;
  353. value = value + prcpexecdeptcd;
  354. if( model.getValue ( "/root/chkflag/anamneflag" ) == "Y" ) {
  355. useyn = useyn + "Y" + "|";
  356. value = value + "Y" + "|";
  357. } else {
  358. useyn = useyn + "N" + "|";
  359. value = value + "N" + "|";
  360. }
  361. if ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
  362. prcpdelivefact_useyn = "Y" + "|";
  363. prcpdelivefact = model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ) + "|";
  364. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ))) {
  365. model.alert ( "입력된 전달사항 값이 없습니다." );
  366. return;
  367. }
  368. } else {
  369. prcpdelivefact_useyn = "N" + "|";
  370. prcpdelivefact = "" + "|";
  371. }
  372. useyn = useyn + prcpdelivefact_useyn ;
  373. value = value + prcpdelivefact;
  374. //2008. 07. 01 기왕증 입력에 따른 subcretno설정, 오지훈
  375. var subcretno_useyn = "";
  376. var subcretno = 0;
  377. if ( bool2.value == "Y" || model.getValue("/root/chkflag/clincstdyflag") == "Y") {
  378. subcretno_useyn = "Y";
  379. subcretno = model.getValue("/root/main/prcp/prcplist/subcretno");
  380. }else{
  381. subcretno_useyn = "N";
  382. }
  383. useyn = useyn + subcretno_useyn + "^";
  384. value = value + subcretno + "^";
  385. var batipt_rtn1 = header + useyn + value;
  386. opener.javascript.setParameter ( "batipt_rtn1", batipt_rtn1 );
  387. opener.javascript.setParameter ( "batipt_rtn1_useyn", "Y" );
  388. window.close();
  389. ]]>
  390. </script>
  391. </button>
  392. <button id="button2" class="btn4_letter2" style="left:354px; top:204px; width:56px; height:22px; ">
  393. <caption>취소</caption>
  394. <script type="javascript" ev:event="onclick">
  395. <![CDATA[
  396. opener.javascript.setParameter ( "batipt_rtn1_useyn", "N" );
  397. window.close();
  398. ]]>
  399. </script>
  400. </button>
  401. <caption id="caption7" class="cell_1" style="left:207px; top:19px; width:100px; height:23px; "/>
  402. <caption id="caption6" class="cell_1" style="left:207px; top:120px; width:100px; height:23px; "/>
  403. <caption id="caption3" class="cell_1" style="left:2px; top:46px; width:100px; height:50px; "/>
  404. <caption id="caption4" class="cell_1" style="left:2px; top:120px; width:100px; height:23px; "/>
  405. <caption id="caption1" class="cell_1" style="left:2px; top:19px; width:100px; height:23px; "/>
  406. <select id="checkbox1" ref="/root/chkflag/erprcpflag" overflow="visible" appearance="full" style="left:7px; top:23px; width:100px; height:20px; border-style:none; ">
  407. <choices>
  408. <item>
  409. <label>응급</label>
  410. <value>Y</value>
  411. </item>
  412. </choices>
  413. <script type="javascript" ev:event="xforms-value-changed">
  414. <![CDATA[
  415. if ( model.getValue ( "/root/chkflag/erprcpflag" ) == "Y" ) {
  416. checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "bold";
  417. checkbox10.disabled = false;
  418. model.setValue ( "/root/main/prcp/prcplist/erprcpflag", "Y" );
  419. model.refresh();
  420. } else {
  421. checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "normal";
  422. checkbox10.disabled = true;
  423. model.setValue ( "/root/main/prcp/prcplist/erprcpflag", "N" );
  424. model.refresh();
  425. }
  426. ]]>
  427. </script>
  428. </select>
  429. <select id="checkbox2" ref="/root/chkflag/nigtprcpflag" overflow="visible" appearance="full" style="left:7px; top:124px; width:100px; height:20px; border-style:none; ">
  430. <choices>
  431. <item>
  432. <label>야간/심야</label>
  433. <value>Y</value>
  434. </item>
  435. </choices>
  436. <script type="javascript" ev:event="xforms-value-changed">
  437. <![CDATA[
  438. if ( model.getValue ( "/root/chkflag/nigtprcpflag" ) == "Y" ) {
  439. checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "bold";
  440. combo4.disabled = false;
  441. model.refresh();
  442. } else {
  443. checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "normal";
  444. combo4.disabled = true;
  445. model.refresh();
  446. }
  447. ]]>
  448. </script>
  449. </select>
  450. <line id="line15" class="line_2" style="x1:2px; y1:44px; x2:410px; y2:44px; "/>
  451. <select id="checkbox5" ref="/root/chkflag/prcpdelivefact" overflow="visible" appearance="full" style="left:7px; top:50px; width:68px; height:25px; border-style:none; ">
  452. <choices>
  453. <item>
  454. <label>전달사항</label>
  455. <value>Y</value>
  456. </item>
  457. </choices>
  458. <script type="javascript" ev:event="xforms-value-changed">
  459. <![CDATA[
  460. if ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
  461. checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "bold";
  462. textarea1.disabled = false;
  463. button4.disabled = false;
  464. model.refresh();
  465. } else {
  466. checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "normal";
  467. textarea1.disabled = true;
  468. button4.disabled = true;
  469. model.refresh();
  470. }
  471. ]]>
  472. </script>
  473. </select>
  474. <select id="checkbox7" ref="/root/chkflag/angioflagcd" overflow="visible" appearance="full" style="left:212px; top:124px; width:100px; height:16px; border-style:none; ">
  475. <choices>
  476. <item>
  477. <label>Angio구분</label>
  478. <value>Y</value>
  479. </item>
  480. </choices>
  481. <script type="javascript" ev:event="xforms-value-changed">
  482. <![CDATA[
  483. if ( model.getValue ( "/root/chkflag/angioflagcd" ) == "Y" ) {
  484. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "bold";
  485. combo2.disabled = false;
  486. } else {
  487. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
  488. combo2.disabled = true;
  489. }
  490. model.refresh();
  491. ]]>
  492. </script>
  493. </select>
  494. <select1 id="combo1" ref="/root/main/prcp/prcplist/payflagcd" class="combo_default" appearance="minimal" style="left:310px; top:21px; width:100px; height:19px; ">
  495. <choices>
  496. <itemset nodeset="/root/init/payflagcd/M0029">
  497. <label ref="cdnm"/>
  498. <value ref="cdid"/>
  499. </itemset>
  500. </choices>
  501. </select1>
  502. <select id="checkbox8" ref="/root/chkflag/payflagcd" overflow="visible" appearance="full" style="left:212px; top:23px; width:100px; height:20px; border-style:none; ">
  503. <choices>
  504. <item>
  505. <label>급여</label>
  506. <value>Y</value>
  507. </item>
  508. </choices>
  509. <script type="javascript" ev:event="xforms-value-changed">
  510. <![CDATA[
  511. if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
  512. checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "bold";
  513. combo1.disabled = false;
  514. model.refresh();
  515. } else {
  516. checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "normal";
  517. combo1.disabled = true;
  518. model.refresh();
  519. }
  520. ]]>
  521. </script>
  522. </select>
  523. <line id="line2" class="line_2" style="x1:2px; y1:96px; x2:410px; y2:96px; "/>
  524. <line id="line3" class="line_2" style="x1:2px; y1:44px; x2:409px; y2:44px; "/>
  525. <textarea id="textarea1" ref="/root/main/prcp/prcplist/prcpdelivefact" style="left:103px; top:46px; width:307px; height:49px; "/>
  526. <line id="line7" class="line_1" style="x1:2px; y1:14px; x2:410px; y2:14px; "/>
  527. <select id="checkbox10" ref="/root/main/prcp/prcplist/erprcpflag" overflow="visible" appearance="full" style="left:105px; top:23px; width:100px; height:20px; border-style:none; ">
  528. <choices>
  529. <item>
  530. <label>응급</label>
  531. <value>Y</value>
  532. </item>
  533. </choices>
  534. </select>
  535. <select1 id="combo4" ref="/root/main/prcp/prcplist/nigtprcpflag" class="combo_default" appearance="minimal" style="left:105px; top:122px; width:100px; height:19px; ">
  536. <choices>
  537. <itemset nodeset="/root/init/nigtprcpflag/M0639">
  538. <label ref="cdnm"/>
  539. <value ref="cdid"/>
  540. </itemset>
  541. </choices>
  542. </select1>
  543. <line id="line4" class="line_3" style="x1:2px; y1:198px; x2:409px; y2:198px; "/>
  544. <select1 id="combo2" ref="/root/main/prcp/prcplist/angioflagcd" class="combo_default" appearance="minimal" style="left:309px; top:122px; width:100px; height:19px; ">
  545. <choices>
  546. <itemset nodeset="/root/init/angioflagcd/M0006">
  547. <label ref="cdnm"/>
  548. <value ref="cdid"/>
  549. </itemset>
  550. </choices>
  551. </select1>
  552. <caption id="caption18" class="tit_2" style="left:5px; top:0px; width:121px; height:14px; ">공통</caption>
  553. <caption id="caption8" class="tit_2" style="left:5px; top:101px; width:121px; height:14px; ">angio</caption>
  554. <line id="line5" class="line_1" style="x1:2px; y1:115px; x2:410px; y2:115px; "/>
  555. <line id="line1" class="line_2" style="x1:2px; y1:145px; x2:410px; y2:145px; "/>
  556. <select id="checkbox15" ref="/root/main/prcp/prcplist/clincstdyflag" overflow="visible" appearance="full" style="left:104px; top:150px; width:100px; height:20px; border-style:none; ">
  557. <choices>
  558. <item>
  559. <label>임상연구</label>
  560. <value>Y</value>
  561. </item>
  562. </choices>
  563. </select>
  564. <select id="checkbox4" ref="/root/chkflag/clincstdyflag" overflow="visible" appearance="full" style="left:7px; top:151px; width:100px; height:20px; border-style:none; ">
  565. <choices>
  566. <item>
  567. <label>임상연구</label>
  568. <value>Y</value>
  569. </item>
  570. </choices>
  571. <script type="javascript" ev:event="xforms-value-changed">
  572. <![CDATA[
  573. if( bool2.value == "Y" ){
  574. messageBox ( "임상연구는 기왕증과 동시에 선택 할 수", "I004" );
  575. model.setValue ( "/root/chkflag/clincstdyflag" , "");
  576. model.refresh();
  577. return;
  578. }
  579. if ( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ) {
  580. if ( fSubcretnoSet("1", null) == -1 ) {
  581. model.setValue ( "/root/chkflag/clincstdyflag" , "N");
  582. checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "normal";
  583. checkbox15.disabled = true;
  584. checkbox4.disabled = true;
  585. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "N" );
  586. model.refresh();
  587. return;
  588. }
  589. checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "bold";
  590. checkbox15.disabled = false;
  591. checkbox4.disabled = false;
  592. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "Y" );
  593. } else {
  594. fSubcretnoSet("1", null);
  595. checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "normal";
  596. checkbox15.disabled = true;
  597. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "N" );
  598. }
  599. model.refresh();
  600. ]]>
  601. </script>
  602. </select>
  603. <select1 id="combo3" ref="/root/main/prcp/prcplist/prcpexecdeptcd" class="combo_default" appearance="minimal" itemcount="30" style="left:105px; top:175px; width:100px; height:19px; ">
  604. <choices>
  605. <itemset nodeset="/root/orddept/dept">
  606. <label ref="depthngnm"/>
  607. <value ref="deptcd"/>
  608. </itemset>
  609. </choices>
  610. </select1>
  611. <select id="checkbox18" ref="/root/chkflag/prcpexecdeptcd" overflow="visible" appearance="full" style="left:7px; top:176px; width:100px; height:20px; border-style:none; ">
  612. <choices>
  613. <item>
  614. <label>시행부서</label>
  615. <value>Y</value>
  616. </item>
  617. </choices>
  618. <script type="javascript" ev:event="xforms-value-changed">
  619. <![CDATA[
  620. if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
  621. checkbox18.item(checkbox18.focusIndex).attribute("font-weight") = "bold";
  622. combo3.disabled = false;
  623. } else {
  624. checkbox18.item(checkbox18.focusIndex).attribute("font-weight") = "normal";
  625. combo3.disabled = true;
  626. }
  627. model.refresh();
  628. ]]>
  629. </script>
  630. </select>
  631. <button id="button4" class="icon_search" style="left:79px; top:51px; width:16px; height:16px; ">
  632. <caption/>
  633. <script type="javascript" ev:event="DOMActivate">
  634. <![CDATA[
  635. setParameter ( "SPMMB02200_cond2", "3" );
  636. fPrcpModal ( "SPMMB02200", 50, 50 );
  637. model.setValue ( "/root/main/prcp/prcplist/prcpdelivefact", getParameter ( "SPMMB02200_clinccmt" ));
  638. model.refresh();
  639. ]]>
  640. </script>
  641. </button>
  642. <bool id="bool2" checkvalue="Y,N" ref="/root/chkflag/anamneflag" style="left:208px; top:174px; width:25px; height:20px; ">
  643. <script type="javascript" ev:event="xforms-value-changed">
  644. <![CDATA[
  645. if( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ){
  646. messageBox ( "기왕증은 임상연구와 동시에 선택 할 수", "I004" );
  647. bool2.value = "N";
  648. return;
  649. }
  650. if(bool2.value == "Y"){
  651. var prcpgenrflag = opener.model.getValue("/root/patflag/list/prcpgenrflag");
  652. var pid = opener.model.getValue("/root/paminfo/list/pid");
  653. var indd = opener.model.getValue("/root/paminfo/list/indd");
  654. if(prcpgenrflag == "I" || prcpgenrflag == "D" || prcpgenrflag == "E"){
  655. var subcretno = fGetSubcretno(pid, indd, "anamneflag");
  656. model.setValue("/root/main/prcp/prcplist/subcretno", subcretno);
  657. if(subcretno == "0"){
  658. messageBox ( "환자의 부유형이 없거나 또는 선택되지 않았습니다.", "I999" );
  659. bool2.value = "N";
  660. }
  661. } else {
  662. messageBox ( "외래 환자는 기왕증을 선택 할 수", "I004" );
  663. bool2.value = "N";
  664. }
  665. }else{ //기왕증이 N로 처리된 경우에는 subcretno 0로 처리
  666. model.setValue("/root/main/prcp/prcplist/subcretno", "0");
  667. }
  668. ]]>
  669. </script>
  670. </bool>
  671. <caption id="caption23" style="left:230px; top:175px; width:50px; height:20px; ">기왕증</caption>
  672. </xhtml:body>
  673. </xhtml:html>