SMLPR00400_세포결과일괄등록.xrw 76 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMLPR00400_세포결과일괄등록.xrw
  4. * 설 명 : 세포결과일괄등록
  5. * 설 계 자 :
  6. * 작 성 자 : 유동철(ACK)
  7. * 작 성 일 : 2007.06.02
  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. <xhtml:head>
  14. <xhtml:title>세포결과 일괄등록</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <acptptno>
  20. <acptptnolist>
  21. <choi/>
  22. <instcd/>
  23. <ptno/>
  24. <dispptno/>
  25. <acptdd/>
  26. <pid/>
  27. <patnm/>
  28. <cellusernm/>
  29. <celluserid/>
  30. <testrslt1/>
  31. <readdrnm1/>
  32. <readdrid1/>
  33. <readdrnm2/>
  34. <readdrid2/>
  35. <readrslt/>
  36. <dummy1/>
  37. <lastdrid/>
  38. <lastrslt/>
  39. <dummy2/>
  40. <rsltstat/>
  41. <rsltrgstdd/>
  42. <rsltrgstno/>
  43. <cellrgstdd/>
  44. <cellrgstno/>
  45. <doctrgstdd/>
  46. <doctrgstno/>
  47. <rsltcnts4/>
  48. <rsltcnts5/>
  49. <statsworkflagcd/>
  50. <extrpartcd/>
  51. <extrmthdcd/>
  52. <diagcnts/>
  53. <diagcd/>
  54. <cmtcnts/>
  55. <readgrade/>
  56. <wardcd/>
  57. <age/>
  58. <reqfrmno/>
  59. <reqfrmflagcd/>
  60. <rsltcnts6/>
  61. <readid/>
  62. <sepo1mcnts/>
  63. <sepo2mcnts/>
  64. <sepo3mcnts/>
  65. <cellrsltrgstid/>
  66. </acptptnolist>
  67. </acptptno>
  68. <ncharrslt/>
  69. </main>
  70. <send/>
  71. <init>
  72. <hospenv>
  73. <hospenvinfo>
  74. <instcd/>
  75. <lendrtnterm/>
  76. <recvqualmthdcd/>
  77. <plgydeptcd/>
  78. <plgyteamcd/>
  79. <doctjobgradcd/>
  80. <teamjobgradcd/>
  81. </hospenvinfo>
  82. </hospenv>
  83. <sysdt>
  84. <sysdtinfo>
  85. <sysdd/>
  86. <systm/>
  87. </sysdtinfo>
  88. </sysdt>
  89. <userinfo>
  90. <userinfolist>
  91. <userid/>
  92. <usernm/>
  93. <jobkindcd/>
  94. </userinfolist>
  95. </userinfo>
  96. <seporesn1>
  97. <dgflagcd>1</dgflagcd>
  98. <seporslt/>
  99. <seporesninfo>
  100. <title>Cervico-vaginal smear, liquid based cytology, automated screening system;</title>
  101. <title01>1) Adequacy of specimen</title01>
  102. <val01>false</val01>
  103. <lbl01>1. satisfactory for evaluation</lbl01>
  104. <val02>false</val02>
  105. <lbl02>2. unsatisfactory for evaluation</lbl02>
  106. <title02>2) Cytologic diagnosis</title02>
  107. <val03>false</val03>
  108. <lbl03>1. Negative for intraepithelial lesion or malignancy</lbl03>
  109. <val04>false</val04>
  110. <lbl04>1. Organisms :</lbl04>
  111. <val05>false</val05>
  112. <lbl05>1. Fungus(Candida sp.),</lbl05>
  113. <val06>false</val06>
  114. <lbl06>2. Trichomonas</lbl06>
  115. <val07>false</val07>
  116. <lbl07>3. Actinomyces</lbl07>
  117. <val08>false</val08>
  118. <lbl08>4. Other</lbl08>
  119. <val09>false</val09>
  120. <lbl09>2. Other non neoplastic findings :</lbl09>
  121. <val10>false</val10>
  122. <lbl10>1. RCC(Inflammation)</lbl10>
  123. <val11>false</val11>
  124. <lbl11>2. Atrophy</lbl11>
  125. <val12>false</val12>
  126. <lbl12>3. Therapeutic effect</lbl12>
  127. <val13>false</val13>
  128. <lbl13>2. Epithelial cell abnormalities</lbl13>
  129. <val14>false</val14>
  130. <lbl14>1. Squamous cell :</lbl14>
  131. <val15>true</val15>
  132. <lbl15>1. ASC-US</lbl15>
  133. <val16>false</val16>
  134. <lbl16>2. ASC-H</lbl16>
  135. <val17>false</val17>
  136. <lbl17>3. LSIL</lbl17>
  137. <val18>false</val18>
  138. <lbl18>4. HSIL</lbl18>
  139. <val19>false</val19>
  140. <lbl19>5. SCC</lbl19>
  141. <val20>false</val20>
  142. <lbl20>2. Glandular cell :</lbl20>
  143. <val21>false</val21>
  144. <lbl21>1. AGC</lbl21>
  145. <val22>false</val22>
  146. <lbl22>2. Endocervical AIS</lbl22>
  147. <val23>false</val23>
  148. <lbl23>3. Adenocarcinoma</lbl23>
  149. <val24>false</val24>
  150. <lbl24>3. Other malignant neoplasm :</lbl24>
  151. </seporesninfo>
  152. </seporesn1>
  153. <seporesn2>
  154. <dgflagcd>1</dgflagcd>
  155. <seporslt/>
  156. <seporesninfo>
  157. <title>Cervico-vaginal smear, liquid based cytology, automated screening system;</title>
  158. <title01>1) Adequacy of specimen</title01>
  159. <val01>false</val01>
  160. <lbl01>1. satisfactory for evaluation</lbl01>
  161. <val02>false</val02>
  162. <lbl02>2. unsatisfactory for evaluation</lbl02>
  163. <title02>2) Cytologic diagnosis</title02>
  164. <val03>false</val03>
  165. <lbl03>1. Negative for intraepithelial lesion or malignancy</lbl03>
  166. <val04>false</val04>
  167. <lbl04>1. Organisms :</lbl04>
  168. <val05>false</val05>
  169. <lbl05>1. Fungus(Candida sp.),</lbl05>
  170. <val06>false</val06>
  171. <lbl06>2. Trichomonas</lbl06>
  172. <val07>false</val07>
  173. <lbl07>3. Actinomyces</lbl07>
  174. <val08>false</val08>
  175. <lbl08>4. Other</lbl08>
  176. <val09>false</val09>
  177. <lbl09>2. Other non neoplastic findings :</lbl09>
  178. <val10>false</val10>
  179. <lbl10>1. RCC(Inflammation)</lbl10>
  180. <val11>false</val11>
  181. <lbl11>2. Atrophy</lbl11>
  182. <val12>false</val12>
  183. <lbl12>3. Therapeutic effect</lbl12>
  184. <val13>false</val13>
  185. <lbl13>2. Epithelial cell abnormalities</lbl13>
  186. <val14>false</val14>
  187. <lbl14>1. Squamous cell :</lbl14>
  188. <val15>true</val15>
  189. <lbl15>1. ASC-US</lbl15>
  190. <val16>false</val16>
  191. <lbl16>2. ASC-H</lbl16>
  192. <val17>false</val17>
  193. <lbl17>3. LSIL</lbl17>
  194. <val18>false</val18>
  195. <lbl18>4. HSIL</lbl18>
  196. <val19>false</val19>
  197. <lbl19>5. SCC</lbl19>
  198. <val20>false</val20>
  199. <lbl20>2. Glandular cell :</lbl20>
  200. <val21>false</val21>
  201. <lbl21>1. AGC</lbl21>
  202. <val22>false</val22>
  203. <lbl22>2. Endocervical AIS</lbl22>
  204. <val23>false</val23>
  205. <lbl23>3. Adenocarcinoma</lbl23>
  206. <val24>false</val24>
  207. <lbl24>3. Other malignant neoplasm :</lbl24>
  208. </seporesninfo>
  209. </seporesn2>
  210. <seporesn3>
  211. <seporesninfo>
  212. <title>Thyroid, left, conventional smear, needle aspiration cytology with cell block(증례별 자동인쇄);</title>
  213. <title01>1) Adequacy of specimen</title01>
  214. <val01>false</val01>
  215. <lbl01>1. satisfactory for evaluation</lbl01>
  216. <val02>false</val02>
  217. <lbl02>2. unsatisfactory for evaluation</lbl02>
  218. <title02>2) Cytologic diagnosis</title02>
  219. <val03>false</val03>
  220. <lbl03>1. Negative for malignancy</lbl03>
  221. <val04>false</val04>
  222. <lbl04>2. Atypical cells</lbl04>
  223. <val05>false</val05>
  224. <lbl05>3. Malignancy</lbl05>
  225. <val06>false</val06>
  226. <lbl06>4. Others</lbl06>
  227. <val07/>
  228. <lbl07>* Description :</lbl07>
  229. </seporesninfo>
  230. <dgflagcd/>
  231. <seporslt/>
  232. </seporesn3>
  233. <seporesn4>
  234. <seporesninfo>
  235. <title>Thyroid, left, conventional smear, needle aspiration cytology with cell block(증례별 자동인쇄);</title>
  236. <title01>1) Adequacy of specimen</title01>
  237. <val01>false</val01>
  238. <lbl01>1. satisfactory for evaluation</lbl01>
  239. <val02>false</val02>
  240. <lbl02>2. unsatisfactory for evaluation</lbl02>
  241. <title02>2) Cytologic diagnosis</title02>
  242. <val03>false</val03>
  243. <lbl03>1. Negative for malignancy</lbl03>
  244. <val04>false</val04>
  245. <lbl04>2. Atypical cells</lbl04>
  246. <val05>false</val05>
  247. <lbl05>3. Malignancy</lbl05>
  248. <val06>false</val06>
  249. <lbl06>4. Others</lbl06>
  250. <val07/>
  251. <lbl07>* Description :</lbl07>
  252. </seporesninfo>
  253. <dgflagcd/>
  254. <seporslt/>
  255. </seporesn4>
  256. <sepoflagcd1/>
  257. <sepoflagcd2/>
  258. <sepoflagcd3/>
  259. <resncd>
  260. <resncdlist>
  261. <instcd/>
  262. <baseflagcd/>
  263. <resncd/>
  264. <resncnts/>
  265. </resncdlist>
  266. </resncd>
  267. <workflagcd/>
  268. <popupmenu>
  269. <item>
  270. <nm>의뢰지정보</nm>
  271. <funt>fExeReqFrmInfo</funt>
  272. </item>
  273. <item>
  274. <nm>CF정보</nm>
  275. <funt>fExeCFInfo</funt>
  276. </item>
  277. <item--DEL>
  278. <nm>결과확대</nm>
  279. <funt>fExeRsltView</funt>
  280. </item--DEL>
  281. </popupmenu>
  282. <testinfo>
  283. <testcdlist/>
  284. </testinfo>
  285. <sepouser1/>
  286. <sepouser2/>
  287. <sepouser3/>
  288. <rsltview/>
  289. <screenerlist>
  290. <screenerinfo>
  291. <usernm/>
  292. <resncd/>
  293. <screenflag/>
  294. </screenerinfo>
  295. </screenerlist>
  296. <exmpcd_8000>
  297. <exmpcdlist/>
  298. </exmpcd_8000>
  299. <exmpcd_9000>
  300. <exmpcdlist/>
  301. </exmpcd_9000>
  302. <exmpcd_6000>
  303. <exmpcdlist/>
  304. </exmpcd_6000>
  305. </init>
  306. <hidden>
  307. <acptfromdd/>
  308. <acpttodd/>
  309. <rsltdg>0</rsltdg>
  310. <userdeptcd/>
  311. <testrslt1/>
  312. <readrslt/>
  313. </hidden>
  314. <temp>
  315. <loginid/>
  316. <exmpcd>
  317. <exmpcdlist/>
  318. </exmpcd>
  319. <rsltcnts/>
  320. </temp>
  321. </root>
  322. </instance>
  323. <bind id="bind1" ref="/root/main/acptptno/acptptnolist/choi" readonly="../choi/@readonly = 'true'"/>
  324. <bind id="bind2" ref="/root/main/acptptno/acptptnolist/celluserid" readonly="../celluserid/@disabled = 'true'"/>
  325. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  326. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  327. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  328. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  329. <script type="javascript" src="../../../lis/commonweb/js/LPZ001.js"/>
  330. <submission id="TRLPZ00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/hospenv/hospenvinfo"/>
  331. <submission id="TRLPZ00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/sysdt/sysdtinfo"/>
  332. <submission id="TRLPZ00103" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/resncd/resncdlist"/>
  333. <submission id="TRLPZ00105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/userinfo/userinfolist"/>
  334. <submission id="TRLPZ00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/testinfo/testcdlist"/>
  335. <submission id="TRLPZ00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/exmpcd/exmpcdlist"/>
  336. <submission id="TRLPR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptptno/acptptnolist"/>
  337. <submission id="TXLPR00401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/message"/>
  338. <submission id="TRLPC02701" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/screenerlist"/>
  339. <script type="javascript" ev:event="xforms-ready">
  340. <![CDATA[
  341. fExeInitialize();
  342. ]]>
  343. </script>
  344. </model>
  345. <script type="javascript">
  346. <![CDATA[
  347. var gRowSize = 0; // 결과 확인을 하기 위해
  348. /* @group : 세포결과 일괄등록
  349. * @ver : 2007.06.02 (CMCDEV-0001)
  350. * @by : 유동철
  351. * @-----------------------------------
  352. * @type : function
  353. * @access : public
  354. * @desc : 화면 초기화 처리 함수
  355. */
  356. function fExeInitialize()
  357. {
  358. //-----------------------
  359. // 사용자의 비밀번호 확인
  360. // lpzfExeUserPwdCnfm();
  361. //------------------------------------------------------
  362. model.removeNodeset("/root/main/acptptno/acptptnolist");
  363. //-----------------------
  364. // 병원환경설정 정보 조회
  365. model.removeNodeset("/root/send");
  366. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  367. submit("TRLPZ00101", false);
  368. //---------------------------------------------------------
  369. // 병원환경정보를 취득하여 병리과와 병리팀 코드를 편집한다.
  370. lpzfUserDeptCd("/root/init/hospenv/hospenvinfo", "/root/hidden");
  371. //----------------
  372. // 시스템일시 조회
  373. submit("TRLPZ00102", false);
  374. //--------------------
  375. // 작업구분 목록 조회
  376. model.removeNodeset("/root/init/resncd/resncdist");
  377. model.makeValue("/root/send/baseflagcd", "'84'");
  378. submit("TRLPZ00103");
  379. //--------------------
  380. // 부인과 예문
  381. model.removeNodeset("/root/temp/exmpcd/exmpcdlist");
  382. model.removeNodeset("/root/init/exmpcd_8000/exmpcdlist");
  383. model.makeValue("/root/send/fromexmpcd", "800000"); // 부인과 예문
  384. model.makeValue("/root/send/toexmpcd", "8zzzzz");
  385. submit("TRLPZ00111");
  386. model.copyNode("/root/init/exmpcd_8000", "/root/temp/exmpcd");
  387. //---------------
  388. // 비부인과 예문
  389. model.removeNodeset("/root/temp/exmpcd/exmpcdlist");
  390. model.removeNodeset("/root/init/exmpcd_9000/exmpcdlist");
  391. model.makeValue("/root/send/fromexmpcd", "900000"); // 부인과 예문
  392. model.makeValue("/root/send/toexmpcd", "9zzzzz");
  393. submit("TRLPZ00111");
  394. model.copyNode("/root/init/exmpcd_9000", "/root/temp/exmpcd");
  395. //---------------
  396. // 세침흡인 예문
  397. model.removeNodeset("/root/temp/exmpcd/exmpcdlist");
  398. model.removeNodeset("/root/init/exmpcd_6000/exmpcdlist");
  399. model.makeValue("/root/send/fromexmpcd", "600000"); // 부인과 예문
  400. model.makeValue("/root/send/toexmpcd", "6zzzzz");
  401. submit("TRLPZ00111");
  402. model.copyNode("/root/init/exmpcd_6000", "/root/temp/exmpcd");
  403. //----------------------------------------------------------------------------------
  404. model.makeValue("/root/send/userdeptcd", model.getValue("/root/hidden/userdeptcd"));
  405. model.makeValue("/root/send/doctjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/doctjobgradcd"));
  406. model.makeValue("/root/send/teamjobgradcd", model.getValue("/root/init/hospenv/hospenvinfo/teamjobgradcd"));
  407. submit("TRLPZ00105");
  408. //---------------------------------------------------------------------------------------------
  409. model.makeValue("/root/hidden/acptfromdd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수시작일자
  410. model.makeValue("/root/hidden/acpttodd", model.getValue("/root/init/sysdt/sysdtinfo/sysdd")); // 접수종료일자
  411. model.makeValue("/root/hidden/rsltdg", "0"); // 검색방법(0:접수, 1:1차, 2:2차, 3:전체)
  412. model.makeValue("/root/init/workflagcd", "1021");
  413. // 요청으로 부인과 초기화
  414. model.makeValue("/root/init/sepoflagcd1", "1021");
  415. model.makeValue("/root/init/sepoflagcd2", "1021");
  416. model.makeValue("/root/init/sepoflagcd3", "1021");
  417. //1, 2차 세포스크리너 조회.
  418. model.makeValue("/root/send/screenflag", "0"); // 1 : 1차스크리너, 2 : 2차스크리너
  419. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  420. model.makeValue("/root/send/baseflagcd", "SC");
  421. submit("TRLPC02701");
  422. //-----------------------------------------
  423. grd_ptnolist.fixedcellcheckbox(0,0) = true;
  424. //-----------------------
  425. chb_workflagcd.refresh();
  426. model.refresh();
  427. }
  428. /* @group : 세포결과 일괄등록
  429. * @ver : 2007.06.02 (CMCDEV-0001)
  430. * @by : 유동철
  431. * @-----------------------------------
  432. * @type : function
  433. * @access : public
  434. * @desc : 세포 병리번호 목록 조회 처리 함수
  435. */
  436. function fGetCellPtNoList()
  437. {
  438. var re = / /g; // i:1회실행, g:모두실행, gi:전역실행(대소문자 안가림)
  439. var sNode = "/root/main/acptptno/acptptnolist";
  440. var sWorkFlagCd = model.getValue("/root/init/workflagcd");
  441. var sRslt1 = "";
  442. var sRslt2 = "";
  443. var arrayWorkFlagCd = new Array();
  444. //------------------------------------------------
  445. // Regular표현식을 사용하여 공백(" ")문자를 ','로 변환
  446. sWorkFlagCd = "'" + sWorkFlagCd.replace(re, "','") + "'";
  447. arrayWorkFlagCd = sWorkFlagCd.split(",");
  448. for(var i = 0; arrayWorkFlagCd.length > i; i ++)
  449. {
  450. if(arrayWorkFlagCd[i] == "'1021'")
  451. {
  452. sWorkFlagCd += "," + "'10D2'";
  453. }
  454. else if(arrayWorkFlagCd[i] == "'1022'" || arrayWorkFlagCd[i] == "'1023'")
  455. {
  456. sWorkFlagCd += "," + "'10D0'";
  457. if(arrayWorkFlagCd[i] == "'1022'") {
  458. sWorkFlagCd += "," + "'10B2'";
  459. } else {
  460. sWorkFlagCd += "," + "'10B3'";
  461. }
  462. }
  463. }
  464. //--------------------------------
  465. model.removeNodeset("/root/send");
  466. model.removeNodeset("/root/main/acptptno/acptptnolist");
  467. //---------------------------------------------------------------------
  468. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd")); // 기관코드
  469. model.makeValue("/root/send/acptfromdd", model.getValue("/root/hidden/acptfromdd")); // 접수시작일자
  470. model.makeValue("/root/send/acpttodd", model.getValue("/root/hidden/acpttodd")); // 접수종료일자
  471. model.makeValue("/root/send/rsltdg", model.getValue("/root/hidden/rsltdg")); // 검색방법(0:1차,1:2차,2:전체)
  472. model.makeValue("/root/send/workflagcd", sWorkFlagCd); // 작업구분(1021:부인, 1022:비부인, 1023:세침흡인)
  473. //-------------------
  474. submit("TRLPR00401");
  475. //--------------------------------------------------------
  476. // 1차결과와 2차결과를 비교하여 다른 경우 색으로 구분한다.
  477. for (var iNo=1; iNo <= getNodesetCount(sNode); iNo++)
  478. {
  479. //--------------------------
  480. // 1차, 2차가 빈 경우는 제외
  481. sRslt1 = model.getValue(sNode+"["+iNo+"]/testrslt1");
  482. sRslt2 = model.getValue(sNode+"["+iNo+"]/readrslt");
  483. //------------------------------------------------------
  484. if (sRslt1.getTrim() != "" && sRslt2.getTrim() != "")
  485. {
  486. //------------------------------------------
  487. if (sRslt1.getTrim() != sRslt2.getTrim())
  488. {
  489. grd_ptnolist.rowstyle(iNo, "data", "background-color") = "#ff99cc";
  490. }
  491. else
  492. {
  493. grd_ptnolist.rowstyle(iNo, "data", "background-color") = "#ffffff";
  494. }
  495. }
  496. }
  497. }
  498. /* @group : 세포결과 일괄등록
  499. * @ver : 2007.06.02 (CMCDEV-0001)
  500. * @by : 유동철
  501. * @-----------------------------------
  502. * @type : function
  503. * @access : public
  504. * @desc : 세포 병리번호 목록 선택 처리 함수
  505. */
  506. function fExeGridClick(pColNo, pRowNo) {
  507. var sSrcNode = "/root/main/acptptno/acptptnolist";
  508. //--------------------------------------------------------
  509. // 선택 Header를 클릭하였을 경우 모든 자료를 선택으로 설정
  510. if (pRowNo == 0 && pColNo == 0)
  511. {
  512. }
  513. else
  514. {
  515. if(grd_ptnolist.row > 0 && grd_ptnolist.isCell(event.target) && grd_ptnolist.row >= grd_ptnolist.fixedRows)
  516. {
  517. // 결과복사 실행
  518. if (pColNo == 15) fExeRsltCopy("1", pRowNo);
  519. if (pColNo == 18) fExeRsltCopy("2", pRowNo);
  520. if (pColNo == 33) fExeDiagPopup(pRowNo);
  521. // 입력된 결과 확인 할 수 있도록
  522. if ( (pColNo == 9) || (pColNo == 14) || (pColNo == 17) )
  523. {
  524. fExeSelTxt(pColNo, pRowNo);
  525. }
  526. }
  527. }
  528. }
  529. /* @group : 세포결과 일괄등록
  530. * @ver : 2008.12.03 (CMCDEV-0001)
  531. * @by : 하만석
  532. * @-----------------------------------
  533. * @type : function
  534. * @access : public
  535. * @desc : 입력된 결과 확인 할 수 있도록
  536. */
  537. function fExeSelTxt(pColNo, iRow)
  538. {
  539. sTmp = "";
  540. BoolShow= false;
  541. sSetNode = "/root/main/acptptno/acptptnolist";
  542. model.resetInstanceNode("/root/main/ncharrslt");
  543. grp_showrslt.attribute("top") = 100 + (25 * iRow);
  544. if (pColNo == 9) // 1 차 결과
  545. {
  546. sTmp = model.getValue(sSetNode + "[" + iRow + "]/testrslt1")
  547. if (sTmp.length > 1)
  548. {
  549. grp_showrslt.attribute("left") = 365;
  550. model.makeValue("/root/main/ncharrslt", sTmp);
  551. BoolShow = true;
  552. }
  553. }
  554. else if (pColNo == 14) // 2 차 결과
  555. {
  556. sTmp = model.getValue(sSetNode + "[" + iRow + "]/readrslt")
  557. if (sTmp.length > 1)
  558. {
  559. grp_showrslt.attribute("left") = 535;
  560. model.makeValue("/root/main/ncharrslt", sTmp);
  561. BoolShow = true;
  562. }
  563. }
  564. else if (pColNo == 17) // 최종 결과
  565. {
  566. sTmp = model.getValue(sSetNode + "[" + iRow + "]/lastrslt")
  567. if (sTmp.length > 1)
  568. {
  569. grp_showrslt.attribute("left") = 720;
  570. model.makeValue("/root/main/ncharrslt", sTmp);
  571. BoolShow = true;
  572. }
  573. }
  574. if (BoolShow == true) //결과가 있을 경우만 보여지도록
  575. {
  576. grp_showrslt.visible = true;
  577. }
  578. grp_showrslt.refresh();
  579. }
  580. /* @group : 세포결과 일괄등록
  581. * @ver : 2007.10.29 (CMCDEV-0001)
  582. * @by : 유동철
  583. * @-----------------------------------
  584. * @type : function
  585. * @access : public
  586. * @desc : 결과복사 처리 함수
  587. */
  588. function fExeRsltCopy(pBizFlagCd, pRowNo)
  589. {
  590. var iEndRowNo = 0;
  591. var iStartRowNo = 0;
  592. var bCheckVal1 = "true";
  593. var bCheckVal2 = "true";
  594. var sSrcSePo = "";
  595. var sDescSePo = "";
  596. var sNode = "/root/main/acptptno/acptptnolist";
  597. var sSepomcnts = "";
  598. //----------------
  599. if (pRowNo == 0) {
  600. bCheckVal1 = "true";
  601. bCheckVal2 = "true";
  602. iStartRowNo = 1;
  603. iEndRowNo = getNodesetCount(sNode);
  604. } else {
  605. bCheckVal1 = "true";
  606. bCheckVal2 = "false";
  607. iStartRowNo = pRowNo;
  608. iEndRowNo = pRowNo;
  609. }
  610. //--------------------------------------------------
  611. for (var iNo=iStartRowNo; iNo <= iEndRowNo; iNo++) {
  612. if (model.getValue(sNode+"["+iNo+"]/choi") == bCheckVal1 || model.getValue(sNode+"["+iNo+"]/choi") == bCheckVal2) {
  613. //-------------------
  614. switch (pBizFlagCd) {
  615. case "1" :
  616. model.setValue(sNode+"["+iNo+"]/readrslt", model.getValue(sNode+"["+iNo+"]/testrslt1"));
  617. model.setValue(sNode+"["+iNo+"]/rsltcnts5", model.getValue(sNode+"["+iNo+"]/rsltcnts4"));
  618. //model.setValue(sNode+"["+iNo+"]/diagcnts", model.getValue(sNode+"["+iNo+"]/sepo1mcnts"));
  619. //model.setValue(sNode+"["+iNo+"]/sepo2mcnts", model.getValue(sNode+"["+iNo+"]/sepo1mcnts"));
  620. if( model.getValue(sNode+"["+iNo+"]/sepo1mcnts") == "" || model.getValue(sNode+"["+iNo+"]/sepo1mcnts") == "-" ) {
  621. sSepomcnts = fExeSepoMcnts(pBizFlagCd, iNo);
  622. model.setValue(sNode+"["+iNo+"]/diagcnts", sSepomcnts);
  623. model.setValue(sNode+"["+iNo+"]/sepo2mcnts", sSepomcnts);
  624. model.setValue(sNode+"["+iNo+"]/sepo1mcnts", sSepomcnts);
  625. }
  626. else {
  627. model.setValue(sNode+"["+iNo+"]/diagcnts", model.getValue(sNode+"["+iNo+"]/sepo1mcnts"));
  628. model.setValue(sNode+"["+iNo+"]/sepo2mcnts", model.getValue(sNode+"["+iNo+"]/sepo1mcnts"));
  629. }
  630. //----------------------------------------------------------------
  631. if (model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "1021" || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10D2") {
  632. sSrcSePo = "/root/init/seporesn1";
  633. sDescSePo = "/root/init/seporesn2";
  634. } else if (model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "1023") {
  635. sSrcSePo = "/root/init/seporesn7";
  636. sDescSePo = "/root/init/seporesn8";
  637. } else if (model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "1022"
  638. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10B2"
  639. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10B3"
  640. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10D0") {
  641. sSrcSePo = "/root/init/seporesn4";
  642. sDescSePo = "/root/init/seporesn5";
  643. }
  644. break;
  645. case "2" :
  646. if (model.getValue(sNode+"["+iNo+"]/readrslt") != "") {
  647. model.setValue(sNode+"["+iNo+"]/lastrslt", model.getValue(sNode+"["+iNo+"]/readrslt"));
  648. model.setValue(sNode+"["+iNo+"]/rsltcnts6", model.getValue(sNode+"["+iNo+"]/rsltcnts5"));
  649. //model.setValue(sNode+"["+iNo+"]/diagcnts", model.getValue(sNode+"["+iNo+"]/sepo2mcnts"));
  650. //model.setValue(sNode+"["+iNo+"]/sepo3mcnts", model.getValue(sNode+"["+iNo+"]/sepo2mcnts"));
  651. if( model.getValue(sNode+"["+iNo+"]/sepo2mcnts") == "" || model.getValue(sNode+"["+iNo+"]/sepo2mcnts") == "-" ) {
  652. sSepomcnts = fExeSepoMcnts(pBizFlagCd, iNo);
  653. model.setValue(sNode+"["+iNo+"]/diagcnts", sSepomcnts);
  654. model.setValue(sNode+"["+iNo+"]/sepo3mcnts", sSepomcnts);
  655. model.setValue(sNode+"["+iNo+"]/sepo2mcnts", sSepomcnts);
  656. }
  657. else {
  658. model.setValue(sNode+"["+iNo+"]/diagcnts", model.getValue(sNode+"["+iNo+"]/sepo2mcnts"));
  659. model.setValue(sNode+"["+iNo+"]/sepo3mcnts", model.getValue(sNode+"["+iNo+"]/sepo2mcnts"));
  660. }
  661. //----------------------------------------------------------------
  662. if (model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "1021" || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10D2") {
  663. sSrcSePo = "/root/init/seporesn2";
  664. sDescSePo = "/root/init/seporesn3";
  665. } else if (model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "1023") {
  666. sSrcSePo = "/root/init/seporesn8";
  667. sDescSePo = "/root/init/seporesn9";
  668. } else if (model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "1022"
  669. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10B2"
  670. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10B3"
  671. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10D0") {
  672. sSrcSePo = "/root/init/seporesn5";
  673. sDescSePo = "/root/init/seporesn6";
  674. }
  675. }
  676. break;
  677. case "3" :
  678. model.setValue(sNode+"["+iNo+"]/lastrslt", model.getValue(sNode+"["+iNo+"]/testrslt1"));
  679. model.setValue(sNode+"["+iNo+"]/rsltcnts6", model.getValue(sNode+"["+iNo+"]/rsltcnts4"));
  680. //model.setValue(sNode+"["+iNo+"]/diagcnts", model.getValue(sNode+"["+iNo+"]/sepo1mcnts"));
  681. //model.setValue(sNode+"["+iNo+"]/sepo3mcnts", model.getValue(sNode+"["+iNo+"]/sepo1mcnts"));
  682. if( model.getValue(sNode+"["+iNo+"]/sepo1mcnts") == "" || model.getValue(sNode+"["+iNo+"]/sepo1mcnts") == "-" ) {
  683. sSepomcnts = fExeSepoMcnts(pBizFlagCd, iNo);
  684. model.setValue(sNode+"["+iNo+"]/diagcnts", sSepomcnts);
  685. model.setValue(sNode+"["+iNo+"]/sepo3mcnts", sSepomcnts);
  686. model.setValue(sNode+"["+iNo+"]/sepo1mcnts", sSepomcnts);
  687. }
  688. else {
  689. model.setValue(sNode+"["+iNo+"]/diagcnts", model.getValue(sNode+"["+iNo+"]/sepo1mcnts"));
  690. model.setValue(sNode+"["+iNo+"]/sepo3mcnts", model.getValue(sNode+"["+iNo+"]/sepo1mcnts"));
  691. }
  692. //----------------------------------------------------------------
  693. if (model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "1021" || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10D2") {
  694. sSrcSePo = "/root/init/seporesn1";
  695. sDescSePo = "/root/init/seporesn3";
  696. } else if (model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "1023") {
  697. sSrcSePo = "/root/init/seporesn7";
  698. sDescSePo = "/root/init/seporesn9";
  699. } else if (model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "1022"
  700. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10B2"
  701. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10B3"
  702. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10D0") {
  703. sSrcSePo = "/root/init/seporesn4";
  704. sDescSePo = "/root/init/seporesn6";
  705. }
  706. break;
  707. }
  708. //-----------------------------------
  709. copyNodesetType(sDescSePo, sSrcSePo);
  710. }
  711. }
  712. //---------------------
  713. grd_ptnolist.refresh();
  714. }
  715. /* @group : 세포결과 일괄등록
  716. * @ver : 2007.06.02 (CMCDEV-0001)
  717. * @by : 유동철
  718. * @-----------------------------------
  719. * @type : function
  720. * @access : public
  721. * @desc : 결과 일괄적용 처리 함수
  722. */
  723. /*
  724. function fExeKeyPreass(pBizFlag, pControl) {
  725. var sTestRslt;
  726. var sSrcNode = "/root/main/acptptno/acptptnolist";
  727. //-----------
  728. // Return Key
  729. if (event.keyCode == 13) {
  730. sTestRslt = pControl.currentText;
  731. pControl.refresh();
  732. //-----------------------------------------------------------------
  733. for (var iRowNo=1; iRowNo <= getNodesetCount(sSrcNode); iRowNo++) {
  734. if (model.getValue(sSrcNode + "[" + iRowNo + "]/choi") == "true") {
  735. //--------------------
  736. if (pBizFlag == "1") {
  737. if (model.getValue(sSrcNode + "[" + iRowNo + "]/testrslt1") == "") {
  738. model.makeValue(sSrcNode + "[" + iRowNo + "]/testrslt1", sTestRslt);
  739. }
  740. } else {
  741. if (model.getValue(sSrcNode + "[" + iRowNo + "]/readrslt") == "") {
  742. model.makeValue(sSrcNode + "[" + iRowNo + "]/readrslt", sTestRslt);
  743. }
  744. }
  745. }
  746. }
  747. }
  748. }
  749. */
  750. /* @group : 세포결과 일괄등록
  751. * @ver : 2007.06.02 (CMCDEV-0001)
  752. * @by : 유동철
  753. * @-----------------------------------
  754. * @type : function
  755. * @access : public
  756. * @desc : 세포결과 저장 처리 함수
  757. */
  758. function fExeCellRsltSave() {
  759. var iFindNo = 0;
  760. var sSrcNode = "/root/main/acptptno/acptptnolist";
  761. //-----------------------------
  762. //추가 박중규 2008.09.25
  763. //스크리너 입력 여부를 판단
  764. for(var iRowNum = 1 ; iRowNum < grd_ptnolist.rows ; iRowNum++){
  765. if(model.getValue(sSrcNode + "[" + iRowNum + "]/choi") == "true"){
  766. if(model.getValue(sSrcNode + "[" + iRowNum + "]/testrslt1") != "" && model.getValue(sSrcNode + "[" + iRowNum + "]/testrslt1") != "-" && model.getValue(sSrcNode + "[" + iRowNum + "]/testrslt1") != " "){
  767. if(model.getValue(sSrcNode + "[" + iRowNum + "]/celluserid") == "-" || model.getValue(sSrcNode + "[" + iRowNum + "]/celluserid") == ""){
  768. messageBox("(" + iRowNum + ")" + "1차 스크리너를 선택하여 주십시오! 1차 스크리너는 ", "I003");
  769. return false;
  770. }
  771. }
  772. if(model.getValue(sSrcNode + "[" + iRowNum + "]/readrslt") != "" && model.getValue(sSrcNode + "[" + iRowNum + "]/readrslt") != "-" && model.getValue(sSrcNode + "[" + iRowNum + "]/readrslt") != " "){
  773. if(model.getValue(sSrcNode + "[" + iRowNum + "]/readdrid1") == "-" || model.getValue(sSrcNode + "[" + iRowNum + "]/readdrid1") == ""){
  774. messageBox("(" + iRowNum + ")" + "2차 스크리너를 선택하여 주십시오! 2차 스크리너는 ", "I003");
  775. return false;
  776. }
  777. }
  778. if(model.getValue(sSrcNode + "[" + iRowNum + "]/readid") != "" && model.getValue(sSrcNode + "[" + iRowNum + "]/readid") != "-" && model.getValue(sSrcNode + "[" + iRowNum + "]/readid") != " "){
  779. messageBox("(" + iRowNum + ")" + "판독완료상태 입니다. 저장 할 수 없습니다.", "I999");
  780. return false;
  781. }
  782. }
  783. }
  784. //-------------------------------------------
  785. iFindNo = grd_ptnolist.findRow("true", 1, 0);
  786. if (Number(iFindNo) <= 0) {
  787. messageBox("저장할 병리번호를 ", "C002");
  788. return false;
  789. }
  790. //--------------------------------
  791. model.removeNodeset("/root/send");
  792. //-------------------
  793. // 세포 검사결과 저장
  794. grd_ptnolist.clearStatus();
  795. for (var iRowNo=1; iRowNo <= getNodesetCount(sSrcNode); iRowNo++) {
  796. //-----------------------------------------------------------------
  797. if (model.getValue(sSrcNode + "[" + iRowNo + "]/choi") == "true") {
  798. grd_ptnolist.addStatus(iRowNo, "insert");
  799. //결과등록자를 화면 처음 아이디를 확인한 사람으로 한다.
  800. model.setValue(sSrcNode+"["+iRowNo + "]/cellrsltrgstid", model.getValue("/root/temp/loginid"));
  801. /*
  802. //-------------------------------------------------------------
  803. if (model.getValue(sSrcNode+"["+iRowNo + "]/lastrslt") != "") {
  804. model.makeValue(sSrcNode+"["+iRowNo + "]/diagcd", model.getValue(sSrcNode+"["+iRowNo + "]/lastrslt"));
  805. }
  806. */
  807. }
  808. }
  809. //-------------------------------------------------------------------
  810. model.makeValue("/root/send/cellrslt", grd_ptnolist.getUpdateData());
  811. //-----------
  812. setAlertOn();
  813. if (submit("TXLPR00401")) {
  814. fGetCellPtNoList();
  815. }
  816. }
  817. /* @group : 세포결과일괄등록
  818. * @ver : 2007.10.19 (CMCDEV-0001)
  819. * @by : 유동철(ACK)
  820. * @-----------------------------------
  821. * @type : function
  822. * @access : public
  823. * @desc : 라인별 세포 결과예문 호출 처리 Function
  824. */
  825. function fExeResnChoi()
  826. {
  827. switch (grd_ptnolist.col)
  828. {
  829. case 9 : fExeSepoResnCall("1", grd_ptnolist.row);
  830. break;
  831. case 14 : fExeSepoResnCall("2", grd_ptnolist.row);
  832. break;
  833. case 17 : fExeSepoResnCall("3", grd_ptnolist.row);
  834. break;
  835. }
  836. }
  837. /* @group : 세포결과일괄등록
  838. * @ver : 2007.10.19 (CMCDEV-0001)
  839. * @by : 유동철(ACK)
  840. * @-----------------------------------
  841. * @type : function
  842. * @access : public
  843. * @desc : 전체 세포 결과예문 호출 처리 Function
  844. */
  845. function fExeSepoAllResnCall(pBizFlagCd, pRowNo)
  846. {
  847. var sRsltKind = "";
  848. var sScrnNm = "";
  849. var sScrnCd = "";
  850. var sBizFlagCd = "";
  851. var sRsltCnts = "";
  852. var sMCnts = "";
  853. var sCmtCnts = "";
  854. var sXmlNode = "";
  855. var sNode = "/root/init/seporesn";
  856. var sRsltNode = "/root/main/acptptno/acptptnolist";
  857. //----------------------
  858. if (pBizFlagCd == "1") // 1차인경우
  859. {
  860. sRsltKind = model.getValue("/root/init/sepoflagcd1");
  861. }
  862. else if (pBizFlagCd == "2") // 2차인경우
  863. {
  864. sRsltKind = model.getValue("/root/init/sepoflagcd2");
  865. }
  866. else // 3차
  867. {
  868. sRsltKind = model.getValue("/root/init/sepoflagcd3");
  869. }
  870. //----------------------------------------
  871. if (sRsltKind == "" || sRsltKind == "-") {
  872. messageBox("예문종류를 선택하여 주십시오! 예문을 호출", "E001");
  873. return false;
  874. }
  875. //------------------
  876. switch (sRsltKind)
  877. {
  878. case "1021" :
  879. case "10D2" :
  880. sScrnNm = "SPLPR01400";
  881. sScrnCd = "SPLPR01400";
  882. sBizFlagCd = pBizFlagCd
  883. break;
  884. //------------------
  885. // 비부인과 결과예문
  886. case "1022" :
  887. case "10B2" :
  888. case "10B3" :
  889. case "10D0" :
  890. sScrnNm = "SPLPR01500";
  891. sScrnCd = "SPLPR01500";
  892. //--------------------------------------
  893. if (pBizFlagCd == "1") sBizFlagCd = "4";
  894. if (pBizFlagCd == "2") sBizFlagCd = "5";
  895. if (pBizFlagCd == "3") sBizFlagCd = "6";
  896. break;
  897. //------------------
  898. // 세침흡인 결과예문
  899. case "1023" :
  900. sScrnNm = "SPLPR02700";
  901. sScrnCd = "SPLPR02700";
  902. //--------------------------------------
  903. if (pBizFlagCd == "1") sBizFlagCd = "7";
  904. if (pBizFlagCd == "2") sBizFlagCd = "8";
  905. if (pBizFlagCd == "3") sBizFlagCd = "9";
  906. break;
  907. }
  908. //------------------
  909. // 세포예문 초기화
  910. lpzfExeSePoResnInit("/root/init/seporesn1", "/root/init/seporesn2", "/root/init/seporesn3", "1"); // 부인과
  911. lpzfExeSePoResnInit("/root/init/seporesn4", "/root/init/seporesn5", "/root/init/seporesn6", "2"); // 비부인과
  912. lpzfExeSePoResnInit("/root/init/seporesn7", "/root/init/seporesn8", "/root/init/seporesn9", "3"); // 세침흡인
  913. model.makeValue(sNode+sBizFlagCd+"/dgflagcd", sBizFlagCd);
  914. //----------
  915. // 예문 호출
  916. setParameter("SMLPR00100_resnstate", "0");
  917. modal(sScrnNm, "", "", "", sScrnCd, sNode+sBizFlagCd, "/root/init/seporesn");
  918. //------------------------------------------------------------
  919. if (getParameter("SMLPR00100_resnstate") == "C") return false;
  920. //-------------------------------------------------------
  921. sRsltCnts = model.getValue(sNode+sBizFlagCd+"/seporslt");
  922. sCmtCnts = model.getValue(sNode+pBizFlagCd+"/cmtcnts");
  923. sMCnts = model.getValue(sNode+pBizFlagCd+"/mcnts");
  924. sXmlNode = instance1.selectSingleNode(sNode+sBizFlagCd+"/seporesninfo");
  925. //---------------------------------------------------------
  926. for (var iNo=1; iNo <= getNodesetCount(sRsltNode); iNo++)
  927. {
  928. if (model.getValue(sRsltNode+"["+iNo+"]/choi") == "true")
  929. {
  930. if (pBizFlagCd == "1")
  931. {
  932. model.makeValue(sRsltNode+"["+iNo+"]/testrslt1", sRsltCnts);
  933. model.makeValue(sRsltNode+"["+iNo+"]/rsltcnts4", "");
  934. model.setValue(sRsltNode+"["+iNo+"]/rsltcnts4", sXmlNode.xml, true);
  935. }
  936. else if (pBizFlagCd == "2")
  937. {
  938. model.makeValue(sRsltNode+"["+iNo+"]/readrslt", sRsltCnts);
  939. model.makeValue(sRsltNode+"["+iNo+"]/rsltcnts5", "");
  940. model.setValue(sRsltNode+"["+iNo+"]/rsltcnts5", sXmlNode.xml, true);
  941. }
  942. else
  943. {
  944. model.makeValue(sRsltNode+"["+iNo+"]/lastrslt", sRsltCnts);
  945. model.makeValue(sRsltNode+"["+iNo+"]/rsltcnts6", "");
  946. model.setValue(sRsltNode+"["+iNo+"]/rsltcnts6", sXmlNode.xml, true);
  947. }
  948. //-------------------------------------------------------
  949. //model.makeValue(sRsltNode+"["+iNo+"]/cmtcnts", sCmtCnts);
  950. //------------------------------------------------
  951. //진단 내용은 진단예문 작성시에만 M에다가 넣어 줌.
  952. //model.makeValue(sRsltNode+"["+iNo+"]/diagcd", sMCnts);
  953. if(pBizFlagCd == "3")
  954. {
  955. model.makeValue(sRsltNode+"["+iNo+"]/diagcnts", sMCnts);
  956. }
  957. //-------------------
  958. switch (pBizFlagCd)
  959. {
  960. case "1" :
  961. case "4" :
  962. case "7" :
  963. model.setValue(sRsltNode+"["+iNo+"]/sepo1mcnts", sMCnts);
  964. break;
  965. case "2" :
  966. case "5" :
  967. case "8" :
  968. model.setValue(sRsltNode+"["+iNo+"]/sepo2mcnts", sMCnts);
  969. break;
  970. case "3" :
  971. case "6" :
  972. case "9" :
  973. model.setValue(sRsltNode+"["+iNo+"]/sepo3mcnts", sMCnts);
  974. break;
  975. }
  976. }
  977. }
  978. //---------------------
  979. grd_ptnolist.rebuild();
  980. }
  981. /* @group : 세포결과일괄등록
  982. * @ver : 2007.10.19 (CMCDEV-0001)
  983. * @by : 유동철(ACK)
  984. * @-----------------------------------
  985. * @type : function
  986. * @access : public
  987. * @desc : 세포 결과예문 호출 처리 Function
  988. */
  989. function fExeSepoResnCall(pBizFlagCd, pRowNo) {
  990. //var iRow = grd_ptnolist.row;
  991. var iRow = pRowNo;
  992. var sScrnNm = "";
  993. var sScrnCd = "";
  994. var sRsltCnts = "";
  995. var sRsltNo = pBizFlagCd;
  996. var sNode = "/root/init/seporesn";
  997. var sRsltNode = "/root/main/acptptno/acptptnolist";
  998. var sResnNode = "<?xml version='1.0' encoding='euc-kr'?>";
  999. var sWorkNode = "";
  1000. var sRsltColNode1 = sRsltNode+"["+iRow+"]/testrslt1";
  1001. var sRsltColNode2 = sRsltNode+"["+iRow+"]/readrslt";
  1002. var sRsltColNode3 = sRsltNode+"["+iRow+"]/lastrslt";
  1003. var sRsltColNode = "";
  1004. //---------------------------------------------------------------
  1005. switch (model.getValue(sRsltNode+"["+iRow+"]/statsworkflagcd"))
  1006. {
  1007. case "1021" :
  1008. case "10D2" :
  1009. sScrnNm = "SPLPR01400";
  1010. sScrnCd = "SPLPR01400";
  1011. break;
  1012. case "1022" :
  1013. case "10B2" :
  1014. case "10B3" :
  1015. case "10D0" :
  1016. sScrnNm = "SPLPR01500";
  1017. sScrnCd = "SPLPR01500";
  1018. //----------------------
  1019. if (pBizFlagCd == "1")
  1020. {
  1021. pBizFlagCd = "4";
  1022. }
  1023. else if (pBizFlagCd == "2")
  1024. {
  1025. pBizFlagCd = "5";
  1026. }
  1027. else
  1028. {
  1029. pBizFlagCd = "6";
  1030. }
  1031. break;
  1032. case "1023" :
  1033. sScrnNm = "SPLPR02700";
  1034. sScrnCd = "SPLPR02700";
  1035. //----------------------
  1036. if (pBizFlagCd == "1")
  1037. {
  1038. pBizFlagCd = "7";
  1039. }
  1040. else if (pBizFlagCd == "2")
  1041. {
  1042. pBizFlagCd = "8";
  1043. }
  1044. else
  1045. {
  1046. pBizFlagCd = "9";
  1047. }
  1048. break;
  1049. }
  1050. //------------------
  1051. // 세포예문 초기화
  1052. lpzfExeSePoResnInit("/root/init/seporesn1", "/root/init/seporesn2", "/root/init/seporesn3", "1");
  1053. lpzfExeSePoResnInit("/root/init/seporesn4", "/root/init/seporesn5", "/root/init/seporesn6", "2");
  1054. lpzfExeSePoResnInit("/root/init/seporesn7", "/root/init/seporesn8", "/root/init/seporesn9", "3");
  1055. //------------------
  1056. // 세포 1차결과 예문
  1057. if (pBizFlagCd == "1")
  1058. {
  1059. sRsltCnts = model.getValue(sRsltNode+"["+iRow+"]/rsltcnts4");
  1060. sRsltColNode = sRsltColNode1;
  1061. //------------------------------------------------------------
  1062. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-")
  1063. {
  1064. sResnNode += "<root>"+model.getValue(sRsltNode+"["+iRow+"]/rsltcnts4")+"</root>";
  1065. iviewer1.window.instance1.loadXML(sResnNode);
  1066. model.copyNode(root.init.seporesn1, iviewer1.window.instance1.selectSingleNode("/root"));
  1067. }
  1068. }
  1069. else if (pBizFlagCd == "2")
  1070. {
  1071. sRsltCnts = model.getValue(sRsltNode+"["+iRow+"]/rsltcnts5");
  1072. sRsltColNode = sRsltColNode2;
  1073. //------------------------------------------------------------
  1074. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-")
  1075. {
  1076. sResnNode += "<root>"+model.getValue(sRsltNode+"["+iRow+"]/rsltcnts5")+"</root>";
  1077. iviewer1.window.instance1.loadXML(sResnNode);
  1078. model.copyNode(root.init.seporesn2, iviewer1.window.instance1.selectSingleNode("/root"));
  1079. }
  1080. }
  1081. else if (pBizFlagCd == "3")
  1082. {
  1083. sRsltCnts = model.getValue(sRsltNode+"["+iRow+"]/rsltcnts6");
  1084. sRsltColNode = sRsltColNode3;
  1085. //------------------------------------------------------------
  1086. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-")
  1087. {
  1088. sResnNode += "<root>"+model.getValue(sRsltNode+"["+iRow+"]/rsltcnts6")+"</root>";
  1089. iviewer1.window.instance1.loadXML(sResnNode);
  1090. model.copyNode(root.init.seporesn3, iviewer1.window.instance1.selectSingleNode("/root"));
  1091. }
  1092. }
  1093. else if (pBizFlagCd == "4")
  1094. {
  1095. sRsltCnts = model.getValue(sRsltNode+"["+iRow+"]/rsltcnts4");
  1096. sRsltColNode = sRsltColNode1;
  1097. //------------------------------------------------------------
  1098. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-")
  1099. {
  1100. sResnNode += "<root>"+model.getValue(sRsltNode+"["+iRow+"]/rsltcnts4")+"</root>";
  1101. iviewer1.window.instance1.loadXML(sResnNode);
  1102. model.copyNode(root.init.seporesn4, iviewer1.window.instance1.selectSingleNode("/root"));
  1103. }
  1104. }
  1105. else if (pBizFlagCd == "5")
  1106. {
  1107. sRsltCnts = model.getValue(sRsltNode+"["+iRow+"]/rsltcnts5");
  1108. sRsltColNode = sRsltColNode2;
  1109. //------------------------------------------------------------
  1110. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-")
  1111. {
  1112. sResnNode += "<root>"+model.getValue(sRsltNode+"["+iRow+"]/rsltcnts5")+"</root>";
  1113. iviewer1.window.instance1.loadXML(sResnNode);
  1114. model.copyNode(root.init.seporesn5, iviewer1.window.instance1.selectSingleNode("/root"));
  1115. }
  1116. }
  1117. else if (pBizFlagCd == "6")
  1118. {
  1119. sRsltCnts = model.getValue(sRsltNode+"["+iRow+"]/rsltcnts6");
  1120. sRsltColNode = sRsltColNode3;
  1121. //------------------------------------------------------------
  1122. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-")
  1123. {
  1124. sResnNode += "<root>"+model.getValue(sRsltNode+"["+iRow+"]/rsltcnts6")+"</root>";
  1125. iviewer1.window.instance1.loadXML(sResnNode);
  1126. model.copyNode(root.init.seporesn6, iviewer1.window.instance1.selectSingleNode("/root"));
  1127. }
  1128. }
  1129. else if (pBizFlagCd == "7")
  1130. {
  1131. sRsltCnts = model.getValue(sRsltNode+"["+iRow+"]/rsltcnts4");
  1132. sRsltColNode = sRsltColNode1;
  1133. //------------------------------------------------------------
  1134. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-")
  1135. {
  1136. sResnNode += "<root>"+model.getValue(sRsltNode+"["+iRow+"]/rsltcnts4")+"</root>";
  1137. iviewer1.window.instance1.loadXML(sResnNode);
  1138. model.copyNode(root.init.seporesn7, iviewer1.window.instance1.selectSingleNode("/root"));
  1139. }
  1140. }
  1141. else if (pBizFlagCd == "8")
  1142. {
  1143. sRsltCnts = model.getValue(sRsltNode+"["+iRow+"]/rsltcnts5");
  1144. sRsltColNode = sRsltColNode2;
  1145. //------------------------------------------------------------
  1146. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-")
  1147. {
  1148. sResnNode += "<root>"+model.getValue(sRsltNode+"["+iRow+"]/rsltcnts5")+"</root>";
  1149. iviewer1.window.instance1.loadXML(sResnNode);
  1150. model.copyNode(root.init.seporesn8, iviewer1.window.instance1.selectSingleNode("/root"));
  1151. }
  1152. }
  1153. else if (pBizFlagCd == "9")
  1154. {
  1155. sRsltCnts = model.getValue(sRsltNode+"["+iRow+"]/rsltcnts6");
  1156. sRsltColNode = sRsltColNode3;
  1157. //------------------------------------------------------------
  1158. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-")
  1159. {
  1160. sResnNode += "<root>"+model.getValue(sRsltNode+"["+iRow+"]/rsltcnts6")+"</root>";
  1161. iviewer1.window.instance1.loadXML(sResnNode);
  1162. model.copyNode(root.init.seporesn9, iviewer1.window.instance1.selectSingleNode("/root"));
  1163. }
  1164. }
  1165. //-------------------------------------------------------
  1166. model.makeValue(sNode+pBizFlagCd+"/dgflagcd", pBizFlagCd);
  1167. model.makeValue(sNode+pBizFlagCd+"/seporslt", model.getValue(sRsltColNode));
  1168. //----------------------------------------
  1169. setParameter("SMLPR00100_resnstate", "C");
  1170. // 결과 예문 상단에 환자정보 출력
  1171. setParameter("SMLPR00100_pid", model.getValue("/root/main/acptptno/acptptnolist[" + pRowNo + "]/pid") );
  1172. setParameter("SMLPR00100_ptno", model.getValue("/root/main/acptptno/acptptnolist[" + pRowNo + "]/ptno") );
  1173. setParameter("SMLPR00100_patnm", model.getValue("/root/main/acptptno/acptptnolist[" + pRowNo + "]/patnm") );
  1174. modal(sScrnNm, "", "", "", sScrnCd, sNode+pBizFlagCd, "/root/init/seporesn");
  1175. //------------------------------------------------------------
  1176. if (getParameter("SMLPR00100_resnstate") == "C") return false;
  1177. model.makeValue(sRsltColNode, model.getValue(sNode+pBizFlagCd+"/seporslt"));
  1178. //model.makeValue(sRsltNode+"["+iRow+"]/cmtcnts", model.getValue(sNode+pBizFlagCd+"/cmtcnts"));
  1179. //model.makeValue(sRsltNode+"["+iRow+"]/diagcnts", model.getValue(sNode+pBizFlagCd+"/mcnts"));
  1180. sNode1 = instance1.selectSingleNode(sNode+pBizFlagCd+"/seporesninfo");
  1181. //--------------------
  1182. switch (pBizFlagCd)
  1183. {
  1184. case "1" :
  1185. case "4" :
  1186. case "7" :
  1187. model.makeValue(sRsltNode+"["+iRow+"]/rsltcnts4", "");
  1188. model.setValue(sRsltNode+"["+iRow+"]/rsltcnts4", sNode1.xml, true);
  1189. model.makeValue(sRsltNode+"["+iRow+"]/sepo1mcnts", model.getValue(sNode+pBizFlagCd+"/mcnts"));
  1190. break;
  1191. case "2" :
  1192. case "5" :
  1193. case "8" :
  1194. model.makeValue(sRsltNode+"["+iRow+"]/rsltcnts5", "");
  1195. model.setValue(sRsltNode+"["+iRow+"]/rsltcnts5", sNode1.xml, true);
  1196. model.makeValue(sRsltNode+"["+iRow+"]/sepo2mcnts", model.getValue(sNode+pBizFlagCd+"/mcnts"));
  1197. break;
  1198. case "3" :
  1199. case "6" :
  1200. case "9" :
  1201. model.makeValue(sRsltNode+"["+iRow+"]/rsltcnts6", "");
  1202. model.setValue(sRsltNode+"["+iRow+"]/rsltcnts6", sNode1.xml, true);
  1203. model.makeValue(sRsltNode+"["+iRow+"]/sepo3mcnts", model.getValue(sNode+pBizFlagCd+"/mcnts"));
  1204. model.makeValue(sRsltNode+"["+iRow+"]/diagcnts", model.getValue(sNode+pBizFlagCd+"/mcnts"));
  1205. model.makeValue(sRsltNode+"["+iRow+"]/diagcd", "");
  1206. break;
  1207. }
  1208. //---------------------
  1209. grd_ptnolist.refresh();
  1210. }
  1211. /* @group : 세포결과일괄등록
  1212. * @ver : 2007.10.29 (CMCDEV-0001)
  1213. * @by : 유동철(ACK)
  1214. * @-----------------------------------
  1215. * @type : function
  1216. * @access : public
  1217. * @desc : 세포 결과예문 호출 처리 Function
  1218. */
  1219. function fExeExmpChoi(pBizFlagCd) {
  1220. var sCode1 = "";
  1221. var sCode2 = "";
  1222. var sRsltFlagCd = "";
  1223. var sNode = "/root/main/acptptno/acptptnolist";
  1224. //----------------------
  1225. if (pBizFlagCd == "1") {
  1226. sRsltFlagCd = model.getValue("/root/init/sepoflagcd1");
  1227. } else {
  1228. sRsltFlagCd = model.getValue("/root/init/sepoflagcd2");
  1229. }
  1230. //--------------------------
  1231. if (sRsltFlagCd == "1021") {
  1232. sCode1 = "1021";
  1233. sCode2 = "1021";
  1234. } else {
  1235. sCode1 = "1022";
  1236. sCode2 = "1023";
  1237. }
  1238. //----------------------------------------------------------------------------------
  1239. for (var iNo=1; iNo <= getNodesetCount("/root/main/acptptno/acptptnolist"); iNo++) {
  1240. if (model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == sCode1
  1241. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == sCode2
  1242. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10B2"
  1243. || model.getValue(sNode+"["+iNo+"]/statsworkflagcd") == "10B3") {
  1244. model.setValue(sNode+"["+iNo+"]/choi", "true");
  1245. }
  1246. }
  1247. }
  1248. /* @group : 세포결과일괄등록
  1249. * @ver : 2008.01.18 (CMCDEV-0001)
  1250. * @by : 유동철(ACK)
  1251. * @-----------------------------------
  1252. * @type : function
  1253. * @access : public
  1254. * @desc : 처방의뢰지 팝업창 호출 처리 Function
  1255. */
  1256. function fExeReqFrmInfo() {
  1257. var sNode = "/root/init/testinfo/testcdlist";
  1258. //--------------------------------
  1259. model.removeNodeset("/root/send");
  1260. model.removeNodeset(sNode);
  1261. model.makeValue("/root/send/instcd", getUserInfo("dutplceinstcd"));
  1262. model.makeValue("/root/send/ptno", "'"+model.getValue("/root/main/acptptno/acptptnolist["+grd_ptnolist.row+"]/ptno")+"'");
  1263. submit("TRLPZ00106");
  1264. var sPid = model.getValue("/root/main/acptptno/acptptnolist["+grd_ptnolist.row+"]/pid");
  1265. var sTestCd = model.getValue(sNode+"[1]/testcd");
  1266. var sTestNm = model.getValue(sNode+"[1]/testnm");
  1267. var sReqFrmCd = model.getValue(sNode+"[1]/reqfrmflagcd");
  1268. var sReqFrmNo = model.getValue(sNode+"[1]/reqfrmno");
  1269. var sSpdCd = model.getValue(sNode+"[1]/spccd");
  1270. var sSpcNm = model.getValue(sNode+"[1]/spcnm");
  1271. lpzfExeReqFrmInfo2(sReqFrmCd, sReqFrmNo, sTestCd, sTestNm, sSpdCd, sSpcNm, sPid);
  1272. }
  1273. /* @group : 세포결과일괄등록
  1274. * @ver : 2008.01.18 (CMCDEV-0001)
  1275. * @by : 유동철(ACK)
  1276. * @-----------------------------------
  1277. * @type : function
  1278. * @access : public
  1279. * @desc : CF(이전결과) 팝업창 호출 처리 Function
  1280. */
  1281. function fExeCFInfo() {
  1282. setParameter("SPLPR00400_instcd", getUserInfo("dutplceinstcd"));
  1283. setParameter("SPLPR00400_pid", model.getValue("/root/main/acptptno/acptptnolist["+grd_ptnolist.row+"]/pid"));
  1284. modal("SPLPR01800", "", "", "", "SPLPR01800", "", "");
  1285. }
  1286. /* @group : 세포결과일괄등록
  1287. * @ver : 2008.06.09 (CMCDEV-0001)
  1288. * @by : 유동철(ACK)
  1289. * @-----------------------------------
  1290. * @type : function
  1291. * @access : public
  1292. * @desc : 세포사용자 선택 처리 Function
  1293. */
  1294. function fExeSepoUserChoi(pBizFlagCd) {
  1295. var sNode = "/root/main/acptptno/acptptnolist";
  1296. var iMaxRowCnt = getNodesetCount("/root/main/acptptno/acptptnolist");
  1297. //------------------------------------------
  1298. for (var iNo=1; iNo <= iMaxRowCnt; iNo++) {
  1299. if (model.getValue(sNode+"["+iNo+"]/choi") == "true") {
  1300. if (pBizFlagCd == "1") {
  1301. model.setValue(sNode+"["+iNo+"]/celluserid", model.getValue("/root/init/sepouser1"));
  1302. } else if (pBizFlagCd == "2") {
  1303. model.setValue(sNode+"["+iNo+"]/readdrid1", model.getValue("/root/init/sepouser2"));
  1304. } else if (pBizFlagCd == "3") {
  1305. model.setValue(sNode+"["+iNo+"]/lastdrid", model.getValue("/root/init/sepouser3"));
  1306. }
  1307. }
  1308. }
  1309. //---------------------
  1310. grd_ptnolist.refresh();
  1311. }
  1312. /* @group : 세포결과일괄등록
  1313. * @ver : 2008.06.09 (CMCDEV-0001)
  1314. * @by : 유동철(ACK)
  1315. * @-----------------------------------
  1316. * @type : function
  1317. * @access : public
  1318. * @desc : 검사결과 확대창 처리 Function
  1319. */
  1320. function fExeRsltView() {
  1321. //--------------------------
  1322. switch (grd_ptnolist.col) {
  1323. case 9 : model.setValue("/root/init/rsltview", model.getValue("/root/main/acptptno/acptptnolist["+grd_ptnolist.row+"]/testrslt1"));
  1324. break;
  1325. case 14 : model.setValue("/root/init/rsltview", model.getValue("/root/main/acptptno/acptptnolist["+grd_ptnolist.row+"]/readrslt"));
  1326. break;
  1327. case 16 : model.setValue("/root/init/rsltview", model.getValue("/root/main/acptptno/acptptnolist["+grd_ptnolist.row+"]/lastrslt"));
  1328. break;
  1329. }
  1330. //---------------------
  1331. tar_rsltview.refresh();
  1332. grp_rsltview.visible = true;
  1333. }
  1334. /* @group : 세포결과일괄등록
  1335. * @ver : 2008.06.09 (CMCDEV-0001)
  1336. * @by : 유동철(ACK)
  1337. * @-----------------------------------
  1338. * @type : function
  1339. * @access : public
  1340. * @desc : 진단코드 검색 팝업창 호출 처리 Function
  1341. */
  1342. function fExeDiagPopup(pRow) {
  1343. var sNode = "/root/main/acptptno/acptptnolist";
  1344. var sDiagNm = model.getValue(sNode+ "[" + grd_ptnolist.row + "]/diagcnts");
  1345. var sDiagInfo = "";
  1346. //--------------------------------------------
  1347. // 영문,숫자, 한글일때는 3글자 넣어야 검색가능
  1348. if ( sDiagNm.length < 2 ) {
  1349. messageBox ( "2글자 이상", "C001" );
  1350. return;
  1351. }
  1352. //-----------------------------------------
  1353. setParameter("SPMMO00800_cond1", "2" ); // 첫단어검색을 먼저하는 것으로 수정한다.(1:코드검색)
  1354. setParameter("SPMMO00800_cond2", "3"); // 명칭검색구분(1:코드, 2:단어, 3:문장, 4:첫단어)
  1355. setParameter("SPMMO00800_cond3", "E" ); // 한영구분(H: 한글, E:영문)
  1356. setParameter("SPMMO00800_cond4", getCurrentDate()); // 기준일자: 외래일때는 진료일자, 입원일때는 처방일자
  1357. setParameter("SPMMO00800_cond5", sDiagNm ); // 검색내용
  1358. setParameter("SPMMO00800_rtn", "" ); // 반환값
  1359. setParameter("SPMMO00800_rtn_useyn", sDiagNm ); // 검색내용
  1360. modal ( "SPMMO00800", null, null, null, "diagsrch", "", "", "", false );
  1361. if ( getParameter( "SPMMO00800_rtn_useyn" ) == "Y" ) {
  1362. //-------------------------------------------
  1363. sDiagInfo = getParameter( "SPMMO00800_rtn" );
  1364. var icd10cd = fExeGetArrayData( sDiagInfo, 1, 8, "▩", "▦" );
  1365. var diagcd = fExeGetArrayData( sDiagInfo, 1, 9, "▩", "▦" );
  1366. var diagengnm = fExeGetArrayData( sDiagInfo, 1, 2, "▩", "▦" );
  1367. var diaghngnm = fExeGetArrayData( sDiagInfo, 1, 3, "▩", "▦" );
  1368. var spclinfo = fExeGetArrayData( sDiagInfo, 1, 5, "▩", "▦" );
  1369. //-------------------------------------------
  1370. model.setValue(sNode+ "[" + grd_ptnolist.row + "]/diagcnts", diagengnm);
  1371. model.setValue(sNode+ "[" + grd_ptnolist.row + "]/diagcd", diagcd);
  1372. //-----------------------------------------
  1373. setParameter( "SPMMO00800_rtn_useyn", "" );
  1374. }
  1375. }
  1376. function fExeGetArrayData (pData, pRow, pCol, pRowSep, pColSep ) {
  1377. var arrRow = pData.split(pRowSep);
  1378. if(arrRow.length <= pRow) return "";
  1379. var arrCol = arrRow[pRow].split(pColSep);
  1380. if(arrCol.length <= pCol) return "";
  1381. return arrCol[pCol];
  1382. }
  1383. /* @group : 세포결과일괄등록
  1384. * @ver : 2008.12.04 (CMCDEV-0001)
  1385. * @by : 하만석(ACK)
  1386. * @-----------------------------------
  1387. * @type : function
  1388. * @access : public
  1389. * @desc : 결과항목을 확인하기 위해서 row 크기 변경
  1390. */
  1391. function fExeResizeRow()
  1392. {
  1393. if (gRowSize == 0) // 초기상태
  1394. {
  1395. grd_ptnolist.autoResize = true;
  1396. grd_ptnolist.refresh();
  1397. gRowSize = 1;
  1398. }
  1399. else if (gRowSize == 1)
  1400. {
  1401. grd_ptnolist.dataHeight = 25;
  1402. grd_ptnolist.autoResize = false;
  1403. grd_ptnolist.refresh();
  1404. gRowSize = 0;
  1405. }
  1406. }
  1407. /* @group : 세포결과일괄등록
  1408. * @ver : 2010.07.21 (CMCDEV-0001)
  1409. * @by : 이선우
  1410. * @-----------------------------------
  1411. * @type : function
  1412. * @access : public
  1413. * @desc : 해당 차수의 결과를 읽어서 진단내용 생성
  1414. */
  1415. function fExeSepoMcnts(pBizFlagCd, pRowNo) {
  1416. var sNode = "/root/main/acptptno/acptptnolist";
  1417. var sRsltNode = "/root/temp/rsltcnts";
  1418. var sMcnts = "";
  1419. var sExmpcdNode = "/root/init/exmpcd_8000/exmpcdlist";
  1420. var sExmpcdCmmt = "880000";
  1421. var sRsltCnts = "";
  1422. switch (model.getValue(sNode+"["+pRowNo+"]/statsworkflagcd")) {
  1423. case "1021" :
  1424. case "10D2" :
  1425. sExmpcdNode = "/root/init/exmpcd_8000/exmpcdlist"; // 부인과예문
  1426. sExmpcdCmmt = "880000";
  1427. break;
  1428. case "1022" :
  1429. case "1023" :
  1430. case "10B2" :
  1431. case "10B3" :
  1432. case "10D0" :
  1433. sExmpcdNode = "/root/init/exmpcd_9000/exmpcdlist"; // 비부인과예문
  1434. sExmpcdCmmt = "980000";
  1435. break;
  1436. }
  1437. switch (pBizFlagCd) {
  1438. case "1" :
  1439. sRsltCnts = model.getValue(sNode +"["+ pRowNo +"]/rsltcnts4");
  1440. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-") {
  1441. sRsltCnts = "<?xml version='1.0' encoding='euc-kr'?><root>"+ sRsltCnts + "</root>";
  1442. ivwTemp.window.instance1.loadXML(sRsltCnts);
  1443. model.copyNode(sRsltNode, ivwTemp.window.instance1.selectSingleNode("/root"));
  1444. }
  1445. for (var i = getNodesetCount(sExmpcdNode); i >= 1; i--) {
  1446. // Comment 제외
  1447. if (Number(model.getValue(sExmpcdNode +"["+ i +"]/exmpcd")) > sExmpcdCmmt) {
  1448. // Continue
  1449. } else {
  1450. if (model.getValue(sRsltNode + "/seporesninfo/val" + model.getValue(sExmpcdNode +"["+ i +"]/exmpcd")) == "1" &&
  1451. model.getValue(sExmpcdNode + "["+ i +"]/exmpcd") == "925000" ) {
  1452. sMcnts = model.getValue( sRsltNode + "/seporesninfo/nm" + model.getValue(sExmpcdNode + "[" + i + "]/exmpcd"));
  1453. break;
  1454. }
  1455. }
  1456. }
  1457. break;
  1458. case "2" :
  1459. sRsltCnts = model.getValue(sNode +"["+ pRowNo +"]/rsltcnts5");
  1460. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-") {
  1461. sRsltCnts = "<?xml version='1.0' encoding='euc-kr'?><root>"+ sRsltCnts + "</root>";
  1462. ivwTemp.window.instance1.loadXML(sRsltCnts);
  1463. model.copyNode(sRsltNode, ivwTemp.window.instance1.selectSingleNode("/root"));
  1464. }
  1465. for (var i = getNodesetCount(sExmpcdNode); i >= 1; i--) {
  1466. // Comment 제외
  1467. if (Number(model.getValue(sExmpcdNode +"["+ i +"]/exmpcd")) > sExmpcdCmmt) {
  1468. // Continue
  1469. } else {
  1470. if (model.getValue(sRsltNode + "/seporesninfo/val" + model.getValue(sExmpcdNode +" ["+ i +"]/exmpcd")) == "1" &&
  1471. model.getValue(sExmpcdNode + "["+ i +"]/exmpcd") != "925000" ) {
  1472. sMcnts = model.getValue( sRsltNode + "/seporesninfo/nm" + model.getValue(sExmpcdNode + "[" + i + "]/exmpcd"));
  1473. break;
  1474. }
  1475. }
  1476. }
  1477. break;
  1478. case "3" :
  1479. sRsltCnts = model.getValue(sNode +"["+ pRowNo +"]/rsltcnts4");
  1480. if (sRsltCnts.getTrim() != "" && sRsltCnts.getTrim() != "-") {
  1481. sRsltCnts = "<?xml version='1.0' encoding='euc-kr'?><root>"+ sRsltCnts + "</root>";
  1482. ivwTemp.window.instance1.loadXML(sRsltCnts);
  1483. model.copyNode(sRsltNode, ivwTemp.window.instance1.selectSingleNode("/root"));
  1484. }
  1485. for (var i = getNodesetCount(sExmpcdNode); i >= 1; i--) {
  1486. // Comment 제외
  1487. if (Number(model.getValue(sExmpcdNode +"["+ i +"]/exmpcd")) > sExmpcdCmmt) {
  1488. // Continue
  1489. } else {
  1490. if (model.getValue(sRsltNode + "/seporesninfo/val" + model.getValue(sExmpcdNode + "["+ i +"]/exmpcd")) == "1" &&
  1491. model.getValue(sExmpcdNode + "["+ i +"]/exmpcd") != "925000" ) {
  1492. sMcnts = model.getValue( sRsltNode + "/seporesninfo/nm" + model.getValue(sExmpcdNode + "[" + i + "]/exmpcd"));
  1493. break;
  1494. }
  1495. }
  1496. }
  1497. break;
  1498. }
  1499. return sMcnts;
  1500. }
  1501. ]]>
  1502. </script>
  1503. </xhtml:head>
  1504. <xhtml:body>
  1505. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  1506. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:15px; ">세포결과 일괄등록</caption>
  1507. </group>
  1508. <group id="grp_biz" style="left:0; top:40; width:1195; height:744; ">
  1509. <caption id="caption4" class="tit_2" style="left:5px; top:55px; width:170px; height:13px; ">병리번호 목록</caption>
  1510. <line id="line3" class="line_1" style="x1:0px; y1:70px; x2:1194px; y2:70px; "/>
  1511. <datagrid id="grd_ptnolist" nodeset="/root/main/acptptno/acptptnolist" class="datagrid2" caption="선&#xA;택^기관코드^ptno^병리번호^접수일자^등록번호^환자명^세포병리사^1차&#xA;스크리너^1차결과^판독의사1^2차&#xA;스크리너^판독의사2^판독의사2^2차결과^2차결과^판독의사^진단^진단^결과상태^rsltrgstdd^rsltrgstno^cellrgstdd^cellrgstno^doctrgstdd^doctrgstno^testresn1^testresn2^statsworkflagcd^caption1^caption2^진단(M)^caption3^^Other^등급^WARDCD^age^의뢰지번호^의뢰지구분코드^rsltcnts6^readid^sepo1mcnts^sepo2mcnts^sepo3mcnts^cellrsltrgstid" colsep="^" colwidth="34, 0, 0, 80, 70, 70, 70, 0, 70, 100, 0, 70, 0, 0, 100, 20, 70, 100, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 157, 0, 19, 82, 40, 100, 100, 0, 0, 0, 0, 0, 0, 0, 0" dataheight="25" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheight="32" rowsep="|" navindex="6" style="left:0px; top:75px; width:1194px; height:665px; x1:0px; ">
  1512. <col ref="choi" type="checkbox"/>
  1513. <col ref="instcd"/>
  1514. <col ref="ptno"/>
  1515. <col ref="dispptno"/>
  1516. <col class="text_center" ref="acptdd" format="yyyy-mm-dd" mask="exclude" showmask="true"/>
  1517. <col class="text_center" ref="pid"/>
  1518. <col class="text_center" ref="patnm"/>
  1519. <col ref="cellusernm"/>
  1520. <col itemcount="15" ref="celluserid" type="combo">
  1521. <choices>
  1522. <itemset nodeset="/root/init/screenerlist/screenerinfo[screenflag='1']">
  1523. <label ref="usernm"/>
  1524. <value ref="resncnts"/>
  1525. </itemset>
  1526. </choices>
  1527. </col>
  1528. <col editable="false" ref="testrslt1" type="inputbutton"/>
  1529. <col class="text_center" ref="readdrnm1"/>
  1530. <col itemcount="15" ref="readdrid1" type="combo">
  1531. <choices>
  1532. <itemset nodeset="/root/init/screenerlist/screenerinfo[screenflag='2']">
  1533. <label ref="usernm"/>
  1534. <value ref="resncnts"/>
  1535. </itemset>
  1536. </choices>
  1537. </col>
  1538. <col class="text_center" ref="readdrnm2"/>
  1539. <col ref="readdrid2" type="combo">
  1540. <choices>
  1541. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  1542. <label ref="usernm"/>
  1543. <value ref="userid"/>
  1544. </itemset>
  1545. </choices>
  1546. </col>
  1547. <col editable="false" ref="readrslt" type="inputbutton"/>
  1548. <col ref="dummy1" style="background-image:../../../com/commonweb/images/icon_list.gif; "/>
  1549. <col itemcount="15" ref="lastdrid" type="combo">
  1550. <choices>
  1551. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  1552. <label ref="usernm"/>
  1553. <value ref="userid"/>
  1554. </itemset>
  1555. </choices>
  1556. </col>
  1557. <col ref="lastrslt" type="inputbutton"/>
  1558. <col ref="dummy2" style="background-image:../../../com/commonweb/images/icon_list.gif; "/>
  1559. <col ref="rsltstat"/>
  1560. <col ref="rsltrgstdd"/>
  1561. <col ref="rsltrgstno"/>
  1562. <col ref="cellrgstdd"/>
  1563. <col ref="cellrgstno"/>
  1564. <col ref="doctrgstdd"/>
  1565. <col ref="doctrgstno"/>
  1566. <col ref="rsltcnts4"/>
  1567. <col ref="rsltcnts5"/>
  1568. <col ref="statsworkflagcd"/>
  1569. <col ref="extrpartcd"/>
  1570. <col ref="extrmthdcd"/>
  1571. <col ref="diagcnts" type="input"/>
  1572. <col ref="diagcd"/>
  1573. <col ref="dummy3" style="background-image:../../../com/commonweb/images/icon_list.gif; "/>
  1574. <col ref="cmtcnts" type="input"/>
  1575. <col ref="readgrade" type="input" maxlength="3"/>
  1576. <col ref="wardcd" visibility="hidden"/>
  1577. <col ref="age" visibility="hidden"/>
  1578. <col ref="reqfrmno"/>
  1579. <col ref="reqfrmflagcd"/>
  1580. <col ref="rsltcnts6"/>
  1581. <col ref="readid"/>
  1582. <col ref="sepo1mcnts"/>
  1583. <col ref="sepo2mcnts"/>
  1584. <col ref="sepo3mcnts"/>
  1585. <col ref="cellrsltrgstid"/>
  1586. <script type="javascript" ev:event="onclick">
  1587. <![CDATA[
  1588. fExeGridClick(grd_ptnolist.col, grd_ptnolist.row);
  1589. ]]>
  1590. </script>
  1591. <script type="javascript" ev:event="onaftersort">
  1592. <![CDATA[
  1593. grd_ptnolist.gridToInstance();
  1594. ]]>
  1595. </script>
  1596. <script type="javascript" ev:event="onbuttonclick">
  1597. <![CDATA[
  1598. fExeResnChoi();
  1599. ]]>
  1600. </script>
  1601. <script type="javascript" ev:event="onmousedown">
  1602. <![CDATA[
  1603. setPopupMenu("grd_ptnolist", false, "/root/init/popupmenu/item", "nm", "funt");
  1604. ]]>
  1605. </script>
  1606. <script type="javascript" ev:event="DOMFocusOut">
  1607. <![CDATA[
  1608. initPopupMenu();
  1609. ]]>
  1610. </script>
  1611. </datagrid>
  1612. <group id="grp_sea" style="left:0px; top:10px; width:1195px; height:35px; vertical-align:top; ">
  1613. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  1614. <line id="line13" class="line_4" style="x1:1093px; y1:7px; x2:1093px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  1615. <caption id="caption7" class="search_name" style="left:16px; top:9px; width:86px; height:17px; ">접수일자 :</caption>
  1616. <input id="ipt_acpttodd" ref="/root/hidden/acpttodd" class="input_search" navindex="2" inputtype="date" style="left:214px; top:8px; width:90; height:19px; text-align:center; vertical-align:middle; "/>
  1617. <caption id="caption8" class="search_no_b" style="left:200px; top:8px; width:12px; height:17px; ">~</caption>
  1618. <caption id="caption9" class="search_name" style="left:881px; top:9px; width:86px; height:17px; ">검색방법 :</caption>
  1619. <input id="ipt_acptfromdd" ref="/root/hidden/acptfromdd" class="input_search" navindex="1" inputtype="date" style="left:108px; top:8px; width:90; height:19px; text-align:center; vertical-align:middle; "/>
  1620. <button id="btn_search" class="btn1_letter2" navindex="5" style="left:1113px; top:7px; width:56px; height:22px; background-image:../../../com/commonweb/images/btn1_letter2.gif; ">
  1621. <caption>조회</caption>
  1622. <script type="javascript" ev:event="DOMActivate">
  1623. <![CDATA[
  1624. fGetCellPtNoList();
  1625. ]]>
  1626. </script>
  1627. </button>
  1628. <select id="chb_workflagcd" ref="/root/init/workflagcd" navindex="3" overflow="visible" appearance="full" cellspacing="30" cols="10" style="left:480px; top:10px; width:315px; height:20px; border-style:none; ">
  1629. <choices>
  1630. <itemset nodeset="/root/init/resncd/resncdlist[resncd='1021' or resncd='1022' or resncd='1023' or resncd='1024']">
  1631. <label ref="resncnts"/>
  1632. <value ref="resncd"/>
  1633. </itemset>
  1634. </choices>
  1635. </select>
  1636. <caption id="caption3" class="search_name" style="left:390px; top:9px; width:86px; height:17px; ">작업구분 :</caption>
  1637. <select1 id="cmb_rsltdg" ref="/root/hidden/rsltdg" navindex="4" appearance="minimal" style="left:973px; top:8px; width:100px; height:19px; background-color:#ffffff; ">
  1638. <choices>
  1639. <item>
  1640. <label>접수</label>
  1641. <value>0</value>
  1642. </item>
  1643. <item>
  1644. <label>1차결과</label>
  1645. <value>1</value>
  1646. </item>
  1647. <item>
  1648. <label>2차결과</label>
  1649. <value>2</value>
  1650. </item>
  1651. <item>
  1652. <label>전체</label>
  1653. <value>3</value>
  1654. </item>
  1655. </choices>
  1656. </select1>
  1657. </group>
  1658. <button id="btn_exmp1" navindex="9" style="left:497px; top:52px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_list.gif; ">
  1659. <caption/>
  1660. <script type="javascript" ev:event="DOMActivate">
  1661. <![CDATA[
  1662. fExeSepoAllResnCall("1", 0);
  1663. ]]>
  1664. </script>
  1665. </button>
  1666. <button id="btn_exmp2" navindex="14" style="left:704px; top:52px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_list.gif; ">
  1667. <caption/>
  1668. <script type="javascript" ev:event="DOMActivate">
  1669. <![CDATA[
  1670. fExeSepoAllResnCall("2", 0);
  1671. ]]>
  1672. </script>
  1673. </button>
  1674. <iviewer id="iviewer1" visibility="hidden" src="SPLPR01300_viewer.xrw" style="left:180px; top:50px; width:65px; height:15px; border-style:sunken; "/>
  1675. <button id="btn_fstcopy" class="btn2_letter5" navindex="12" style="left:942px; top:50px; width:75px; height:19px; ">
  1676. <caption>
  1677. <![CDATA[1차 -> 2차]]>
  1678. </caption>
  1679. <script type="javascript" ev:event="DOMActivate">
  1680. <![CDATA[
  1681. fExeRsltCopy("1", 0);
  1682. ]]>
  1683. </script>
  1684. </button>
  1685. <button id="btn_scndcopy" class="btn2_letter6" navindex="15" style="left:1019px; top:50px; width:86px; height:19px; ">
  1686. <caption>
  1687. <![CDATA[2차 -> 최종]]>
  1688. </caption>
  1689. <script type="javascript" ev:event="DOMActivate">
  1690. <![CDATA[
  1691. fExeRsltCopy("2", 0);
  1692. ]]>
  1693. </script>
  1694. </button>
  1695. <select1 id="cmb_sepo1" ref="/root/init/sepouser1" appearance="minimal" style="left:325px; top:50px; width:70px; height:19px; ">
  1696. <choices>
  1697. <itemset nodeset="/root/init/screenerlist/screenerinfo[screenflag='1']">
  1698. <label ref="usernm"/>
  1699. <value ref="resncnts"/>
  1700. </itemset>
  1701. </choices>
  1702. <script type="javascript" ev:event="xforms-value-changed">
  1703. <![CDATA[
  1704. fExeSepoUserChoi("1");
  1705. ]]>
  1706. </script>
  1707. </select1>
  1708. <select1 id="cmb_sepo2" ref="/root/init/sepouser2" appearance="minimal" style="left:530px; top:50px; width:70px; height:19px; ">
  1709. <choices>
  1710. <itemset nodeset="/root/init/screenerlist/screenerinfo[screenflag='2']">
  1711. <label ref="usernm"/>
  1712. <value ref="resncnts"/>
  1713. </itemset>
  1714. </choices>
  1715. <script type="javascript" ev:event="xforms-value-changed">
  1716. <![CDATA[
  1717. fExeSepoUserChoi("2");
  1718. ]]>
  1719. </script>
  1720. </select1>
  1721. <group id="grp_rsltview" visibility="hidden" style="left:195px; top:160px; width:755px; height:500px; ">
  1722. <button id="btn_exit" class="btn4_letter2" navindex="8" style="left:698px; top:477px; width:56px; height:22px; ">
  1723. <caption>닫기</caption>
  1724. <script type="javascript" ev:event="DOMActivate">
  1725. <![CDATA[
  1726. grp_rsltview.visible = false;
  1727. model.setValue("/root/init/rsltview", "");
  1728. tar_rsltview.refresh();
  1729. ]]>
  1730. </script>
  1731. </button>
  1732. <textarea id="tar_rsltview" ref="/root/init/rsltview" style="left:0px; top:0px; width:754px; height:475px; "/>
  1733. </group>
  1734. <select1 id="cmb_resn1" ref="/root/init/sepoflagcd1" navindex="7" appearance="minimal" style="left:396px; top:50px; width:99px; height:19px; ">
  1735. <choices>
  1736. <item>
  1737. <label>부인과예문</label>
  1738. <value>1021</value>
  1739. </item>
  1740. <item>
  1741. <label>비부인과예문</label>
  1742. <value>1022</value>
  1743. </item>
  1744. <item>
  1745. <label>세침흡인예문</label>
  1746. <value>1023</value>
  1747. </item>
  1748. </choices>
  1749. <script type="javascript" ev:event="xforms-select">
  1750. <![CDATA[
  1751. fExeExmpChoi("1");
  1752. ]]>
  1753. </script>
  1754. </select1>
  1755. <select1 id="cmb_resn2" ref="/root/init/sepoflagcd2" navindex="10" appearance="minimal" style="left:602px; top:50px; width:100px; height:19px; ">
  1756. <choices>
  1757. <item>
  1758. <label>부인과예문</label>
  1759. <value>1021</value>
  1760. </item>
  1761. <item>
  1762. <label>비부인과예문</label>
  1763. <value>1022</value>
  1764. </item>
  1765. <item>
  1766. <label>세침흡인예문</label>
  1767. <value>1023</value>
  1768. </item>
  1769. </choices>
  1770. <script type="javascript" ev:event="xforms-select">
  1771. <![CDATA[
  1772. fExeExmpChoi("2");
  1773. ]]>
  1774. </script>
  1775. </select1>
  1776. <button id="button1" navindex="13" style="left:920px; top:52px; width:14px; height:16px; background-image:../../../com/commonweb/images/icon_list.gif; ">
  1777. <caption/>
  1778. <script type="javascript" ev:event="DOMActivate">
  1779. <![CDATA[
  1780. fExeSepoAllResnCall("3", 0);
  1781. ]]>
  1782. </script>
  1783. </button>
  1784. <select1 id="cmb_resn3" ref="/root/init/sepoflagcd3" navindex="11" appearance="minimal" style="left:815px; top:50px; width:103px; height:19px; ">
  1785. <choices>
  1786. <item>
  1787. <label>부인과예문</label>
  1788. <value>1021</value>
  1789. </item>
  1790. <item>
  1791. <label>비부인과예문</label>
  1792. <value>1022</value>
  1793. </item>
  1794. <item>
  1795. <label>세침흡인예문</label>
  1796. <value>1023</value>
  1797. </item>
  1798. </choices>
  1799. <script type="javascript" ev:event="xforms-select">
  1800. <![CDATA[
  1801. fExeExmpChoi("3");
  1802. ]]>
  1803. </script>
  1804. </select1>
  1805. <button id="btn_lastcopy" class="btn2_letter6" navindex="16" style="left:1107px; top:50px; width:86px; height:19px; ">
  1806. <caption>
  1807. <![CDATA[1차 -> 최종]]>
  1808. </caption>
  1809. <script type="javascript" ev:event="DOMActivate">
  1810. <![CDATA[
  1811. fExeRsltCopy("3", 0);
  1812. ]]>
  1813. </script>
  1814. </button>
  1815. <select1 id="cmb_sepo3" ref="/root/init/sepouser3" appearance="minimal" style="left:743px; top:50px; width:70px; height:19px; ">
  1816. <choices>
  1817. <itemset nodeset="/root/init/userinfo/userinfolist[jobkindcd='1']">
  1818. <label ref="usernm"/>
  1819. <value ref="userid"/>
  1820. </itemset>
  1821. </choices>
  1822. <script type="javascript" ev:event="xforms-value-changed">
  1823. <![CDATA[
  1824. fExeSepoUserChoi("3");
  1825. ]]>
  1826. </script>
  1827. </select1>
  1828. <group id="grp_showrslt" visibility="hidden" style="left:690px; top:190px; width:475px; height:306px; ">
  1829. <textarea id="textarea1" ref="/root/main/ncharrslt" editable="false" style="left:0px; top:5px; width:470px; height:270px; font-family:굴림체; font-size:9pt; "/>
  1830. <line id="line1" class="line_1" style="x1:0px; y1:0; x2:470px; y2:0; "/>
  1831. <button id="btn_rsltclose" class="btn4_letter2" navindex="8" style="left:415px; top:276px; width:56px; height:22px; ">
  1832. <caption>닫기</caption>
  1833. <script type="javascript" ev:event="DOMActivate">
  1834. <![CDATA[
  1835. grp_showrslt.visible = false;
  1836. ]]>
  1837. </script>
  1838. </button>
  1839. <line id="line2" class="line_1" style="x1:0px; y1:300px; x2:470px; y2:300px; "/>
  1840. </group>
  1841. <button id="btn_grdresize" class="btn2_letter3" visibility="visible" style="left:270px; top:50px; width:53px; height:19px; ">
  1842. <caption>확 장</caption>
  1843. <script type="javascript" ev:event="DOMActivate">
  1844. <![CDATA[
  1845. fExeResizeRow();
  1846. ]]>
  1847. </script>
  1848. </button>
  1849. <iviewer id="ivwTemp" visibility="hidden" src="SPLPR01300_viewer.xrw" style="left:180px; top:50px; width:65px; height:15px; border-style:sunken; "/>
  1850. </group>
  1851. <group id="grp_btn" scroll="auto" style="left:0px; top:13; width:1195px; height:27px; ">
  1852. <line id="line9" class="line_6" style="x1:0px; y1:25; x2:1194px; y2:25; "/>
  1853. <button id="button13" class="btn6_letter2" style="left:5px; top:3px; width:92px; height:22px; ">
  1854. <caption>출력</caption>
  1855. <script type="javascript" ev:event="DOMActivate">
  1856. <![CDATA[
  1857. exeReportPreview("RPLPR00400", "XMLSTR", "/root/main/acptptno");
  1858. ]]>
  1859. </script>
  1860. </button>
  1861. <button id="btn_save" class="btn4_letter2" navindex="17" style="left:1138px; top:3; width:68px; height:22px; ">
  1862. <caption>저장</caption>
  1863. <script type="javascript" ev:event="DOMActivate">
  1864. <![CDATA[
  1865. fExeCellRsltSave();
  1866. ]]>
  1867. </script>
  1868. </button>
  1869. <button id="button2" class="btn6_letter5" style="left:63px; top:3px; width:92px; height:22px; ">
  1870. <caption>EXCEL저장</caption>
  1871. <script type="javascript" ev:event="DOMActivate">
  1872. <![CDATA[
  1873. lpzfExeSaveToExcel(grd_ptnolist, "세포결과 일괄등록");
  1874. ]]>
  1875. </script>
  1876. </button>
  1877. </group>
  1878. </xhtml:body>
  1879. </xhtml:html>