SPMMO12300_일괄입력방사선검사.xrw 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199
  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. <drprcpetc11/>
  178. <drprcpetc12/>
  179. <drprcpetc13/>
  180. <drprcpetc14/>
  181. <drprcpetc15/>
  182. <drprcpetc16/>
  183. <drprcpetc17/>
  184. <drprcpetc18/>
  185. <drprcpetc19/>
  186. <drprcpetc20/>
  187. <drprcpetc21/>
  188. <drprcpetc22/>
  189. <drprcpetc23/>
  190. <drprcpetc24/>
  191. <drprcpetc25/>
  192. <drprcpetc26/>
  193. <drprcpetc27/>
  194. <drprcpetc28/>
  195. <drprcpetc29/>
  196. <drprcpetc30/>
  197. </prcplist>
  198. </prcp>
  199. <cond>
  200. <rsrvflag/>
  201. </cond>
  202. </main>
  203. <init>
  204. <prcpdirecflag/>
  205. <payflagcd/>
  206. <drugspd/>
  207. <drugmthdspccdnm/>
  208. <orddept/>
  209. <userlist/>
  210. </init>
  211. <chkflag>
  212. <erprcpflag/>
  213. <prnprcpflag/>
  214. <erreadflag/>
  215. <portprcpflag/>
  216. <precureprcpflag/>
  217. <clincstdyflag/>
  218. <payflagcd/>
  219. <prcphopedd/>
  220. <clinccmtcnts/>
  221. <prcpdelivefact/>
  222. <choiordflag/>
  223. <prcpexecdeptcd/>
  224. <rsrvflag/>
  225. <anamneflag/>
  226. <drugmthdspccd/>
  227. <prcpdirecflag/>
  228. <drugspd/>
  229. <drprcpetc12/>
  230. </chkflag>
  231. <orddept/>
  232. <temp>
  233. <send/>
  234. <patsupkind/>
  235. </temp>
  236. </root>
  237. </instance>
  238. <script type="javascript" ev:event="xforms-model-construct-done">
  239. <![CDATA[
  240. if ( opener.javascript.getParameter ( "SPMMO12300_prcpclscd" ) == "C6") {
  241. document.title = "일괄입력[핵의학영상]";
  242. button61.visible = false;
  243. caption11.value = "핵의학영상";
  244. } else if ( opener.javascript.getParameter ( "SPMMO12300_prcpclscd" ) == "E2") {
  245. document.title = "일괄입력[기능검사]";
  246. button61.visible = false;
  247. caption11.value = "기능검사";
  248. }
  249. //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "insuuseyn", "", "/root/init/orddept" , "depthngnm"); //부서코드 콤보 조회
  250. zbcfGetCodeList(new Array("M0029"), new Array("/root/init/payflagcd"));
  251. zbcfGetKindCodeList(new Array("M0044", "M0045", "M0046"), new Array("M0046", "M0041", "M0045"), new Array("/root/init/drugspd", "/root/init/prcpdirecflag", "/root/init/drugmthdspccdnm"), false);
  252. fPrcpExecDeptSrch("all");
  253. var prcpgenrflag = opener.model.getValue("/root/patflag/list/prcpgenrflag");
  254. if ( prcpgenrflag == "O" ) {
  255. if ( opener.model.getValue ( "/root/usge" ) == "prcp" ) {
  256. checkbox2.disabled = true;
  257. }
  258. }
  259. button4.disabled = true;
  260. checkbox10.disabled = true;
  261. checkbox11.disabled = true;
  262. checkbox12.disabled = true;
  263. checkbox13.disabled = true;
  264. checkbox14.disabled = true;
  265. checkbox15.disabled = true;
  266. checkbox21.disabled = true;
  267. combo1.disabled = true;
  268. combo2.disabled = true;
  269. combo3.disabled = true;
  270. combo4.disabled = true;
  271. combo5.disabled = true;
  272. input3.disabled = true;
  273. textarea1.disabled = true;
  274. textarea2.disabled = true;
  275. button61.disabled = true;
  276. model.refresh();
  277. ]]>
  278. </script>
  279. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  280. <submission id="TRZBC00104" mediatype="application/x-www-form-urlencoded" method="post"/>
  281. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  282. <submission id="TRMMO01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmedmthd"/>
  283. <submission id="TRMMO00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/orddept"/>
  284. <script type="javascript" ev:event="xforms-ready">
  285. <![CDATA[
  286. ]]>
  287. </script>
  288. <submission id="TRMMO15701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send" resultref="/root/temp/patsupkind"/>
  289. </model>
  290. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  291. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  292. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  293. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  294. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  295. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO00100.js"/>
  296. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  297. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  298. </xhtml:head>
  299. <xhtml:body pagewidth="430" pageheight="418" guideline="2,405;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  300. <caption id="caption20" class="cell_1" style="left:2px; top:219px; width:100px; height:23px; "/>
  301. <caption id="caption22" class="cell_1" style="left:263px; top:195px; width:101px; height:23px; "/>
  302. <caption id="caption13" class="cell_1" style="left:2px; top:194px; width:100px; height:23px; "/>
  303. <button id="button1" class="btn4_letter2" style="left:294px; top:379px; width:56px; height:22px; ">
  304. <caption>확인</caption>
  305. <script type="javascript" ev:event="onclick">
  306. <![CDATA[
  307. var erprcpflag_useyn = "";
  308. var erprcpflag = "";
  309. var prnprcpflag_useyn = "";
  310. var prnprcpflag = "";
  311. var erreadflag_useyn = "";
  312. var erreadflag = "";
  313. var portprcpflag_useyn = "";
  314. var portprcpflag = "";
  315. var precureprcpflag_useyn = "";
  316. var precureprcpflag = "";
  317. var clincstdyflag_useyn = "";
  318. var clincstdyflag = "";
  319. var payflagcd_useyn = "";
  320. var payflagcd = "";
  321. var prcphopedd_useyn = "";
  322. var prcphopedd = "";
  323. var clinccmtcnts_useyn = "";
  324. var clinccmtcnts = "";
  325. var prcpexecdeptcd_useyn = "";
  326. var prcpexecdeptcd = "";
  327. var prcpdelivefact_useyn = "";
  328. var prcpdelivefact = "";
  329. var rsrvflag_useyn = "";
  330. var rsrvflag = "";
  331. var drugmthdspccd_useyn = "";
  332. var drugmthdspccd = "";
  333. var tempcol1_useyn = "";
  334. var tempcol1 = "";
  335. var prcpdirecflag_useyn = "";
  336. var prcpdirecflag = "";
  337. var drugspd_useyn = "";
  338. var drugspd = "";
  339. var drprcpetc12_useyn = "";
  340. var drprcpetc12 = "";
  341. var useyn = "";
  342. var value = "";
  343. var header = "erprcpflag|prnprcpflag|erreadflag|portprcpflag|precureprcpflag|clincstdyflag|payflagcd|prcphopedd|clinccmtcnts|prcpexecdeptcd|anamneflag|prcpdelivefact|rsrvflagt|subcretno|rehbprcpcurepartcd|tempcol1|prcpdirecflag|drprcpetc12|rehbprcpcurefreqflag^";
  344. if ( model.getValue ( "/root/chkflag/erprcpflag" ) == "Y" ) {
  345. erprcpflag_useyn = "Y" + "|";
  346. erprcpflag = model.getValue ("/root/main/prcp/prcplist/erprcpflag" ) + "|";
  347. if ( isNull(model.getValue ("/root/main/prcp/prcplist/erprcpflag" ))) {
  348. erprcpflag = "N" + "|";
  349. }
  350. } else {
  351. erprcpflag_useyn = "N" + "|";
  352. erprcpflag = "" + "|";
  353. }
  354. useyn = useyn + erprcpflag_useyn;
  355. value = value + erprcpflag;
  356. if ( model.getValue ( "/root/chkflag/prnprcpflag" ) == "Y" ) {
  357. prnprcpflag_useyn = "Y" + "|";
  358. prnprcpflag = model.getValue ("/root/main/prcp/prcplist/prnprcpflag" ) + "|";
  359. if ( isNull(model.getValue ("/root/main/prcp/prcplist/prnprcpflag" ))) {
  360. prnprcpflag = "N" + "|";
  361. }
  362. } else {
  363. prnprcpflag_useyn = "N" + "|";
  364. prnprcpflag = "" + "|";
  365. }
  366. useyn = useyn + prnprcpflag_useyn ;
  367. value = value + prnprcpflag;
  368. if ( model.getValue ( "/root/chkflag/erreadflag" ) == "Y" ) {
  369. erreadflag_useyn = "Y" + "|";
  370. erreadflag = model.getValue ("/root/main/prcp/prcplist/erreadflag" ) + "|";
  371. if ( isNull(model.getValue ("/root/main/prcp/prcplist/erreadflag" ))) {
  372. erreadflag = "N" + "|";
  373. }
  374. } else {
  375. erreadflag_useyn = "N" + "|";
  376. erreadflag = "" + "|";
  377. }
  378. useyn = useyn + erreadflag_useyn ;
  379. value = value + erreadflag;
  380. if ( model.getValue ( "/root/chkflag/portprcpflag" ) == "Y" ) {
  381. portprcpflag_useyn = "Y" + "|";
  382. portprcpflag = model.getValue ("/root/main/prcp/prcplist/portprcpflag" ) + "|";
  383. if ( isNull(model.getValue ("/root/main/prcp/prcplist/portprcpflag" ))) {
  384. portprcpflag = "N" + "|";
  385. }
  386. } else {
  387. portprcpflag_useyn = "N" + "|";
  388. portprcpflag = "" + "|";
  389. }
  390. useyn = useyn + portprcpflag_useyn ;
  391. value = value + portprcpflag;
  392. if ( model.getValue ( "/root/chkflag/precureprcpflag" ) == "Y" ) {
  393. precureprcpflag_useyn = "Y" + "|";
  394. precureprcpflag = model.getValue ("/root/main/prcp/prcplist/precureprcpflag" ) + "|";
  395. if ( isNull(model.getValue ("/root/main/prcp/prcplist/precureprcpflag" ))) {
  396. precureprcpflag = "N" + "|";
  397. }
  398. } else {
  399. precureprcpflag_useyn = "N" + "|";
  400. precureprcpflag = "" + "|";
  401. }
  402. useyn = useyn + precureprcpflag_useyn ;
  403. value = value + precureprcpflag;
  404. if ( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ) {
  405. clincstdyflag_useyn = "Y" + "|";
  406. clincstdyflag = model.getValue ("/root/main/prcp/prcplist/clincstdyflag" ) + "|";
  407. if ( isNull(model.getValue ("/root/main/prcp/prcplist/clincstdyflag" ))) {
  408. clincstdyflag = "N" + "|";
  409. }
  410. } else {
  411. clincstdyflag_useyn = "N" + "|";
  412. clincstdyflag = "" + "|";
  413. }
  414. useyn = useyn + clincstdyflag_useyn ;
  415. value = value + clincstdyflag;
  416. if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
  417. payflagcd_useyn = "Y" + "|";
  418. payflagcd = model.getValue ( "/root/main/prcp/prcplist/payflagcd" ) + "|";
  419. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/payflagcd" ))) {
  420. model.alert ( "입력된 급여구분 값이 없습니다." ) ;
  421. return;
  422. }
  423. } else {
  424. payflagcd_useyn = "N" + "|";
  425. payflagcd = "" + "|";
  426. }
  427. useyn = useyn + payflagcd_useyn ;
  428. value = value + payflagcd;
  429. if ( model.getValue ( "/root/chkflag/prcphopedd" ) == "Y" ) {
  430. prcphopedd_useyn = "Y" + "|";
  431. prcphopedd = model.getValue ("/root/main/prcp/prcplist/prcphopedd" ) + "|";
  432. if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcphopedd" ))) {
  433. model.alert ( "입력된 검사희망일이 값이 없습니다." );
  434. return;
  435. } else {
  436. if ( !isValidDateTime ( model.getValue ( "/root/main/prcp/prcplist/prcphopedd" ), "YYYYMMDD")) {
  437. model.alert ( "검사희망일이 유효한 날짜가 아닙니다." );
  438. return;
  439. }
  440. }
  441. } else {
  442. prcphopedd_useyn = "N"+ "|";
  443. prcphopedd = "" + "|";
  444. }
  445. useyn = useyn + prcphopedd_useyn;
  446. value = value + prcphopedd;
  447. if ( model.getValue ( "/root/chkflag/clinccmtcnts" ) == "Y" ) {
  448. clinccmtcnts_useyn = "Y" + "|";
  449. clinccmtcnts = model.getValue ( "/root/main/prcp/prcplist/clinccmtcnts" ) + "|";
  450. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/clinccmtcnts" ))) {
  451. model.alert ( "입력된 임상소견 값이 없습니다." );
  452. return;
  453. }
  454. } else {
  455. clinccmtcnts_useyn = "N" + "|";
  456. clinccmtcnts = "" + "|";
  457. }
  458. useyn = useyn + clinccmtcnts_useyn ;
  459. value = value + clinccmtcnts;
  460. if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
  461. prcpexecdeptcd_useyn = "Y" + "|";
  462. prcpexecdeptcd = model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ) + "|";
  463. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ))) {
  464. model.alert ( "입력된 시행부서가 없습니다." ) ;
  465. return;
  466. }
  467. } else {
  468. prcpexecdeptcd_useyn = "N" + "|";
  469. prcpexecdeptcd = "" + "|";
  470. }
  471. useyn = useyn + prcpexecdeptcd_useyn ;
  472. value = value + prcpexecdeptcd;
  473. if( model.getValue ( " /root/chkflag/anamneflag" ) == "Y" ) {
  474. useyn = useyn + "Y" + "|";
  475. value = value + "Y" + "|";
  476. } else {
  477. useyn = useyn + "N" + "|";
  478. value = value + "N" + "|";
  479. }
  480. if ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
  481. prcpdelivefact_useyn = "Y" + "|";
  482. prcpdelivefact = model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ) + "|";
  483. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ) )) {
  484. model.alert ( "입력된 전달사항 값이 없습니다." );
  485. return;
  486. }
  487. } else {
  488. prcpdelivefact_useyn = "N" + "|";
  489. prcpdelivefact = "" + "|";
  490. }
  491. useyn = useyn + prcpdelivefact_useyn ;
  492. value = value + prcpdelivefact;
  493. if ( model.getValue ( "/root/chkflag/rsrvflag" ) == "Y" ) {
  494. rsrvflag_useyn = "Y" + "|";
  495. rsrvflag = model.getValue ("/root/main/prcp/prcplist/prcphopedd" ) + "|";
  496. if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcphopedd" ))) {
  497. rsrvflag = "N" + "|";
  498. }
  499. } else {
  500. rsrvflag_useyn = "N" + "|";
  501. rsrvflag = "" + "|";
  502. }
  503. useyn = useyn + rsrvflag_useyn;
  504. value = value + rsrvflag;
  505. //2008. 07. 01 기왕증 입력에 따른 subcretno설정, 오지훈
  506. var subcretno_useyn = "";
  507. var subcretno = 0;
  508. if ( bool2.value == "Y" || model.getValue("/root/chkflag/clincstdyflag") == "Y") {
  509. subcretno_useyn = "Y";
  510. subcretno = model.getValue("/root/main/prcp/prcplist/subcretno");
  511. }else{
  512. subcretno_useyn = "N";
  513. }
  514. useyn = useyn + subcretno_useyn + "|";
  515. value = value + subcretno + "|";
  516. if ( model.getValue ( "/root/chkflag/drugmthdspccd" ) == "Y" ) {
  517. drugmthdspccd_useyn = "Y" + "|";
  518. drugmthdspccd = model.getValue ("/root/main/prcp/prcplist/rehbprcpcurepartcd" ) + "|";
  519. tempcol1_useyn = "Y" + "|";
  520. tempcol1 = combo1.label + "|";
  521. if ( isNull(model.getValue ("/root/main/prcp/prcplist/rehbprcpcurepartcd" ))) {
  522. model.alert ( "입력된 치료부위 값이 없습니다." );
  523. return;
  524. }
  525. } else {
  526. drugmthdspccd_useyn = "N" + "|";
  527. drugmthdspccd = "" + "|";
  528. tempcol1_useyn = "N" + "|";
  529. tempcol1 = "" + "|";
  530. }
  531. useyn = useyn + drugmthdspccd_useyn + tempcol1_useyn;
  532. value = value + drugmthdspccd + tempcol1;
  533. if ( model.getValue ( "/root/chkflag/prcpdirecflag" ) == "Y" ) {
  534. prcpdirecflag_useyn = "Y" + "|";
  535. prcpdirecflag = model.getValue ("/root/main/prcp/prcplist/prcpdirecflag" ) + "|";
  536. if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcpdirecflag" ))) {
  537. model.alert ( "입력된 치료위치 값이 없습니다." );
  538. return;
  539. }
  540. } else {
  541. prcpdirecflag_useyn = "N" + "|";
  542. prcpdirecflag = "" + "|";
  543. }
  544. useyn = useyn + prcpdirecflag_useyn ;
  545. value = value + prcpdirecflag;
  546. if ( model.getValue ( "/root/chkflag/drprcpetc12" ) == "Y" ) {
  547. drprcpetc12_useyn = "Y" + "|";
  548. drprcpetc12 = model.getValue ("/root/main/prcp/prcplist/drprcpetc12" ) + "|";
  549. if ( isNull(model.getValue ("/root/main/prcp/prcplist/drprcpetc12" ))) {
  550. drprcpetc12 = "N" + "|";
  551. }
  552. } else {
  553. drprcpetc12_useyn = "N" + "|";
  554. drprcpetc12 = "N" + "|";
  555. }
  556. useyn = useyn + drprcpetc12_useyn ;
  557. value = value + drprcpetc12;
  558. if ( model.getValue ( "/root/chkflag/drugspd" ) == "Y" ) {
  559. drugspd_useyn = "Y" + "^";
  560. drugspd = model.getValue ("/root/main/prcp/prcplist/rehbprcpcurefreqflag" ) + "^";
  561. if ( isNull(model.getValue ("/root/main/prcp/prcplist/rehbprcpcurefreqflag" ))) {
  562. model.alert ( "입력된 치료빈도 값이 없습니다." );
  563. return;
  564. }
  565. } else {
  566. drugspd_useyn = "N" + "^";
  567. drugspd = "" + "^";
  568. }
  569. useyn = useyn + drugspd_useyn ;
  570. value = value + drugspd;
  571. var batipt_rtn1 = header + useyn + value;
  572. opener.javascript.setParameter ( "batipt_rtn1", batipt_rtn1 );
  573. opener.javascript.setParameter ( "batipt_rtn1_useyn", "Y" );
  574. window.close();
  575. ]]>
  576. </script>
  577. </button>
  578. <button id="button2" class="btn4_letter2" style="left:354px; top:379px; width:56px; height:22px; ">
  579. <caption>취소</caption>
  580. <script type="javascript" ev:event="onclick">
  581. <![CDATA[
  582. opener.javascript.setParameter ( "batipt_rtn1_useyn", "N" );
  583. window.close();
  584. ]]>
  585. </script>
  586. </button>
  587. <caption id="caption8" class="cell_1" style="left:207px; top:19px; width:100px; height:23px; "/>
  588. <caption id="caption7" class="cell_1" style="left:207px; top:169px; width:100px; height:23px; "/>
  589. <caption id="caption6" class="cell_1" style="left:207px; top:143px; width:100px; height:23px; "/>
  590. <caption id="caption3" class="cell_1" style="left:2px; top:71px; width:100px; height:50px; "/>
  591. <caption id="caption2" class="cell_1" style="left:2px; top:169px; width:100px; height:23px; "/>
  592. <caption id="caption5" class="cell_1" style="left:2px; top:143px; width:100px; height:23px; "/>
  593. <caption id="caption4" class="cell_1" style="left:2px; top:45px; width:100px; height:23px; "/>
  594. <caption id="caption1" class="cell_1" style="left:2px; top:19px; width:100px; height:23px; "/>
  595. <select id="checkbox1" ref="/root/chkflag/erprcpflag" overflow="visible" appearance="full" style="left:7px; top:23px; width:100px; height:20px; border-style:none; ">
  596. <choices>
  597. <item>
  598. <label>응급</label>
  599. <value>Y</value>
  600. </item>
  601. </choices>
  602. <script type="javascript" ev:event="xforms-value-changed">
  603. <![CDATA[
  604. if ( model.getValue ( "/root/chkflag/erprcpflag" ) == "Y" ) {
  605. checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "bold";
  606. checkbox10.disabled = false;
  607. model.setValue ( "/root/main/prcp/prcplist/erprcpflag", "Y" );
  608. model.refresh();
  609. } else {
  610. checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "normal";
  611. checkbox10.disabled = true;
  612. model.setValue ( "/root/main/prcp/prcplist/erprcpflag", "N" );
  613. model.refresh();
  614. }
  615. ]]>
  616. </script>
  617. </select>
  618. <select id="checkbox2" ref="/root/chkflag/prnprcpflag" overflow="visible" appearance="full" style="left:7px; top:49px; width:100px; height:20px; border-style:none; ">
  619. <choices>
  620. <item>
  621. <label>PRN</label>
  622. <value>Y</value>
  623. </item>
  624. </choices>
  625. <script type="javascript" ev:event="xforms-value-changed">
  626. <![CDATA[
  627. if ( model.getValue ( "/root/chkflag/prnprcpflag" ) == "Y" ) {
  628. checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "bold";
  629. checkbox11.disabled = false;
  630. model.setValue ( "/root/main/prcp/prcplist/prnprcpflag", "Y" );
  631. model.refresh();
  632. } else {
  633. checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "normal";
  634. checkbox11.disabled = true;
  635. model.setValue ( "/root/main/prcp/prcplist/prnprcpflag", "N" );
  636. model.refresh();
  637. }
  638. ]]>
  639. </script>
  640. </select>
  641. <select id="checkbox3" ref="/root/chkflag/erreadflag" overflow="visible" appearance="full" style="left:7px; top:147px; width:100px; height:20px; border-style:none; ">
  642. <choices>
  643. <item>
  644. <label>응급판독</label>
  645. <value>Y</value>
  646. </item>
  647. </choices>
  648. <script type="javascript" ev:event="xforms-value-changed">
  649. <![CDATA[
  650. if ( model.getValue ( "/root/chkflag/erreadflag" ) == "Y" ) {
  651. checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "bold";
  652. checkbox12.disabled = false;
  653. model.setValue ( "/root/main/prcp/prcplist/erreadflag", "Y" );
  654. model.refresh();
  655. } else {
  656. checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "normal";
  657. checkbox12.disabled = true;
  658. model.setValue ( "/root/main/prcp/prcplist/erreadflag", "N" );
  659. model.refresh();
  660. }
  661. ]]>
  662. </script>
  663. </select>
  664. <select id="checkbox4" ref="/root/chkflag/portprcpflag" overflow="visible" appearance="full" style="left:7px; top:172px; width:100px; height:20px; border-style:none; ">
  665. <choices>
  666. <item>
  667. <label>portable</label>
  668. <value>Y</value>
  669. </item>
  670. </choices>
  671. <script type="javascript" ev:event="xforms-value-changed">
  672. <![CDATA[
  673. if ( model.getValue ( "/root/chkflag/portprcpflag" ) == "Y" ) {
  674. checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "bold";
  675. checkbox13.disabled = false;
  676. model.setValue ( "/root/main/prcp/prcplist/portprcpflag", "Y" );
  677. model.refresh();
  678. } else {
  679. checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "normal";
  680. checkbox13.disabled = true;
  681. model.setValue ( "/root/main/prcp/prcplist/portprcpflag", "N" );
  682. model.refresh();
  683. }
  684. ]]>
  685. </script>
  686. </select>
  687. <line id="line15" class="line_2" style="x1:2px; y1:43px; x2:410px; y2:43px; "/>
  688. <select id="checkbox5" ref="/root/chkflag/prcpdelivefact" overflow="visible" appearance="full" style="left:7px; top:74px; width:68px; height:25px; 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 ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
  698. checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "bold";
  699. textarea1.disabled = false;
  700. button4.disabled = false;
  701. model.refresh();
  702. } else {
  703. checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "normal";
  704. textarea1.disabled = true;
  705. button4.disabled = true;
  706. model.refresh();
  707. }
  708. ]]>
  709. </script>
  710. </select>
  711. <select id="checkbox6" ref="/root/chkflag/precureprcpflag" overflow="visible" appearance="full" style="left:212px; top:147px; width:100px; height:20px; border-style:none; ">
  712. <choices>
  713. <item>
  714. <label>선처치</label>
  715. <value>Y</value>
  716. </item>
  717. </choices>
  718. <script type="javascript" ev:event="xforms-value-changed">
  719. <![CDATA[
  720. if ( model.getValue ( "/root/chkflag/precureprcpflag" ) == "Y" ) {
  721. checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "bold";
  722. checkbox14.disabled = false;
  723. model.setValue ( "/root/main/prcp/prcplist/precureprcpflag", "Y" );
  724. model.refresh();
  725. } else {
  726. checkbox6.item(checkbox6.focusIndex).attribute("font-weight") = "normal";
  727. checkbox14.disabled = true;
  728. model.setValue ( "/root/main/prcp/prcplist/precureprcpflag", "N" );
  729. model.refresh();
  730. }
  731. ]]>
  732. </script>
  733. </select>
  734. <select id="checkbox7" ref="/root/chkflag/clincstdyflag" overflow="visible" appearance="full" style="left:212px; top:173px; width:100px; height:20px; border-style:none; ">
  735. <choices>
  736. <item>
  737. <label>임상연구</label>
  738. <value>Y</value>
  739. </item>
  740. </choices>
  741. <script type="javascript" ev:event="xforms-value-changed">
  742. <![CDATA[
  743. if( bool2.value == "Y" ){
  744. messageBox ( "임상연구는 기왕증과 동시에 선택 할 수", "I004" );
  745. model.setValue ( "/root/chkflag/clincstdyflag" , "");
  746. model.refresh();
  747. return;
  748. }
  749. if ( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ) {
  750. if ( fSubcretnoSet("1", null) == -1 ) {
  751. model.setValue ( "/root/chkflag/clincstdyflag" , "N");
  752. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
  753. checkbox15.disabled = true;
  754. checkbox7.disabled = true;
  755. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "N" );
  756. model.refresh();
  757. return;
  758. }
  759. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "bold";
  760. checkbox15.disabled = false;
  761. checkbox7.disabled = false;
  762. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "Y" );
  763. model.refresh();
  764. } else {
  765. fSubcretnoSet("1", null);
  766. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
  767. checkbox15.disabled = true;
  768. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "N" );
  769. model.refresh();
  770. }
  771. ]]>
  772. </script>
  773. </select>
  774. <line id="line1" class="line_2" style="x1:2px; y1:193px; x2:410px; y2:193px; "/>
  775. <select1 id="combo1" ref="/root/main/prcp/prcplist/payflagcd" class="combo_default" appearance="minimal" style="left:310px; top:21px; width:100px; height:19px; ">
  776. <choices>
  777. <itemset nodeset="/root/init/payflagcd/M0029">
  778. <label ref="cdnm"/>
  779. <value ref="cdid"/>
  780. </itemset>
  781. </choices>
  782. </select1>
  783. <select id="checkbox8" ref="/root/chkflag/payflagcd" overflow="visible" appearance="full" style="left:212px; top:23px; width:100px; height:20px; border-style:none; ">
  784. <choices>
  785. <item>
  786. <label>급여</label>
  787. <value>Y</value>
  788. </item>
  789. </choices>
  790. <script type="javascript" ev:event="xforms-value-changed">
  791. <![CDATA[
  792. if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
  793. checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "bold";
  794. combo1.disabled = false;
  795. model.refresh();
  796. } else {
  797. checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "normal";
  798. combo1.disabled = true;
  799. model.refresh();
  800. }
  801. ]]>
  802. </script>
  803. </select>
  804. <line id="line2" class="line_2" style="x1:2px; y1:69px; x2:410px; y2:69px; "/>
  805. <line id="line3" class="line_2" style="x1:2px; y1:167px; x2:409px; y2:167px; "/>
  806. <textarea id="textarea1" ref="/root/main/prcp/prcplist/prcpdelivefact" style="left:103px; top:71px; width:307px; height:49px; "/>
  807. <input id="input3" ref="/root/main/prcp/prcplist/prcphopedd" class="input_search" imemode="disabled" inputtype="date" format="yyyy-mm-dd" style="left:310px; top:223px; width:100px; height:19px; "/>
  808. <line id="line6" class="line_2" style="x1:3px; y1:244px; x2:410px; y2:244px; "/>
  809. <line id="line7" class="line_1" style="x1:2px; y1:14px; x2:410px; y2:14px; "/>
  810. <caption id="caption9" class="cell_1" style="left:207px; top:220px; width:100px; height:23px; "/>
  811. <select id="checkbox9" ref="/root/chkflag/prcphopedd" overflow="visible" appearance="full" style="left:212px; top:224px; width:100px; height:20px; border-style:none; ">
  812. <choices>
  813. <item>
  814. <label>검사희망일</label>
  815. <value>Y</value>
  816. </item>
  817. </choices>
  818. <script type="javascript" ev:event="xforms-value-changed">
  819. <![CDATA[
  820. if ( model.getValue ( "/root/chkflag/prcphopedd" ) == "Y" ) {
  821. checkbox9.item(checkbox9.focusIndex).attribute("font-weight") = "bold";
  822. input3.disabled = false;
  823. model.refresh();
  824. } else {
  825. checkbox9.item(checkbox9.focusIndex).attribute("font-weight") = "normal";
  826. input3.disabled = true;
  827. model.refresh();
  828. }
  829. ]]>
  830. </script>
  831. </select>
  832. <select id="checkbox10" ref="/root/main/prcp/prcplist/erprcpflag" overflow="visible" appearance="full" style="left:105px; top:22px; width:100px; height:20px; border-style:none; ">
  833. <choices>
  834. <item>
  835. <label>응급</label>
  836. <value>Y</value>
  837. </item>
  838. </choices>
  839. </select>
  840. <select id="checkbox11" ref="/root/main/prcp/prcplist/prnprcpflag" overflow="visible" appearance="full" style="left:105px; top:48px; width:100px; height:20px; border-style:none; ">
  841. <choices>
  842. <item>
  843. <label>PRN</label>
  844. <value>Y</value>
  845. </item>
  846. </choices>
  847. </select>
  848. <select id="checkbox12" ref="/root/main/prcp/prcplist/erreadflag" overflow="visible" appearance="full" style="left:105px; top:146px; width:100px; height:20px; border-style:none; ">
  849. <choices>
  850. <item>
  851. <label>응급판독</label>
  852. <value>Y</value>
  853. </item>
  854. </choices>
  855. </select>
  856. <select id="checkbox13" ref="/root/main/prcp/prcplist/portprcpflag" overflow="visible" appearance="full" style="left:105px; top:172px; width:100px; height:20px; border-style:none; ">
  857. <choices>
  858. <item>
  859. <label>portable</label>
  860. <value>Y</value>
  861. </item>
  862. </choices>
  863. </select>
  864. <select id="checkbox14" ref="/root/main/prcp/prcplist/precureprcpflag" overflow="visible" appearance="full" style="left:309px; top:146px; width:100px; height:20px; border-style:none; ">
  865. <choices>
  866. <item>
  867. <label>선처치</label>
  868. <value>Y</value>
  869. </item>
  870. </choices>
  871. </select>
  872. <select id="checkbox15" ref="/root/main/prcp/prcplist/clincstdyflag" overflow="visible" appearance="full" style="left:309px; top:172px; width:100px; height:20px; border-style:none; ">
  873. <choices>
  874. <item>
  875. <label>임상연구</label>
  876. <value>Y</value>
  877. </item>
  878. </choices>
  879. </select>
  880. <caption id="caption10" class="cell_1" style="left:2px; top:246px; width:100px; height:50px; "/>
  881. <select id="checkbox16" ref="/root/chkflag/clinccmtcnts" overflow="visible" appearance="full" style="left:7px; top:248px; width:73px; height:25px; border-style:none; ">
  882. <choices>
  883. <item>
  884. <label>임상소견</label>
  885. <value>Y</value>
  886. </item>
  887. </choices>
  888. <script type="javascript" ev:event="xforms-value-changed">
  889. <![CDATA[
  890. if ( model.getValue ( "/root/chkflag/clinccmtcnts" ) == "Y" ) {
  891. checkbox16.item(checkbox16.focusIndex).attribute("font-weight") = "bold";
  892. textarea2.disabled = false;
  893. button61.disabled = false;
  894. model.refresh();
  895. } else {
  896. checkbox16.item(checkbox16.focusIndex).attribute("font-weight") = "normal";
  897. textarea2.disabled = true;
  898. button61.disabled = true;
  899. model.refresh();
  900. }
  901. ]]>
  902. </script>
  903. <script type="javascript" ev:event="xforms-select">
  904. <![CDATA[
  905. setParameter ( "SPMMB02200_cond2", "2" );
  906. fPrcpModal ( "SPMMB02200", 50, 50 );
  907. model.setValue ( "/root/main/prcp/prcplist/clinccmtcnts", getParameter ( "SPMMB02200_clinccmt" ));
  908. model.refresh();
  909. ]]>
  910. </script>
  911. </select>
  912. <textarea id="textarea2" ref="/root/main/prcp/prcplist/clinccmtcnts" style="left:103px; top:247px; width:307px; height:49px; "/>
  913. <line id="line4" class="line_3" style="x1:5px; y1:297px; x2:412px; y2:297px; "/>
  914. <caption id="caption18" class="tit_2" style="left:5px; top:0px; width:121px; height:14px; ">공통</caption>
  915. <caption id="caption11" class="tit_2" style="left:5px; top:125px; width:121px; height:13px; ">영상</caption>
  916. <line id="line5" class="line_1" style="x1:2px; y1:139px; x2:410px; y2:139px; "/>
  917. <button id="button61" class="icon_search" style="left:81px; top:249px; width:16px; height:16px; ">
  918. <caption/>
  919. <script type="javascript" ev:event="DOMActivate">
  920. <![CDATA[
  921. setParameter ( "SPMMB02200_cond2", "2" );
  922. fPrcpModal ( "SPMMB02200", 50, 50 );
  923. model.setValue ( "/root/main/prcp/prcplist/clinccmtcnts", getParameter ( "SPMMB02200_clinccmt" ));
  924. model.refresh();
  925. ]]>
  926. </script>
  927. </button>
  928. <line id="line8" class="line_2" style="x1:2px; y1:122px; x2:410px; y2:122px; "/>
  929. <select id="checkbox18" ref="/root/chkflag/prcpexecdeptcd" overflow="visible" appearance="full" style="left:7px; top:197px; width:100px; height:20px; border-style:none; ">
  930. <choices>
  931. <item>
  932. <label>시행부서</label>
  933. <value>Y</value>
  934. </item>
  935. </choices>
  936. <script type="javascript" ev:event="xforms-value-changed">
  937. <![CDATA[
  938. if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
  939. checkbox18.item(checkbox18.focusIndex).attribute("font-weight") = "bold";
  940. combo2.disabled = false;
  941. model.refresh();
  942. } else {
  943. checkbox18.item(checkbox18.focusIndex).attribute("font-weight") = "normal";
  944. combo2.disabled = true;
  945. model.refresh();
  946. }
  947. ]]>
  948. </script>
  949. </select>
  950. <select1 id="combo2" ref="/root/main/prcp/prcplist/prcpexecdeptcd" class="combo_default" appearance="minimal" itemcount="30" style="left:105px; top:196px; width:100px; height:19px; ">
  951. <choices>
  952. <itemset nodeset="/root/orddept/dept">
  953. <label ref="depthngnm"/>
  954. <value ref="deptcd"/>
  955. </itemset>
  956. </choices>
  957. </select1>
  958. <button id="button4" class="icon_search" style="left:79px; top:74px; width:16px; height:16px; ">
  959. <caption/>
  960. <script type="javascript" ev:event="DOMActivate">
  961. <![CDATA[
  962. setParameter ( "SPMMB02200_cond2", "3" );
  963. fPrcpModal ( "SPMMB02200", 50, 50 );
  964. model.setValue ( "/root/main/prcp/prcplist/prcpdelivefact", getParameter ( "SPMMB02200_clinccmt" ));
  965. model.refresh();
  966. ]]>
  967. </script>
  968. </button>
  969. <caption id="caption14" class="cell_1" style="left:207px; top:195px; width:53px; height:23px; "/>
  970. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/rsrvflag" style="left:206px; top:197px; width:25px; height:20px; ">
  971. <script type="javascript" ev:event="xforms-value-changed">
  972. <![CDATA[
  973. var rsrvflag = model.getValue("/root/main/cond/rsrvflag");
  974. if(rsrvflag == "Y"){
  975. model.setValue("/root/chkflag/prcphopedd", "Y");
  976. model.setValue("/root/main/prcp/prcplist/prcphopedd", "99991231");
  977. input3.disabled = false;
  978. } else {
  979. model.setValue("/root/main/prcp/prcplist/prcphopedd", "");
  980. }
  981. model.refresh();
  982. ]]>
  983. </script>
  984. </bool>
  985. <caption id="caption15" style="left:229px; top:198px; width:27px; height:20px; ">예약</caption>
  986. <bool id="bool2" checkvalue="Y,N" ref="/root/chkflag/anamneflag" style="left:264px; top:197px; width:25px; height:20px; ">
  987. <script type="javascript" ev:event="xforms-value-changed">
  988. <![CDATA[
  989. if( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ){
  990. messageBox ( "기왕증은 임상연구와 동시에 선택 할 수", "I004" );
  991. bool2.value = "N";
  992. return;
  993. }
  994. if(bool2.value == "Y"){
  995. var prcpgenrflag = opener.model.getValue("/root/patflag/list/prcpgenrflag");
  996. var pid = opener.model.getValue("/root/paminfo/list/pid");
  997. var indd = opener.model.getValue("/root/paminfo/list/indd");
  998. if(prcpgenrflag == "I" || prcpgenrflag == "D" || prcpgenrflag == "E"){
  999. var subcretno = fGetSubcretno(pid, indd, "anamneflag");
  1000. model.setValue("/root/main/prcp/prcplist/subcretno", subcretno);
  1001. if(subcretno == "0"){
  1002. messageBox ( "환자의 부유형이 없거나 또는 선택되지 않았습니다.", "I999" );
  1003. bool2.value = "N";
  1004. }
  1005. } else {
  1006. messageBox ( "외래 환자는 기왕증을 선택 할 수", "I004" );
  1007. bool2.value = "N";
  1008. }
  1009. }else{ //기왕증이 N로 처리된 경우에는 subcretno 0로 처리
  1010. model.setValue("/root/main/prcp/prcplist/subcretno", "0");
  1011. }
  1012. ]]>
  1013. </script>
  1014. </bool>
  1015. <caption id="caption23" style="left:286px; top:198px; width:50px; height:20px; ">기왕증</caption>
  1016. <line id="line9" class="line_2" style="x1:3px; y1:303px; x2:411px; y2:303px; "/>
  1017. <caption id="caption12" class="tit_2" style="left:6px; top:306px; width:121px; height:15px; ">온열암치료</caption>
  1018. <line id="line10" class="line_1" style="x1:3px; y1:320px; x2:411px; y2:320px; "/>
  1019. <caption id="caption16" class="cell_1" style="left:207px; top:324px; width:100px; height:23px; "/>
  1020. <caption id="caption17" class="cell_1" style="left:4px; top:324px; width:100px; height:23px; "/>
  1021. <caption id="caption19" class="cell_1" style="left:4px; top:349px; width:100px; height:23px; "/>
  1022. <select id="checkbox17" ref="/root/chkflag/drugmthdspccd" overflow="visible" appearance="full" style="left:9px; top:327px; width:100px; height:20px; border-style:none; ">
  1023. <choices>
  1024. <item>
  1025. <label>치료부위</label>
  1026. <value>Y</value>
  1027. </item>
  1028. </choices>
  1029. <script type="javascript" ev:event="xforms-value-changed">
  1030. <![CDATA[
  1031. if ( model.getValue ( "/root/chkflag/drugmthdspccd" ) == "Y" ) {
  1032. checkbox17.item(checkbox17.focusIndex).attribute("font-weight") = "bold";
  1033. combo3.disabled = false;
  1034. model.refresh();
  1035. } else {
  1036. checkbox17.item(checkbox17.focusIndex).attribute("font-weight") = "normal";
  1037. combo3.disabled = true;
  1038. model.refresh();
  1039. }
  1040. ]]>
  1041. </script>
  1042. </select>
  1043. <select id="checkbox19" ref="/root/chkflag/prcpdirecflag" overflow="visible" appearance="full" style="left:212px; top:327px; width:100px; height:20px; border-style:none; ">
  1044. <choices>
  1045. <item>
  1046. <label>치료위치</label>
  1047. <value>Y</value>
  1048. </item>
  1049. </choices>
  1050. <script type="javascript" ev:event="xforms-value-changed">
  1051. <![CDATA[
  1052. if ( model.getValue ( "/root/chkflag/prcpdirecflag" ) == "Y" ) {
  1053. checkbox19.item(checkbox19.focusIndex).attribute("font-weight") = "bold";
  1054. combo4.disabled = false;
  1055. model.refresh();
  1056. } else {
  1057. checkbox19.item(checkbox19.focusIndex).attribute("font-weight") = "normal";
  1058. combo4.disabled = true;
  1059. model.refresh();
  1060. }
  1061. ]]>
  1062. </script>
  1063. </select>
  1064. <select id="checkbox20" ref="/root/chkflag/drugspd" overflow="visible" appearance="full" style="left:9px; top:353px; width:100px; height:20px; border-style:none; ">
  1065. <choices>
  1066. <item>
  1067. <label>치료빈도</label>
  1068. <value>Y</value>
  1069. </item>
  1070. </choices>
  1071. <script type="javascript" ev:event="xforms-value-changed">
  1072. <![CDATA[
  1073. if ( model.getValue ( "/root/chkflag/drugspd" ) == "Y" ) {
  1074. checkbox20.item(checkbox20.focusIndex).attribute("font-weight") = "bold";
  1075. combo5.disabled = false;
  1076. model.refresh();
  1077. } else {
  1078. checkbox20.item(checkbox20.focusIndex).attribute("font-weight") = "normal";
  1079. combo5.disabled = true;
  1080. model.refresh();
  1081. }
  1082. ]]>
  1083. </script>
  1084. </select>
  1085. <select1 id="combo3" ref="/root/main/prcp/prcplist/rehbprcpcurepartcd" class="combo_default" appearance="minimal" style="left:105px; top:327px; width:100px; height:19px; ">
  1086. <choices>
  1087. <itemset nodeset="/root/init/drugspd/M0044M0046">
  1088. <label ref="cdnm"/>
  1089. <value ref="cdid"/>
  1090. </itemset>
  1091. </choices>
  1092. </select1>
  1093. <select1 id="combo4" ref="/root/main/prcp/prcplist/prcpdirecflag" class="combo_default" appearance="minimal" style="left:310px; top:327px; width:100px; height:19px; ">
  1094. <choices>
  1095. <itemset nodeset="/root/init/prcpdirecflag/M0045M0041">
  1096. <label ref="cdnm"/>
  1097. <value ref="cdid"/>
  1098. </itemset>
  1099. </choices>
  1100. </select1>
  1101. <select1 id="combo5" ref="/root/main/prcp/prcplist/rehbprcpcurefreqflag" class="combo_default" appearance="minimal" style="left:105px; top:353px; width:100px; height:19px; ">
  1102. <choices>
  1103. <itemset nodeset="/root/init/drugmthdspccdnm/M0046M0045">
  1104. <label ref="cdnm"/>
  1105. <value ref="cdid"/>
  1106. </itemset>
  1107. </choices>
  1108. </select1>
  1109. <line id="line11" class="line_3" style="x1:3px; y1:374px; x2:410px; y2:374px; "/>
  1110. <select id="checkbox21" ref="/root/main/prcp/prcplist/drprcpetc12" overflow="visible" appearance="full" style="left:105px; top:222px; width:100px; height:20px; border-style:none; ">
  1111. <choices>
  1112. <item>
  1113. <label>F/U</label>
  1114. <value>Y</value>
  1115. </item>
  1116. </choices>
  1117. </select>
  1118. <select id="checkbox22" ref="/root/chkflag/drprcpetc12" overflow="visible" appearance="full" style="left:7px; top:223px; width:100px; height:20px; border-style:none; ">
  1119. <choices>
  1120. <item>
  1121. <label>F/U</label>
  1122. <value>Y</value>
  1123. </item>
  1124. </choices>
  1125. <script type="javascript" ev:event="xforms-value-changed">
  1126. <![CDATA[
  1127. if ( model.getValue ( "/root/chkflag/drprcpetc12" ) == "Y" ) {
  1128. checkbox22.item(checkbox22.focusIndex).attribute("font-weight") = "bold";
  1129. checkbox21.disabled = false;
  1130. model.setValue ( "/root/main/prcp/prcplist/drprcpetc12", "Y" );
  1131. model.setValue ( "/root/chkflag/prcphopedd", "Y" ); // 검사 희망일
  1132. input3.disabled = false;
  1133. model.refresh();
  1134. } else {
  1135. checkbox22.item(checkbox22.focusIndex).attribute("font-weight") = "normal";
  1136. checkbox21.disabled = true;
  1137. model.setValue ( "/root/main/prcp/prcplist/drprcpetc12", "N" );
  1138. model.refresh();
  1139. }
  1140. ]]>
  1141. </script>
  1142. </select>
  1143. </xhtml:body>
  1144. </xhtml:html>