SPMMO13700_일괄입력RT.xrw 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954
  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>일괄입력[RT]</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. </init>
  210. <chkflag>
  211. <erprcpflag/>
  212. <prnprcpflag/>
  213. <erreadflag/>
  214. <portprcpflag/>
  215. <precureprcpflag/>
  216. <clincstdyflag/>
  217. <payflagcd/>
  218. <prcphopedd/>
  219. <clinccmtcnts/>
  220. <prcpdelivefact/>
  221. <choiordflag/>
  222. <prcpexecdeptcd/>
  223. <anamneflag/>
  224. <drprcpetc12/>
  225. </chkflag>
  226. <orddept/>
  227. <temp>
  228. <send/>
  229. <patsupkind/>
  230. </temp>
  231. </root>
  232. </instance>
  233. <script type="javascript" ev:event="xforms-model-construct-done">
  234. <![CDATA[
  235. //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "insuuseyn", "", "/root/init/orddept" , "depthngnm"); //부서코드 콤보 조회
  236. zbcfGetCodeList(new Array("M0029"), new Array("/root/init/payflagcd"));
  237. fPrcpExecDeptSrch("all");
  238. var prcpgenrflag = opener.model.getValue("/root/patflag/list/prcpgenrflag");
  239. if ( prcpgenrflag == "O" ) {
  240. if ( opener.model.getValue ( "/root/usge" ) == "prcp" ) {
  241. checkbox2.disabled = true;
  242. }
  243. }
  244. checkbox10.disabled = true;
  245. checkbox11.disabled = true;
  246. checkbox12.disabled = true;
  247. checkbox13.disabled = true;
  248. checkbox15.disabled = true;
  249. checkbox6.disabled = true;
  250. combo1.disabled = true;
  251. combo2.disabled = true;
  252. button4.disabled = true;
  253. input3.disabled = true;
  254. textarea1.disabled = true;
  255. textarea2.disabled = true;
  256. model.refresh();
  257. ]]>
  258. </script>
  259. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  260. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  261. <submission id="TRMMO01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tmedmthd"/>
  262. <submission id="TRMMO00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/orddept"/>
  263. <submission id="TRMMO15701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp/send" resultref="/root/temp/patsupkind"/>
  264. </model>
  265. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  266. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  267. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  268. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  269. <script type="javascript" src="../../../emr/prcpmngtweb/js/MMO001.js"/>
  270. <script type="javascript" src="../../../emr/prcpmngtweb/js/SMMMO00100.js"/>
  271. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  272. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  273. </xhtml:head>
  274. <xhtml:body pagewidth="426" pageheight="320" guideline="2,320;1,410;1,426;" style="margin-left:8; margin-top:8; margin-right:8; margin-bottom:8; ">
  275. <caption id="caption6" class="cell_1" style="left:2px; top:219px; width:100px; height:23px; "/>
  276. <caption id="caption22" class="cell_1" style="left:263px; top:194px; width:100px; height:22px; "/>
  277. <caption id="caption14" class="cell_1" style="left:207px; top:194px; width:53px; height:23px; "/>
  278. <caption id="caption13" class="cell_1" style="left:2px; top:194px; width:100px; height:23px; "/>
  279. <button id="button1" class="btn4_letter2" style="left:294px; top:280px; width:56px; height:22px; ">
  280. <caption>확인</caption>
  281. <script type="javascript" ev:event="onclick">
  282. <![CDATA[
  283. var erprcpflag_useyn = "";
  284. var erprcpflag = "";
  285. var prnprcpflag_useyn = "";
  286. var prnprcpflag = "";
  287. var erreadflag_useyn = "";
  288. var erreadflag = "";
  289. var portprcpflag_useyn = "";
  290. var portprcpflag = "";
  291. var clincstdyflag_useyn = "";
  292. var clincstdyflag = "";
  293. var payflagcd_useyn = "";
  294. var payflagcd = "";
  295. var prcphopedd_useyn = "";
  296. var prcphopedd = "";
  297. var clinccmtcnts_useyn = "";
  298. var clinccmtcnts = "";
  299. var prcpexecdeptcd_useyn = "";
  300. var prcpexecdeptcd = "";
  301. var prcpdelivefact_useyn = "";
  302. var prcpdelivefact = "";
  303. var drprcpetc12_useyn = "";
  304. var drprcpetc12 = "";
  305. var useyn = "";
  306. var value = "";
  307. var header = "erprcpflag|prnprcpflag|erreadflag|portprcpflag|clincstdyflag|payflagcd|prcphopedd|clinccmtcnts|prcpexecdeptcd|anamneflag|prcpdelivefactt|drprcpetc12|subcretno^";
  308. if ( model.getValue ( "/root/chkflag/erprcpflag" ) == "Y" ) {
  309. erprcpflag_useyn = "Y" + "|";
  310. erprcpflag = model.getValue ("/root/main/prcp/prcplist/erprcpflag" ) + "|";
  311. if ( isNull(model.getValue ("/root/main/prcp/prcplist/erprcpflag" ))) {
  312. erprcpflag = "N" + "|";
  313. }
  314. } else {
  315. erprcpflag_useyn = "N" + "|";
  316. erprcpflag = "" + "|";
  317. }
  318. useyn = useyn + erprcpflag_useyn;
  319. value = value + erprcpflag;
  320. if ( model.getValue ( "/root/chkflag/prnprcpflag" ) == "Y" ) {
  321. prnprcpflag_useyn = "Y" + "|";
  322. prnprcpflag = model.getValue ("/root/main/prcp/prcplist/prnprcpflag" ) + "|";
  323. if ( isNull(model.getValue ("/root/main/prcp/prcplist/prnprcpflag" ))) {
  324. prnprcpflag = "N" + "|";
  325. }
  326. } else {
  327. prnprcpflag_useyn = "N" + "|";
  328. prnprcpflag = "" + "|";
  329. }
  330. useyn = useyn + prnprcpflag_useyn ;
  331. value = value + prnprcpflag;
  332. if ( model.getValue ( "/root/chkflag/erreadflag" ) == "Y" ) {
  333. erreadflag_useyn = "Y" + "|";
  334. erreadflag = model.getValue ("/root/main/prcp/prcplist/erreadflag" ) + "|";
  335. if ( isNull(model.getValue ("/root/main/prcp/prcplist/erreadflag" ))) {
  336. erreadflag = "N" + "|";
  337. }
  338. } else {
  339. erreadflag_useyn = "N" + "|";
  340. erreadflag = "" + "|";
  341. }
  342. useyn = useyn + erreadflag_useyn ;
  343. value = value + erreadflag;
  344. if ( model.getValue ( "/root/chkflag/portprcpflag" ) == "Y" ) {
  345. portprcpflag_useyn = "Y" + "|";
  346. portprcpflag = model.getValue ("/root/main/prcp/prcplist/portprcpflag" ) + "|";
  347. if ( isNull(model.getValue ("/root/main/prcp/prcplist/portprcpflag" ))) {
  348. portprcpflag = "N" + "|";
  349. }
  350. } else {
  351. portprcpflag_useyn = "N" + "|";
  352. portprcpflag = "" + "|";
  353. }
  354. useyn = useyn + portprcpflag_useyn ;
  355. value = value + portprcpflag;
  356. if ( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ) {
  357. clincstdyflag_useyn = "Y" + "|";
  358. clincstdyflag = model.getValue ("/root/main/prcp/prcplist/clincstdyflag" ) + "|";
  359. if ( isNull(model.getValue ("/root/main/prcp/prcplist/clincstdyflag" ))) {
  360. clincstdyflag = "N" + "|";
  361. }
  362. } else {
  363. clincstdyflag_useyn = "N" + "|";
  364. clincstdyflag = "" + "|";
  365. }
  366. useyn = useyn + clincstdyflag_useyn ;
  367. value = value + clincstdyflag;
  368. if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
  369. payflagcd_useyn = "Y" + "|";
  370. payflagcd = model.getValue ( "/root/main/prcp/prcplist/payflagcd" ) + "|";
  371. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/payflagcd" ))) {
  372. model.alert ( "입력된 급여구분 값이 없습니다." ) ;
  373. return;
  374. }
  375. } else {
  376. payflagcd_useyn = "N" + "|";
  377. payflagcd = "" + "|";
  378. }
  379. useyn = useyn + payflagcd_useyn ;
  380. value = value + payflagcd;
  381. if ( model.getValue ( "/root/chkflag/prcphopedd" ) == "Y" ) {
  382. prcphopedd_useyn = "Y" + "|";
  383. prcphopedd = model.getValue ("/root/main/prcp/prcplist/prcphopedd" ) + "|";
  384. if ( isNull(model.getValue ("/root/main/prcp/prcplist/prcphopedd" ))) {
  385. model.alert ( "입력된 검사희망일이 값이 없습니다." );
  386. return;
  387. } else {
  388. if ( !isValidDateTime ( model.getValue ( "/root/main/prcp/prcplist/prcphopedd" ), "YYYYMMDD")) {
  389. model.alert ( "검사희망일이 유효한 날짜가 아닙니다." );
  390. return;
  391. }
  392. }
  393. } else {
  394. prcphopedd_useyn = "N"+ "|";
  395. prcphopedd = "" + "|";
  396. }
  397. useyn = useyn + prcphopedd_useyn;
  398. value = value + prcphopedd;
  399. if ( model.getValue ( "/root/chkflag/clinccmtcnts" ) == "Y" ) {
  400. clinccmtcnts_useyn = "Y" + "|";
  401. clinccmtcnts = model.getValue ( "/root/main/prcp/prcplist/clinccmtcnts" ) + "|";
  402. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/clinccmtcnts" ))) {
  403. model.alert ( "입력된 임상소견 값이 없습니다." );
  404. return;
  405. }
  406. } else {
  407. clinccmtcnts_useyn = "N" + "|";
  408. clinccmtcnts = "" + "|";
  409. }
  410. useyn = useyn + clinccmtcnts_useyn ;
  411. value = value + clinccmtcnts;
  412. if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
  413. prcpexecdeptcd_useyn = "Y" + "|";
  414. prcpexecdeptcd = model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ) + "|";
  415. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpexecdeptcd" ))) {
  416. model.alert ( "입력된 시행부서가 없습니다." ) ;
  417. return;
  418. }
  419. } else {
  420. prcpexecdeptcd_useyn = "N" + "|";
  421. prcpexecdeptcd = "" + "|";
  422. }
  423. useyn = useyn + prcpexecdeptcd_useyn ;
  424. value = value + prcpexecdeptcd;
  425. if( model.getValue ( "/root/chkflag/anamneflag" ) == "Y" ) {
  426. useyn = useyn + "Y" + "|";
  427. value = value + "Y" + "|";
  428. } else {
  429. useyn = useyn + "N" + "|";
  430. value = value + "N" + "|";
  431. }
  432. if ( model.getValue ( "/root/chkflag/prcpdelivefact" ) == "Y" ) {
  433. prcpdelivefact_useyn = "Y" + "|";
  434. prcpdelivefact = model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ) + "|";
  435. if ( isNull(model.getValue ( "/root/main/prcp/prcplist/prcpdelivefact" ) )) {
  436. model.alert ( "입력된 전달사항 값이 없습니다." );
  437. return;
  438. }
  439. } else {
  440. prcpdelivefact_useyn = "N" + "|";
  441. prcpdelivefact = "" + "|";
  442. }
  443. useyn = useyn + prcpdelivefact_useyn ;
  444. value = value + prcpdelivefact;
  445. if ( model.getValue ( "/root/chkflag/drprcpetc12" ) == "Y" ) {
  446. drprcpetc12_useyn = "Y" + "|";
  447. drprcpetc12 = model.getValue ("/root/main/prcp/prcplist/drprcpetc12" ) + "|";
  448. if ( isNull(model.getValue ("/root/main/prcp/prcplist/drprcpetc12" ))) {
  449. drprcpetc12 = "N" + "|";
  450. }
  451. } else {
  452. drprcpetc12_useyn = "N" + "|";
  453. drprcpetc12 = "N" + "|";
  454. }
  455. useyn = useyn + drprcpetc12_useyn ;
  456. value = value + drprcpetc12;
  457. //2008. 07. 01 기왕증 입력에 따른 subcretno설정, 오지훈
  458. var subcretno_useyn = "";
  459. var subcretno = 0;
  460. if ( bool2.value == "Y" || model.getValue("/root/chkflag/clincstdyflag") == "Y") {
  461. subcretno_useyn = "Y";
  462. subcretno = model.getValue("/root/main/prcp/prcplist/subcretno");
  463. }else{
  464. subcretno_useyn = "N";
  465. }
  466. useyn = useyn + subcretno_useyn + "^";
  467. value = value + subcretno + "^";
  468. var batipt_rtn1 = header + useyn + value;
  469. opener.javascript.setParameter ( "batipt_rtn1", batipt_rtn1 );
  470. opener.javascript.setParameter ( "batipt_rtn1_useyn", "Y" );
  471. window.close();
  472. ]]>
  473. </script>
  474. </button>
  475. <button id="button2" class="btn4_letter2" style="left:354px; top:280px; width:56px; height:22px; ">
  476. <caption>취소</caption>
  477. <script type="javascript" ev:event="onclick">
  478. <![CDATA[
  479. opener.javascript.setParameter ( "batipt_rtn1_useyn", "N" );
  480. window.close();
  481. ]]>
  482. </script>
  483. </button>
  484. <caption id="caption8" class="cell_1" style="left:207px; top:19px; width:100px; height:23px; "/>
  485. <caption id="caption7" class="cell_1" style="left:207px; top:168px; width:100px; height:23px; "/>
  486. <caption id="caption3" class="cell_1" style="left:2px; top:71px; width:100px; height:50px; "/>
  487. <caption id="caption2" class="cell_1" style="left:2px; top:169px; width:100px; height:23px; "/>
  488. <caption id="caption5" class="cell_1" style="left:2px; top:143px; width:100px; height:23px; "/>
  489. <caption id="caption4" class="cell_1" style="left:2px; top:45px; width:100px; height:23px; "/>
  490. <caption id="caption1" class="cell_1" style="left:2px; top:19px; width:100px; height:23px; "/>
  491. <select id="checkbox1" ref="/root/chkflag/erprcpflag" overflow="visible" appearance="full" style="left:7px; top:23px; width:100px; height:20px; border-style:none; ">
  492. <choices>
  493. <item>
  494. <label>응급</label>
  495. <value>Y</value>
  496. </item>
  497. </choices>
  498. <script type="javascript" ev:event="xforms-value-changed">
  499. <![CDATA[
  500. if ( model.getValue ( "/root/chkflag/erprcpflag" ) == "Y" ) {
  501. checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "bold";
  502. checkbox10.disabled = false;
  503. model.setValue ( "/root/main/prcp/prcplist/erprcpflag", "Y" );
  504. model.refresh();
  505. } else {
  506. checkbox1.item(checkbox1.focusIndex).attribute("font-weight") = "normal";
  507. checkbox10.disabled = true;
  508. model.setValue ( "/root/main/prcp/prcplist/erprcpflag", "N" );
  509. model.refresh();
  510. }
  511. ]]>
  512. </script>
  513. </select>
  514. <select id="checkbox2" ref="/root/chkflag/prnprcpflag" overflow="visible" appearance="full" style="left:7px; top:49px; width:100px; height:20px; border-style:none; ">
  515. <choices>
  516. <item>
  517. <label>PRN</label>
  518. <value>Y</value>
  519. </item>
  520. </choices>
  521. <script type="javascript" ev:event="xforms-value-changed">
  522. <![CDATA[
  523. if ( model.getValue ( "/root/chkflag/prnprcpflag" ) == "Y" ) {
  524. checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "bold";
  525. checkbox11.disabled = false;
  526. model.setValue ( "/root/main/prcp/prcplist/prnprcpflag", "Y" );
  527. model.refresh();
  528. } else {
  529. checkbox2.item(checkbox2.focusIndex).attribute("font-weight") = "normal";
  530. checkbox11.disabled = true;
  531. model.setValue ( "/root/main/prcp/prcplist/prnprcpflag", "N" );
  532. model.refresh();
  533. }
  534. ]]>
  535. </script>
  536. </select>
  537. <select id="checkbox3" ref="/root/chkflag/erreadflag" overflow="visible" appearance="full" style="left:7px; top:147px; width:100px; height:20px; border-style:none; ">
  538. <choices>
  539. <item>
  540. <label>응급판독</label>
  541. <value>Y</value>
  542. </item>
  543. </choices>
  544. <script type="javascript" ev:event="xforms-value-changed">
  545. <![CDATA[
  546. if ( model.getValue ( "/root/chkflag/erreadflag" ) == "Y" ) {
  547. checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "bold";
  548. checkbox12.disabled = false;
  549. model.setValue ( "/root/main/prcp/prcplist/erreadflag", "Y" );
  550. model.refresh();
  551. } else {
  552. checkbox3.item(checkbox3.focusIndex).attribute("font-weight") = "normal";
  553. checkbox12.disabled = true;
  554. model.setValue ( "/root/main/prcp/prcplist/erreadflag", "N" );
  555. model.refresh();
  556. }
  557. ]]>
  558. </script>
  559. </select>
  560. <select id="checkbox4" ref="/root/chkflag/portprcpflag" overflow="visible" appearance="full" style="left:7px; top:172px; width:100px; height:20px; border-style:none; ">
  561. <choices>
  562. <item>
  563. <label>portable</label>
  564. <value>Y</value>
  565. </item>
  566. </choices>
  567. <script type="javascript" ev:event="xforms-value-changed">
  568. <![CDATA[
  569. if ( model.getValue ( "/root/chkflag/portprcpflag" ) == "Y" ) {
  570. checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "bold";
  571. checkbox13.disabled = false;
  572. model.setValue ( "/root/main/prcp/prcplist/portprcpflag", "Y" );
  573. model.refresh();
  574. } else {
  575. checkbox4.item(checkbox4.focusIndex).attribute("font-weight") = "normal";
  576. checkbox13.disabled = true;
  577. model.setValue ( "/root/main/prcp/prcplist/portprcpflag", "N" );
  578. model.refresh();
  579. }
  580. ]]>
  581. </script>
  582. </select>
  583. <line id="line15" class="line_2" style="x1:2px; y1:43px; x2:410px; y2:43px; "/>
  584. <select id="checkbox5" ref="/root/chkflag/prcpdelivefact" overflow="visible" appearance="full" style="left:7px; top:74px; width:68px; height:25px; 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/prcpdelivefact" ) == "Y" ) {
  594. checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "bold";
  595. textarea1.disabled = false;
  596. button4.disabled = false;
  597. model.refresh();
  598. } else {
  599. checkbox5.item(checkbox5.focusIndex).attribute("font-weight") = "normal";
  600. textarea1.disabled = true;
  601. button4.disabled = true;
  602. model.refresh();
  603. }
  604. ]]>
  605. </script>
  606. </select>
  607. <select id="checkbox7" ref="/root/chkflag/clincstdyflag" overflow="visible" appearance="full" style="left:212px; top:172px; width:100px; height:20px; border-style:none; ">
  608. <choices>
  609. <item>
  610. <label>임상연구</label>
  611. <value>Y</value>
  612. </item>
  613. </choices>
  614. <script type="javascript" ev:event="xforms-value-changed">
  615. <![CDATA[
  616. if( bool2.value == "Y" ){
  617. messageBox ( "임상연구는 기왕증과 동시에 선택 할 수", "I004" );
  618. model.setValue ( "/root/chkflag/clincstdyflag" , "");
  619. model.refresh();
  620. return;
  621. }
  622. if ( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ) {
  623. if ( fSubcretnoSet("1", null) == -1 ) {
  624. model.setValue ( "/root/chkflag/clincstdyflag" , "N");
  625. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
  626. checkbox15.disabled = true;
  627. checkbox7.disabled = true;
  628. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "N" );
  629. model.refresh();
  630. return;
  631. }
  632. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "bold";
  633. checkbox15.disabled = false;
  634. checkbox7.disabled = false;
  635. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "Y" );
  636. model.refresh();
  637. } else {
  638. fSubcretnoSet("1", null);
  639. checkbox7.item(checkbox7.focusIndex).attribute("font-weight") = "normal";
  640. checkbox15.disabled = true;
  641. model.setValue ( "/root/main/prcp/prcplist/clincstdyflag", "N" );
  642. model.refresh();
  643. }
  644. ]]>
  645. </script>
  646. </select>
  647. <line id="line1" class="line_2" style="x1:2px; y1:193px; x2:410px; y2:193px; "/>
  648. <select1 id="combo1" ref="/root/main/prcp/prcplist/payflagcd" class="combo_default" appearance="minimal" style="left:310px; top:21px; width:100px; height:19px; ">
  649. <choices>
  650. <itemset nodeset="/root/init/payflagcd/M0029">
  651. <label ref="cdnm"/>
  652. <value ref="cdid"/>
  653. </itemset>
  654. </choices>
  655. </select1>
  656. <select id="checkbox8" ref="/root/chkflag/payflagcd" overflow="visible" appearance="full" style="left:212px; top:23px; width:100px; height:20px; border-style:none; ">
  657. <choices>
  658. <item>
  659. <label>급여</label>
  660. <value>Y</value>
  661. </item>
  662. </choices>
  663. <script type="javascript" ev:event="xforms-value-changed">
  664. <![CDATA[
  665. if ( model.getValue ( "/root/chkflag/payflagcd" ) == "Y" ) {
  666. checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "bold";
  667. combo1.disabled = false;
  668. model.refresh();
  669. } else {
  670. checkbox8.item(checkbox8.focusIndex).attribute("font-weight") = "normal";
  671. combo1.disabled = true;
  672. model.refresh();
  673. }
  674. ]]>
  675. </script>
  676. </select>
  677. <line id="line2" class="line_2" style="x1:2px; y1:69px; x2:410px; y2:69px; "/>
  678. <line id="line3" class="line_2" style="x1:2px; y1:167px; x2:409px; y2:167px; "/>
  679. <textarea id="textarea1" ref="/root/main/prcp/prcplist/prcpdelivefact" style="left:103px; top:71px; width:307px; height:49px; "/>
  680. <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; "/>
  681. <line id="line7" class="line_1" style="x1:2px; y1:14px; x2:410px; y2:14px; "/>
  682. <caption id="caption9" class="cell_1" style="left:207px; top:220px; width:100px; height:23px; "/>
  683. <select id="checkbox9" ref="/root/chkflag/prcphopedd" overflow="visible" appearance="full" style="left:212px; top:224px; width:100px; height:20px; border-style:none; ">
  684. <choices>
  685. <item>
  686. <label>치료희망일</label>
  687. <value>Y</value>
  688. </item>
  689. </choices>
  690. <script type="javascript" ev:event="xforms-value-changed">
  691. <![CDATA[
  692. if ( model.getValue ( "/root/chkflag/prcphopedd" ) == "Y" ) {
  693. checkbox9.item(checkbox9.focusIndex).attribute("font-weight") = "bold";
  694. input3.disabled = false;
  695. model.refresh();
  696. } else {
  697. checkbox9.item(checkbox9.focusIndex).attribute("font-weight") = "normal";
  698. input3.disabled = true;
  699. model.refresh();
  700. }
  701. ]]>
  702. </script>
  703. </select>
  704. <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; ">
  705. <choices>
  706. <item>
  707. <label>응급</label>
  708. <value>Y</value>
  709. </item>
  710. </choices>
  711. </select>
  712. <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; ">
  713. <choices>
  714. <item>
  715. <label>PRN</label>
  716. <value>Y</value>
  717. </item>
  718. </choices>
  719. </select>
  720. <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; ">
  721. <choices>
  722. <item>
  723. <label>응급판독</label>
  724. <value>Y</value>
  725. </item>
  726. </choices>
  727. </select>
  728. <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; ">
  729. <choices>
  730. <item>
  731. <label>portable</label>
  732. <value>Y</value>
  733. </item>
  734. </choices>
  735. </select>
  736. <select id="checkbox15" ref="/root/main/prcp/prcplist/clincstdyflag" overflow="visible" appearance="full" style="left:309px; top:171px; width:100px; height:20px; border-style:none; ">
  737. <choices>
  738. <item>
  739. <label>임상연구</label>
  740. <value>Y</value>
  741. </item>
  742. </choices>
  743. </select>
  744. <caption id="caption10" class="cell_1" style="left:2px; top:245px; width:100px; height:26px; "/>
  745. <select id="checkbox16" ref="/root/chkflag/clinccmtcnts" overflow="visible" appearance="full" style="left:7px; top:248px; width:73px; height:25px; border-style:none; ">
  746. <choices>
  747. <item>
  748. <label>임상소견</label>
  749. <value>Y</value>
  750. </item>
  751. </choices>
  752. <script type="javascript" ev:event="xforms-value-changed">
  753. <![CDATA[
  754. if ( model.getValue ( "/root/chkflag/clinccmtcnts" ) == "Y" ) {
  755. checkbox16.item(checkbox16.focusIndex).attribute("font-weight") = "bold";
  756. textarea2.disabled = false;
  757. model.refresh();
  758. } else {
  759. checkbox16.item(checkbox16.focusIndex).attribute("font-weight") = "normal";
  760. textarea2.disabled = true;
  761. model.refresh();
  762. }
  763. ]]>
  764. </script>
  765. <script type="javascript" ev:event="xforms-select">
  766. <![CDATA[
  767. setParameter ( "SPMMB02200_cond2", "2" );
  768. fPrcpModal ( "SPMMB02200", 50, 50 );
  769. model.setValue ( "/root/main/prcp/prcplist/clinccmtcnts", getParameter ( "SPMMB02200_clinccmt" ));
  770. model.refresh();
  771. ]]>
  772. </script>
  773. </select>
  774. <textarea id="textarea2" ref="/root/main/prcp/prcplist/clinccmtcnts" style="left:103px; top:245px; width:307px; height:26px; "/>
  775. <line id="line4" class="line_3" style="x1:2px; y1:273px; x2:409px; y2:273px; "/>
  776. <caption id="caption18" class="tit_2" style="left:5px; top:0px; width:121px; height:14px; ">공통</caption>
  777. <caption id="caption11" class="tit_2" style="left:5px; top:125px; width:121px; height:13px; ">RT</caption>
  778. <line id="line5" class="line_1" style="x1:2px; y1:139px; x2:410px; y2:139px; "/>
  779. <line id="line8" class="line_2" style="x1:2px; y1:122px; x2:410px; y2:122px; "/>
  780. <select id="checkbox18" ref="/root/chkflag/prcpexecdeptcd" overflow="visible" appearance="full" style="left:5px; top:197px; width:100px; height:20px; border-style:none; ">
  781. <choices>
  782. <item>
  783. <label>시행부서</label>
  784. <value>Y</value>
  785. </item>
  786. </choices>
  787. <script type="javascript" ev:event="xforms-value-changed">
  788. <![CDATA[
  789. if ( model.getValue ( "/root/chkflag/prcpexecdeptcd" ) == "Y" ) {
  790. checkbox18.item(checkbox18.focusIndex).attribute("font-weight") = "bold";
  791. combo2.disabled = false;
  792. btn_srchexecdept.disabled = false;
  793. model.refresh();
  794. } else {
  795. checkbox18.item(checkbox18.focusIndex).attribute("font-weight") = "normal";
  796. combo2.disabled = true;
  797. btn_srchexecdept.disabled = true;
  798. model.refresh();
  799. }
  800. ]]>
  801. </script>
  802. </select>
  803. <select1 id="combo2" ref="/root/main/prcp/prcplist/prcpexecdeptcd" class="combo_default" appearance="minimal" itemcount="30" style="left:102px; top:196px; width:100px; height:19px; ">
  804. <choices>
  805. <itemset nodeset="/root/orddept/dept">
  806. <label ref="depthngnm"/>
  807. <value ref="deptcd"/>
  808. </itemset>
  809. </choices>
  810. </select1>
  811. <line id="line9" class="line_2" style="x1:2px; y1:219px; x2:410px; y2:219px; "/>
  812. <button id="button4" class="icon_search" style="left:80px; top:76px; width:16px; height:16px; ">
  813. <caption/>
  814. <script type="javascript" ev:event="DOMActivate">
  815. <![CDATA[
  816. setParameter ( "SPMMB02200_cond2", "3" );
  817. fPrcpModal ( "SPMMB02200", 50, 50 );
  818. model.setValue ( "/root/main/prcp/prcplist/prcpdelivefact", getParameter ( "SPMMB02200_clinccmt" ));
  819. model.refresh();
  820. ]]>
  821. </script>
  822. </button>
  823. <bool id="bool1" checkvalue="Y,N" ref="/root/main/cond/rsrvflag" style="left:206px; top:196px; width:25px; height:20px; ">
  824. <script type="javascript" ev:event="xforms-value-changed">
  825. <![CDATA[
  826. if(input3.disabled == false){
  827. var rsrvflag = model.getValue("/root/main/cond/rsrvflag");
  828. if(rsrvflag == "Y"){
  829. model.setValue("/root/main/prcp/prcplist/prcphopedd", "99991231");
  830. }else if(rsrvflag == "N"){
  831. model.setValue("/root/main/prcp/prcplist/prcphopedd", "");
  832. }
  833. }else{
  834. model.setValue("/root/main/cond/rsrvflag", "N");
  835. }
  836. model.refresh();
  837. ]]>
  838. </script>
  839. </bool>
  840. <caption id="caption15" style="left:229px; top:197px; width:27px; height:20px; ">예약</caption>
  841. <button id="btn_srchexecdept" class="icon_search" disabled="true" style="left:80px; top:197px; width:16px; height:16px; ">
  842. <caption/>
  843. <script type="javascript" ev:event="DOMActivate">
  844. <![CDATA[
  845. modal("SPMMB02500");
  846. ]]>
  847. </script>
  848. </button>
  849. <bool id="bool2" checkvalue="Y,N" ref="/root/chkflag/anamneflag" style="left:263px; top:195px; width:25px; height:20px; ">
  850. <script type="javascript" ev:event="xforms-value-changed">
  851. <![CDATA[
  852. if( model.getValue ( "/root/chkflag/clincstdyflag" ) == "Y" ){
  853. messageBox ( "기왕증은 임상연구와 동시에 선택 할 수", "I004" );
  854. bool2.value = "N";
  855. return;
  856. }
  857. if(bool2.value == "Y"){
  858. var prcpgenrflag = opener.model.getValue("/root/patflag/list/prcpgenrflag");
  859. var pid = opener.model.getValue("/root/paminfo/list/pid");
  860. var indd = opener.model.getValue("/root/paminfo/list/indd");
  861. if(prcpgenrflag == "I" || prcpgenrflag == "D" || prcpgenrflag == "E"){
  862. var subcretno = fGetSubcretno(pid, indd, "anamneflag");
  863. model.setValue("/root/main/prcp/prcplist/subcretno", subcretno);
  864. if(subcretno == "0"){
  865. messageBox ( "환자의 부유형이 없거나 또는 선택되지 않았습니다.", "I999" );
  866. bool2.value = "N";
  867. }
  868. } else {
  869. messageBox ( "외래 환자는 기왕증을 선택 할 수", "I004" );
  870. bool2.value = "N";
  871. }
  872. }else{ //기왕증이 N로 처리된 경우에는 subcretno 0로 처리
  873. model.setValue("/root/main/prcp/prcplist/subcretno", "0");
  874. }
  875. ]]>
  876. </script>
  877. </bool>
  878. <caption id="caption23" style="left:285px; top:196px; width:50px; height:20px; ">기왕증</caption>
  879. <select id="checkbox6" ref="/root/main/prcp/prcplist/drprcpetc12" overflow="visible" appearance="full" style="left:105px; top:222px; width:100px; height:20px; border-style:none; ">
  880. <choices>
  881. <item>
  882. <label>F/U</label>
  883. <value>Y</value>
  884. </item>
  885. </choices>
  886. </select>
  887. <select id="checkbox14" ref="/root/chkflag/drprcpetc12" overflow="visible" appearance="full" style="left:7px; top:223px; width:100px; height:20px; border-style:none; ">
  888. <choices>
  889. <item>
  890. <label>F/U</label>
  891. <value>Y</value>
  892. </item>
  893. </choices>
  894. <script type="javascript" ev:event="xforms-value-changed">
  895. <![CDATA[
  896. if ( model.getValue ( "/root/chkflag/drprcpetc12" ) == "Y" ) {
  897. checkbox14.item(checkbox14.focusIndex).attribute("font-weight") = "bold";
  898. checkbox6.disabled = false;
  899. model.setValue ( "/root/main/prcp/prcplist/drprcpetc12", "Y" );
  900. model.setValue ( "/root/chkflag/prcphopedd", "Y" ); // 검사 희망일
  901. input3.disabled = false;
  902. model.refresh();
  903. } else {
  904. checkbox14.item(checkbox14.focusIndex).attribute("font-weight") = "normal";
  905. checkbox6.disabled = true;
  906. model.setValue ( "/root/main/prcp/prcplist/drprcpetc12", "N" );
  907. model.refresh();
  908. }
  909. ]]>
  910. </script>
  911. </select>
  912. </xhtml:body>
  913. </xhtml:html>