SPMMO13000_일괄입력병리.xrw 34 KB

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