SMPMC00900_신체감정.xrw 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMPMC00900_신체감정.xrw
  4. * 설 명 : 신체감정
  5. * 설 계 자 : 이형재
  6. * 작 성 자 : 이형재
  7. * 작 성 일 : 2007.12.20
  8. * 수정이력 :
  9. * 기 타 : 개발자 변경 김건기->이형재
  10. -->
  11. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  12. <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">
  13. <script type="javascript">
  14. <![CDATA[
  15. function fOJBaseInfoRef()
  16. {
  17. if ( model.getValue("/root/main/popupendflag") == "ok" ) {
  18. model.setValue("/root/send/data5/pid",model.getValue("/root/main/patinfo/patinfolist/pid"));
  19. } else if ( model.getValue("/root/main/popupendflag") == "pass" ) {
  20. model.setValue("/root/send/data5/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
  21. } else {
  22. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  23. model.resetInstanceNode("/root/main/ptbs");
  24. model.resetInstanceNode("/root/main/ojpm");
  25. model.refresh();
  26. return false;
  27. }
  28. /*
  29. model.setValue("/root/send/data5/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
  30. */
  31. if (submit("TRPMC00902")) {
  32. model.resetInstanceNode("/root/main/ptbs");
  33. model.resetInstanceNode("/root/main/ojpm");
  34. model.removeNodeset("/root/main/ojodlist");
  35. model.makeNode("/root/main/ojodlist");
  36. var iptbscnt = getNodesetCount("/root/hidden/rcv/ptbs/ptbs_pid");
  37. if (iptbscnt > 0) {
  38. copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
  39. }
  40. var capmcnt = getNodesetCount("/root/hidden/rcv/ojpm/ojpm_judgseqno");
  41. if (capmcnt == 1) {
  42. var rtn = messageBox("새로운 감정사항을 입력하실 경우 예(Y) 등록된 감정사항을 조회하실 경우 아니오(N)를 선택해 주십시요!", "Q999");
  43. if (rtn == 7 ) {
  44. fGetOJPatInfo("all");
  45. }
  46. } else if (capmcnt > 1) {
  47. fOJInfoRef();
  48. }
  49. }
  50. model.refresh();
  51. }
  52. function fOJInfoRef()
  53. {
  54. var ptbs_pid = model.getValue("/root/main/ptbs/ptbs_pid");
  55. if (!ptbs_pid == null || !ptbs_pid ==" " || !ptbs_pid == "") {
  56. model.setValue("/root/send/data1/pid",ptbs_pid);
  57. modal("../../../pam/patinfomngtweb/xrw/SMPMC00910", "1","150", "150", "SPPMC02500", "/root/send/data1", "/root/send/data1");
  58. }
  59. if ( model.getValue("/root/main/popupendflag") == "ok" ) {
  60. fGetOJPatInfo();
  61. } else {
  62. return false;
  63. }
  64. }
  65. function fInitialize(gubn)
  66. {
  67. submit("TRPMC00907");
  68. model.resetInstanceNode("/root/main/patinfo/patinfolist");
  69. model.resetInstanceNode("/root/main/ptbs");
  70. model.resetInstanceNode("/root/main/ojpm");
  71. model.resetInstanceNode("/root/main/ojodlist");
  72. model.resetInstanceNode("/root/main/list2");
  73. model.resetInstanceNode("/root/send/data3");
  74. model.resetInstanceNode("/root/send/data4");
  75. model.resetInstanceNode("/root/send/data5");
  76. model.removeNodeset("/root/main/ojodlist");
  77. model.makeNode("/root/main/ojodlist");
  78. model.removeNodeset("/root/main/list2");
  79. model.makeNode("/root/main/list2");
  80. if (gubn == "all") {
  81. model.resetInstanceNode("/root/send/data1");
  82. model.resetInstanceNode("/root/main/list1");
  83. model.removeNodeset("/root/main/list1");
  84. model.makeNode("/root/main/list1");
  85. model.setValue("/root/send/data1/refcond","0");
  86. model.setValue("/root/send/data1/judgflag","0");
  87. model.setValue("/root/send/data1/rsltflag","0");
  88. fSrchCondChng("0");
  89. }
  90. model.refresh();
  91. }
  92. //자체기초코드 조회
  93. function fComCDRef()
  94. {
  95. zbcfGetCodeList(
  96. new Array("P0002","A0001"),
  97. new Array("/root/init/P0002list", // 진료구분코드
  98. "/root/init/A0001list") // 입원경로
  99. );
  100. submit("TRPMI00106");
  101. model.refresh();
  102. }
  103. function fGetOJPatInfo(gubun)
  104. {
  105. if (submit("TRPMC00903")) {
  106. model.resetInstanceNode("/root/main/ptbs");
  107. model.resetInstanceNode("/root/main/ojpm");
  108. model.removeNodeset("/root/main/ojodlist");
  109. model.makeNode("/root/main/ojodlist");
  110. model.removeNodeset("/root/main/list2");
  111. model.makeNode("/root/main/list2");
  112. // 환자 인적 사항
  113. var iptbscnt = getNodesetCount("/root/hidden/rcv/ptbs");
  114. if (iptbscnt > 0) {
  115. copyNodeType("/root/main/ptbs","/root/hidden/rcv/ptbs","replace");
  116. }
  117. // 감정 사항
  118. var capmcnt = getNodesetCount("/root/hidden/rcv/ojpm");
  119. if (capmcnt > 0) {
  120. copyNodeType("/root/main/ojpm","/root/hidden/rcv/ojpm","replace");
  121. }
  122. // 진료과
  123. var ojodlistcnt = getNodesetCount("/root/hidden/rcv/ojodlist");
  124. if (ojodlistcnt > 0) {
  125. copyNodeType("/root/main/ojodlist","/root/hidden/rcv/ojodlist","replace");
  126. }
  127. // 진료 사항
  128. var ojodlistcnt = getNodesetCount("/root/hidden/rcv/ordfactlist");
  129. if (ojodlistcnt > 0) {
  130. copyNodeType("/root/main/ordfactlist","/root/hidden/rcv/ordfactlist","replace");
  131. }
  132. if (gubun == "all") {
  133. var list2cnt = getNodesetCount("/root/hidden/rcv/list2");
  134. if (list2cnt > 0) {
  135. copyNodeType("/root/main/list2","/root/hidden/rcv/list2","replace");
  136. }
  137. }
  138. }
  139. model.refresh();
  140. }
  141. function fSrchCondChng(refcond)
  142. {
  143. if (refcond == '1' || refcond == '2' || refcond == '3' || refcond == '4' || refcond == '6' ) {
  144. ipt_refcondnm.attribute("top") = "8xp";
  145. ipt_refcondnm.attribute("left") = "223px";
  146. ipt_refcondnm.visible = true;
  147. ipt_refcondnm1.visible = false;
  148. ipt_refcondnm2.visible = false;
  149. caption20.visible = false;
  150. model.setFocus("ipt_refcondnm");
  151. } else if (refcond == '5') {
  152. ipt_refcondnm1.attribute("top") = "8xp";
  153. ipt_refcondnm1.attribute("left") = "223px";
  154. ipt_refcondnm.visible = false;
  155. ipt_refcondnm1.visible = true;
  156. ipt_refcondnm2.visible = true;
  157. caption20.visible = true;
  158. model.setFocus("ipt_refcondnm1");
  159. //날자 입력 항목에 오늘 날자 세팅
  160. model.setValue("/root/send/data1/refcondnm1",model.getValue("/root/hidden/currentDate"));
  161. model.setValue("/root/send/data1/refcondnm2",model.getValue("/root/hidden/currentDate"));
  162. } else if (refcond == '0') {
  163. ipt_refcondnm.attribute("top") = "8xp";
  164. ipt_refcondnm.attribute("left") = "223px";
  165. ipt_refcondnm.visible = false;
  166. ipt_refcondnm1.visible = false;
  167. ipt_refcondnm2.visible = false;
  168. caption20.visible = false;
  169. model.setFocus("ipt_refcondnm");
  170. }
  171. cmb_refcond.refresh();
  172. ipt_refcondnm.refresh();
  173. ipt_refcondnm1.refresh();
  174. ipt_refcondnm2.refresh();
  175. }
  176. ]]>
  177. </script>
  178. <xhtml:head>
  179. <xhtml:title>신체감정</xhtml:title>
  180. <model id="model1">
  181. <instance id="instance1">
  182. <root xmlns="">
  183. <send>
  184. <data1>
  185. <refcond>0</refcond>
  186. <refcondnm1/>
  187. <refcondnm2/>
  188. <judgflag/>
  189. <rsltflag/>
  190. <pid/>
  191. </data1>
  192. <data2>
  193. <sess_posinstcd>012</sess_posinstcd>
  194. </data2>
  195. <data3>
  196. </data3>
  197. <data4>
  198. <srchcond/>
  199. <pid/>
  200. <hngnm/>
  201. <rrgstno1/>
  202. <rrgstno2/>
  203. <autoflag/>
  204. </data4>
  205. <data5>
  206. <pid/>
  207. <judgseqno/>
  208. </data5>
  209. <update>
  210. <datalist/>
  211. </update>
  212. <data6>
  213. <reffromdd/>
  214. <reftodd/>
  215. </data6>
  216. <data7>
  217. <refYY/>
  218. <refMM/>
  219. </data7>
  220. </send>
  221. <main>
  222. <ptbs>
  223. <ptbs_status/>
  224. <ptbs_pid/>
  225. <ptbs_hngnm/>
  226. <ptbs_engnm/>
  227. <ptbs_rrgstno1/>
  228. <ptbs_rrgstno2/>
  229. <ptbs_brthdd/>
  230. <ptbs_sex/>
  231. <ptbs_age/>
  232. <ptbs_hometel/>
  233. <ptbs_mpphontel/>
  234. <ptbs_zipcd1/>
  235. <ptbs_zipcd2/>
  236. <ptbs_zipcdseq/>
  237. <ptbs_zipnm/>
  238. <ptbs_detladdr/>
  239. <ptbs_forgeryn/>
  240. <ptbs_recmyn/>
  241. <ptbs_recmerid/>
  242. <ptbs_vipyn/>
  243. <ptbs_religncd/>
  244. <ptbs_remfact/>
  245. <ptbs_inhospyn/>
  246. </ptbs>
  247. <ojpm>
  248. <ojpm_status/>
  249. <ojpm_pid/>
  250. <ojpm_judgseqno/>
  251. <ojpm_instcd/>
  252. <ojpm_judgflag/>
  253. <ojpm_rsltflag/>
  254. <ojpm_rsltflag1/>
  255. <ojpm_rsltflag2/>
  256. <ojpm_attdataflag/>
  257. <ojpm_attdataflag1/>
  258. <ojpm_attdataflag2/>
  259. <ojpm_acptcmt/>
  260. <ojpm_delivedd/>
  261. <ojpm_delivecmt/>
  262. <ojpm_courtacptdd/>
  263. <ojpm_courtnmcd/>
  264. <ojpm_courttel/>
  265. <ojpm_acdno/>
  266. <ojpm_lawyernm/>
  267. <ojpm_platftel/>
  268. <ojpm_insucmpynmcd/>
  269. <ojpm_defedtel/>
  270. <ojpm_defedchrgrnm/>
  271. <ojpm_defedcnfmdd/>
  272. <ojpm_orddelivememo/>
  273. <ojpm_spcffact/>
  274. <ojpm_fstrgstrid/>
  275. <ojpm_fstrgstdt/>
  276. <ojpm_lastupdtrid/>
  277. <ojpm_lastupdtdt/>
  278. </ojpm>
  279. <ojodlist>
  280. <grdorgnjudglist/>
  281. </ojodlist>
  282. <list1>
  283. <grdpatreflist/>
  284. </list1>
  285. <list2>
  286. <grdordfactlist/>
  287. </list2>
  288. <popupendflag/>
  289. <patinfo>
  290. <patinfolist/>
  291. </patinfo>
  292. </main>
  293. <hidden>
  294. <rcv>
  295. <ptbs>
  296. <ptbs_status/>
  297. <ptbs_pid/>
  298. <ptbs_hngnm/>
  299. <ptbs_engnm/>
  300. <ptbs_rrgstno1/>
  301. <ptbs_rrgstno2/>
  302. <ptbs_brthdd/>
  303. <ptbs_sex/>
  304. <ptbs_age/>
  305. <ptbs_hometel/>
  306. <ptbs_mpphontel/>
  307. <ptbs_zipcd1/>
  308. <ptbs_zipcd2/>
  309. <ptbs_zipcdseq/>
  310. <ptbs_zipnm/>
  311. <ptbs_detladdr/>
  312. <ptbs_forgeryn/>
  313. <ptbs_recmyn/>
  314. <ptbs_recmerid/>
  315. <ptbs_vipyn/>
  316. <ptbs_religncd/>
  317. <ptbs_remfact/>
  318. <ptbs_inhospyn/>
  319. </ptbs>
  320. <ojpm>
  321. <ojpm_pid/>
  322. <ojpm_judgseqno/>
  323. <ojpm_instcd/>
  324. <ojpm_judgflag/>
  325. <ojpm_rsltflag/>
  326. <ojpm_attdataflag1/>
  327. <ojpm_attdataflag2/>
  328. <ojpm_acptcmt/>
  329. <ojpm_delivedd/>
  330. <ojpm_delivecmt/>
  331. <ojpm_courtacptdd/>
  332. <ojpm_courtnmcd/>
  333. <ojpm_courttel/>
  334. <ojpm_acdno/>
  335. <ojpm_lawyernm/>
  336. <ojpm_platftel/>
  337. <ojpm_insucmpynmcd/>
  338. <ojpm_defedtel/>
  339. <ojpm_defedchrgrnm/>
  340. <ojpm_defedcnfmdd/>
  341. <ojpm_orddelivememo/>
  342. <ojpm_spcffact/>
  343. <ojpm_fstrgstrid/>
  344. <ojpm_fstrgstdt/>
  345. <ojpm_lastupdtrid/>
  346. <ojpm_lastupdtdt/>
  347. </ojpm>
  348. </rcv>
  349. <init>
  350. <disccd>
  351. <cd/>
  352. <nm/>
  353. </disccd>
  354. <insukind>
  355. <cd/>
  356. <nm/>
  357. </insukind>
  358. <suppkind>
  359. <cd/>
  360. <nm/>
  361. <up/>
  362. <io/>
  363. </suppkind>
  364. <orddeptcd>
  365. <cd/>
  366. <nm/>
  367. </orddeptcd>
  368. <orddrid>
  369. <cd/>
  370. <nm/>
  371. <dp/>
  372. <sp/>
  373. </orddrid>
  374. <wardcd>
  375. <cd/>
  376. <nm/>
  377. <of/>
  378. </wardcd>
  379. <roomcd>
  380. <cd/>
  381. <nm/>
  382. <wd/>
  383. <gr/>
  384. <ty/>
  385. </roomcd>
  386. <flag>
  387. <prestdd/>
  388. <mskindflag/>
  389. </flag>
  390. </init>
  391. <currentDate/>
  392. <popup>
  393. <pid/>
  394. <srchcond/>
  395. <hngnm/>
  396. <rrgstno1/>
  397. <rrgstno2/>
  398. </popup>
  399. </hidden>
  400. <init>
  401. <A0001list>
  402. <A0001>
  403. <cdid/>
  404. <cdnm/>
  405. </A0001>
  406. </A0001list>
  407. <P0002list>
  408. <P0002>
  409. <cdid/>
  410. <cdnm/>
  411. </P0002>
  412. </P0002list>
  413. <P0006list>
  414. <P0006>
  415. <cdnm/>
  416. <cdid/>
  417. </P0006>
  418. </P0006list>
  419. <P0015list>
  420. <P0015>
  421. <cdnm/>
  422. <cdid/>
  423. </P0015>
  424. </P0015list>
  425. <P0016list>
  426. <P0016>
  427. <cdnm/>
  428. <cdid/>
  429. </P0016>
  430. </P0016list>
  431. <P0019list>
  432. <P0019>
  433. <cdnm/>
  434. <cdid/>
  435. </P0019>
  436. </P0019list>
  437. <P0021list>
  438. <P0021>
  439. <cdnm/>
  440. <cdid/>
  441. </P0021>
  442. </P0021list>
  443. <P0023list>
  444. <P0023>
  445. <cdid/>
  446. <cdnm/>
  447. </P0023>
  448. </P0023list>
  449. <P0025list>
  450. <P0025>
  451. <cdid/>
  452. <cdnm/>
  453. </P0025>
  454. </P0025list>
  455. <P0026list>
  456. <P0026>
  457. <cdid/>
  458. <cdnm/>
  459. </P0026>
  460. </P0026list>
  461. <P0032list>
  462. <P0032>
  463. <cdnm/>
  464. <cdid/>
  465. </P0032>
  466. </P0032list>
  467. <P0051list>
  468. <P0051>
  469. <cdnm/>
  470. <cdid/>
  471. </P0051>
  472. </P0051list>
  473. <P0149list>
  474. <P0149>
  475. <cdid/>
  476. <cdnm/>
  477. </P0149>
  478. </P0149list>
  479. <P0158list>
  480. <P0158>
  481. <cdid/>
  482. <cdnm/>
  483. </P0158>
  484. </P0158list>
  485. <P0160list>
  486. <P0160>
  487. <cdnm/>
  488. <cdid/>
  489. </P0160>
  490. </P0160list>
  491. <P0297list>
  492. <P0297>
  493. <cdnm/>
  494. <cdid/>
  495. </P0297>
  496. </P0297list>
  497. <P0313list>
  498. <P0313>
  499. <cdnm/>
  500. <cdid/>
  501. </P0313>
  502. </P0313list>
  503. <P0327list>
  504. <P0327>
  505. <cdnm/>
  506. <cdid/>
  507. </P0327>
  508. </P0327list>
  509. <courtlist>
  510. <court>
  511. <nm/>
  512. <cd/>
  513. </court>
  514. </courtlist>
  515. </init>
  516. </root>
  517. </instance>
  518. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init"/>
  519. <submission id="TRPMI00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data2" replace="instance" resultref="/root/hidden/init"/>
  520. <submission id="TRPMC00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data1" resultref="/root/hidden/rcv"/>
  521. <submission id="TRPMC00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" resultref="/root/hidden/rcv"/>
  522. <submission id="TRPMC00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data5" resultref="/root/hidden/rcv"/>
  523. <submission id="TXPMC00901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/data3" replace="instance" resultref="/root/hidden/rcv"/>
  524. <submission id="TXPMC00902" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/update" replace="instance" resultref="/root/hidden/rcv"/>
  525. <script type="javascript" ev:event="xforms-ready">
  526. <![CDATA[
  527. // 시스템 현재 일자
  528. model.setValue("/root/hidden/currentDate", getCurrentDate());
  529. fInitialize("all"); // 기본데이터 초기화
  530. fComCDRef(); // 코드 조회
  531. ]]>
  532. </script>
  533. <submission id="TRPMC00907" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/init/courtlist"/>
  534. </model>
  535. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  536. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  537. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  538. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  539. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  540. <script type="javascript" src="../../../pam/opatmngtweb/js/PMO001.js"/>
  541. <script type="javascript" ev:event="xforms-ready">
  542. <![CDATA[
  543. ]]>
  544. </script>
  545. </xhtml:head>
  546. <xhtml:body guideline="1,1193;1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  547. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  548. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:100px; height:14px; ">신체감정관리</caption>
  549. </group>
  550. <group id="group3" style="left:0px; top:13px; width:1195px; height:744px; ">
  551. <line id="line7" class="line_2" style="x1:0px; y1:100px; x2:530px; y2:100px; "/>
  552. <line id="line6" class="line_2" style="x1:0px; y1:76px; x2:530px; y2:76px; "/>
  553. <line id="line1" class="line_2" style="x1:0px; y1:52px; x2:530px; y2:52px; "/>
  554. <line id="line12" class="line_2" style="x1:0px; y1:260px; x2:530px; y2:260px; "/>
  555. <line id="line22" class="line_2" style="x1:0px; y1:284px; x2:530px; y2:284px; "/>
  556. <line id="line21" class="line_2" style="x1:0px; y1:172px; x2:530px; y2:172px; "/>
  557. <line id="line9" class="line_2" style="x1:0px; y1:148px; x2:530px; y2:148px; "/>
  558. <line id="line8" class="line_2" style="x1:0px; y1:124px; x2:530px; y2:124px; "/>
  559. <line id="line18" class="line_2" style="x1:0px; y1:695px; x2:530px; y2:695px; "/>
  560. <line id="line17" class="line_2" style="x1:0px; y1:513px; x2:530px; y2:513px; "/>
  561. <line id="line16" class="line_2" style="x1:0px; y1:470px; x2:530px; y2:470px; "/>
  562. <line id="line15" class="line_2" style="x1:0px; y1:424px; x2:530px; y2:424px; "/>
  563. <line id="line14" class="line_2" style="x1:0px; y1:378px; x2:530px; y2:378px; "/>
  564. <caption id="caption3" class="tit_2" style="left:5px; top:218px; width:195px; height:13px; font-family:돋움; vertical-align:middle; ">감정사항</caption>
  565. <line id="line3" class="line_1" style="x1:0px; y1:233px; x2:530px; y2:233px; "/>
  566. <group id="group2" style="left:535px; top:10px; width:659px; height:59px; ">
  567. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:659px; height:59px; background-color:#fffbf2; border-color:#ffd799; "/>
  568. <caption id="caption1" class="search_name" style="left:15px; top:9px; width:88px; height:17px; ">조회조건 :</caption>
  569. <button id="btn_srch" class="btn1_letter2" navindex="30" style="left:588px; top:19px; width:56px; height:22px; ">
  570. <caption>조회</caption>
  571. <script type="javascript" ev:event="DOMActivate">
  572. <![CDATA[
  573. // 환자 조회
  574. if(submit("TRPMC00901")) {
  575. var patrefcnt = getNodesetCount("/root/hidden/rcv/list1/grdpatreflist");
  576. if (patrefcnt > 0) {
  577. copyNodeType("/root/main/list1","/root/hidden/rcv/list1","replace");
  578. } else {
  579. model.removeNodeset("/root/main/list1");
  580. model.makeNode("/root/main/list1");
  581. }
  582. model.refresh();
  583. }
  584. ]]>
  585. </script>
  586. </button>
  587. <line id="line2" class="line_4" style="x1:573px; y1:8px; x2:573px; y2:51px; border-color:#ffe4bb; border-left-style:solid; "/>
  588. <caption id="caption32" class="search_name" style="left:15px; top:33px; width:88px; height:17px; ">감정구분 :</caption>
  589. <select1 id="cmb_refcond" ref="/root/send/data1/refcond" class="combo_search" navindex="26" appearance="minimal" style="left:106px; top:8px; width:114px; height:19px; ">
  590. <choices>
  591. <item>
  592. <label>전체</label>
  593. <value>0</value>
  594. </item>
  595. <item>
  596. <label>환자번호</label>
  597. <value>6</value>
  598. </item>
  599. <item>
  600. <label>성명</label>
  601. <value>1</value>
  602. </item>
  603. <item>
  604. <label>주민번호</label>
  605. <value>2</value>
  606. </item>
  607. <item>
  608. <label>사건번호</label>
  609. <value>3</value>
  610. </item>
  611. <item>
  612. <label>일련번호</label>
  613. <value>4</value>
  614. </item>
  615. <item>
  616. <label>접수일자</label>
  617. <value>5</value>
  618. </item>
  619. </choices>
  620. <script type="javascript" ev:event="xforms-select">
  621. <![CDATA[
  622. var refcond = model.getValue("/root/send/data1/refcond");
  623. model.resetInstanceNode("/root/send/data1/refcondnm1");
  624. model.resetInstanceNode("/root/send/data1/refcondnm2");
  625. fSrchCondChng(refcond);
  626. ]]>
  627. </script>
  628. </select1>
  629. <caption id="caption8" class="search_name" style="left:316px; top:33px; width:89px; height:17px; ">결과구분 :</caption>
  630. <select1 id="cmb_rsltflag" ref="/root/send/data1/rsltflag" class="combo_search" navindex="29" appearance="minimal" style="left:408px; top:32px; width:114px; height:19px; ">
  631. <choices>
  632. <item>
  633. <label>전체</label>
  634. <value>0</value>
  635. </item>
  636. <item>
  637. <label>사실조회</label>
  638. <value>1</value>
  639. </item>
  640. <item>
  641. <label>문서송부</label>
  642. <value>2</value>
  643. </item>
  644. </choices>
  645. </select1>
  646. <select1 id="cmb_judgflag" ref="/root/send/data1/judgflag" class="combo_search" navindex="28" appearance="minimal" style="left:106px; top:32px; width:114px; height:19px; ">
  647. <choices>
  648. <item>
  649. <label>전체</label>
  650. <value>0</value>
  651. </item>
  652. <item>
  653. <label>신체감정</label>
  654. <value>1</value>
  655. </item>
  656. <item>
  657. <label>필름감정</label>
  658. <value>2</value>
  659. </item>
  660. <item>
  661. <label>진료기록감정</label>
  662. <value>3</value>
  663. </item>
  664. </choices>
  665. </select1>
  666. <input id="ipt_refcondnm" ref="/root/send/data1/refcondnm1" class="input_search" navindex="27" style="left:223px; top:8px; width:90px; height:19px; ">
  667. <script type="javascript" ev:event="onkeypress">
  668. <![CDATA[
  669. if (event.keyCode=='13') {
  670. inputEnterKey("btn_srch", "DOMActivate");
  671. }
  672. ]]>
  673. </script>
  674. </input>
  675. <input id="ipt_refcondnm1" ref="/root/send/data1/refcondnm1" class="input_search" navindex="27" visibility="hidden" inputtype="date" style="left:225px; top:30px; width:90px; height:19px; "/>
  676. <input id="ipt_refcondnm2" ref="/root/send/data1/refcondnm2" class="input_search" navindex="27" visibility="hidden" inputtype="date" style="left:331px; top:8px; width:90px; height:19px; "/>
  677. <caption id="caption20" visibility="hidden" style="left:316px; top:11px; width:12px; height:16px; vertical-align:middle; ">~</caption>
  678. </group>
  679. <caption id="caption5" class="cell_1" style="left:0px; top:238px; width:100px; height:23px; vertical-align:middle; ">일련번호</caption>
  680. <select1 id="rdo_judgflag" ref="/root/main/ojpm/ojpm_judgflag" navindex="4" appearance="full" cols="3" overflow="visible" style="left:103px; top:267px; width:242px; height:16px; border-style:none; ">
  681. <choices>
  682. <item>
  683. <label>신체감정</label>
  684. <value>1</value>
  685. </item>
  686. <item>
  687. <label>필름감정</label>
  688. <value>2</value>
  689. </item>
  690. <item>
  691. <label>진료기록감정</label>
  692. <value>3</value>
  693. </item>
  694. </choices>
  695. </select1>
  696. <caption id="caption28" class="cell_1" style="left:0px; top:472px; width:100px; height:40px; vertical-align:middle; ">메모전달</caption>
  697. <caption id="caption29" class="cell_1" style="left:0px; top:698px; width:100px; height:40px; vertical-align:middle; ">특이사항</caption>
  698. <caption id="caption30" class="tit_2" style="left:540px; top:521px; width:88px; height:13px; font-family:돋움; vertical-align:middle; ">진료사항</caption>
  699. <output id="opt_judgseqno" ref="/root/main/ojpm/ojpm_judgseqno" class="output_fix" style="left:103px; top:239px; width:136px; height:19px; "/>
  700. <input id="ipt_acptcmt" ref="/root/main/ojpm/ojpm_acptcmt" class="input_default" navindex="7" maxlength="100" style="left:151px; top:311px; width:117px; height:19px; "/>
  701. <output id="opt_ptbs_zipcd1" ref="/root/main/ptbs/ptbs_zipcd1" class="output_fix" appearance="output" style="left:128px; top:127px; width:42px; height:19px; "/>
  702. <output id="opt_ptbs_zipcd2" ref="/root/main/ptbs/ptbs_zipcd2" class="output_fix" appearance="output" style="left:173px; top:127px; width:42px; height:19px; "/>
  703. <output id="opt_ptbs_zipnm" ref="/root/main/ptbs/ptbs_zipnm" class="output_fix" appearance="output" style="left:241px; top:127px; width:288px; height:19px; "/>
  704. <output id="opt_ptbs_age" ref="/root/main/ptbs/ptbs_age" class="output_fix" appearance="output" style="left:476px; top:31px; width:54px; height:19px; "/>
  705. <caption id="caption10" class="cell_1" style="left:0px; top:126px; width:125px; height:23px; vertical-align:middle; ">우편번호</caption>
  706. <output id="opt_ptbs_mpphontel" ref="/root/main/ptbs/ptbs_mpphontel" class="output_fix" appearance="output" style="left:331px; top:103px; width:199px; height:19px; "/>
  707. <caption id="caption11" class="cell_1" style="left:0px; top:54px; width:125px; height:23px; vertical-align:middle; ">성명[한/영]</caption>
  708. <caption id="caption2" class="tit_2" style="left:5px; top:10px; width:170px; height:13px; font-family:돋움; vertical-align:middle; ">인적사항</caption>
  709. <output id="opt_ptbs_detladdr" ref="/root/main/ptbs/ptbs_detladdr" class="output_fix" appearance="output" style="left:128px; top:151px; width:402px; height:19px; "/>
  710. <caption id="caption13" class="cell_1" style="left:0px; top:150px; width:125px; height:23px; vertical-align:middle; ">하위주소</caption>
  711. <input id="ipt_ptbs_rrgstno1" ref="/root/main/ptbs/ptbs_rrgstno1" class="input_s_essential" navindex="3" style="left:128px; top:79px; width:77px; height:19px; ">
  712. <script type="javascript" ev:event="onkeypress">
  713. <![CDATA[
  714. if (event.keyCode=='13') {
  715. model.setValue("/root/send/data4/autoflag","Y");
  716. inputEnterKey("btn_ptbsrrgstno", "DOMActivate");
  717. }
  718. ]]>
  719. </script>
  720. </input>
  721. <caption id="caption14" class="cell_1" style="left:0px; top:78px; width:125px; height:23px; vertical-align:middle; ">주민번호</caption>
  722. <output id="opt_ptbs_brthdd" ref="/root/main/ptbs/ptbs_brthdd" class="output_fix" appearance="output" style="left:419px; top:79px; width:111px; height:19px; "/>
  723. <output id="opt_ptbs_hometel" ref="/root/main/ptbs/ptbs_hometel" class="output_fix" appearance="output" style="left:128px; top:103px; width:200px; height:19px; "/>
  724. <input id="ipt_ptbs_pid" ref="/root/main/ptbs/ptbs_pid" class="input_s_essential" navindex="1" maxlength="10" appearance="input" style="left:128px; top:31px; width:161px; height:19px; ">
  725. <script type="javascript" ev:event="onkeypress">
  726. <![CDATA[
  727. if (event.keyCode=='13') {
  728. // popup open 없이 조회로 변경
  729. model.setFocus("btn_ojpid");
  730. model.makeNode("/root/main/popupendflag");
  731. model.setValue("/root/main/popupendflag","pass");
  732. fOJBaseInfoRef();
  733. /*
  734. model.setValue("/root/send/data4/autoflag","Y");
  735. inputEnterKey("btn_ojpid", "DOMActivate");
  736. */
  737. }
  738. ]]>
  739. </script>
  740. </input>
  741. <input id="ipt_ptbs_hngnm" ref="/root/main/ptbs/ptbs_hngnm" class="input_s_essential" navindex="2" style="left:128px; top:55px; width:161px; height:19px; ">
  742. <script type="javascript" ev:event="onkeypress">
  743. <![CDATA[
  744. if (event.keyCode=='13') {
  745. model.setValue("/root/send/data4/autoflag","Y");
  746. inputEnterKey("btn_ptbshngnm", "DOMActivate");
  747. }
  748. ]]>
  749. </script>
  750. </input>
  751. <caption id="caption7" class="cell_1" style="left:0px; top:30px; width:125px; height:23px; vertical-align:middle; ">환자번호</caption>
  752. <output id="opt_ptbs_sex" ref="/root/main/ptbs/ptbs_sex" class="output_fix" appearance="output" style="left:419px; top:31px; width:54px; height:19px; "/>
  753. <caption id="caption9" class="cell_1" style="left:311px; top:30px; width:105px; height:23px; vertical-align:middle; ">성별/나이</caption>
  754. <caption id="caption26" class="cell_1" style="left:311px; top:78px; width:105px; height:23px; vertical-align:middle; ">생년월일</caption>
  755. <caption id="caption34" class="cell_1" style="left:0px; top:102px; width:125px; height:23px; vertical-align:middle; ">연락처/휴대폰</caption>
  756. <line id="line4" class="line_1" style="x1:0px; y1:25px; x2:530px; y2:25px; "/>
  757. <output id="opt_ptbs_engnm" ref="/root/main/ptbs/ptbs_engnm" class="output_fix" appearance="output" style="left:311px; top:55px; width:219px; height:19px; "/>
  758. <textarea id="tar_spcffact" ref="/root/main/ojpm/ojpm_spcffact" navindex="22" maxlength="250" style="left:103px; top:700px; width:427px; height:37px; "/>
  759. <textarea id="tar_orddelivememo" ref="/root/main/ojpm/ojpm_orddelivememo" navindex="21" maxlength="250" style="left:103px; top:473px; width:427px; height:37px; "/>
  760. <line id="line5" class="line_1" style="x1:535px; y1:536px; x2:1194px; y2:536px; "/>
  761. <caption id="caption4" class="cell_1" style="left:0px; top:334px; width:100px; height:45px; vertical-align:middle; ">법원관련</caption>
  762. <caption id="caption27" class="cell_2" style="left:103px; top:334px; width:92px; height:23px; vertical-align:middle; ">접수일자</caption>
  763. <caption id="caption35" class="cell_2" style="left:198px; top:334px; width:142px; height:23px; vertical-align:middle; ">법원명</caption>
  764. <caption id="caption36" class="cell_2" style="left:343px; top:334px; width:92px; height:23px; vertical-align:middle; ">사건번호</caption>
  765. <caption id="caption37" class="cell_2" style="left:438px; top:334px; width:92px; height:23px; vertical-align:middle; ">전화번호</caption>
  766. <input id="ipt_courtacptdd" ref="/root/main/ojpm/ojpm_courtacptdd" class="input_default" navindex="11" inputtype="date" style="left:103px; top:358px; width:92px; height:19px; "/>
  767. <input id="ipt_acdno" ref="/root/main/ojpm/ojpm_acdno" class="input_default" navindex="13" maxlength="20" style="left:343px; top:358px; width:92px; height:19px; "/>
  768. <caption id="caption38" class="cell_2" style="left:198px; top:380px; width:142px; height:23px; vertical-align:middle; ">전화번호</caption>
  769. <caption id="caption39" class="cell_1" style="left:0px; top:380px; width:100px; height:45px; vertical-align:middle; ">원고측</caption>
  770. <caption id="caption40" class="cell_2" style="left:103px; top:380px; width:92px; height:23px; vertical-align:middle; ">변호사</caption>
  771. <caption id="caption41" class="cell_2" style="left:198px; top:426px; width:142px; height:23px; vertical-align:middle; ">전화번호</caption>
  772. <caption id="caption42" class="cell_1" style="left:0px; top:426px; width:100px; height:45px; vertical-align:middle; ">피고측</caption>
  773. <caption id="caption43" class="cell_2" style="left:343px; top:426px; width:92px; height:23px; vertical-align:middle; ">담당자</caption>
  774. <caption id="caption44" class="cell_2" style="left:438px; top:426px; width:92px; height:23px; vertical-align:middle; ">확인일자</caption>
  775. <caption id="caption45" class="cell_2" style="left:103px; top:426px; width:92px; height:23px; vertical-align:middle; ">피고인</caption>
  776. <input id="ipt_lawyernm" ref="/root/main/ojpm/ojpm_lawyernm" class="input_default" navindex="15" maxlength="20" style="left:103px; top:404px; width:92px; height:19px; "/>
  777. <input id="ipt_platftelt" ref="/root/main/ojpm/ojpm_platftel" class="input_default" navindex="16" maxlength="20" style="left:198px; top:404px; width:142px; height:19px; "/>
  778. <input id="ipt_defedchrgrnm" ref="/root/main/ojpm/ojpm_defedchrgrnm" class="input_default" navindex="19" maxlength="20" style="left:343px; top:450px; width:92px; height:19px; "/>
  779. <input id="ipt_defedcnfmdd" ref="/root/main/ojpm/ojpm_defedcnfmdd" class="input_default" navindex="20" inputtype="date" style="left:438px; top:450px; width:92px; height:19px; "/>
  780. <input id="ipt_defedte" ref="/root/main/ojpm/ojpm_defedtel" class="input_default" navindex="18" maxlength="20" style="left:198px; top:450px; width:142px; height:19px; "/>
  781. <line id="line10" class="line_2" style="x1:0px; y1:308px; x2:530px; y2:308px; "/>
  782. <caption id="caption12" class="cell_1" style="left:0px; top:262px; width:100px; height:23px; vertical-align:middle; ">감정구분</caption>
  783. <line id="line11" class="line_2" style="x1:0px; y1:332px; x2:530px; y2:332px; "/>
  784. <caption id="caption15" class="cell_1" style="left:0px; top:310px; width:100px; height:23px; vertical-align:middle; ">첨부자료구분</caption>
  785. <line id="line19" class="line_3" style="x1:0px; y1:740px; x2:530px; y2:740px; "/>
  786. <caption id="caption16" class="tit_2" style="left:540px; top:79px; width:105px; height:13px; font-family:돋움; vertical-align:middle; ">감정내역조회</caption>
  787. <line id="line20" class="line_1" style="x1:535px; y1:94px; x2:1194px; y2:94px; "/>
  788. <textarea id="textarea3" ref="/root/main/ptbs/ptbs_remfact" scroll="vertical" maxlength="150" style="left:128px; top:175px; width:402px; height:30px; "/>
  789. <caption id="caption17" class="cell_1" style="left:0px; top:174px; width:125px; height:34px; vertical-align:middle; ">참고사항</caption>
  790. <line id="line13" class="line_3" style="x1:0px; y1:208px; x2:530px; y2:208px; "/>
  791. <caption id="caption18" class="cell_1" style="left:0px; top:286px; width:100px; height:23px; vertical-align:middle; ">결과구분</caption>
  792. <select id="chk_rsltflag1" ref="/root/main/ojpm/ojpm_rsltflag1" navindex="5" overflow="visible" appearance="full" style="left:103px; top:289px; width:67px; height:16px; border-style:none; ">
  793. <choices>
  794. <item>
  795. <label>사실조회</label>
  796. <value>1</value>
  797. </item>
  798. </choices>
  799. </select>
  800. <select id="chk_rsltflag2" ref="/root/main/ojpm/ojpm_rsltflag2" navindex="5" overflow="visible" appearance="full" style="left:173px; top:289px; width:67px; height:16px; border-style:none; ">
  801. <choices>
  802. <item>
  803. <label>문서송부</label>
  804. <value>2</value>
  805. </item>
  806. </choices>
  807. </select>
  808. <select id="chk_attdataflag1" ref="/root/main/ojpm/ojpm_attdataflag1" navindex="6" overflow="visible" appearance="full" style="left:103px; top:313px; width:45px; height:16px; border-style:none; ">
  809. <choices>
  810. <item>
  811. <label>접수</label>
  812. <value>1</value>
  813. </item>
  814. </choices>
  815. </select>
  816. <select id="chk_attdataflag2" ref="/root/main/ojpm/ojpm_attdataflag2" navindex="8" overflow="visible" appearance="full" style="left:271px; top:313px; width:45px; height:16px; border-style:none; ">
  817. <choices>
  818. <item>
  819. <label>발송</label>
  820. <value>2</value>
  821. </item>
  822. </choices>
  823. </select>
  824. <input id="ipt_delivecmt" ref="/root/main/ojpm/ojpm_delivecmt" class="input_default" navindex="9" maxlength="100" style="left:319px; top:311px; width:117px; height:19px; "/>
  825. <input id="ipt_delivedd" ref="/root/main/ojpm/ojpm_delivedd" class="input_default" navindex="10" inputtype="date" style="left:439px; top:311px; width:91px; height:19px; "/>
  826. <output id="opt_ptbs_zipcdseq" ref="/root/main/ptbs/ptbs_zipcdseq" class="output_fix" appearance="output" style="left:218px; top:127px; width:20px; height:19px; "/>
  827. <output id="opt_ptbs_rrgstno2" ref="/root/main/ptbs/ptbs_rrgstno2" class="output_fix" appearance="output" style="left:208px; top:79px; width:81px; height:19px; "/>
  828. <button id="btn_ojpid" class="icon_search" style="left:292px; top:32px; width:16px; height:16px; ">
  829. <caption/>
  830. <script type="javascript" ev:event="DOMActivate">
  831. <![CDATA[
  832. /* */
  833. var ptbs_pid = model.getValue("/root/main/ptbs/ptbs_pid");
  834. if (ptbs_pid == null || ptbs_pid ==" " || ptbs_pid == "") {
  835. model.resetInstanceNode("/root/send/data4");
  836. } else {
  837. model.setValue("/root/send/data4/pid",model.getValue("/root/main/ptbs/ptbs_pid"));
  838. model.setValue("/root/send/data4/srchcond","1");
  839. }
  840. modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
  841. model.resetInstanceNode("/root/send/data4");
  842. fOJBaseInfoRef();
  843. ]]>
  844. </script>
  845. </button>
  846. <button id="btn_ptbshngnm" class="icon_search" style="left:292px; top:56px; width:16px; height:16px; ">
  847. <caption/>
  848. <script type="javascript" ev:event="DOMActivate">
  849. <![CDATA[
  850. var ptbs_hngnm = model.getValue("/root/main/ptbs/ptbs_hngnm");
  851. if (ptbs_hngnm == null || ptbs_hngnm ==" " || ptbs_hngnm == "") {
  852. model.resetInstanceNode("/root/send/data4");
  853. } else {
  854. model.setValue("/root/send/data4/hngnm",model.getValue("/root/main/ptbs/ptbs_hngnm"));
  855. model.setValue("/root/send/data4/srchcond","2");
  856. }
  857. modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
  858. model.resetInstanceNode("/root/send/data4");
  859. fOJBaseInfoRef();
  860. ]]>
  861. </script>
  862. </button>
  863. <button id="btn_ptbsrrgstno" class="icon_search" style="left:292px; top:80px; width:16px; height:16px; ">
  864. <caption/>
  865. <script type="javascript" ev:event="DOMActivate">
  866. <![CDATA[
  867. var ptbs_rrgstno1 = model.getValue("/root/main/ptbs/ptbs_rrgstno1");
  868. var ptbs_rrgstno2 = model.getValue("/root/main/ptbs/ptbs_rrgstno2");
  869. if ((ptbs_rrgstno1 == null || ptbs_rrgstno1 ==" " || ptbs_rrgstno1 == "") && (ptbs_rrgstno2 == null || ptbs_rrgstno2 ==" " || ptbs_rrgstno2 == "")) {
  870. model.resetInstanceNode("/root/send/data4");
  871. } else {
  872. model.setValue("/root/send/data4/rrgstno1",model.getValue("/root/main/ptbs/ptbs_rrgstno1"));
  873. model.setValue("/root/send/data4/rrgstno2",model.getValue("/root/main/ptbs/ptbs_rrgstno2"));
  874. model.setValue("/root/send/data4/srchcond","3")
  875. }
  876. modal("../../../pam/patinfomngtweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/send/data4", "/root/send");
  877. model.resetInstanceNode("/root/send/data4");
  878. fOJBaseInfoRef();
  879. ]]>
  880. </script>
  881. </button>
  882. <button id="btn_delrow" class="btn2_letter3" navindex="24" style="left:477px; top:516px; width:53px; height:19px; ">
  883. <caption>행삭제</caption>
  884. <script type="javascript" ev:event="DOMActivate">
  885. <![CDATA[
  886. var currow = grd_orgnjudg.row;
  887. if (currow < 1)
  888. {
  889. messageBox("먼저 삭제할 내역을 선택하십시요!","E999","");
  890. return;
  891. }
  892. grd_orgnjudg.deleteitem(currow);
  893. //fReduamtCalc();
  894. ]]>
  895. </script>
  896. </button>
  897. <button id="btn_addrow" class="btn2_letter3" navindex="23" style="left:421px; top:516px; width:53px; height:19px; ">
  898. <caption>행추가</caption>
  899. <script type="javascript" ev:event="DOMActivate">
  900. <![CDATA[
  901. var pid =model.getValue("/root/main/ptbs/ptbs_pid");
  902. if (pid == null || pid == "" )
  903. {
  904. messageBox("감정 사항을 등록할 환자를 조회 후 추가해 주십시요!","E999","");
  905. return;
  906. }
  907. grd_orgnjudg.addRow();
  908. var row = grd_orgnjudg.rows -1;
  909. grd_orgnjudg.isReadOnly(row,4) = true;
  910. ]]>
  911. </script>
  912. </button>
  913. <caption id="caption19" class="tit_2" style="left:5px; top:521px; width:195px; height:13px; font-family:돋움; vertical-align:middle; ">진료과</caption>
  914. <line id="line23" class="line_1" style="x1:0px; y1:536px; x2:530px; y2:536px; "/>
  915. <datagrid id="grd_patrefl" nodeset="/root/main/list1/grdpatreflist" caption="일련번호^접수일자^발송일자^환자번호^환자성명^감정구분^첨부자료구분" colsep="^" colwidth="80, 87, 87, 87, 87, 104, 104" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:534px; top:99px; width:659px; height:412px; ">
  916. <col ref="judgseqno" style="text-align:center; "/>
  917. <col ref="courtacptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  918. <col ref="delivedd" format="yyyy-mm-dd" style="text-align:center; "/>
  919. <col ref="pid"/>
  920. <col ref="hngnm"/>
  921. <col disabled="true" ref="judgflag" type="combo">
  922. <choices>
  923. <item>
  924. <label>신체감정</label>
  925. <value>1</value>
  926. </item>
  927. <item>
  928. <label>필름감정</label>
  929. <value>2</value>
  930. </item>
  931. <item>
  932. <label>진료기록감정</label>
  933. <value>3</value>
  934. </item>
  935. </choices>
  936. </col>
  937. <col disabled="true" ref="attdataflag" type="combo">
  938. <choices>
  939. <item>
  940. <label>접수/발송</label>
  941. <value>3</value>
  942. </item>
  943. <item>
  944. <label>접수</label>
  945. <value>1</value>
  946. </item>
  947. <item>
  948. <label>발송</label>
  949. <value>2</value>
  950. </item>
  951. </choices>
  952. </col>
  953. <script type="javascript" ev:event="onclick">
  954. <![CDATA[
  955. if(grd_patrefl.isCell(event.target) && grd_patrefl.row >= grd_patrefl.fixedRows) {
  956. fInitialize(""); // 환자 인적 사항, 감정사항 / 진료과, 진료사항 초기화
  957. var row = grd_patrefl.row ;
  958. model.setValue("/root/send/data5/pid",grd_patrefl.valueMatrix(row,4));
  959. model.setValue("/root/send/data5/judgseqno",grd_patrefl.valueMatrix(row,1));
  960. fGetOJPatInfo("all"); // 환자 인적 사항, 감정사항 / 진료과, 진료사항 조회
  961. }
  962. ]]>
  963. </script>
  964. </datagrid>
  965. <datagrid id="grd_ordfact" nodeset="/root/main/list2/grdordfactlist" caption="구분^진료/입원일자^퇴원일자^보험유형^진료과^총진료비" colsep="^" colwidth="40, 100, 100, 100, 207, 90" dataheight="23" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="23" rowsep="|" style="left:535px; top:541px; width:659px; height:203px; ">
  966. <col ref="ioflag"/>
  967. <col ref="inoutdd" format="yyyy-mm-dd" style="text-align:center; "/>
  968. <col ref="dschdd" format="yyyy-mm-dd" style="text-align:center; "/>
  969. <col disabled="true" ref="insukind" type="combo">
  970. <choices>
  971. <itemset nodeset="/root/hidden/init/insukind">
  972. <label ref="nm"/>
  973. <value ref="cd"/>
  974. </itemset>
  975. </choices>
  976. </col>
  977. <col ref="orddeptcd"/>
  978. <col ref="totordamt" format="#,###" style="text-align:right; "/>
  979. </datagrid>
  980. <datagrid id="grd_orgnjudg" nodeset="/root/main/ojodlist/grdorgnjudglist" caption="환자번호^일련번호^진료과Key^진료과^전문의^법원보관금^결과작성일^예약일시" colsep="^" colwidth="0, 0, 0, 152, 75, 85, 90, 125" dataheight="23" mergecellsfixedrows="bycolrec" rowheight="23" rowsep="|" navindex="25" style="left:0px; top:541px; width:530px; height:149px; ">
  981. <col ref="pid"/>
  982. <col ref="judgseqno"/>
  983. <col ref="orddeptcdkey"/>
  984. <col ref="orddeptcd" type="combo">
  985. <choices>
  986. <itemset nodeset="/root/hidden/init/orddeptcd">
  987. <label ref="nm"/>
  988. <value ref="cd"/>
  989. </itemset>
  990. </choices>
  991. </col>
  992. <col ref="atdoctid" type="combo">
  993. <choices>
  994. <itemset nodeset="/root/hidden/init/orddrid">
  995. <label ref="nm"/>
  996. <value ref="cd"/>
  997. </itemset>
  998. </choices>
  999. </col>
  1000. <col ref="clamamt" type="input" format="#,###" maxlength="10" style="text-align:right; "/>
  1001. <col ref="rsltworkdd" type="inputdate"/>
  1002. <col ref="rsrvdd" type="input" format="yyyy-mm-dd hh:nn:ss" maxlength="14"/>
  1003. <script type="javascript" ev:event="xforms-value-changed">
  1004. <![CDATA[
  1005. var row = grd_orgnjudg.row;
  1006. var col = grd_orgnjudg.col;
  1007. if (col == 3) {
  1008. var orddeptcd = grd_orgnjudg.valueMatrix(row,col);
  1009. grd_orgnjudg.cellComboNodeset(row,4) = "/root/hidden/init/orddrid[dp = '"+orddeptcd+"']";
  1010. grd_orgnjudg.isReadOnly(row,4) = false;
  1011. model.refresh();
  1012. }
  1013. ]]>
  1014. </script>
  1015. </datagrid>
  1016. <button id="button1" class="btn2_letter4" style="left:466px; top:5px; width:64px; height:19px; ">
  1017. <caption>환자인적</caption>
  1018. <script type="javascript" ev:event="DOMActivate">
  1019. <![CDATA[
  1020. var ptbs_pid = model.getValue("/root/main/ptbs/ptbs_pid");
  1021. if (ptbs_pid == null || ptbs_pid == " " || ptbs_pid == "" ) {
  1022. } else {
  1023. model.setValue("/root/hidden/popup/pid",ptbs_pid);
  1024. model.setValue("/root/hidden/popup/srchcond","1");
  1025. }
  1026. modal("../../../pam/patinfomngtweb/xrw/SMPMC01400", "1","100", "100", "SMPMC01400", "/root/hidden/popup", "/root/hidden/source");
  1027. ]]>
  1028. </script>
  1029. </button>
  1030. <input id="cmb_insucmpynmcd" ref="/root/main/ojpm/ojpm_insucmpynmcd" class="input_default" navindex="13" maxlength="20" style="left:103px; top:450px; width:92px; height:19px; "/>
  1031. <select1 id="combo1" ref="/root/main/ojpm/ojpm_courtnmcd" class="combo_default" navindex="12" appearance="minimal" style="left:198px; top:358px; width:142px; height:19px; ">
  1032. <choices>
  1033. <itemset nodeset="/root/init/courtlist/court">
  1034. <label ref="nm"/>
  1035. <value ref="cd"/>
  1036. </itemset>
  1037. </choices>
  1038. <script type="javascript" ev:event="xforms-value-changed">
  1039. <![CDATA[
  1040. // 20100114 수정추가 법원관리에 등록된 전화번호만 가져오기..
  1041. var cmb1value = combo1.value;
  1042. combo2.choices.itemset.attribute("nodeset") = "/root/init/courtlist/court[cd = '"+ cmb1value +"']";
  1043. combo2.refresh();
  1044. ]]>
  1045. </script>
  1046. </select1>
  1047. <select1 id="combo2" ref="/root/main/ojpm/ojpm_courttel" class="combo_default" navindex="12" appearance="minimal" style="left:438px; top:358px; width:92px; height:19px; ">
  1048. <choices>
  1049. <itemset nodeset="/root/init/courtlist/court">
  1050. <label ref="tel"/>
  1051. <value ref="tel"/>
  1052. </itemset>
  1053. </choices>
  1054. </select1>
  1055. </group>
  1056. <group id="group5" style="left:0px; top:757px; width:1195px; height:27px; ">
  1057. <button id="button2" class="btn4_letter3" navindex="32" style="left:1126px; top:5px; width:68px; height:22px; ">
  1058. <caption>초기화</caption>
  1059. <script type="javascript" ev:event="DOMActivate">
  1060. <![CDATA[
  1061. fInitialize("all"); // 기본데이터 초기화
  1062. ]]>
  1063. </script>
  1064. </button>
  1065. <button id="btn_save" class="btn4_letter2" navindex="31" style="left:1067px; top:5px; width:56px; height:22px; ">
  1066. <caption>저장</caption>
  1067. <script type="javascript" ev:event="DOMActivate">
  1068. <![CDATA[
  1069. var rsltflag1 = model.getValue("/root/main/ojpm/ojpm_rsltflag1");
  1070. var rsltflag2 = model.getValue("/root/main/ojpm/ojpm_rsltflag2");
  1071. var attdataflag1 = model.getValue("/root/main/ojpm/ojpm_attdataflag1");
  1072. var attdataflag2 = model.getValue("/root/main/ojpm/ojpm_attdataflag2");
  1073. if (rsltflag1 == "1" && rsltflag2 == "2") {
  1074. model.setValue("/root/main/ojpm/ojpm_rsltflag","3");
  1075. } else if (rsltflag1 == "1" ) {
  1076. model.setValue("/root/main/ojpm/ojpm_rsltflag",model.getValue("/root/main/ojpm/ojpm_rsltflag1"));
  1077. } else if (rsltflag2 == "2" ) {
  1078. model.setValue("/root/main/ojpm/ojpm_rsltflag",rsltflag2);
  1079. } else {
  1080. model.setValue("/root/main/ojpm/ojpm_rsltflag","");
  1081. }
  1082. if (attdataflag1 == "1" && attdataflag2 == "2") {
  1083. model.setValue("/root/main/ojpm/ojpm_attdataflag","3");
  1084. } else if (attdataflag1 == "1" ) {
  1085. model.setValue("/root/main/ojpm/ojpm_attdataflag",attdataflag1);
  1086. } else if (attdataflag2 == "2" ) {
  1087. model.setValue("/root/main/ojpm/ojpm_attdataflag",attdataflag2);
  1088. } else {
  1089. model.setValue("/root/main/ojpm/ojpm_attdataflag","");
  1090. }
  1091. model.setValue("/root/main/ojpm/ojpm_pid",model.getValue("/root/main/ptbs/ptbs_pid"));
  1092. model.copyNode("/root/send/data3","/root/main/ojpm");
  1093. if(submit("TXPMC00901")){
  1094. // 감정 내용 저장 후 조회
  1095. var ojpmcnt = getNodesetCount("/root/hidden/rcv/ojpm");
  1096. if (ojpmcnt > 0) {
  1097. copyNodeType("/root/main/ojpm","/root/hidden/rcv/ojpm","replace");
  1098. } else {
  1099. model.resetInstanceNode("/root/main/ojpm");
  1100. }
  1101. model.refresh();
  1102. // 감정 내용 일련번호
  1103. var judgseqno = model.getValue("/root/main/ojpm/ojpm_judgseqno");
  1104. var row = grd_orgnjudg.rows;
  1105. var status = "";
  1106. for (i=1; i<row; i++) {
  1107. status = grd_orgnjudg.rowStatus(i);
  1108. if (status == "3") {
  1109. grd_orgnjudg.valueMatrix(i,0) = model.getValue("/root/main/ptbs/ptbs_pid");
  1110. grd_orgnjudg.valueMatrix(i,1) = judgseqno;
  1111. }
  1112. }
  1113. model.setValue("/root/send/update/datalist",grd_orgnjudg.getUpdateData());
  1114. for(var i=grd_orgnjudg.rows-1 ; i>=1 ; i--){
  1115. if ( grd_orgnjudg.valueMatrix((grd_orgnjudg.rows-1),1) == "" ){
  1116. //messageBox("자료를 " , "C001" );
  1117. grd_orgnjudg.deleteRow(i);
  1118. }
  1119. }
  1120. if(submit("TXPMC00902")){
  1121. // 진료과 저장 후 조회
  1122. var ojodlistcnt = getNodesetCount("/root/hidden/rcv/ojodlist");
  1123. if (ojodlistcnt > 0) {
  1124. copyNodeType("/root/main/ojodlist","/root/hidden/rcv/ojodlist","replace");
  1125. } else {
  1126. model.resetInstanceNode("/root/main/ojodlist");
  1127. }
  1128. }
  1129. /* if(submit("TXPMC00902")){
  1130. // 진료과 저장 후 조회
  1131. var ojodlistcnt = getNodesetCount("/root/hidden/rcv/ojodlist");
  1132. if (ojodlistcnt > 0) {
  1133. copyNodeType("/root/main/ojodlist","/root/hidden/rcv/ojodlist","replace");
  1134. } else {
  1135. model.resetInstanceNode("/root/main/ojodlist");
  1136. }
  1137. }*/
  1138. grd_orgnjudg.rebuild();
  1139. grd_orgnjudg.clearStatus();
  1140. }
  1141. model.refresh();
  1142. ]]>
  1143. </script>
  1144. </button>
  1145. <button id="button6" class="btn3_letter8" style="left:83px; top:5px; width:128px; height:22px; ">
  1146. <caption>신체감정일정관리</caption>
  1147. <script type="javascript" ev:event="DOMActivate">
  1148. <![CDATA[
  1149. modal("../../../pam/patinfomngtweb/xrw/SPPMC03000", "1","","", "SPPMC03000", "", "");
  1150. ]]>
  1151. </script>
  1152. </button>
  1153. <button id="button8" class="btn3_letter6" style="left:214px; top:5px; width:104px; height:22px; ">
  1154. <caption>신체감정현황</caption>
  1155. <script type="javascript" ev:event="DOMActivate">
  1156. <![CDATA[
  1157. //modal("SPPMC03100", "1","150","150", "SPPMC03100", "", "");
  1158. modal("../../../pam/patinfomngtweb/xrw/SPPMC03100", "1","","", "SPPMC03100", "", "");
  1159. ]]>
  1160. </script>
  1161. </button>
  1162. <button id="button9" class="btn3_letter6" style="left:321px; top:5px; width:104px; height:22px; ">
  1163. <caption>회신기간통계</caption>
  1164. <script type="javascript" ev:event="DOMActivate">
  1165. <![CDATA[
  1166. model.setValue("/root/send/data6/reffromdd",model.getValue("/root/hidden/currentDate"));
  1167. model.setValue("/root/send/data6/reftodd",model.getValue("/root/hidden/currentDate"));
  1168. modal("../../../pam/patinfomngtweb/xrw/SPPMC03200", "1","150","150", "SPPMC03200", "/root/send/data6", "/root/send/data1");
  1169. ]]>
  1170. </script>
  1171. </button>
  1172. <button id="button10" class="btn3_letter8" style="left:428px; top:5px; width:128px; height:22px; ">
  1173. <caption>신체감정의사관리</caption>
  1174. <script type="javascript" ev:event="DOMActivate">
  1175. <![CDATA[
  1176. modal("../../../pam/patinfomngtweb/xrw/SMPMC03300", "1","","", "SMPMC03300", "", "");
  1177. ]]>
  1178. </script>
  1179. </button>
  1180. <button id="button4" class="btn3_letter4" style="left:0px; top:5px; width:128px; height:22px; ">
  1181. <caption>법원관리</caption>
  1182. <script type="javascript" ev:event="DOMActivate">
  1183. <![CDATA[
  1184. //modal("../../../pam/opatmngtweb/xrw/SPPMC04900", "1","","", "SPPMC04900", "", "");
  1185. //modal("SPPMC04900", "1","150","150", "SPPMC04900", "", "");
  1186. modal("../../../pam/patinfomngtweb/xrw/SPPMC04900", "1","","", "SPPMC04900", "", "");
  1187. ]]>
  1188. </script>
  1189. </button>
  1190. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  1191. <button id="button12" class="btn3_letter4" style="left:559px; top:5px; width:80px; height:22px; ">
  1192. <caption>전화예약</caption>
  1193. <script type="javascript" ev:event="DOMActivate">
  1194. <![CDATA[
  1195. modal("../../../pam/patinfomngtweb/xrw/SMPMO00200", "1","","", "SMPMO00200", "", "");
  1196. ]]>
  1197. </script>
  1198. </button>
  1199. <button id="button3" class="btn3_letter9" style="left:642px; top:5px; width:80px; height:22px; ">
  1200. <caption>법원보관금청구현황</caption>
  1201. <script type="javascript" ev:event="DOMActivate">
  1202. <![CDATA[
  1203. var currentDate = model.getValue("/root/hidden/currentDate");
  1204. // model.setValue("/root/send/data7/refYY",currentDate.substring(0,4));
  1205. // model.setValue("/root/send/data7/refMM",currentDate.substring(4,6));
  1206. //modal("SPPMC04300", "1","150","150", "SPPMC04300", "", "");
  1207. modal("../../../pam/patinfomngtweb/xrw/SPPMC04300", "1","","", "SPPMC04300", "", "");
  1208. ]]>
  1209. </script>
  1210. </button>
  1211. </group>
  1212. </xhtml:body>
  1213. </xhtml:html>