SMADC00200_ACS자문업무.xrw 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414
  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>ACS 자문회신등록</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <patinfo>
  11. <patlist>
  12. <chosflagnm/>
  13. <hngnm/>
  14. <pid/>
  15. <chosflag/>
  16. <orddd/>
  17. <cretno/>
  18. <reqdd/>
  19. <formrecseq/>
  20. </patlist>
  21. </patinfo>
  22. <cnstinfo>
  23. <cnstlist>
  24. <pid/>
  25. <rgstseqno/>
  26. <formrecseq/>
  27. <cnstdd/>
  28. <bcolldt/>
  29. <inr/>
  30. <bftwd/>
  31. <recmtwd/>
  32. <updttwd/>
  33. <cnstspcffact/>
  34. <instcd/>
  35. <statflag/>
  36. <rsrvdd/>
  37. <repldd/>
  38. <cnstdeptcd/>
  39. <cnstdeptnm/>
  40. <cnstdrid/>
  41. <cnstdrnm/>
  42. <trgtinr/>
  43. <trgtinretc/>
  44. <tmedtodd/>
  45. <tmedterm/>
  46. <repltm/>
  47. <valvkind/>
  48. <patprofile/>
  49. <wafrntmed/>
  50. <drugitac/>
  51. <funtfood/>
  52. <bleddngrresn/>
  53. <cnstcnts/>
  54. <cnsttrgt/>
  55. <majrcnstcnts/>
  56. <drink/>
  57. <drinkdetl/>
  58. <bled/>
  59. <bleddetl/>
  60. <tmedadapt/>
  61. <anotmed/>
  62. <anotmeddetl/>
  63. <cnstintlbly/>
  64. <recmvol/>
  65. <recmvolrem/>
  66. <remark/>
  67. <cnstpharmstid/>
  68. <cnstpharmstnm/>
  69. <statflagnm/>
  70. <repldt/>
  71. <chosflag/>
  72. <orddd/>
  73. <cretno/>
  74. </cnstlist>
  75. <patdetlinfo>
  76. <pid/>
  77. <hngnm/>
  78. <orddeptnm/>
  79. <medispclnm/>
  80. <wardcd/>
  81. <indd/>
  82. <sex/>
  83. <age/>
  84. <weight/>
  85. <height/>
  86. <wardnm/>
  87. </patdetlinfo>
  88. <diaglist>
  89. <diagcd/>
  90. <diagnm/>
  91. </diaglist>
  92. </cnstinfo>
  93. <detlinfo>
  94. <cnstdetlinfo>
  95. <m/>
  96. <formrecseq/>
  97. <rgstseqno/>
  98. <instcd/>
  99. <pid/>
  100. <cnstdd/>
  101. <statflag/>
  102. <rsrvdd/>
  103. <repldd/>
  104. <cnstdeptcd/>
  105. <cnstdeptnm/>
  106. <cnstdrid/>
  107. <cnstdrnm/>
  108. <trgtinr/>
  109. <trgtinretc/>
  110. <inr/>
  111. <bcolldt/>
  112. <bftwd/>
  113. <recmtwd/>
  114. <updttwd/>
  115. <tmedtodd/>
  116. <tmedterm/>
  117. <repltm/>
  118. <valvkind/>
  119. <patprofile/>
  120. <wafrntmed/>
  121. <drugitac/>
  122. <funtfood/>
  123. <bleddngrresn/>
  124. <cnstcnts/>
  125. <cnstspcffact/>
  126. <cnsttrgt/>
  127. <majrcnstcnts/>
  128. <drink/>
  129. <drinkdetl/>
  130. <bled/>
  131. <bleddetl/>
  132. <tmedadapt/>
  133. <anotmed/>
  134. <anotmeddetl/>
  135. <cnstintlbly/>
  136. <recmvol/>
  137. <recmvolrem/>
  138. <remark/>
  139. <cnstpharmstid/>
  140. <cnstpharmstnm/>
  141. <statflagnm/>
  142. <repldt/>
  143. <omissiontims/>
  144. <omissionresn/>
  145. <bfvol/>
  146. <updtvol/>
  147. </cnstdetlinfo>
  148. <cnstdetlinfo2>
  149. <cnstseqno/>
  150. <rgstseqno/>
  151. <trgtinr/>
  152. <trgtinretc/>
  153. </cnstdetlinfo2>
  154. </detlinfo>
  155. </main>
  156. <send>
  157. <req>
  158. <data/>
  159. </req>
  160. <srchinfo1>
  161. <srchformcd>0000000964</srchformcd>
  162. <srchexclreplyn/>
  163. <srchchosflag>I</srchchosflag>
  164. <srchreqdeptcd/>
  165. <srchrequserid/>
  166. <srchpid/>
  167. <srchreqfromdd/>
  168. <srchreqtodd/>
  169. <srchallref/>
  170. </srchinfo1>
  171. <srchinfo2>
  172. <srchpid/>
  173. <formrecseq/>
  174. <cnstdd/>
  175. <rgstseqno/>
  176. <srchgenrflagcd/>
  177. <srchorddd/>
  178. <srchcretno/>
  179. </srchinfo2>
  180. <srchinfo3>
  181. <srchpid/>
  182. <srchorddd/>
  183. <srchcretno/>
  184. <srchgenrflagcd/>
  185. <rgstseqno/>
  186. <cnstdd/>
  187. <formrecseq/>
  188. </srchinfo3>
  189. </send>
  190. <init>
  191. <orddept/>
  192. <userlist/>
  193. <baseinfo>
  194. <initpharmacy/>
  195. </baseinfo>
  196. <allselect/>
  197. <cmblist>
  198. <jciyn/>
  199. </cmblist>
  200. </init>
  201. <hidden>
  202. <ret>
  203. <rgstseqno/>
  204. </ret>
  205. </hidden>
  206. <temp>
  207. <receivedata/>
  208. <cnstinfo/>
  209. <replform>
  210. <replcnts/>
  211. <sel/>
  212. </replform>
  213. <adbmcode>
  214. <cdgrupid>
  215. <label/>
  216. <value/>
  217. </cdgrupid>
  218. </adbmcode>
  219. </temp>
  220. </root>
  221. </instance>
  222. <script type="javascript" ev:event="xforms-ready">
  223. <![CDATA[
  224. // pharmacyGetCodeList( new Array("P040"), new Array("/root/init/baseinfo/initpharmacy") ); // 판막종류
  225. // submit ("TRADB00001");
  226. pharmacyGetCodeList( new Array("JCI1"), new Array("/root/init/cmblist/jciyn") );
  227. zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "D", "/root/init/orddept"); //부서코드 콤보조회
  228. if ( model.instances(0).selectSingleNode("/root/init/orddept/dept") != null) {
  229. astfAddCombo("/root/init/orddept","dept","deptcd,depthngnm",",전체");
  230. }
  231. //zbcfGetDeptCodeList(getUserInfo("dutplceinstcd"), "orduseyn", "D", "/root/init/orddept"); //부서코드 콤보조회
  232. //astfAddCombo("/root/init/orddept", "dept", "deptcd,depthngnm", "-,전체"); //진료과콤보 전체항목 추가
  233. model.setValue("/root/send/srchinfo1/srchreqfromdd", getCurrentDate());
  234. model.setValue("/root/send/srchinfo1/srchreqtodd", getCurrentDate());
  235. fResetForm();
  236. model.refresh();
  237. var formrecseq = model.getValue("/root/temp/cnstinfo/formrecseq");
  238. var pid = model.getValue("/root/temp/cnstinfo/pid");
  239. var cretno = model.getValue("/root/temp/cnstinfo/cretno");
  240. var orddd = model.getValue("/root/temp/cnstinfo/orddd");
  241. var prcpgenrflag = model.getValue("/root/temp/cnstinfo/prcpgenrflag");
  242. var rgstseqno= model.getValue("/root/temp/cnstinfo/rgstseqno");
  243. var cnstdd= model.getValue("/root/temp/cnstinfo/cnstdd");
  244. if ( pid != "") {
  245. model.setValue("/root/send/srchinfo3/formrecseq", formrecseq);
  246. model.setValue("/root/send/srchinfo3/srchpid", pid);
  247. model.setValue("/root/send/srchinfo3/srchcretno", cretno);
  248. model.setValue("/root/send/srchinfo3/srchorddd", orddd);
  249. model.setValue("/root/send/srchinfo3/srchgenrflagcd", prcpgenrflag);
  250. model.setValue("/root/send/srchinfo3/rgstseqno", rgstseqno);
  251. model.setValue("/root/send/srchinfo3/cnstdd", cnstdd);
  252. model.refresh();
  253. //환자정보,상병정보,상담리스트 조회
  254. var success = submit("TRADC00203");
  255. model.setValue("/root/send/srchinfo2/formrecseq", formrecseq);
  256. model.setValue("/root/send/srchinfo2/srchpid", pid);
  257. model.setValue("/root/send/srchinfo2/rgstseqno", rgstseqno);
  258. model.setValue("/root/send/srchinfo2/cnstdd", cnstdd);
  259. model.setValue("/root/send/srchinfo2/srchcretno", cretno);
  260. model.setValue("/root/send/srchinfo2/srchorddd", orddd);
  261. model.setValue("/root/send/srchinfo2/srchgenrflagcd", prcpgenrflag);
  262. model.refresh();
  263. //상담건별 상세내역 조회
  264. var success = submit("TRADC00201");
  265. if(success) {
  266. model.makeNode("/root/main/cnstinfo/patdetlinfo");
  267. model.copyNode("/root/main/cnstinfo/patdetlinfo", "/root/main/detlinfo/patdetlinfo");
  268. model.makeNode("/root/main/cnstinfo/diaglist");
  269. model.copyNode("/root/main/cnstinfo/diaglist", "/root/main/detlinfo/diaglist");
  270. }
  271. //조회된 정보를 리스트에서 선택.
  272. var iRowNo = grd_acslist.findRow(formrecseq, 0, grd_acslist.colRef("formrecseq"), true, true);
  273. if(iRowNo > -1) {
  274. grd_acslist.row = iRowNo;
  275. }
  276. fTrgtINR(); //2008-12-17 회신이 아닌경우는 trgtinr / trgtinretc 조회가 안되는 현상이 있음 (ast.adchcnstinfo의 데이타 가져옴)
  277. if (success == false) {
  278. fResetForm();
  279. }
  280. fBtnDisabled(); //회신상태에 따라 버튼 활성화 처리
  281. //---------------(20091024)
  282. // var sjobkindcd = getUserInfo("jobkindcd");
  283. // //직종이 약사인경우만
  284. // //alert( sjobkindcd.substr(0,2) ) ;
  285. //
  286. // if ( sjobkindcd.substr(0,2) != "12" ) {
  287. // btn_save.disabled = true ; //저장
  288. // btn_repl.disabled = true ; //회신
  289. // btn_del.disabled = true ; //삭제
  290. // }
  291. //---------------(20091024)
  292. }
  293. if(model.getValue("/root/temp/cnstinfo/btnreplflag") == "Y") {
  294. // 20100118_laboru_회신완료 상태일때 회신버튼 비활성화 위해서
  295. btn_repl.disabled = true;
  296. }
  297. if(model.getValue("/root/temp/cnstinfo/pidchkflag") == "Y") {
  298. // 20100119_laboru_약사 이외의 사용자인 경우
  299. btn_save.disabled = true;
  300. btn_repl.disabled = true;
  301. btn_del.disabled = true;
  302. }
  303. ]]>
  304. </script>
  305. <script type="javascript">
  306. <![CDATA[
  307. function fSumUpdtVol() {
  308. var sFvol = model.getValue("/root/main/detlinfo/cnstdetlinfo/recmtwd");
  309. var sSvol = model.getValue("/root/main/detlinfo/cnstdetlinfo/updtvol");
  310. if(sFvol == "" && sSvol == "") {
  311. model.setValue("/root/main/detlinfo/cnstdetlinfo/updttwd", "");
  312. } else if (sFvol != "" && sSvol == "") {
  313. model.setValue("/root/main/detlinfo/cnstdetlinfo/updttwd", sFvol);
  314. } else if (sFvol == "" && sSvol != "") {
  315. model.setValue("/root/main/detlinfo/cnstdetlinfo/updttwd", sSvol);
  316. } else {
  317. model.setValue("/root/main/detlinfo/cnstdetlinfo/updttwd", parseFloat(sFvol) + parseFloat(sSvol));
  318. }
  319. ipt_updttwd.refresh();
  320. }
  321. //회신상태에 따라 버튼 활성화 처리
  322. function fBtnDisabled() {
  323. if (model.getValue("/root/main/detlinfo/cnstdetlinfo/statflag") == "Z" ) {
  324. btn_save.disabled = true;
  325. btn_repl.disabled = true;
  326. btn_del.disabled = true;
  327. } else {
  328. btn_save.disabled = false;
  329. btn_repl.disabled = false;
  330. btn_del.disabled = false;
  331. }
  332. }
  333. //2008-12-17 회신이 아닌경우는 trgtinr / trgtinretc 조회가 안되는 현상이 있음 (ast.adchcnstinfo의 데이타 가져옴)
  334. function fTrgtINR() {
  335. var trgtinr = model.getValue("/root/main/detlinfo/cnstdetlinfo/trgtinr"); //trgtinr
  336. var trgtinrinfo = model.getValue("/root/main/detlinfo/cnstdetlinfo2/trgtinr") ; //trgtinr
  337. var trgtinretc = model.getValue("/root/main/detlinfo/cnstdetlinfo/trgtinretc"); //trgtinretc
  338. var trgtinretcinfo = model.getValue("/root/main/detlinfo/cnstdetlinfo2/trgtinretc"); //trgtinretc
  339. if ((trgtinr != "") && (trgtinrinfo =="" )){
  340. model.setValue("/root/main/detlinfo/cnstdetlinfo2/trgtinr",trgtinr);
  341. }
  342. if ((trgtinretc != "") && (trgtinretcinfo =="" )){
  343. model.setValue("/root/main/detlinfo/cnstdetlinfo2/trgtinretc",trgtinretc);
  344. }
  345. model.refresh();
  346. }
  347. ]]>
  348. </script>
  349. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  350. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  351. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  352. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  353. <script type="javascript" src="../../../com/userdeptinfoweb/js/ZSU001.js"/>
  354. <script type="javascript" src="../../../com/departmentcodeweb/js/ZSD001.js"/>
  355. <script type="javascript" src="../../../ast/commonweb/js/AST.js"/>
  356. <script type="javascript" src="../../../ast/pharmacyconsultweb/js/SPADC62200.js"/>
  357. <script type="javascript" src="../../../ast/pharmacybaseweb/js/healcombolist.js"/>
  358. <script type="javascript" src="../../../ast/pharmacybaseweb/js/pharmacycombolist.js"/>
  359. <submission id="TRADC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo2" replace="instance" resultref="/root/main/detlinfo"/>
  360. <submission id="TXADC00201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/req/data" replace="instance" resultref="/root/hidden"/>
  361. <submission id="TRADC00202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo1" replace="instance" resultref="/root/main/patinfo"/>
  362. <submission id="TRADC00203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchinfo3" replace="instance" resultref="/root/main/cnstinfo"/>
  363. <submission id="TRZSD00109" mediatype="application/x-www-form-urlencoded" method="post"/>
  364. <submission id="TRZSU10105" mediatype="application/x-www-form-urlencoded" method="post"/>
  365. <submission id="TRADB00001" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/temp/adbmcode/cdgrupid"/>
  366. <submission id="TRADC02104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/orddrinfo" replace="instance" resultref="/root/init/orddrlist"/>
  367. </model>
  368. <script type="javascript">
  369. <![CDATA[
  370. function fResetForm() {
  371. model.resetInstanceNode("/root/main/detlinfo");
  372. // model.setValue("/root/main/detlinfo/cnstdetlinfo/pid" ,"");
  373. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstdd" ,"");
  374. // model.setValue("/root/main/detlinfo/cnstdetlinfo/instcd" ,"");
  375. // model.setValue("/root/main/detlinfo/cnstdetlinfo/statflag" ,"");
  376. // model.setValue("/root/main/detlinfo/cnstdetlinfo/rsrvdd" ,"");
  377. // model.setValue("/root/main/detlinfo/cnstdetlinfo/repldd" ,"");
  378. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstdeptcd" ,"");
  379. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstdeptnm" ,"");
  380. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstdrid" ,"");
  381. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstdrnm" ,"");
  382. // model.setValue("/root/main/detlinfo/cnstdetlinfo/trgtinr" ,"");
  383. // model.setValue("/root/main/detlinfo/cnstdetlinfo/trgtinretc" ,"");
  384. // model.setValue("/root/main/detlinfo/cnstdetlinfo/inr" ,"");
  385. // model.setValue("/root/main/detlinfo/cnstdetlinfo/bcolldt" ,"");
  386. // model.setValue("/root/main/detlinfo/cnstdetlinfo/bftwd" ,"");
  387. // model.setValue("/root/main/detlinfo/cnstdetlinfo/recmtwd" ,"");
  388. // model.setValue("/root/main/detlinfo/cnstdetlinfo/updttwd" ,"");
  389. // model.setValue("/root/main/detlinfo/cnstdetlinfo/tmedtodd" ,"");
  390. // model.setValue("/root/main/detlinfo/cnstdetlinfo/tmedterm" ,"");
  391. // model.setValue("/root/main/detlinfo/cnstdetlinfo/repltm" ,"");
  392. // model.setValue("/root/main/detlinfo/cnstdetlinfo/valvkind" ,"");
  393. // model.setValue("/root/main/detlinfo/cnstdetlinfo/patprofile" ,"");
  394. // model.setValue("/root/main/detlinfo/cnstdetlinfo/wafrntmed" ,"");
  395. // model.setValue("/root/main/detlinfo/cnstdetlinfo/drugitac" ,"");
  396. // model.setValue("/root/main/detlinfo/cnstdetlinfo/funtfood" ,"");
  397. // model.setValue("/root/main/detlinfo/cnstdetlinfo/bleddngrresn" ,"");
  398. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstcnts" ,"");
  399. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstspcffact" ,"");
  400. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnsttrgt" ,"");
  401. // model.setValue("/root/main/detlinfo/cnstdetlinfo/majrcnstcnts" ,"");
  402. // model.setValue("/root/main/detlinfo/cnstdetlinfo/drink" ,"");
  403. // model.setValue("/root/main/detlinfo/cnstdetlinfo/drinkdetl" ,"");
  404. // model.setValue("/root/main/detlinfo/cnstdetlinfo/bled" ,"");
  405. // model.setValue("/root/main/detlinfo/cnstdetlinfo/bleddetl" ,"");
  406. // model.setValue("/root/main/detlinfo/cnstdetlinfo/tmedadapt" ,"");
  407. // model.setValue("/root/main/detlinfo/cnstdetlinfo/anotmed" ,"");
  408. // model.setValue("/root/main/detlinfo/cnstdetlinfo/anotmeddetl" ,"");
  409. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstintlbly" ,"");
  410. // model.setValue("/root/main/detlinfo/cnstdetlinfo/recmvol" ,"");
  411. // model.setValue("/root/main/detlinfo/cnstdetlinfo/recmvolrem" ,"");
  412. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstpharmstid" ,"");
  413. // model.setValue("/root/main/detlinfo/cnstdetlinfo/remark" ,"");
  414. // model.setValue("/root/main/detlinfo/cnstdetlinfo/m" ,"");
  415. model.refresh();
  416. // 회신버튼 비활성화
  417. btn_repl.disabled = true;
  418. }
  419. function fValidateMainData(){
  420. var drugcd = model.getValue("/root/main/codedetlinfo/drugcd");
  421. var fromdd = model.getValue("/root/main/codedetlinfo/fromdd");
  422. var todd = model.getValue("/root/main/codedetlinfo/todd");
  423. var tpnflag = model.getValue("/root/main/codedetlinfo/tpnflag");
  424. var tpnkind = model.getValue("/root/main/codedetlinfo/tpnkind");
  425. var marketflag = model.getValue("/root/main/codedetlinfo/marketflag");
  426. if( drugcd == null || drugcd =="" ){
  427. messageBox("처방코드를" , "C001");
  428. model.setFocus("ipt_drugcd");
  429. return false;
  430. }
  431. if( fromdd == null || fromdd =="" ){
  432. messageBox("적용시작일" , "C001");
  433. model.setFocus("ipt_fromdd");
  434. return false;
  435. }
  436. if( todd == null || todd =="" ){
  437. messageBox("적용종료일" , "C001");
  438. model.setFocus("ipt_todd");
  439. return false;
  440. }
  441. if( tpnkind == null || tpnkind =="" ){
  442. messageBox("성인/소아구분을" , "C002");
  443. model.setFocus("cmb_tpnkind");
  444. return false;
  445. }
  446. if( marketflag == null || marketflag =="" ){
  447. messageBox("관리대장을" , "C002");
  448. model.setFocus("cmb_marketflag");
  449. return false;
  450. }
  451. if (tpnkind == "A") { // 성인일경우만 필수
  452. if( tpnflag == null || tpnflag =="" ){
  453. messageBox("TPN 구분을" , "C002");
  454. model.setFocus("cmb_tpnflag");
  455. return false;
  456. }
  457. }
  458. setZeroValue("/root/send/req/dexbfmixrate");
  459. setZeroValue("/root/send/req/dexbfmixvol");
  460. setZeroValue("/root/send/req/aminobfmixrate");
  461. setZeroValue("/root/send/req/aminobfmixvol");
  462. setZeroValue("/root/send/req/lipidbfmixrate");
  463. setZeroValue("/root/send/req/lipidbfmixvol");
  464. setZeroValue("/root/send/req/dexrate");
  465. setZeroValue("/root/send/req/dexvol");
  466. setZeroValue("/root/send/req/aminorate");
  467. setZeroValue("/root/send/req/aminovol");
  468. setZeroValue("/root/send/req/lipidrate");
  469. setZeroValue("/root/send/req/lipidvol");
  470. setZeroValue("/root/send/req/navol");
  471. setZeroValue("/root/send/req/kvol");
  472. setZeroValue("/root/send/req/clvol");
  473. setZeroValue("/root/send/req/phosphatevol");
  474. setZeroValue("/root/send/req/cavol");
  475. setZeroValue("/root/send/req/mgvol");
  476. setZeroValue("/root/send/req/heparinvol");
  477. setZeroValue("/root/send/req/multivitavol");
  478. setZeroValue("/root/send/req/traceelevol");
  479. setZeroValue("/root/send/req/npccalr");
  480. setZeroValue("/root/send/req/totcalr");
  481. setZeroValue("/root/send/req/dextotrate");
  482. setZeroValue("/root/send/req/prottotrate");
  483. setZeroValue("/root/send/req/lipidtotrate");
  484. setZeroValue("/root/send/req/npcncalr");
  485. return true;
  486. }
  487. function setZeroValue(path) {
  488. if (model.getValue(path) == "") {
  489. model.setValue(path,0);
  490. }
  491. }
  492. function fValidateDelData(){
  493. var pid = model.getValue("/root/main/detlinfo/cnstdetlinfo/pid");
  494. var cnstdd = model.getValue("/root/main/detlinfo/cnstdetlinfo/cnstdd");
  495. var statflag = model.getValue("/root/main/detlinfo/cnstdetlinfo/statflag" );
  496. if( pid == null || pid =="" || cnstdd ==null || cnstdd == ""){
  497. messageBox("삭제할 데이터를" , "C002");
  498. return false;
  499. }
  500. // 회신상태면 삭제 불가
  501. if (statflag == "Z") {
  502. messageBox( "회신된 자료는 삭제", "E001");
  503. return false;
  504. }
  505. return true;
  506. }
  507. ]]>
  508. </script>
  509. </xhtml:head>
  510. <xhtml:body guideline="1,1194;2,783;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  511. <group id="group4" scroll="auto" style="left:0px; top:12px; width:1195px; height:27px; ">
  512. <button id="button1" class="btn3_letter6" style="left:186px; top:5px; width:80px; height:22px; ">
  513. <caption>통합결과조회</caption>
  514. <script type="javascript" ev:event="DOMActivate">
  515. <![CDATA[
  516. modal("SMAER00800 ","","","","","/root/send/srchinfo3/srchpid","/root/send/data/singdata/srchpid");
  517. ]]>
  518. </script>
  519. </button>
  520. <button id="button2" class="btn3_letter6" style="left:291px; top:5px; width:104px; height:22px; ">
  521. <caption>투약기록조회</caption>
  522. <script type="javascript" ev:event="DOMActivate">
  523. <![CDATA[
  524. open("SMMNR04500");
  525. ]]>
  526. </script>
  527. </button>
  528. <button id="button6" class="btn3_letter4" style="left:396px; top:5px; width:80px; height:22px; ">
  529. <caption>약품편람</caption>
  530. <script type="javascript" ev:event="DOMActivate">
  531. <![CDATA[
  532. open("SMADB01900");
  533. ]]>
  534. </script>
  535. </button>
  536. <button id="button7" class="btn3_letter4" style="left:105px; top:5px; width:80px; height:22px; ">
  537. <caption>약력조회</caption>
  538. <script type="javascript" ev:event="DOMActivate">
  539. <![CDATA[
  540. open("SMADB10100",0,0,0,"SMADB10100","/root/send/srchinfo3/srchpid","/root/temp/patinfo/pid");
  541. ]]>
  542. </script>
  543. </button>
  544. <button id="button8" class="btn3_letter6" style="left:0px; top:5px; width:80px; height:22px; ">
  545. <caption>통합기록조회</caption>
  546. <script type="javascript" ev:event="DOMActivate">
  547. <![CDATA[
  548. setParameter("SMMRI00400_param_pid", model.getValue("/root/send/srchinfo3/srchpid"));
  549. open("SMMRI00400");
  550. ]]>
  551. </script>
  552. </button>
  553. <button id="btn_prt" class="btn6_letter2" style="left:477px; top:5px; width:56px; height:22px; ">
  554. <caption>출력</caption>
  555. <script type="javascript" ev:event="DOMActivate">
  556. <![CDATA[
  557. exeReportPreview("RPADC02104", "XMLSTR", "", "", "false","","","","","false");
  558. ]]>
  559. </script>
  560. </button>
  561. <button id="btn_save" class="btn4_letter2" style="left:1018px; top:5px; width:56px; height:22px; ">
  562. <caption>저장</caption>
  563. <script type="javascript" ev:event="DOMActivate">
  564. <![CDATA[
  565. var iRowNo = grd_acslist.row;
  566. if (model.getValue("/root/main/cnstinfo/patdetlinfo/pid") == "") {
  567. messageBox ("등록번호를 선택후 작업 하시기 바랍니다. 데이타를 저장","E001")
  568. return;
  569. }
  570. var row = grd_patlist.row;
  571. //var formrecseq = model.getValue("/root/main/detlinfo/cnstdetlinfo/formrecseq");
  572. var statflag = model.getValue("/root/main/detlinfo/cnstdetlinfo/statflag" );
  573. // 회신상태면 수정 불가
  574. if (statflag == "Z") {
  575. messageBox( "회신된 자료는 수정", "E001");
  576. return;
  577. }
  578. // 수정모드
  579. // model.setValue("/root/main/detlinfo/cnstdetlinfo/m", "i");
  580. // model.setValue("/root/main/detlinfo/cnstdetlinfo/pid", model.getValue("/root/main/cnstinfo/patdetlinfo/pid"));
  581. // model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstdd", model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/reqdd"));
  582. // model.setValue("/root/main/detlinfo/cnstdetlinfo/formrecseq", model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/formrecseq"));
  583. // model.setValue("/root/main/detlinfo/cnstdetlinfo/statflag", '1');
  584. model.setValue("/root/main/detlinfo/cnstdetlinfo/statflag", 'D');
  585. if ( model.getValue("/root/main/detlinfo/cnstdetlinfo/formrecseq") == "" ) {
  586. model.setValue("/root/main/detlinfo/cnstdetlinfo/pid", model.getValue("/root/send/srchinfo2/srchpid"));
  587. model.setValue("/root/main/detlinfo/cnstdetlinfo/formrecseq", model.getValue("/root/send/srchinfo2/formrecseq"));
  588. model.setValue("/root/main/detlinfo/cnstdetlinfo/cnstdd", model.getValue("/root/send/srchinfo2/cnstdd"));
  589. }
  590. model.makeValue("/root/main/detlinfo/cnstdetlinfo/cnstseqno", model.getValue("/root/main/detlinfo/cnstdetlinfo2/cnstseqno"));
  591. model.makeValue("/root/main/detlinfo/cnstdetlinfo/cnststat", "21"); //회신임시
  592. //2008-12-17 TargetlNR 추가
  593. model.setValue("/root/main/detlinfo/cnstdetlinfo/trgtinr", model.getValue("/root/main/detlinfo/cnstdetlinfo2/trgtinr")); //TargetlNR
  594. model.setValue("/root/main/detlinfo/cnstdetlinfo/trgtinretc", model.getValue("/root/main/detlinfo/cnstdetlinfo2/trgtinretc")); //TargetlNR - 기타내역
  595. model.copyNode("/root/send/req/data", "/root/main/detlinfo/cnstdetlinfo");
  596. if (submit("TXADC00201")) {
  597. if ( model.getValue("/root/send/srchinfo2/rgstseqno") == "" ) {
  598. model.setValue("/root/send/srchinfo2/rgstseqno", model.getValue("/root/hidden/ret/rgstseqno"));
  599. }
  600. submit("TRADC00203");
  601. submit("TRADC00201");
  602. fTrgtINR(); //2008-12-17 회신이 아닌경우는 trgtinr / trgtinretc 조회가 안되는 현상이 있음 (ast.adchcnstinfo의 데이타 가져옴)
  603. // btn_sea.dispatch("DOMActivate");
  604. grd_acslist.row = iRowNo;
  605. grd_acslist.dispatch("onclick");
  606. //fBtnDisabled(); //회신상태에 따라 버튼 활성화 처리
  607. }
  608. // if (success && btn_repl.disabled) {
  609. // btn_repl.disabled = false;
  610. //
  611. // grd_patlist.row= row;
  612. // grd_patlist.dispatch("onclick");
  613. // }
  614. ]]>
  615. </script>
  616. </button>
  617. <button id="btn_del" class="btn4_letter2" style="left:1136px; top:5px; width:56px; height:22px; ">
  618. <caption>삭제</caption>
  619. <script type="javascript" ev:event="DOMActivate">
  620. <![CDATA[
  621. var row = grd_patlist.row;
  622. var ret = fValidateDelData();
  623. if (ret == false) return;
  624. var result = messageBox( "해당 코드를 삭제", "S001");
  625. if( result==7 || result == 2 ) return;
  626. model.setValue("/root/main/detlinfo/cnstdetlinfo/m", "D"); //삭제flag
  627. model.copyNode("/root/send/req/data","/root/main/detlinfo/cnstdetlinfo");
  628. model.makeValue("/root/send/req/data/cnstseqno", model.getValue("/root/main/detlinfo/cnstdetlinfo2/cnstseqno"));
  629. if (submit("TXADC00201")) {
  630. if ( model.getValue("/root/send/srchinfo2/rgstseqno") == "" ) {
  631. model.setValue("/root/send/srchinfo2/rgstseqno", model.getValue("/root/hidden/ret/rgstseqno"));
  632. }
  633. submit("TRADC00203");
  634. submit("TRADC00201");
  635. fTrgtINR(); //2008-12-17 회신이 아닌경우는 trgtinr / trgtinretc 조회가 안되는 현상이 있음 (ast.adchcnstinfo의 데이타 가져옴)
  636. fBtnDisabled(); //회신상태에 따라 버튼 활성화 처리
  637. }
  638. // if (success) {
  639. // fResetForm();
  640. // grd_patlist.row= row;
  641. // grd_patlist.dispatch("onclick");
  642. // }
  643. //submit("TRADC00201");
  644. //btn_sea.dispatch("DOMActivate");
  645. ]]>
  646. </script>
  647. </button>
  648. <button id="btn_repl" class="btn4_letter2" style="left:1077px; top:5px; width:56px; height:22px; ">
  649. <caption>회신</caption>
  650. <script type="javascript" ev:event="DOMActivate">
  651. <![CDATA[
  652. btn_save.dispatch("DOMActivate");
  653. var sTemp ="";
  654. var sCPPb ="";
  655. var sCPGoal ="";
  656. var formrecseq = model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/formrecseq" );
  657. var statflag = model.getValue("/root/main/detlinfo/cnstdetlinfo/statflag" );
  658. if (statflag == "Z") {
  659. messageBox( "이미 회신", "I002");
  660. return;
  661. }
  662. // 회신내용 작성
  663. var title = "\n\t\t\t\t\t [ 항응고약물상담 (ACS) 회신서 ]\n" ;
  664. sTemp = "";
  665. if(sTemp != "") sTemp += "\n";
  666. title += sTemp;
  667. sTemp = "";
  668. title += sTemp;
  669. if(chk_cnsttrgt.label != "") {
  670. if(sTemp != "") {
  671. //sTemp += "\n\t- 상담대상 : " + chk_cnsttrgt.label;
  672. } else {
  673. //sTemp = "\n* 상담내용";
  674. sTemp += "\n\t1. 상담대상 : " + chk_cnsttrgt.label;
  675. }
  676. }
  677. if(sTemp != "") sTemp += "\n";
  678. title += sTemp;
  679. sTemp = "";
  680. if(chk_majrcnstcnts.label != "") {
  681. if(sTemp != "") {
  682. sTemp += "\n\t2. 주요상담내용 : " + chk_majrcnstcnts.label;
  683. } else {
  684. sTemp += "\n\t2. 주요상담내용 : " + chk_majrcnstcnts.label;
  685. }
  686. }
  687. if(sTemp != "") sTemp += "\n";
  688. title += sTemp;
  689. sTemp = "";
  690. if(rdo_drink.label != "") {
  691. //sTemp = "\n* INR 변동요인";
  692. sTemp += "\n\t3. 과음여부 : " + rdo_drink.label + "(" +ipt_drinkdetl.label+")";
  693. }
  694. if(sTemp != "") sTemp += "\n";
  695. title += sTemp;
  696. sTemp = "";
  697. if(rdo_drink.label != "") {
  698. if(sTemp != "") {
  699. sTemp += "\n\t4. Bleeding sign : "+ rdo_bled.label + "("+ ipt_bleddetl.label+")";
  700. } else {
  701. sTemp += "\n\t4. Bleeding sign : "+ rdo_bled.label + "("+ ipt_bleddetl.label+")";
  702. }
  703. }
  704. if(sTemp != "") sTemp += "\n";
  705. title += sTemp;
  706. sTemp = "";
  707. if(ipt_omissiontims.label != "0") {
  708. if(sTemp != "") {
  709. sTemp += "\n\t5. 최근2주간복용누락횟수 : "+ ipt_omissiontims.label + "("+ ipt_omissionresn.label+")";
  710. } else {
  711. // sTemp = "\n* INR 변동요인";
  712. sTemp += "\n\t5. 최근2주간복용누락횟수 : "+ ipt_omissiontims.label + "("+ ipt_omissionresn.label+")";
  713. }
  714. }
  715. if(sTemp != "") sTemp += "\n";
  716. title += sTemp;
  717. sTemp = "";
  718. if(rdo_cnstintlbly.label != "") {
  719. if(sTemp != "") {
  720. sTemp += "\n\t6. 상담이해도 : "+ rdo_cnstintlbly.label;
  721. } else {
  722. // sTemp = "\n* 상담내용";
  723. sTemp += "\n\t6. 상담이해도 : "+ rdo_cnstintlbly.label;
  724. }
  725. }
  726. if(sTemp != "") sTemp += "\n";
  727. title += sTemp;
  728. sTemp = "";
  729. if(tar_cnstspcffact.label != "") {
  730. if(sTemp != "") {
  731. sTemp += "\n\t- 식이/체중/활동량변화 : "+ (tar_cnstspcffact.label).replace(/\n/gi,"\n\t\t\t\t\t\t ");
  732. } else {
  733. // sTemp = "\n* INR 변동요인";
  734. sTemp += "\n\t- 식이/체중/활동량변화 : "+ (tar_cnstspcffact.label).replace(/\n/gi,"\n\t\t\t\t\t\t ");
  735. }
  736. }
  737. if(sTemp != "") sTemp += "\n";
  738. title += sTemp;
  739. sTemp = "";
  740. if(rdo_recmvol.label != "") title += "\n\t7. 용량추천 : "+ rdo_recmvol.label + "("+ipt_recmvolrem.label+")\n";
  741. sCPPb = "Bleeding sign - " + rdo_bled.label + "\n" + ipt_bleddetl.label; // CarePlan
  742. sCPGoal = "추천용량 " + rdo_recmvol.label + " " + ipt_recmvolrem.label + "\n" + tar_comment.label; // CarePlan
  743. title += "\n\t8. 약사 Comment : " + (tar_comment.label).replace(/\n/gi,"\n\t\t\t ");
  744. title += "\n\n---------------------------------------------------------------------------------\n";
  745. title += sTemp;
  746. var replcnts = title;
  747. /*
  748. // 의뢰내역
  749. var cnsttitle = "\n[의뢰내용]";
  750. var Citem1 = "\n\t 의뢰의사 : ";
  751. var Citem2 = "\n\t 처방된 항응고제 용량 : ";
  752. var Citem3 = "\n\t 적응증 : ";
  753. var Citem4 = "\n\t TargetINR : ";
  754. var Citem5 = "\n\t 예상복용기간 : ";
  755. var Citem6 = "\n\t 관련위험인자 : " + "\n";
  756. var Citem = cnsttitle + Citem1 + Citem2 + Citem3 + Citem4 + Citem5 + Citem6;
  757. //회신내역
  758. var repltitle = "\n[회신내용]";
  759. var Ritem1 = "\n\t 1.상담대상 : " + chk_cnsttrgt.label;
  760. var Ritem2 = "\n\t 2.주요상담내용 : " + chk_majrcnstcnts.label;
  761. var Ritem3 = "\n\t 3.음주 : " + rdo_drink.label + "(" +ipt_drinkdetl.label+")";
  762. var Ritem4 = "\n\t 4.출혈 : "+ rdo_bled.label + "("+ ipt_bleddetl.label+")";
  763. var Ritem5 = "\n\t 5.복약순응도 : "+ rdo_tmedadapt.label+"\n";
  764. var Ritem6 = "\n\t 6.타약물복용 : "+ rdo_anotmed.label + "(" +ipt_anotmeddetl.label+")";
  765. var Ritem7 = "\n\t 7.상담이해도 : "+ rdo_cnstintlbly.label;
  766. var Ritem8 = "\n\t 8.추천용량 : "+ rdo_recmvol.label + "(" +ipt_recmvolrem.label+")";
  767. var Ritem9 = "\n\t 9.기타약사의견 : "+ tar_comment.label;
  768. var Ritem = repltitle + Ritem1 + Ritem2 + Ritem3 + Ritem4 + Ritem5 + Ritem6 + Ritem7 + Ritem8 + Ritem9;
  769. var replcnts = title + Citem + Ritem;
  770. */
  771. // 회신내역 서식 팝업 - SPADC62200 - 2008/09/04 김귀남
  772. var sel = fSendReplForm(replcnts);
  773. if(sel == "cfm"){
  774. // model.setValue("/root/main/detlinfo/cnstdetlinfo/m" , "r");
  775. model.setValue("/root/main/detlinfo/cnstdetlinfo/statflag", 'Z');
  776. model.makeValue("/root/main/detlinfo/cnstdetlinfo/cnstseqno", model.getValue("/root/main/detlinfo/cnstdetlinfo2/cnstseqno"));
  777. model.makeValue("/root/main/detlinfo/cnstdetlinfo/cnststat", "22"); //회신
  778. model.makeNode("/root/main/detlinfo/cnstdetlinfo/replcnts"); // 회신내역 노드생성
  779. model.setValue("/root/main/detlinfo/cnstdetlinfo/replcnts", replcnts); // 회신내역 변수설정
  780. model.makeValue("/root/main/detlinfo/cnstdetlinfo/cppb", sCPPb); // CarePlan
  781. model.makeValue("/root/main/detlinfo/cnstdetlinfo/cpgoal", sCPGoal); // CarePlan
  782. model.makeValue("/root/main/detlinfo/cnstdetlinfo/orddd", model.getValue("/root/main/cnstinfo/cnstlist/orddd")); // CarePlan
  783. model.makeValue("/root/main/detlinfo/cnstdetlinfo/cretno", model.getValue("/root/main/cnstinfo/cnstlist/cretno")); // CarePlan
  784. model.makeValue("/root/main/detlinfo/cnstdetlinfo/jciyn", model.getValue("/root/init/cmblist/jciyn/JCI1[2]/cdid")); // CarePlan전송여부
  785. //2008-12-17 TargetlNR 추가
  786. model.setValue("/root/main/detlinfo/cnstdetlinfo", model.getValue("/root/main/detlinfo/cnstdetlinfo2/trgtinr")); //TargetlNR
  787. model.setValue("/root/main/detlinfo/cnstdetlinfo", model.getValue("/root/main/detlinfo/cnstdetlinfo2/trgtinretc")); //TargetlNR - 기타내역
  788. model.copyNode("/root/send/req/data","/root/main/detlinfo/cnstdetlinfo");
  789. if (submit("TXADC00201")) {
  790. submit("TRADC00201");
  791. submit("TRADC00203");
  792. fTrgtINR(); //2008-12-17 회신이 아닌경우는 trgtinr / trgtinretc 조회가 안되는 현상이 있음 (ast.adchcnstinfo의 데이타 가져옴)
  793. fBtnDisabled(); //회신상태에 따라 버튼 활성화 처리
  794. }
  795. // if (success) grd_patlist.dispatch("onclick");
  796. }
  797. ]]>
  798. </script>
  799. </button>
  800. </group>
  801. <group id="group1" style="left:0px; top:0px; width:1194px; height:13px; ">
  802. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">ACS자문회신등록</caption>
  803. </group>
  804. <group id="group3" scroll="auto" style="left:0px; top:40px; width:1195px; height:744px; ">
  805. <datagrid id="grd_acslist" nodeset="/root/main/cnstinfo/cnstlist" scroll="auto" backcoloralternate="#f0f0f0" caption="상담일자^채혈일시^INR^현재용량^현재용량^변경용량^변경용량^Daily 용량^약물상호작용 정보^혈전 및 출혈위험 요인^식이/체중/활동량 변화^건강기능식품^formrecseq^chosflag^orddd^cretno" colsep="^" colwidth="80, 80, 50, 40, 40, 40, 40, 65, 250, 250, 250, 250, 100, 100, 100, 100" defaultrows="1" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" style="left:265px; top:559px; width:929px; height:180px; ">
  806. <col ref="cnstdd" format="yyyy-mm-dd" style="text-align:center; "/>
  807. <col ref="bcolldt" format="yyyy-mm-dd" style="text-align:center; "/>
  808. <col ref="inr"/>
  809. <col ref="bftwd"/>
  810. <col ref="bfvol"/>
  811. <col ref="recmtwd"/>
  812. <col ref="updtvol"/>
  813. <col ref="updttwd"/>
  814. <col ref="drugitac"/>
  815. <col ref="bleddngrresn"/>
  816. <col ref="cnstspcffact"/>
  817. <col ref="funtfood"/>
  818. <col ref="formrecseq" visibility="hidden"/>
  819. <col ref="chosflag" visibility="hidden"/>
  820. <col ref="orddd" visibility="hidden"/>
  821. <col ref="cretno" visibility="hidden"/>
  822. <script type="javascript" ev:event="onclick">
  823. <![CDATA[
  824. if (grd_acslist.row >= grd_acslist.fixedRows ) {
  825. model.setValue("/root/send/srchinfo2/srchpid", model.getValue("/root/main/cnstinfo/cnstlist["+grd_acslist.row+"]/pid"));
  826. model.setValue("/root/send/srchinfo2/rgstseqno", model.getValue("/root/main/cnstinfo/cnstlist["+grd_acslist.row+"]/rgstseqno"));
  827. model.setValue("/root/send/srchinfo2/cnstdd", model.getValue("/root/main/cnstinfo/cnstlist["+grd_acslist.row+"]/cnstdd"));
  828. model.setValue("/root/send/srchinfo2/formrecseq", model.getValue("/root/main/cnstinfo/cnstlist["+grd_acslist.row+"]/formrecseq"));
  829. model.makeValue("/root/send/srchinfo2/srchgenrflagcd", model.getValue("/root/main/cnstinfo/cnstlist["+grd_acslist.row+"]/chosflag"));
  830. model.makeValue("/root/send/srchinfo2/srchorddd", model.getValue("/root/main/cnstinfo/cnstlist["+grd_acslist.row+"]/orddd"));
  831. model.makeValue("/root/send/srchinfo2/srchcretno", model.getValue("/root/main/cnstinfo/cnstlist["+grd_acslist.row+"]/cretno"));
  832. var success = submit("TRADC00201");
  833. if(success) {
  834. model.makeNode("/root/main/cnstinfo/patdetlinfo");
  835. model.copyNode("/root/main/cnstinfo/patdetlinfo", "/root/main/detlinfo/patdetlinfo");
  836. model.makeNode("/root/main/cnstinfo/diaglist");
  837. model.copyNode("/root/main/cnstinfo/diaglist", "/root/main/detlinfo/diaglist");
  838. }
  839. fTrgtINR(); //2008-12-17 회신이 아닌경우는 trgtinr / trgtinretc 조회가 안되는 현상이 있음 (ast.adchcnstinfo의 데이타 가져옴)
  840. if (success == false) {
  841. fResetForm();
  842. }
  843. fBtnDisabled(); //회신상태에 따라 버튼 활성화 처리
  844. }
  845. ]]>
  846. </script>
  847. <script type="javascript" ev:event="onaftersort">
  848. <![CDATA[
  849. grd_acslist.gridToInstance();
  850. ]]>
  851. </script>
  852. </datagrid>
  853. <textarea id="tar_funtfood" ref="/root/main/detlinfo/cnstdetlinfo/funtfood" navindex="18" style="left:580px; top:515px; width:310px; height:39px; "/>
  854. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:15px; width:260px; height:220px; background-color:#fffbf2; border-color:#ffd799; "/>
  855. <caption id="caption3" class="search_name" style="left:5px; top:25px; width:86px; height:17px; ">처방구분 :</caption>
  856. <caption id="caption1" class="search_name" style="left:5px; top:90px; width:86px; height:17px; ">의뢰일자 :</caption>
  857. <caption id="caption2" class="search_name" style="left:5px; top:207px; width:86px; height:17px; ">등록번호 :</caption>
  858. <caption id="caption4" class="search_name" style="left:5px; top:145px; width:109px; height:17px; ">진료과 :</caption>
  859. <caption id="caption5" class="search_name" style="left:5px; top:177px; width:73px; height:17px; ">진료의 :</caption>
  860. <select id="checkbox1" ref="/root/send/srchinfo1/srchexclreplyn" class="checkbox_search" navindex="32" overflow="visible" appearance="full" style="left:95px; top:45px; width:100px; height:15px; border-style:none; ">
  861. <choices>
  862. <item>
  863. <label>회신환자제외</label>
  864. <value>Y</value>
  865. </item>
  866. </choices>
  867. </select>
  868. <select1 id="radio2" ref="/root/send/srchinfo1/srchchosflag" class="radio_search" navindex="33" appearance="full" cols="2" rows="1" overflow="visible" style="left:95px; top:65px; width:100px; height:15px; border-style:none; ">
  869. <choices>
  870. <item>
  871. <label>외래</label>
  872. <value>O</value>
  873. </item>
  874. <item>
  875. <label>입원</label>
  876. <value>I</value>
  877. </item>
  878. </choices>
  879. </select1>
  880. <input id="input5" ref="/root/send/srchinfo1/srchreqfromdd" class="input_search" navindex="34" inputtype="date" style="left:95px; top:90px; width:100px; height:19px; "/>
  881. <input id="input4" ref="/root/send/srchinfo1/srchpid" class="input_search" navindex="38" style="left:95px; top:205px; width:80px; height:19px; "/>
  882. <button id="button11" class="icon_search" style="left:178px; top:206px; width:16px; height:16px; ">
  883. <caption/>
  884. </button>
  885. <line id="line27" class="line_2" style="x1:265px; y1:42px; x2:715px; y2:42px; "/>
  886. <caption id="caption7" class="tit_2" style="left:270px; top:0px; width:144px; height:13px; ">환자정보</caption>
  887. <line id="line3" class="line_1" style="x1:265px; y1:15px; x2:715px; y2:15px; "/>
  888. <line id="line1" class="line_2" style="x1:265px; y1:67px; x2:715px; y2:67px; "/>
  889. <line id="line2" class="line_2" style="x1:265px; y1:92px; x2:715px; y2:92px; "/>
  890. <line id="line4" class="line_1" style="x1:720px; y1:15px; x2:1194px; y2:15px; "/>
  891. <caption id="caption14" class="tit_2" style="left:725px; top:0px; width:144px; height:13px; ">상병정보</caption>
  892. <line id="line5" class="line_3" style="x1:720px; y1:117px; x2:1195px; y2:117px; "/>
  893. <caption id="caption15" class="tit_2" style="left:270px; top:126px; width:144px; height:13px; ">회신정보</caption>
  894. <line id="line6" class="line_1" style="x1:265px; y1:140px; x2:1194px; y2:140px; "/>
  895. <caption id="caption18" class="cell_1" style="left:265px; top:195px; width:80px; height:23px; vertical-align:middle; ">현재용량</caption>
  896. <line id="line7" class="line_3" style="x1:265px; y1:740px; x2:1195px; y2:740px; "/>
  897. <line id="line8" class="line_2" style="x1:265px; y1:167px; x2:696px; y2:167px; "/>
  898. <line id="line9" class="line_2" style="x1:265px; y1:192px; x2:696px; y2:192px; "/>
  899. <line id="line11" class="line_1" style="x1:265px; y1:265px; x2:890px; y2:265px; "/>
  900. <caption id="caption11" class="tit_2" style="left:270px; top:251px; width:144px; height:13px; ">환자상담내역</caption>
  901. <line id="line16" class="line_1" style="x1:580px; y1:311px; x2:890px; y2:311px; "/>
  902. <line id="line17" class="line_3" style="x1:580px; y1:356px; x2:890px; y2:356px; "/>
  903. <caption id="caption27" class="cell_1" style="left:580px; top:296px; width:310px; height:13px; font-weight:bold; ">약물상호작용 정보</caption>
  904. <line id="line18" class="line_1" style="x1:580px; y1:375px; x2:890px; y2:375px; "/>
  905. <line id="line19" class="line_3" style="x1:580px; y1:420px; x2:890px; y2:420px; "/>
  906. <caption id="caption28" class="cell_1" style="left:580px; top:360px; width:310px; height:13px; font-weight:bold; ">혈전 및 출혈위험 요인</caption>
  907. <line id="line23" class="line_3" style="x1:265px; y1:555px; x2:575px; y2:555px; "/>
  908. <line id="line28" class="line_3" style="x1:265px; y1:420px; x2:575px; y2:420px; "/>
  909. <input id="input9" ref="/root/send/srchinfo1/srchreqtodd" class="input_search" navindex="35" inputtype="date" style="left:95px; top:115px; width:100px; height:19px; "/>
  910. <select1 id="combo1" ref="/root/send/srchinfo1/srchreqdeptcd" class="combo_search" navindex="36" appearance="minimal" style="left:95px; top:143px; width:100px; height:19px; ">
  911. <choices>
  912. <itemset nodeset="/root/init/orddept/dept">
  913. <label ref="depthngnm"/>
  914. <value ref="deptcd"/>
  915. </itemset>
  916. </choices>
  917. <script type="javascript" ev:event="xforms-value-changed">
  918. <![CDATA[
  919. /*
  920. var deptcd = model.getValue("/root/send/srchinfo1/srchreqdeptcd");
  921. zsufGetUserInfoCombo(deptcd, "/root/init/userlist", "_D"); //의사 콤보조회
  922. astfAddCombo("/root/init/userlist", "usercombo", "userid,usernm", "-,전체"); //의사콤보 전체항목 추가
  923. */
  924. model.makeValue("/root/send/srchinfo1/srchrequserid", "");
  925. model.makeValue("/root/send/orddrinfo/userflag", "03%");
  926. model.makeValue("/root/send/orddrinfo/deptcd", model.getValue("/root/send/srchinfo1/srchreqdeptcd"));
  927. submit("TRADC02104");
  928. ]]>
  929. </script>
  930. </select1>
  931. <select1 id="combo2" ref="/root/send/srchinfo1/srchrequserid" class="combo_search" navindex="37" appearance="minimal" style="left:95px; top:175px; width:100px; height:19px; ">
  932. <choices>
  933. <itemset nodeset="/root/init/orddrlist/user">
  934. <label ref="usernm"/>
  935. <value ref="userid"/>
  936. </itemset>
  937. </choices>
  938. </select1>
  939. <line id="line12" class="line_1" style="x1:265px; y1:290px; x2:575px; y2:290px; "/>
  940. <caption id="caption26" class="cell_1" style="left:265px; top:275px; width:310px; height:13px; ">와파린 및 기타 복용약물</caption>
  941. <line id="line22" class="line_1" style="x1:580px; y1:510px; x2:890px; y2:510px; "/>
  942. <caption id="caption30" class="cell_1" style="left:580px; top:495px; width:310px; height:13px; font-weight:bold; ">건강기능식품</caption>
  943. <caption id="caption37" class="cell_1" style="left:895px; top:275px; width:95px; height:23px; ">1.상담대상</caption>
  944. <caption id="caption38" class="cell_1" style="left:895px; top:300px; width:95px; height:25px; ">2.주요상담내용</caption>
  945. <line id="line13" class="line_1" style="x1:580px; y1:438px; x2:890px; y2:438px; "/>
  946. <line id="line15" class="line_3" style="x1:580px; y1:491px; x2:890px; y2:491px; "/>
  947. <caption id="caption29" class="cell_1" style="left:580px; top:423px; width:310px; height:14px; font-weight:bold; ">식이/체중/활동량 변화</caption>
  948. <line id="line20" class="line_1" style="x1:895px; y1:265px; x2:1194px; y2:265px; "/>
  949. <caption id="caption39" class="tit_2" style="left:900px; top:251px; width:144px; height:13px; ">회신 내역</caption>
  950. <line id="line21" class="line_3" style="x1:895px; y1:555px; x2:1194px; y2:555px; "/>
  951. <caption id="caption40" class="cell_1" style="left:895px; top:365px; width:95px; height:23px; ">3.과음여부</caption>
  952. <caption id="caption41" class="cell_1" style="left:895px; top:391px; width:95px; height:23px; ">4.Bleeding sign</caption>
  953. <caption id="caption42" class="cell_1" visibility="hidden" style="left:405px; top:638px; width:95px; height:23px; ">5.복약순응도</caption>
  954. <caption id="caption43" class="cell_1" visibility="hidden" style="left:405px; top:663px; width:95px; height:23px; ">6.타약물복용</caption>
  955. <caption id="caption44" class="cell_1" style="left:895px; top:465px; width:95px; height:23px; ">6.상담이해도</caption>
  956. <caption id="caption45" class="cell_1" style="left:895px; top:490px; width:95px; height:23px; ">7.용량추천</caption>
  957. <caption id="caption46" class="cell_1" style="left:895px; top:515px; width:95px; height:40px; ">
  958. <![CDATA[8.약사
  959. COMMENT]]>
  960. </caption>
  961. <line id="line25" class="line_2" style="x1:895px; y1:512px; x2:1190px; y2:512px; "/>
  962. <line id="line26" class="line_2" style="x1:895px; y1:487px; x2:1190px; y2:487px; "/>
  963. <line id="line29" class="line_2" style="x1:895px; y1:462px; x2:1190px; y2:462px; "/>
  964. <line id="line31" class="line_2" style="x1:895px; y1:414px; x2:1190px; y2:414px; "/>
  965. <line id="line32" class="line_2" style="x1:895px; y1:388px; x2:1190px; y2:388px; "/>
  966. <line id="line33" class="line_2" style="x1:895px; y1:360px; x2:1190px; y2:360px; "/>
  967. <line id="line34" class="line_2" style="x1:895px; y1:298px; x2:1190px; y2:298px; "/>
  968. <caption id="caption47" class="cell_1" style="left:265px; top:423px; width:310px; height:14px; ">환자제안내용</caption>
  969. <line id="line35" class="line_1" style="x1:265px; y1:438px; x2:575px; y2:438px; "/>
  970. <line id="line37" class="line_3" style="x1:580px; y1:555px; x2:890px; y2:555px; "/>
  971. <caption id="caption52" class="cell_1" style="left:265px; top:20px; width:70px; height:23px; vertical-align:middle; ">등록번호</caption>
  972. <caption id="caption31" class="cell_1" style="left:395px; top:95px; width:40px; height:23px; vertical-align:middle; ">나이</caption>
  973. <caption id="caption10" class="cell_1" style="left:490px; top:70px; width:70px; height:23px; vertical-align:middle; ">입원일</caption>
  974. <caption id="caption12" class="cell_1" style="left:490px; top:45px; width:70px; height:23px; vertical-align:middle; ">진료의</caption>
  975. <caption id="caption13" class="cell_1" style="left:490px; top:95px; width:70px; height:23px; vertical-align:middle; ">체중(kg)</caption>
  976. <caption id="caption25" class="cell_1" style="left:490px; top:20px; width:70px; height:23px; vertical-align:middle; ">성명</caption>
  977. <caption id="caption16" class="cell_1" style="left:265px; top:95px; width:70px; height:23px; vertical-align:middle; ">성별</caption>
  978. <caption id="caption8" class="cell_1" style="left:265px; top:45px; width:70px; height:23px; vertical-align:middle; ">진료과</caption>
  979. <caption id="caption9" class="cell_1" style="left:265px; top:70px; width:70px; height:23px; vertical-align:middle; ">병실</caption>
  980. <caption id="caption19" class="cell_1" style="left:620px; top:95px; width:45px; height:23px; vertical-align:middle; ">키(cm)</caption>
  981. <line id="line36" class="line_3" style="x1:265px; y1:117px; x2:715px; y2:117px; "/>
  982. <line id="line10" class="line_2" style="x1:265px; y1:217px; x2:696px; y2:217px; "/>
  983. <caption id="caption20" class="cell_1" style="left:700px; top:145px; width:80px; height:73px; vertical-align:middle; ">환자Profile</caption>
  984. <caption id="caption21" class="cell_1" style="left:825px; top:220px; width:65px; height:23px; vertical-align:middle; ">회신일시</caption>
  985. <caption id="caption32" class="cell_1" style="left:265px; top:145px; width:80px; height:23px; vertical-align:middle; ">TargetINR</caption>
  986. <caption id="caption22" class="cell_1" style="left:1025px; top:220px; width:80px; height:23px; vertical-align:middle; ">상담약사</caption>
  987. <caption id="caption33" class="cell_1" style="left:265px; top:220px; width:80px; height:23px; vertical-align:middle; ">복용시작일</caption>
  988. <caption id="caption23" class="cell_1" style="left:480px; top:170px; width:80px; height:23px; vertical-align:middle; ">채혈일시</caption>
  989. <caption id="caption35" class="cell_1" style="left:586px; top:195px; width:65px; height:23px; vertical-align:middle; ">Daily 용량</caption>
  990. <caption id="caption24" class="cell_1" style="left:435px; top:195px; width:60px; height:23px; vertical-align:middle; ">변경용량</caption>
  991. <caption id="caption17" class="cell_1" style="left:265px; top:170px; width:80px; height:23px; vertical-align:middle; ">INR</caption>
  992. <datagrid id="grd_patlist" nodeset="/root/main/patinfo/patlist" scroll="auto" backcoloralternate="#f0f0f0" caption="입/외^성명^환자번호" colsep="^" colwidth="57, 86, 81" defaultrows="1" explorerbar="sortshow" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="select" rowsep="|" style="left:0px; top:240px; width:260px; height:500px; ">
  993. <col ref="chosflagnm"/>
  994. <col ref="hngnm"/>
  995. <col ref="pid"/>
  996. <script type="javascript" ev:event="onclick">
  997. <![CDATA[
  998. if (grd_patlist.row >= grd_patlist.fixedRows) { // grd_patlist.isCell(event.target) &&
  999. model.resetInstanceNode( "/root/main/detlinfo/cnstdetlinfo"); //2008-12-17 Instance Clear
  1000. model.resetInstanceNode( "/root/main/detlinfo/cnstdetlinfo2"); //2008-12-17 Instance Clear
  1001. model.setValue("/root/send/srchinfo3/srchpid", model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/pid"));
  1002. model.setValue("/root/send/srchinfo3/srchorddd", model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/orddd"));
  1003. model.setValue("/root/send/srchinfo3/srchcretno", model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/cretno"));
  1004. model.setValue("/root/send/srchinfo3/srchgenrflagcd", model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/chosflag"));
  1005. model.setValue("/root/send/srchinfo3/formrecseq", model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/formrecseq"));
  1006. //2008-12-17 의뢰일자
  1007. model.setValue("/root/send/srchinfo3/cnstdd", model.getValue("/root/main/patinfo/patlist["+grd_patlist.row+"]/reqdd"));
  1008. var success = submit("TRADC00203");
  1009. // if (success) {
  1010. // if (grd_acslist.rows > 1) {
  1011. // grd_acslist.row = 2;
  1012. // grd_acslist.dispatch("onclick");
  1013. // } else {
  1014. // grd_acslist.row = 1;
  1015. // grd_acslist.dispatch("onclick");
  1016. // }
  1017. // }
  1018. if (grd_acslist.rows> 1 && grd_acslist.row == -1) {
  1019. grd_acslist.row= 1;
  1020. grd_acslist.dispatch("onclick");
  1021. }
  1022. fBtnDisabled(); //회신상태에 따라 버튼 활성화 처리 //2008-12-17
  1023. }
  1024. ]]>
  1025. </script>
  1026. <script type="javascript" ev:event="onaftersort">
  1027. <![CDATA[
  1028. grd_patlist.gridToInstance();
  1029. ]]>
  1030. </script>
  1031. </datagrid>
  1032. <button id="btn_sea" class="btn1_letter2" navindex="39" style="left:200px; top:204px; width:56px; height:22px; ">
  1033. <caption>조회</caption>
  1034. <script type="javascript" ev:event="DOMActivate">
  1035. <![CDATA[
  1036. if(submit("TRADC00202")) {
  1037. if (grd_acslist.rows> 1 && grd_acslist.row == -1) {
  1038. grd_patlist.row = 1;
  1039. grd_patlist.dispatch("onclick");
  1040. }
  1041. }
  1042. ]]>
  1043. </script>
  1044. </button>
  1045. <caption id="caption34" class="cell_1" style="left:675px; top:220px; width:65px; height:23px; vertical-align:middle; ">의뢰상태</caption>
  1046. <button id="button4" class="icon_search" visibility="hidden" style="left:475px; top:225px; width:16px; height:16px; ">
  1047. <caption/>
  1048. <script type="javascript" ev:event="DOMActivate">
  1049. <![CDATA[
  1050. var pid = model.getValue("/root/main/cnstinfo/patdetlinfo/pid");
  1051. model.setValue("/root/temp/receivedata",pid);
  1052. modal("SPADC61400",0,100,150,"SPADC61400","/root/temp/receivedata","/root/temp/receivedata");
  1053. ]]>
  1054. </script>
  1055. </button>
  1056. <caption id="caption36" class="cell_1" style="left:482px; top:220px; width:80px; height:23px; vertical-align:middle; ">판막종류</caption>
  1057. <line id="line24" class="line_3" style="x1:265px; y1:242px; x2:1194px; y2:242px; "/>
  1058. <select id="chk_cnsttrgt" ref="/root/main/detlinfo/cnstdetlinfo/cnsttrgt" navindex="19" overflow="visible" appearance="full" cols="2" rows="1" style="left:995px; top:279px; width:195px; height:15px; border-style:none; ">
  1059. <choices>
  1060. <item>
  1061. <label>환자</label>
  1062. <value>1</value>
  1063. </item>
  1064. <item>
  1065. <label>보호자</label>
  1066. <value>2</value>
  1067. </item>
  1068. </choices>
  1069. </select>
  1070. <select id="chk_majrcnstcnts" ref="/root/main/detlinfo/cnstdetlinfo/majrcnstcnts" navindex="20" overflow="visible" appearance="full" cols="2" rows="3" style="left:995px; top:304px; width:195px; height:55px; border-style:none; ">
  1071. <choices>
  1072. <item>
  1073. <label>효능,효과</label>
  1074. <value>1</value>
  1075. </item>
  1076. <item>
  1077. <label>용법,용량</label>
  1078. <value>2</value>
  1079. </item>
  1080. <item>
  1081. <label>부작용 및 주의사항</label>
  1082. <value>3</value>
  1083. </item>
  1084. <item>
  1085. <label>상호작용</label>
  1086. <value>4</value>
  1087. </item>
  1088. <item>
  1089. <label>생활속의 주의사항</label>
  1090. <value>5</value>
  1091. </item>
  1092. </choices>
  1093. </select>
  1094. <select1 id="rdo_drink" ref="/root/main/detlinfo/cnstdetlinfo/drink" navindex="21" appearance="full" cols="2" rows="1" overflow="visible" style="left:995px; top:369px; width:90px; height:15px; border-style:none; ">
  1095. <choices>
  1096. <item>
  1097. <label>NO</label>
  1098. <value>1</value>
  1099. </item>
  1100. <item>
  1101. <label>YES</label>
  1102. <value>2</value>
  1103. </item>
  1104. </choices>
  1105. </select1>
  1106. <input id="ipt_drinkdetl" ref="/root/main/detlinfo/cnstdetlinfo/drinkdetl" class="input_default" navindex="22" style="left:1090px; top:368px; width:90px; height:19px; "/>
  1107. <select1 id="rdo_bled" ref="/root/main/detlinfo/cnstdetlinfo/bled" navindex="23" appearance="full" cols="2" rows="1" overflow="visible" style="left:995px; top:395px; width:90px; height:15px; border-style:none; ">
  1108. <choices>
  1109. <item>
  1110. <label>NO</label>
  1111. <value>1</value>
  1112. </item>
  1113. <item>
  1114. <label>YES</label>
  1115. <value>2</value>
  1116. </item>
  1117. </choices>
  1118. </select1>
  1119. <input id="ipt_bleddetl" ref="/root/main/detlinfo/cnstdetlinfo/bleddetl" class="input_default" navindex="24" style="left:1090px; top:394px; width:90px; height:19px; "/>
  1120. <select1 id="rdo_tmedadapt" ref="/root/main/detlinfo/cnstdetlinfo/tmedadapt" visibility="hidden" appearance="full" cols="3" rows="1" overflow="visible" style="left:505px; top:643px; width:100px; height:15px; border-style:none; ">
  1121. <choices>
  1122. <item>
  1123. <label>상</label>
  1124. <value>1</value>
  1125. </item>
  1126. <item>
  1127. <label>중</label>
  1128. <value>2</value>
  1129. </item>
  1130. <item>
  1131. <label>하</label>
  1132. <value>3</value>
  1133. </item>
  1134. </choices>
  1135. </select1>
  1136. <select1 id="rdo_anotmed" ref="/root/main/detlinfo/cnstdetlinfo/anotmed" visibility="hidden" appearance="full" cols="2" rows="1" overflow="visible" style="left:505px; top:666px; width:90px; height:15px; border-style:none; ">
  1137. <choices>
  1138. <item>
  1139. <label>아니오</label>
  1140. <value>1</value>
  1141. </item>
  1142. <item>
  1143. <label>예</label>
  1144. <value>2</value>
  1145. </item>
  1146. </choices>
  1147. </select1>
  1148. <input id="ipt_anotmeddetl" ref="/root/main/detlinfo/cnstdetlinfo/anotmeddetl" class="input_default" visibility="hidden" style="left:600px; top:665px; width:90px; height:19px; "/>
  1149. <select1 id="rdo_cnstintlbly" ref="/root/main/detlinfo/cnstdetlinfo/cnstintlbly" navindex="27" appearance="full" cols="3" rows="1" overflow="visible" style="left:995px; top:468px; width:100px; height:15px; border-style:none; ">
  1150. <choices>
  1151. <item>
  1152. <label>상</label>
  1153. <value>1</value>
  1154. </item>
  1155. <item>
  1156. <label>중</label>
  1157. <value>2</value>
  1158. </item>
  1159. <item>
  1160. <label>하</label>
  1161. <value>3</value>
  1162. </item>
  1163. </choices>
  1164. </select1>
  1165. <select1 id="rdo_recmvol" ref="/root/main/detlinfo/cnstdetlinfo/recmvol" navindex="28" appearance="full" cols="2" rows="1" overflow="visible" style="left:995px; top:493px; width:90px; height:15px; border-style:none; ">
  1166. <choices>
  1167. <item>
  1168. <label>유지</label>
  1169. <value>1</value>
  1170. </item>
  1171. <item>
  1172. <label>변경</label>
  1173. <value>2</value>
  1174. </item>
  1175. </choices>
  1176. </select1>
  1177. <input id="ipt_recmvolrem" ref="/root/main/detlinfo/cnstdetlinfo/recmvolrem" class="input_default" navindex="29" style="left:1090px; top:492px; width:90px; height:19px; "/>
  1178. <textarea id="tar_comment" ref="/root/main/detlinfo/cnstdetlinfo/remark" navindex="30" style="left:995px; top:515px; width:185px; height:38px; "/>
  1179. <input id="opt_pid" ref="/root/main/cnstinfo/patdetlinfo/pid" class="input_default" appearance="input" style="left:340px; top:20px; width:145px; height:19px; "/>
  1180. <output id="opt_hngnm" ref="/root/main/cnstinfo/patdetlinfo/hngnm" class="output_fix" style="left:565px; top:20px; width:150px; height:19px; "/>
  1181. <output id="opt_orddeptnm" ref="/root/main/cnstinfo/patdetlinfo/orddeptnm" class="output_fix" style="left:340px; top:45px; width:145px; height:19px; "/>
  1182. <output id="opt_medispclnm" ref="/root/main/cnstinfo/patdetlinfo/medispclnm" class="output_fix" style="left:565px; top:45px; width:150px; height:19px; "/>
  1183. <output id="opt_wardcd" ref="/root/main/cnstinfo/patdetlinfo/wardnm" class="output_fix" style="left:340px; top:70px; width:145px; height:19px; "/>
  1184. <output id="opt_indd" ref="/root/main/cnstinfo/patdetlinfo/indd" class="output_fix" format="yyyy-mm-dd" style="left:565px; top:70px; width:150px; height:19px; "/>
  1185. <datagrid id="grd_diaglist" nodeset="/root/main/cnstinfo/diaglist" scroll="auto" backcoloralternate="#f0f0f0" caption="상병코드^한글상병명" colsep="^" colwidth="131, 296" defaultrows="1" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:720px; top:20px; width:474px; height:95px; ">
  1186. <col ref="diagcd"/>
  1187. <col ref="diagnm"/>
  1188. </datagrid>
  1189. <select1 id="rdo_trgtinr" ref="/root/main/detlinfo/cnstdetlinfo2/trgtinr" navindex="1" appearance="full" cols="4" rows="1" overflow="visible" style="left:350px; top:148px; width:235px; height:15px; border-style:none; ">
  1190. <choices>
  1191. <item>
  1192. <label>1.5~2.5</label>
  1193. <value>1</value>
  1194. </item>
  1195. <item>
  1196. <label>2.0~3.0</label>
  1197. <value>2</value>
  1198. </item>
  1199. <item>
  1200. <label>2.5~3.5</label>
  1201. <value>3</value>
  1202. </item>
  1203. <item>
  1204. <label>기타</label>
  1205. <value>4</value>
  1206. </item>
  1207. </choices>
  1208. </select1>
  1209. <input id="ipt_trgtinretc" ref="/root/main/detlinfo/cnstdetlinfo2/trgtinretc" class="input_default" navindex="2" style="left:580px; top:146px; width:115px; height:19px; "/>
  1210. <input id="ipt_inr" ref="/root/main/detlinfo/cnstdetlinfo/inr" class="input_default" navindex="3" style="left:350px; top:172px; width:125px; height:19px; "/>
  1211. <input id="opt_bcolldt" ref="/root/main/detlinfo/cnstdetlinfo/bcolldt" class="input_default" navindex="4" format="yyyy-mm-dd hh:nn:ss" style="left:565px; top:172px; width:130px; height:19px; "/>
  1212. <input id="ipt_bftwd" ref="/root/main/detlinfo/cnstdetlinfo/bftwd" class="output_fix" navindex="5" style="left:350px; top:197px; width:30px; height:19px; "/>
  1213. <input id="ipt_recmtwd" ref="/root/main/detlinfo/cnstdetlinfo/recmtwd" class="input_default" navindex="7" format="#####.#####" style="left:498px; top:197px; width:30px; height:19px; ">
  1214. <script type="javascript" ev:event="xforms-value-changed">
  1215. <![CDATA[
  1216. fSumUpdtVol();
  1217. ]]>
  1218. </script>
  1219. </input>
  1220. <input id="ipt_updttwd" ref="/root/main/detlinfo/cnstdetlinfo/updttwd" class="input_default" navindex="9" format="#####.#####" style="left:655px; top:197px; width:40px; height:19px; "/>
  1221. <textarea id="tar_patprofile" ref="/root/main/detlinfo/cnstdetlinfo/patprofile" navindex="12" style="left:785px; top:146px; width:409px; height:70px; "/>
  1222. <input id="opt_tmedtodd" ref="/root/main/detlinfo/cnstdetlinfo/tmedtodd" class="output_fix" navindex="10" inputtype="date" format="yyyy-mm-dd" style="left:350px; top:222px; width:125px; height:19px; "/>
  1223. <select1 id="cbo_volvkind" ref="/root/main/detlinfo/cnstdetlinfo/valvkind" class="combo_default" navindex="11" appearance="minimal" editmode="inputsearch" showvalue="true" style="left:566px; top:222px; width:105px; height:19px; ">
  1224. <choices>
  1225. <item>
  1226. <label>기계판막</label>
  1227. <value>1</value>
  1228. </item>
  1229. <item>
  1230. <label>조직판막</label>
  1231. <value>2</value>
  1232. </item>
  1233. </choices>
  1234. </select1>
  1235. <input id="opt_statflagnm" ref="/root/main/detlinfo/cnstdetlinfo/statflagnm" class="output_fix" style="left:745px; top:222px; width:75px; height:19px; "/>
  1236. <input id="opt_repldt" ref="/root/main/detlinfo/cnstdetlinfo/repldt" class="output_fix" format="yyyy-mm-dd hh:mm" style="left:895px; top:222px; width:120px; height:19px; "/>
  1237. <input id="opt_cnstpharmstnm" ref="/root/main/detlinfo/cnstdetlinfo/cnstpharmstnm" class="output_fix" style="left:1110px; top:222px; width:75px; height:19px; "/>
  1238. <textarea id="tar_wafrntmed" ref="/root/main/detlinfo/cnstdetlinfo/wafrntmed" navindex="13" style="left:265px; top:295px; width:310px; height:124px; "/>
  1239. <textarea id="tar_drugitac" ref="/root/main/detlinfo/cnstdetlinfo/drugitac" navindex="15" style="left:580px; top:316px; width:310px; height:39px; "/>
  1240. <textarea id="tar_bleddngrresn" ref="/root/main/detlinfo/cnstdetlinfo/bleddngrresn" navindex="16" style="left:580px; top:380px; width:310px; height:39px; "/>
  1241. <textarea id="tar_cnstcnts" ref="/root/main/detlinfo/cnstdetlinfo/cnstcnts" navindex="14" style="left:265px; top:443px; width:310px; height:111px; "/>
  1242. <textarea id="tar_cnstspcffact" ref="/root/main/detlinfo/cnstdetlinfo/cnstspcffact" navindex="17" style="left:580px; top:443px; width:310px; height:47px; "/>
  1243. <input id="opt_sex" ref="/root/main/cnstinfo/patdetlinfo/sex" class="output_fix" style="left:340px; top:97px; width:50px; height:19px; "/>
  1244. <input id="opt_age" ref="/root/main/cnstinfo/patdetlinfo/age" class="output_fix" style="left:440px; top:97px; width:45px; height:19px; "/>
  1245. <input id="opt_weight" ref="/root/main/cnstinfo/patdetlinfo/weight" class="output_fix" style="left:565px; top:97px; width:50px; height:19px; "/>
  1246. <input id="opt_height" ref="/root/main/cnstinfo/patdetlinfo/height" class="output_fix" style="left:670px; top:97px; width:45px; height:19px; "/>
  1247. <button id="btn_copy" class="btn2_letter8" visibility="hidden" style="left:782px; top:421px; width:108px; height:19px; ">
  1248. <caption>기타약사의견 복사</caption>
  1249. <script type="javascript" ev:event="DOMActivate">
  1250. <![CDATA[
  1251. model.setValue("/root/main/detlinfo/cnstdetlinfo/remark", model.getValue("/root/main/detlinfo/cnstdetlinfo/cnstspcffact"));
  1252. model.refresh();
  1253. ]]>
  1254. </script>
  1255. </button>
  1256. <select id="checkbox2" ref="/root/init/allselect" overflow="visible" appearance="full" style="left:896px; top:326px; width:94px; height:20px; border-style:none; ">
  1257. <choices>
  1258. <item>
  1259. <label>이하내용 모두</label>
  1260. <value>Y</value>
  1261. </item>
  1262. </choices>
  1263. <script type="javascript" ev:event="xforms-value-changed">
  1264. <![CDATA[
  1265. if(model.getValue("/root/init/allselect") == "Y") {
  1266. model.setValue("/root/main/detlinfo/cnstdetlinfo/majrcnstcnts", "1 3 5 4 2");
  1267. } else {
  1268. model.setValue("/root/main/detlinfo/cnstdetlinfo/majrcnstcnts", "");
  1269. }
  1270. chk_majrcnstcnts.refresh();
  1271. ]]>
  1272. </script>
  1273. </select>
  1274. <caption id="caption48" class="cell_1" style="left:895px; top:417px; width:95px; height:45px; ">
  1275. <![CDATA[5.최근2주간복용 누락횟수]]>
  1276. </caption>
  1277. <input id="ipt_omissiontims" ref="/root/main/detlinfo/cnstdetlinfo/omissiontims" class="input_default" navindex="25" format="##" maxbyte="2" style="left:995px; top:430px; width:90px; height:19px; "/>
  1278. <input id="ipt_omissionresn" ref="/root/main/detlinfo/cnstdetlinfo/omissionresn" class="input_default" navindex="26" style="left:1090px; top:430px; width:90px; height:19px; "/>
  1279. <select id="checkbox3" ref="/root/send/srchinfo1/srchallref" class="checkbox_search" navindex="31" overflow="visible" appearance="full" style="left:95px; top:26px; width:100px; height:15px; border-style:none; ">
  1280. <choices>
  1281. <item>
  1282. <label>ACS전체조회</label>
  1283. <value>Y</value>
  1284. </item>
  1285. </choices>
  1286. <script type="javascript" ev:event="xforms-value-changed">
  1287. <![CDATA[
  1288. if(model.getValue("/root/send/srchinfo1/srchallref") == "Y") {
  1289. checkbox1.disabled = true;
  1290. radio2.disabled = true;
  1291. input5.disabled = true;
  1292. input9.disabled = true;
  1293. combo1.disabled = true;
  1294. combo2.disabled = true;
  1295. input4.disabled = true;
  1296. button11.disabled = true;
  1297. } else {
  1298. checkbox1.disabled = false;
  1299. radio2.disabled = false;
  1300. input5.disabled = false;
  1301. input9.disabled = false;
  1302. combo1.disabled = false;
  1303. combo2.disabled = false;
  1304. input4.disabled = false;
  1305. button11.disabled = false;
  1306. }
  1307. model.refresh();
  1308. ]]>
  1309. </script>
  1310. </select>
  1311. <caption id="caption49" style="left:413px; top:202px; width:20px; height:15px; ">mg</caption>
  1312. <caption id="caption50" style="left:562px; top:202px; width:20px; height:15px; ">mg</caption>
  1313. <caption id="caption51" class="cell_1" style="left:580px; top:275px; width:310px; height:13px; font-weight:bold; ">Problem</caption>
  1314. <line id="line14" class="line_1" style="x1:580px; y1:290px; x2:890px; y2:290px; "/>
  1315. <input id="ipt_bfvol" ref="/root/main/detlinfo/cnstdetlinfo/bfvol" class="output_fix" navindex="6" style="left:382px; top:197px; width:30px; height:19px; "/>
  1316. <input id="ipt_updtvol" ref="/root/main/detlinfo/cnstdetlinfo/updtvol" class="input_default" navindex="8" format="#####.#####" style="left:530px; top:197px; width:30px; height:19px; ">
  1317. <script type="javascript" ev:event="xforms-value-changed">
  1318. <![CDATA[
  1319. fSumUpdtVol();
  1320. ]]>
  1321. </script>
  1322. </input>
  1323. </group>
  1324. </xhtml:body>
  1325. </xhtml:html>