SPMMO12600_일괄입력수술.xrw 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>일괄입력[수술]</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <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. <subcretno/>
  119. <specdrid/>
  120. <anticncrprtlno/>
  121. <anticncrdayno/>
  122. <druglnkno/>
  123. <drprcpetc1/>
  124. <drprcpetc2/>
  125. <drprcpetc3/>
  126. <drprcpetc4/>
  127. <drprcpetc5/>
  128. <drprcpetc6/>
  129. <drprcpetc7/>
  130. <drprcpetc8/>
  131. <drprcpetc9/>
  132. <drprcpetc10/>
  133. <tempcol1/>
  134. <tempcol2/>
  135. <tempcol3/>
  136. <tempcol4/>
  137. <tempcol5/>
  138. <tempcol6/>
  139. <tempcol7/>
  140. <tempcol8/>
  141. <tempcol9/>
  142. <tempcol10/>
  143. <tempcol11/>
  144. <tempcol12/>
  145. <tempcol13/>
  146. <tempcol14/>
  147. <tempcol15/>
  148. <tempcol16/>
  149. <tempcol17/>
  150. <tempcol18/>
  151. <tempcol19/>
  152. <tempcol20/>
  153. <tempcol21/>
  154. <tempcol22/>
  155. <tempcol23/>
  156. <tempcol24/>
  157. <tempcol25/>
  158. </prcplist>
  159. </prcp>
  160. </main>
  161. <init>
  162. <prcpdirecflag/>
  163. <payflagcd/>
  164. <drugspd/>
  165. <drugmthdspccdnm/>
  166. <opansflagcd/>
  167. <orddept/>
  168. <userlist/>
  169. <nigtprcpflag/>
  170. </init>
  171. <chkflag>
  172. <erprcpflag/>
  173. <prnprcpflag/>
  174. <erreadflag/>
  175. <portprcpflag/>
  176. <precureprcpflag/>
  177. <clincstdyflag/>
  178. <payflagcd/>
  179. <prcphopedd/>
  180. <clinccmtcnts/>
  181. <prcpdelivefact/>
  182. <nigtprcpflag/>
  183. <choiordflag/>
  184. <opansflagcd/>
  185. <prcpexecdeptcd/>
  186. <anamneflag/>
  187. </chkflag>
  188. <orddept/>
  189. <temp>
  190. <send/>
  191. <patsupkind/>
  192. </temp>
  193. </root>
  194. </instance>
  195. <script type="javascript" ev:event="xforms-model-construct-done">
  196. <![CDATA[
  197. zbcfGetCodeList(new Array("M0029", "M0007", "M0639"), new Array("/root/init/payflagcd", "/root/init/opansflagcd", "/root/init/nigtprcpflag"));
  198. fPrcpExecDeptSrch("all");
  199. checkbox10.disabled = true;
  200. checkbox12.disabled = true;
  201. checkbox14.disabled = true;
  202. checkbox4.disabled = true;
  203. combo1.disabled = true;
  204. combo2.disabled = true;
  205. combo3.disabled = true;
  206. combo4.disabled = true;
  207. button4.disabled = true;
  208. textarea1.disabled = true;
  209. model.refresh();
  210. ]]>
  211. </script>
  212. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  213. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  214. <submission id="TRMMO01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmedmthd"/>
  215. <submission id="TRMMO00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/orddept"/>
  216. <submission id="TRMMO15701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send" resultref="/root/temp/patsupkind"/>
  217. </model>
  218. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  219. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  220. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  221. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  222. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  223. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO00100.js"/>
  224. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  225. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  226. </xhtml:head>
  227. <xhtml:body pagewidth="430" pageheight="240" guideline="2,240;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  228. <caption id="caption5" class="cell_1" style="left:2px; top:174px; width:100px; height:21px; "/>
  229. <caption id="caption22" class="cell_1" style="left:208px; top:174px; width:99px; height:21px; "/>
  230. <caption id="caption9" class="cell_1" style="left:2px; top:148px; width:100px; height:23px; "/>
  231. <caption id="caption8" class="cell_1" style="left:207px; top:148px; width:100px; height:23px; "/>
  232. <button id="button1" class="btn4_letter2" style="left:294px; top:205px; width:56px; height:22px; ">
  233. <caption>확인</caption>
  234. <script type="javascript" ev:event="onclick">
  235. <![CDATA[
  236. var erprcpflag_useyn = "";
  237. var erprcpflag = "";
  238. var nigtprcpflag_useyn = "";
  239. var nigtprcpflag = "";
  240. var opansflagcd_useyn = "";
  241. var opansflagcd = "";
  242. var tempcol1_useyn = "";
  243. var tempcol1 = "";
  244. var payflagcd_useyn = "";
  245. var payflagcd = "";
  246. var clincstdyflag_useyn = "";
  247. var clincstdyflag = "";
  248. var precureprcpflag_useyn = "";
  249. var precureprcpflag = "";
  250. var prcpexecdeptcd_useyn = "";
  251. var prcpexecdeptcd = "";
  252. var prcpdelivefact_useyn = "";
  253. var prcpdelivefact = "";
  254. var useyn = "";
  255. var value = "";
  256. var header = "erprcpflag|nigtprcpflag|clincstdyflag|opansflagcd|tempcol1|payflagcd|precureprcpflag|prcpexecdeptcd|anamneflag|prcpdelivefact|subcretno^";
  257. if ( model.getValue ( "/root/chkflag/erprcpflag" ) == "Y" ) {
  258. erprcpflag_useyn = "Y" + "|";
  259. erprcpflag = model.getValue ("/root/main/prcp/prcplist/erprcpflag" ) + "|";
  260. if ( isNull(model.getValue ("/root/main/prcp/prcplist/erprcpflag" ))) {
  261. erprcpflag = "N" + "|";
  262. }
  263. } else {
  264. erprcpflag_useyn = "N" + "|";
  265. erprcpflag = "" + "|";
  266. }
  267. useyn = useyn + erprcpflag_useyn;
  268. value = value + erprcpflag;
  269. if ( model.getValue ( "/root/chkflag/nigtprcpflag" ) == "Y" ) {
  270. nigtprcpflag_useyn = "Y" + "|";
  271. nigtprcpflag = model.getValue ("/root/main/prcp/prcplist/nigtprcpflag" ) + "|";
  272. if ( isNull(model.getValue ("/root/main/prcp/prcplist/nigtprcpflag" ))) {
  273. nigtprcpflag = "N" + "|";
  274. }
  275. } else {
  276. nigtprcpflag_useyn = "N" + "|";
  277. nigtprcpflag = "" + "|";
  278. }
  279. useyn = useyn + nigtprcpflag_useyn ;
  280. value = value + nigtprcpflag;
  281. if ( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ) {
  282. clincstdyflag_useyn = "Y" + "|";
  283. clincstdyflag = model.getValue ("/root/main/prcp/prcplist/clincstdyflag" ) + "|";
  284. if ( isNull(model.getValue ("/root/main/prcp/prcplist/clincstdyflag" ))) {
  285. clincstdyflag = "N" + "|";
  286. }
  287. } else {
  288. clincstdyflag_useyn = "N" + "|";
  289. clincstdyflag = "" + "|";
  290. }
  291. useyn = useyn + clincstdyflag_useyn ;
  292. value = value + clincstdyflag;
  293. if ( model.getValue ( "/root/chkflag/opansflagcd" ) == "Y" ) {
  294. opansflagcd_useyn = "Y" + "|";
  295. tempcol1_useyn = "Y" + "|";
  296. opansflagcd = model.getValue ( "/root/main/prcp/prcplist/opansflagcd" ) + "|";
  297. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/opansflagcd" ))) {
  298. model.alert ( "입력된 수술유형 값이 없습니다." ) ;
  299. return;
  300. } else {
  301. tempcol1 = combo2.label + "|";
  302. }
  303. } else {
  304. opansflagcd_useyn = "N" + "|";
  305. opansflagcd = "" + "|";
  306. tempcol1_useyn = "N" + "|";
  307. tempcol1 = "" + "|";
  308. }
  309. useyn = useyn + opansflagcd_useyn + tempcol1_useyn ;
  310. value = value + opansflagcd + tempcol1;
  311. if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
  312. payflagcd_useyn = "Y" + "|";
  313. payflagcd = model.getValue ( "/root/main/prcp/prcplist/payflagcd" ) + "|";
  314. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/payflagcd" ))) {
  315. model.alert ( "입력된 급여구분 값이 없습니다." ) ;
  316. return;
  317. }
  318. } else {
  319. payflagcd_useyn = "N" + "|";
  320. payflagcd = "" + "|";
  321. }
  322. useyn = useyn + payflagcd_useyn ;
  323. value = value + payflagcd;
  324. if ( model.getValue ( "/root/chkflag/precureprcpflag" ) == "Y" ) {
  325. precureprcpflag_useyn = "Y" + "|";
  326. precureprcpflag = model.getValue ("/root/main/prcp/prcplist/precureprcpflag" ) + "|";
  327. if ( isNull(model.getValue ("/root/main/prcp/prcplist/precureprcpflag" ))) {
  328. precureprcpflag = "N" + "|";
  329. }
  330. } else {
  331. precureprcpflag_useyn = "N" + "|";
  332. precureprcpflag = "" + "|";
  333. }
  334. useyn = useyn + precureprcpflag_useyn ;
  335. value = value + precureprcpflag;
  336. if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
  337. prcpexecdeptcd_useyn = "Y" + "|";
  338. prcpexecdeptcd = model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ) + "|";
  339. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ))) {
  340. model.alert ( "입력된 시행부서가 없습니다." ) ;
  341. return;
  342. }
  343. } else {
  344. prcpexecdeptcd_useyn = "N" + "|";
  345. prcpexecdeptcd = "" + "|";
  346. }
  347. useyn = useyn + prcpexecdeptcd_useyn ;
  348. value = value + prcpexecdeptcd;
  349. if( model.getValue ( " /root/chkflag/anamneflag" ) == "Y" ) {
  350. useyn = useyn + "Y" + "|";
  351. value = value + "Y" + "|";
  352. } else {
  353. useyn = useyn + "N" + "|";
  354. value = value + "N" + "|";
  355. }
  356. if ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
  357. prcpdelivefact_useyn = "Y" + "|";
  358. prcpdelivefact = model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ) + "|";
  359. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ))) {
  360. model.alert ( "입력된 전달사항 값이 없습니다." );
  361. return;
  362. }
  363. } else {
  364. prcpdelivefact_useyn = "N" + "|";
  365. prcpdelivefact = "" + "|";
  366. }
  367. useyn = useyn + prcpdelivefact_useyn ;
  368. value = value + prcpdelivefact;
  369. //2008. 07. 01 기왕증 입력에 따른 subcretno설정, 오지훈
  370. var subcretno_useyn = "";
  371. var subcretno = 0;
  372. if ( bool2.value == "Y") {
  373. subcretno_useyn = "Y";
  374. subcretno = model.getValue("/root/main/prcp/prcplist/subcretno");
  375. }else{
  376. subcretno_useyn = "N";
  377. }
  378. useyn = useyn + subcretno_useyn + "^";
  379. value = value + subcretno + "^";
  380. var batipt_rtn1 = header + useyn + value;
  381. opener.javascript.setParameter ( "batipt_rtn1", batipt_rtn1 );
  382. opener.javascript.setParameter ( "batipt_rtn1_useyn", "Y" );
  383. window.close();
  384. ]]>
  385. </script>
  386. </button>
  387. <button id="button2" class="btn4_letter2" style="left:354px; top:205px; width:56px; height:22px; ">
  388. <caption>취소</caption>
  389. <script type="javascript" ev:event="onclick">
  390. <![CDATA[
  391. opener.javascript.setParameter ( "batipt_rtn1_useyn", "N" );
  392. window.close();
  393. ]]>
  394. </script>
  395. </button>
  396. <caption id="caption7" class="cell_1" style="left:207px; top:19px; width:100px; height:23px; "/>
  397. <caption id="caption6" class="cell_1" style="left:207px; top:120px; width:100px; height:23px; "/>
  398. <caption id="caption3" class="cell_1" style="left:2px; top:45px; width:100px; height:50px; "/>
  399. <caption id="caption4" class="cell_1" style="left:2px; top:120px; width:100px; height:23px; "/>
  400. <caption id="caption1" class="cell_1" style="left:2px; top:19px; width:100px; height:23px; "/>
  401. <select id="checkbox1" ref="/root/chkflag/erprcpflag" overflow="visible" appearance="full" style="left:7px; top:23px; width:100px; height:20px; border-style:none; ">
  402. <choices>
  403. <item>
  404. <label>응급</label>
  405. <value>Y</value>
  406. </item>
  407. </choices>
  408. <script type="javascript" ev:event="xforms-value-changed">
  409. <![CDATA[
  410. if ( model.getValue ( "/root/chkflag/erprcpflag" ) == "Y" ) {
  411. checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "bold";
  412. checkbox10.disabled = false;
  413. model.setValue ( "/root/main/prcp/prcplist/erprcpflag", "Y" );
  414. model.refresh();
  415. } else {
  416. checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "normal";
  417. checkbox10.disabled = true;
  418. model.setValue ( "/root/main/prcp/prcplist/erprcpflag", "N" );
  419. model.refresh();
  420. }
  421. ]]>
  422. </script>
  423. </select>
  424. <select id="checkbox2" ref="/root/chkflag/nigtprcpflag" overflow="visible" appearance="full" style="left:7px; top:124px; width:100px; height:20px; border-style:none; ">
  425. <choices>
  426. <item>
  427. <label>야간/심야</label>
  428. <value>Y</value>
  429. </item>
  430. </choices>
  431. <script type="javascript" ev:event="xforms-value-changed">
  432. <![CDATA[
  433. if ( model.getValue ( "/root/chkflag/nigtprcpflag" ) == "Y" ) {
  434. checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "bold";
  435. combo4.disabled = false;
  436. model.refresh();
  437. } else {
  438. checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "normal";
  439. combo4.disabled = true;
  440. model.refresh();
  441. }
  442. ]]>
  443. </script>
  444. </select>
  445. <select id="checkbox3" ref="/root/chkflag/choiordflag" visibility="hidden" overflow="visible" appearance="full" style="left:5px; top:205px; width:100px; height:20px; border-style:none; ">
  446. <choices>
  447. <item>
  448. <label>선택진료</label>
  449. <value>Y</value>
  450. </item>
  451. </choices>
  452. <script type="javascript" ev:event="xforms-value-changed">
  453. <![CDATA[
  454. if ( model.getValue ( "/root/chkflag/choiordflag" ) == "Y" ) {
  455. checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "bold";
  456. checkbox12.disabled = false;
  457. model.setValue ( "/root/main/prcp/prcplist/choiordflag", "Y" );
  458. model.refresh();
  459. } else {
  460. checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "normal";
  461. checkbox12.disabled = true;
  462. model.setValue ( "/root/main/prcp/prcplist/choiordflag", "N" );
  463. model.setValue ( "/root/main/prcp/prcplist/specdrid", "" );
  464. model.refresh();
  465. }
  466. ]]>
  467. </script>
  468. </select>
  469. <line id="line15" class="line_2" style="x1:2px; y1:43px; x2:410px; y2:43px; "/>
  470. <select id="checkbox5" ref="/root/chkflag/prcpdelivefact" overflow="visible" appearance="full" style="left:7px; top:49px; width:68px; height:25px; border-style:none; ">
  471. <choices>
  472. <item>
  473. <label>전달사항</label>
  474. <value>Y</value>
  475. </item>
  476. </choices>
  477. <script type="javascript" ev:event="xforms-value-changed">
  478. <![CDATA[
  479. if ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
  480. checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "bold";
  481. textarea1.disabled = false;
  482. button4.disabled = false;
  483. model.refresh();
  484. } else {
  485. checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "normal";
  486. textarea1.disabled = true;
  487. button4.disabled = true;
  488. model.refresh();
  489. }
  490. ]]>
  491. </script>
  492. </select>
  493. <select id="checkbox7" ref="/root/chkflag/opansflagcd" overflow="visible" appearance="full" style="left:212px; top:124px; width:100px; height:20px; border-style:none; ">
  494. <choices>
  495. <item>
  496. <label>수술유형</label>
  497. <value>Y</value>
  498. </item>
  499. </choices>
  500. <script type="javascript" ev:event="xforms-value-changed">
  501. <![CDATA[
  502. if ( model.getValue ( "/root/chkflag/opansflagcd" ) == "Y" ) {
  503. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "bold";
  504. combo2.disabled = false;
  505. model.refresh();
  506. } else {
  507. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
  508. combo2.disabled = true;
  509. model.refresh();
  510. }
  511. ]]>
  512. </script>
  513. </select>
  514. <select1 id="combo1" ref="/root/main/prcp/prcplist/payflagcd" class="combo_default" appearance="minimal" style="left:310px; top:21px; width:100px; height:19px; ">
  515. <choices>
  516. <itemset nodeset="/root/init/payflagcd/M0029">
  517. <label ref="cdnm"/>
  518. <value ref="cdid"/>
  519. </itemset>
  520. </choices>
  521. </select1>
  522. <select id="checkbox8" ref="/root/chkflag/payflagcd" overflow="visible" appearance="full" style="left:212px; top:24px; width:100px; height:20px; border-style:none; ">
  523. <choices>
  524. <item>
  525. <label>급여</label>
  526. <value>Y</value>
  527. </item>
  528. </choices>
  529. <script type="javascript" ev:event="xforms-value-changed">
  530. <![CDATA[
  531. if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
  532. checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "bold";
  533. combo1.disabled = false;
  534. model.refresh();
  535. } else {
  536. checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "normal";
  537. combo1.disabled = true;
  538. model.refresh();
  539. }
  540. ]]>
  541. </script>
  542. </select>
  543. <line id="line2" class="line_2" style="x1:2px; y1:145px; x2:410px; y2:145px; "/>
  544. <line id="line3" class="line_2" style="x1:2px; y1:43px; x2:409px; y2:43px; "/>
  545. <textarea id="textarea1" ref="/root/main/prcp/prcplist/prcpdelivefact" style="left:103px; top:45px; width:307px; height:49px; "/>
  546. <line id="line7" class="line_1" style="x1:2px; y1:14px; x2:410px; y2:14px; "/>
  547. <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; ">
  548. <choices>
  549. <item>
  550. <label>응급</label>
  551. <value>Y</value>
  552. </item>
  553. </choices>
  554. </select>
  555. <select1 id="combo4" ref="/root/main/prcp/prcplist/nigtprcpflag" class="combo_default" appearance="minimal" style="left:105px; top:124px; width:100px; height:19px; ">
  556. <choices>
  557. <itemset nodeset="/root/init/nigtprcpflag/M0639">
  558. <label ref="cdnm"/>
  559. <value ref="cdid"/>
  560. </itemset>
  561. </choices>
  562. </select1>
  563. <select id="checkbox12" ref="/root/main/prcp/prcplist/choiordflag" visibility="hidden" overflow="visible" appearance="full" style="left:110px; top:205px; width:100px; height:20px; border-style:none; ">
  564. <choices>
  565. <item>
  566. <label>선택진료</label>
  567. <value>Y</value>
  568. </item>
  569. </choices>
  570. </select>
  571. <line id="line4" class="line_3" style="x1:2px; y1:198px; x2:409px; y2:198px; "/>
  572. <select1 id="combo2" ref="/root/main/prcp/prcplist/opansflagcd" class="combo_default" appearance="minimal" style="left:309px; top:122px; width:100px; height:19px; ">
  573. <choices>
  574. <itemset nodeset="/root/init/opansflagcd/M0007">
  575. <label ref="cdnm"/>
  576. <value ref="cdid"/>
  577. </itemset>
  578. </choices>
  579. </select1>
  580. <line id="line1" class="line_2" style="x1:2px; y1:96px; x2:409px; y2:96px; "/>
  581. <caption id="caption18" class="tit_2" style="left:5px; top:0px; width:121px; height:14px; ">공통</caption>
  582. <line id="line5" class="line_1" style="x1:2px; y1:115px; x2:410px; y2:115px; "/>
  583. <caption id="caption2" class="tit_2" style="left:5px; top:101px; width:121px; height:13px; ">수술</caption>
  584. <select id="checkbox16" ref="/root/chkflag/prcpexecdeptcd" overflow="visible" appearance="full" style="left:212px; top:151px; width:100px; height:20px; border-style:none; ">
  585. <choices>
  586. <item>
  587. <label>시행부서</label>
  588. <value>Y</value>
  589. </item>
  590. </choices>
  591. <script type="javascript" ev:event="xforms-value-changed">
  592. <![CDATA[
  593. if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
  594. checkbox16.item(checkbox16.focusIndex).attribute("font-weight") = "bold";
  595. combo3.disabled = false;
  596. model.refresh();
  597. } else {
  598. checkbox16.item(checkbox16.focusIndex).attribute("font-weight") = "normal";
  599. combo3.disabled = true;
  600. model.refresh();
  601. }
  602. ]]>
  603. </script>
  604. </select>
  605. <select1 id="combo3" ref="/root/main/prcp/prcplist/prcpexecdeptcd" class="combo_default" appearance="minimal" itemcount="30" style="left:310px; top:150px; width:100px; height:19px; ">
  606. <choices>
  607. <itemset nodeset="/root/orddept/dept">
  608. <label ref="depthngnm"/>
  609. <value ref="deptcd"/>
  610. </itemset>
  611. </choices>
  612. </select1>
  613. <select id="checkbox14" ref="/root/main/prcp/prcplist/precureprcpflag" overflow="visible" appearance="full" style="left:105px; top:152px; width:100px; height:20px; border-style:none; ">
  614. <choices>
  615. <item>
  616. <label>선처치</label>
  617. <value>Y</value>
  618. </item>
  619. </choices>
  620. </select>
  621. <select id="checkbox6" ref="/root/chkflag/precureprcpflag" overflow="visible" appearance="full" style="left:7px; top:152px; width:100px; height:20px; border-style:none; ">
  622. <choices>
  623. <item>
  624. <label>선처치</label>
  625. <value>Y</value>
  626. </item>
  627. </choices>
  628. <script type="javascript" ev:event="xforms-value-changed">
  629. <![CDATA[
  630. if ( model.getValue ( "/root/chkflag/precureprcpflag" ) == "Y" ) {
  631. checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "bold";
  632. checkbox14.disabled = false;
  633. model.setValue ( "/root/main/prcp/prcplist/precureprcpflag", "Y" );
  634. model.refresh();
  635. } else {
  636. checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "normal";
  637. checkbox14.disabled = true;
  638. model.setValue ( "/root/main/prcp/prcplist/precureprcpflag", "N" );
  639. model.refresh();
  640. }
  641. ]]>
  642. </script>
  643. </select>
  644. <button id="button4" class="icon_search" style="left:77px; top:49px; width:16px; height:16px; ">
  645. <caption/>
  646. <script type="javascript" ev:event="DOMActivate">
  647. <![CDATA[
  648. setParameter ( "SPMMB02200_cond2", "3" );
  649. fPrcpModal ( "SPMMB02200", 50, 50 );
  650. model.setValue ( "/root/main/prcp/prcplist/prcpdelivefact", getParameter ( "SPMMB02200_clinccmt" ));
  651. model.refresh();
  652. ]]>
  653. </script>
  654. </button>
  655. <bool id="bool2" checkvalue="Y,N" ref="/root/chkflag/anamneflag" style="left:208px; top:175px; width:25px; height:20px; ">
  656. <script type="javascript" ev:event="xforms-value-changed">
  657. <![CDATA[
  658. if(bool2.value == "Y"){
  659. var prcpgenrflag = opener.model.getValue("/root/patflag/list/prcpgenrflag");
  660. var pid = opener.model.getValue("/root/paminfo/list/pid");
  661. var indd = opener.model.getValue("/root/paminfo/list/indd");
  662. if(prcpgenrflag == "I" || prcpgenrflag == "D" || prcpgenrflag == "E"){
  663. var subcretno = fGetSubcretno(pid, indd, "anamneflag");
  664. model.setValue("/root/main/prcp/prcplist/subcretno", subcretno);
  665. if(subcretno == "0"){
  666. messageBox ( "환자의 부유형이 없거나 또는 선택되지 않았습니다.", "I999" );
  667. bool2.value = "N";
  668. }
  669. } else {
  670. messageBox ( "외래 환자는 기왕증을 선택 할 수", "I004" );
  671. bool2.value = "N";
  672. }
  673. }else{ //기왕증이 N로 처리된 경우에는 subcretno 0로 처리
  674. model.setValue("/root/main/prcp/prcplist/subcretno", "0");
  675. }
  676. ]]>
  677. </script>
  678. </bool>
  679. <caption id="caption23" style="left:230px; top:174px; width:50px; height:20px; ">기왕증</caption>
  680. <select id="checkbox4" ref="/root/main/prcp/prcplist/clincstdyflag" overflow="visible" appearance="full" style="left:105px; top:177px; width:100px; height:20px; border-style:none; ">
  681. <choices>
  682. <item>
  683. <label>임상연구</label>
  684. <value>Y</value>
  685. </item>
  686. </choices>
  687. </select>
  688. <select id="checkbox9" ref="/root/chkflag/clincstdyflag" overflow="visible" appearance="full" style="left:7px; top:177px; width:100px; height:20px; border-style:none; ">
  689. <choices>
  690. <item>
  691. <label>임상연구</label>
  692. <value>Y</value>
  693. </item>
  694. </choices>
  695. <script type="javascript" ev:event="xforms-value-changed">
  696. <![CDATA[
  697. if( bool2.value == "Y" ){
  698. messageBox ( "임상연구는 기왕증과 동시에 선택 할 수", "I004" );
  699. model.setValue ( "/root/chkflag/clincstdyflag" , "");
  700. model.refresh();
  701. return;
  702. }
  703. if ( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ) {
  704. if ( fSubcretnoSet("1", null) == -1 ) {
  705. model.setValue ( "/root/chkflag/clincstdyflag" , "N");
  706. checkbox9.item(checkbox9.focusIndex).attribute("font-weight") = "normal";
  707. checkbox4.disabled = true;
  708. checkbox9.disabled = true;
  709. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "N" );
  710. model.refresh();
  711. return;
  712. }
  713. checkbox9.item(checkbox9.focusIndex).attribute("font-weight") = "bold";
  714. checkbox4.disabled = false;
  715. checkbox9.disabled = false;
  716. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "Y" );
  717. model.refresh();
  718. } else {
  719. fSubcretnoSet("1", null);
  720. checkbox9.item(checkbox9.focusIndex).attribute("font-weight") = "normal";
  721. checkbox4.disabled = true;
  722. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "N" );
  723. model.refresh();
  724. }
  725. ]]>
  726. </script>
  727. </select>
  728. </xhtml:body>
  729. </xhtml:html>