SMLNR00300_핵의학검사항목별결과관리.xfdl 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLNR00300" position="absolute 0 0 1207 787" titletext="New Form" oninit="SMLNR00300_oninit" onload="SMLNR00300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" taborder="17" class="div_SA" position="absolute 0 48 1195 143" anchor="left top right">
  8. <Layouts>
  9. <Layout>
  10. <Button id="button1" taborder="1" text="조회" class="btn1" position="absolute 1123 31 1179 53" anchor="top right" onclick="group1_button1_onclick"/>
  11. <Shape id="line11" linetype="vertical" class="line_4" position="absolute 1105 31 1111 53" anchor="top right"/>
  12. <CheckBox id="checkbox1" taborder="2" text="결과미입력" truevalue="1" class="checkbox_search" position="absolute 613 6 694 27" anchor="default" onclick="group1_checkbox1_onclick"/>
  13. <Static id="caption1" text="작업일자 :" class="search_name" position="absolute 15 9 105 26" anchor="default"/>
  14. <Static id="caption3" text="~" class="search_no_b" position="absolute 193 10 205 27" anchor="default"/>
  15. <Static id="caption5" text="작업순번 :" class="search_name" position="absolute 304 9 404 26" anchor="default"/>
  16. <Calendar id="input1" taborder="3" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd " class="input_search" position="absolute 105 8 190 27" anchor="default"/>
  17. <Static id="caption7" text="~" class="search_no_b" position="absolute 440 9 452 26" anchor="default"/>
  18. <Calendar id="input2" taborder="4" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd " class="input_search" position="absolute 209 8 294 27" anchor="default"/>
  19. <Static id="caption8" text="결과구분 :" class="search_name" position="absolute 529 9 619 26" anchor="default"/>
  20. <Edit id="input3" taborder="5" class="input_search" position="absolute 392 7 437 26" anchor="default"/>
  21. <Edit id="input4" taborder="6" class="input_search" position="absolute 457 7 502 26" anchor="default"/>
  22. <CheckBox id="checkbox2" taborder="7" text="결과입력" truevalue="1" class="checkbox_search" position="absolute 702 6 771 27" anchor="default" onclick="group1_checkbox2_onclick"/>
  23. <CheckBox id="checkbox3" taborder="8" text="최종보고" truevalue="1" class="checkbox_search" position="absolute 784 6 870 27" anchor="default" onclick="group1_checkbox3_onclick"/>
  24. <Edit id="input5" taborder="9" class="input_search" position="absolute 104 60 260 79" anchor="default" autoselect="true" autoskip="true" onkeydown="group1_input5_onkeydown"/>
  25. <Static id="caption6" text="결과코드 :" class="search_name" position="absolute 15 61 110 78" anchor="default"/>
  26. <Edit id="ipt_testpsn" taborder="10" class="input_essential" position="absolute 1018 7 1094 26" anchor="default" onkeyup="group1_ipt_testpsn_onkeyup" inputmode="upper"/>
  27. <Edit id="opt_testpsn" taborder="11" readonly="true" position="absolute 1096 7 1178 26" anchor="default"/>
  28. <Static id="caption19" text="검사자 :" class="tit_2" position="absolute 944 8 1018 29" anchor="default"/>
  29. <CheckBox id="checkbox5" taborder="12" text="전체선택" truevalue="1" class="checkbox_search" visible="false" position="absolute 265 34 335 54" anchor="default" onclick="group1_checkbox5_onclick"/>
  30. <Combo id="combo2" taborder="13" innerdataset="@ds_init_lb0116" codecolumn="cd" datacolumn="nm" class="combo_search" position="absolute 135 35 260 54" anchor="default" onitemchanged="group1_combo2_onitemchanged"/>
  31. <Static id="caption9" text="분주라벨 그룹 :" class="search_name" position="absolute 15 35 135 52" anchor="default"/>
  32. <Div id="group7" taborder="14" position="absolute 360 31 1105 86" anchor="default"/>
  33. <CheckBox id="checkbox4" taborder="15" text="단일항목여부" truevalue="1" visible="false" position="absolute 265 60 355 80" onclick="group1_checkbox4_onclick"/>
  34. <cp_checkboxList id="chk_divgrupnmlist" taborder="16" text="cp_checkboxList00" scrollbars="none" position="absolute 375 33 1096 86" style="background:transparent; " col="1" row="1" cellspacing="2" vcellspacing="0" itemWidth="100" itemHeight="20" overflow="visible" visible="false"/>
  35. </Layout>
  36. </Layouts>
  37. </Div>
  38. <Static id="caption17" text="핵의학검사항목별결과관리" class="tit_1" position="absolute 0 0 264 23"/>
  39. <Shape id="line17" linetype="horizontal" class="line_6" position="absolute 0 43 1194 49" onclick="line17_onclick"/>
  40. <Button id="btn_save" taborder="1" text="결과저장" class="btn4" position="absolute 854 21 934 43" anchor="top right" onclick="btn_save_onclick"/>
  41. <Button id="btn_mdlrept" taborder="2" text="중간예비보고" class="btn4" position="absolute 937 21 1041 43" anchor="top right" onclick="btn_mdlrept_onclick"/>
  42. <Button id="btn_lstrept" taborder="3" text="최종보고" class="btn4" position="absolute 1044 21 1124 43" anchor="top right" onclick="btn_lstrept_onclick"/>
  43. <Button id="btn_cle" taborder="4" text="초기화" class="btn4" position="absolute 1127 21 1195 43" anchor="top right" onclick="btn_cle_onclick"/>
  44. <Shape id="line1" class="line_10" position="absolute 0 167 1195 173" anchor="left top right"/>
  45. <Static id="caption2" text="검사항목내역" class="tit_2" position="absolute 0 151 134 172"/>
  46. <Static id="caption10" text="검체정보" class="tit_2" position="absolute 0 635 74 656" anchor="left bottom"/>
  47. <Shape id="line2" class="line_10" position="absolute 0 651 565 657" anchor="left bottom"/>
  48. <Edit id="output1" taborder="6" readonly="true" position="absolute 101 658 280 677" anchor="left bottom"/>
  49. <Shape id="line4" class="line_2" position="absolute 0 677 282 683" anchor="left bottom"/>
  50. <Edit id="output2" taborder="7" readonly="true" position="absolute 101 682 280 701" anchor="left bottom"/>
  51. <Grid id="datagrid2" taborder="8" binddataset="ds_main_testinfo_spcinfo" useinputpanel="false" position="absolute 101 704 280 752" anchor="left bottom">
  52. <Formats>
  53. <Format id="default">
  54. <Columns>
  55. <Column size="30"/>
  56. <Column size="30"/>
  57. <Column size="30"/>
  58. <Column size="30"/>
  59. <Column size="30"/>
  60. <Column size="27"/>
  61. </Columns>
  62. <Rows>
  63. <Row size="24" band="head"/>
  64. <Row size="24"/>
  65. </Rows>
  66. <Band id="head">
  67. <Cell text="N"/>
  68. <Cell col="1" text="P"/>
  69. <Cell col="2" text="D"/>
  70. <Cell col="3" text="C"/>
  71. <Cell col="4" text="A"/>
  72. <Cell col="5" text="R"/>
  73. </Band>
  74. <Band id="body">
  75. <Cell text="bind:judgmark"/>
  76. <Cell col="1" text="bind:panicmark"/>
  77. <Cell col="2" text="bind:deltamark"/>
  78. <Cell col="3" text="bind:criticalmark"/>
  79. <Cell col="4" text="bind:alertmark"/>
  80. <Cell col="5" text="bind:rsltmark"/>
  81. </Band>
  82. </Format>
  83. </Formats>
  84. </Grid>
  85. <Edit id="output3" taborder="9" readonly="true" position="absolute 385 658 562 677" anchor="left bottom"/>
  86. <Edit id="output4" taborder="10" readonly="true" position="absolute 385 683 562 702" anchor="left bottom"/>
  87. <Edit id="output5" taborder="11" readonly="true" position="absolute 385 707 562 726" anchor="left bottom"/>
  88. <Edit id="output6" taborder="12" readonly="true" position="absolute 385 731 562 750" anchor="left bottom"/>
  89. <Shape id="line5" class="line_2" position="absolute 100 701 279 707" anchor="left bottom"/>
  90. <Shape id="line8" class="line_2" position="absolute 282 726 564 732" anchor="left bottom"/>
  91. <Shape id="line6" class="line_2" position="absolute 282 678 564 684" anchor="left bottom"/>
  92. <Shape id="line7" class="line_2" position="absolute 282 702 564 708" anchor="left bottom"/>
  93. <Shape id="line12" class="line_10" position="absolute 567 651 1197 657" anchor="left right bottom"/>
  94. <Static id="caption18" text="comment" class="tit_2" position="absolute 567 635 651 656" anchor="left bottom"/>
  95. <TextArea id="textarea1" taborder="13" position="absolute 567 656 1197 775" anchor="left right bottom" onkillfocus="textarea1_onkillfocus"/>
  96. <Edit id="output8" taborder="14" readonly="true" position="absolute 77 755 185 774" anchor="left bottom"/>
  97. <Edit id="output9" taborder="15" readonly="true" position="absolute 265 755 373 774" anchor="left bottom"/>
  98. <Edit id="output10" taborder="16" readonly="true" position="absolute 454 754 562 773" anchor="left bottom"/>
  99. <Shape id="line16" class="line_3" position="absolute 567 775 1197 781" anchor="left right bottom"/>
  100. <Static id="caption20" text="결과입력자" class="cell_1" position="absolute 0 753 75 776" anchor="left bottom"/>
  101. <Static id="caption21" text="중간보고자" class="cell_1" position="absolute 187 753 262 776" anchor="left bottom"/>
  102. <Static id="caption22" text="최종보고자" class="cell_1" position="absolute 376 753 451 776" anchor="left bottom"/>
  103. <Static id="caption11" text="검체명" class="cell_1" position="absolute 0 656 100 679" anchor="left bottom"/>
  104. <Static id="caption12" text="참고치&amp;판정" class="cell_1" position="absolute 0 679 100 752" anchor="left bottom"/>
  105. <Static id="caption13" text="보이는결과" class="cell_1" position="absolute 282 657 382 680" anchor="left bottom"/>
  106. <Static id="caption14" text="이전결과" class="cell_1" position="absolute 282 681 382 704" anchor="left bottom"/>
  107. <Static id="caption15" text="이전결과일" class="cell_1" position="absolute 282 705 382 728" anchor="left bottom"/>
  108. <Static id="caption16" text="검사장비" class="cell_1" position="absolute 282 729 382 752" anchor="left bottom"/>
  109. <Grid id="grd_testlist" class="datagrid2" taborder="18" binddataset="ds_main_testinfo_patlist" useinputpanel="false" position="absolute 0 172 1195 627" anchor="all" cellsizingtype="col" oncellclick="grd_testlist_oncellclick">
  110. <Formats>
  111. <Format id="default">
  112. <Columns>
  113. <Column size="28"/>
  114. <Column size="20"/>
  115. <Column size="114"/>
  116. <Column size="98"/>
  117. <Column size="80"/>
  118. <Column size="70"/>
  119. <Column size="55"/>
  120. <Column size="70"/>
  121. <Column size="70"/>
  122. <Column size="60"/>
  123. <Column size="60"/>
  124. <Column size="60"/>
  125. <Column size="60"/>
  126. <Column size="60"/>
  127. <Column size="60"/>
  128. <Column size="60"/>
  129. <Column size="60"/>
  130. <Column size="60"/>
  131. <Column size="60"/>
  132. <Column size="60"/>
  133. <Column size="60"/>
  134. <Column size="60"/>
  135. <Column size="60"/>
  136. <Column size="60"/>
  137. <Column size="60"/>
  138. <Column size="60"/>
  139. <Column size="60"/>
  140. <Column size="60"/>
  141. <Column size="60"/>
  142. <Column size="60"/>
  143. <Column size="60"/>
  144. <Column size="60"/>
  145. <Column size="60"/>
  146. <Column size="60"/>
  147. <Column size="60"/>
  148. <Column size="60"/>
  149. <Column size="60"/>
  150. <Column size="60"/>
  151. <Column size="60"/>
  152. <Column size="60"/>
  153. </Columns>
  154. <Rows>
  155. <Row size="24" band="head"/>
  156. <Row size="24"/>
  157. </Rows>
  158. <Band id="head">
  159. <Cell/>
  160. <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
  161. <Cell col="2" text="작업번호"/>
  162. <Cell col="3" text="바코드번호"/>
  163. <Cell col="4" text="등록번호"/>
  164. <Cell col="5" text="성명"/>
  165. <Cell col="6" text="Sex/Age"/>
  166. <Cell col="7" text="의뢰의사"/>
  167. <Cell col="8" text="진료과"/>
  168. <Cell col="9" text="병동/병실"/>
  169. <Cell col="10" text="inptrslt1"/>
  170. <Cell col="11" text="inptrslt12"/>
  171. <Cell col="12" text="inptrslt3"/>
  172. <Cell col="13" text="inptrslt4"/>
  173. <Cell col="14" text="inptrslt5"/>
  174. <Cell col="15" text="inptrslt6"/>
  175. <Cell col="16" text="inptrslt7"/>
  176. <Cell col="17" text="inptrslt8"/>
  177. <Cell col="18" text="inptrslt9"/>
  178. <Cell col="19" text="inptrslt10"/>
  179. <Cell col="20" text="inptrslt11"/>
  180. <Cell col="21" text="inptrslt12"/>
  181. <Cell col="22" text="inptrslt13"/>
  182. <Cell col="23" text="inptrslt14"/>
  183. <Cell col="24" text="inptrslt15"/>
  184. <Cell col="25" text="inptrslt16"/>
  185. <Cell col="26" text="inptrslt17"/>
  186. <Cell col="27" text="inptrslt18"/>
  187. <Cell col="28" text="inptrslt19"/>
  188. <Cell col="29" text="inptrslt20"/>
  189. <Cell col="30" text="inptrslt21"/>
  190. <Cell col="31" text="inptrslt22"/>
  191. <Cell col="32" text="inptrslt23"/>
  192. <Cell col="33" text="inptrslt24"/>
  193. <Cell col="34" text="inptrslt25"/>
  194. <Cell col="35" text="inptrslt26"/>
  195. <Cell col="36" text="inptrslt27"/>
  196. <Cell col="37" text="inptrslt28"/>
  197. <Cell col="38" text="inptrslt29"/>
  198. <Cell col="39" text="inptrslt30"/>
  199. </Band>
  200. <Band id="body">
  201. <Cell celltype="head" expr="currow+1"/>
  202. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == 'true' ? 1 : 0"/>
  203. <Cell col="2" text="bind:workno"/>
  204. <Cell col="3" text="bind:bcno"/>
  205. <Cell col="4" text="bind:pid"/>
  206. <Cell col="5" text="bind:patnm"/>
  207. <Cell col="6" text="bind:sexage"/>
  208. <Cell col="7" text="bind:orddrnm"/>
  209. <Cell col="8" text="bind:orddeptnm"/>
  210. <Cell col="9" text="bind:wardroom"/>
  211. <Cell col="10" displaytype="text" edittype="text" text="bind:inptrslt1"/>
  212. <Cell col="11" displaytype="text" edittype="text" text="bind:inptrslt2"/>
  213. <Cell col="12" displaytype="text" edittype="text" text="bind:inptrslt3"/>
  214. <Cell col="13" displaytype="text" edittype="text" text="bind:inptrslt4"/>
  215. <Cell col="14" displaytype="text" edittype="text" text="bind:inptrslt5"/>
  216. <Cell col="15" displaytype="text" edittype="text" text="bind:inptrslt6"/>
  217. <Cell col="16" displaytype="text" edittype="text" text="bind:inptrslt7"/>
  218. <Cell col="17" displaytype="text" edittype="text" text="bind:inptrslt8"/>
  219. <Cell col="18" displaytype="text" edittype="text" text="bind:inptrslt9"/>
  220. <Cell col="19" displaytype="text" edittype="text" text="bind:inptrslt10"/>
  221. <Cell col="20" displaytype="text" edittype="text" text="bind:inptrslt11"/>
  222. <Cell col="21" displaytype="text" edittype="text" text="bind:inptrslt12"/>
  223. <Cell col="22" displaytype="text" edittype="text" text="bind:inptrslt13"/>
  224. <Cell col="23" displaytype="text" edittype="text" text="bind:inptrslt14"/>
  225. <Cell col="24" displaytype="text" edittype="text" text="bind:inptrslt15"/>
  226. <Cell col="25" displaytype="text" edittype="text" text="bind:inptrslt16"/>
  227. <Cell col="26" displaytype="text" edittype="text" text="bind:inptrslt17"/>
  228. <Cell col="27" displaytype="text" edittype="text" text="bind:inptrslt18"/>
  229. <Cell col="28" displaytype="text" edittype="text" text="bind:inptrslt19"/>
  230. <Cell col="29" displaytype="text" edittype="text" text="bind:inptrslt20"/>
  231. <Cell col="30" displaytype="text" edittype="text" text="bind:inptrslt21"/>
  232. <Cell col="31" displaytype="text" edittype="text" text="bind:inptrslt22"/>
  233. <Cell col="32" displaytype="text" edittype="text" text="bind:inptrslt23"/>
  234. <Cell col="33" displaytype="text" edittype="text" text="bind:inptrslt24"/>
  235. <Cell col="34" displaytype="text" edittype="text" text="bind:inptrslt25"/>
  236. <Cell col="35" displaytype="text" edittype="text" text="bind:inptrslt26"/>
  237. <Cell col="36" displaytype="text" edittype="text" text="bind:inptrslt27"/>
  238. <Cell col="37" displaytype="text" edittype="text" text="bind:inptrslt28"/>
  239. <Cell col="38" displaytype="text" edittype="text" text="bind:inptrslt29"/>
  240. <Cell col="39" displaytype="text" edittype="text" text="bind:inptrslt30"/>
  241. </Band>
  242. </Format>
  243. </Formats>
  244. </Grid>
  245. <Grid id="datagrid1" class="datagrid2" taborder="19" binddataset="ds_main_testinfo_testlist" useinputpanel="false" visible="false" position="absolute 0 392 895 542">
  246. <Formats>
  247. <Format id="default">
  248. <Columns>
  249. <Column size="150"/>
  250. <Column size="118"/>
  251. <Column size="104"/>
  252. <Column size="60"/>
  253. <Column size="60"/>
  254. <Column size="60"/>
  255. <Column size="60"/>
  256. <Column size="60"/>
  257. <Column size="60"/>
  258. <Column size="60"/>
  259. <Column size="60"/>
  260. <Column size="60"/>
  261. <Column size="60"/>
  262. <Column size="60"/>
  263. <Column size="60"/>
  264. <Column size="60"/>
  265. <Column size="60"/>
  266. <Column size="60"/>
  267. <Column size="60"/>
  268. <Column size="60"/>
  269. <Column size="60"/>
  270. <Column size="60"/>
  271. <Column size="60"/>
  272. <Column size="60"/>
  273. <Column size="60"/>
  274. <Column size="60"/>
  275. <Column size="60"/>
  276. <Column size="60"/>
  277. <Column size="60"/>
  278. <Column size="60"/>
  279. <Column size="60"/>
  280. <Column size="60"/>
  281. <Column size="60"/>
  282. <Column size="60"/>
  283. <Column size="60"/>
  284. <Column size="60"/>
  285. <Column size="60"/>
  286. <Column size="60"/>
  287. <Column size="60"/>
  288. <Column size="60"/>
  289. <Column size="60"/>
  290. <Column size="60"/>
  291. <Column size="60"/>
  292. <Column size="60"/>
  293. <Column size="60"/>
  294. <Column size="60"/>
  295. <Column size="60"/>
  296. <Column size="60"/>
  297. <Column size="60"/>
  298. <Column size="60"/>
  299. <Column size="60"/>
  300. <Column size="60"/>
  301. <Column size="60"/>
  302. <Column size="60"/>
  303. <Column size="60"/>
  304. <Column size="60"/>
  305. <Column size="60"/>
  306. <Column size="60"/>
  307. <Column size="60"/>
  308. <Column size="60"/>
  309. <Column size="60"/>
  310. <Column size="60"/>
  311. <Column size="60"/>
  312. <Column size="60"/>
  313. <Column size="60"/>
  314. <Column size="60"/>
  315. <Column size="60"/>
  316. <Column size="60"/>
  317. <Column size="60"/>
  318. <Column size="60"/>
  319. <Column size="60"/>
  320. <Column size="60"/>
  321. <Column size="60"/>
  322. <Column size="60"/>
  323. <Column size="100"/>
  324. <Column size="100"/>
  325. <Column size="100"/>
  326. </Columns>
  327. <Rows>
  328. <Row size="24" band="head"/>
  329. <Row size="24"/>
  330. </Rows>
  331. <Band id="head">
  332. <Cell text="rkey"/>
  333. <Cell col="1" text="workno"/>
  334. <Cell col="2" text="bcno"/>
  335. <Cell col="3" text="execprcpuniqno"/>
  336. <Cell col="4" text="testcd"/>
  337. <Cell col="5" text="spccd"/>
  338. <Cell col="6" text="bufinptrslt"/>
  339. <Cell col="7" text="reptrslt"/>
  340. <Cell col="8" text="rsltunit"/>
  341. <Cell col="9" text="judgmark"/>
  342. <Cell col="10" text="panicmark"/>
  343. <Cell col="11" text="deltamark"/>
  344. <Cell col="12" text="criticalmark"/>
  345. <Cell col="13" text="alertmark"/>
  346. <Cell col="14" text="rsltmark"/>
  347. <Cell col="15" text="rsltstat"/>
  348. <Cell col="16" text="bfbcno"/>
  349. <Cell col="17" text="bflastreptdt"/>
  350. <Cell col="18" text="testeqmtcd"/>
  351. <Cell col="19" text="comment"/>
  352. <Cell col="20" text="tclskind"/>
  353. <Cell col="21" text="spcacptid"/>
  354. <Cell col="22" text="spcacptdt"/>
  355. <Cell col="23" text="spcacptnm"/>
  356. <Cell col="24" text="rsltrgsgid"/>
  357. <Cell col="25" text="rsltrgstdt"/>
  358. <Cell col="26" text="rsltrgstnm"/>
  359. <Cell col="27" text="mdlreptid"/>
  360. <Cell col="28" text="mdlreptdt"/>
  361. <Cell col="29" text="mdlreptnm"/>
  362. <Cell col="30" text="lastreptid"/>
  363. <Cell col="31" text="lastreptdt"/>
  364. <Cell col="32" text="lastreptnm"/>
  365. <Cell col="33" text="tclscd"/>
  366. <Cell col="34" text="bfinptrslt"/>
  367. <Cell col="35" text="bfreptrslt"/>
  368. <Cell col="36" text="rsltseq"/>
  369. <Cell col="37" text="prcpgenrflag"/>
  370. <Cell col="38" text="rsltkind"/>
  371. <Cell col="39" text="rsltintsize"/>
  372. <Cell col="40" text="rsltdcmlsize"/>
  373. <Cell col="41" text="rundkind"/>
  374. <Cell col="42" text="rvalflag"/>
  375. <Cell col="43" text="descrval"/>
  376. <Cell col="44" text="judgkind"/>
  377. <Cell col="45" text="userjudgchar1"/>
  378. <Cell col="46" text="userjudgchar2"/>
  379. <Cell col="47" text="userjudgchar3"/>
  380. <Cell col="48" text="panicflag"/>
  381. <Cell col="49" text="panicminval"/>
  382. <Cell col="50" text="panicmaxval"/>
  383. <Cell col="51" text="deltaflag"/>
  384. <Cell col="52" text="deltaminval"/>
  385. <Cell col="53" text="deltamaxval"/>
  386. <Cell col="54" text="deltaterm"/>
  387. <Cell col="55" text="criticflag"/>
  388. <Cell col="56" text="criticminval"/>
  389. <Cell col="57" text="criticmaxval"/>
  390. <Cell col="58" text="alertflag"/>
  391. <Cell col="59" text="alertminval"/>
  392. <Cell col="60" text="allertmaxval"/>
  393. <Cell col="61" text="alimitls"/>
  394. <Cell col="62" text="alimitflag"/>
  395. <Cell col="63" text="alimitminval"/>
  396. <Cell col="64" text="alimith"/>
  397. <Cell col="65" text="alimiths"/>
  398. <Cell col="66" text="alimitls"/>
  399. <Cell col="67" text="refl"/>
  400. <Cell col="68" text="refls"/>
  401. <Cell col="69" text="refh"/>
  402. <Cell col="70" text="refhs"/>
  403. <Cell col="71" text="reflt"/>
  404. <Cell col="72" text="rstinterval"/>
  405. <Cell col="73" text="iud"/>
  406. <Cell col="74" text="spcscrnnm"/>
  407. <Cell col="75" text="inptrslt"/>
  408. <Cell col="76" text="testcmt"/>
  409. </Band>
  410. <Band id="body">
  411. <Cell text="bind:rkey"/>
  412. <Cell col="1" text="bind:workno"/>
  413. <Cell col="2" text="bind:bcno"/>
  414. <Cell col="3" text="bind:execprcpuniqno"/>
  415. <Cell col="4" text="bind:testcd"/>
  416. <Cell col="5" text="bind:spccd"/>
  417. <Cell col="6" text="bind:bufinptrslt"/>
  418. <Cell col="7" text="bind:reptrslt"/>
  419. <Cell col="8" text="bind:rsltunit"/>
  420. <Cell col="9" text="bind:judgmark"/>
  421. <Cell col="10" text="bind:panicmark"/>
  422. <Cell col="11" text="bind:deltamark"/>
  423. <Cell col="12" text="bind:criticalmark"/>
  424. <Cell col="13" text="bind:alertmark"/>
  425. <Cell col="14" text="bind:rsltmark"/>
  426. <Cell col="15" text="bind:rsltstat"/>
  427. <Cell col="16" text="bind:bfbcno"/>
  428. <Cell col="17" text="bind:bflastreptdt"/>
  429. <Cell col="18" text="bind:testeqmtcd"/>
  430. <Cell col="19" text="bind:comment"/>
  431. <Cell col="20" text="bind:tclskind"/>
  432. <Cell col="21" text="bind:spcacptid"/>
  433. <Cell col="22" text="bind:spcacptdt"/>
  434. <Cell col="23" text="bind:spcacptnm"/>
  435. <Cell col="24" text="bind:rsltrgsgid"/>
  436. <Cell col="25" text="bind:rsltrgstdt"/>
  437. <Cell col="26" text="bind:rsltrgstnm"/>
  438. <Cell col="27" text="bind:mdlreptid"/>
  439. <Cell col="28" text="bind:mdlreptdt"/>
  440. <Cell col="29" text="bind:mdlreptnm"/>
  441. <Cell col="30" text="bind:lastreptid"/>
  442. <Cell col="31" text="bind:lastreptdt"/>
  443. <Cell col="32" text="bind:lastreptnm"/>
  444. <Cell col="33" text="bind:tclscd"/>
  445. <Cell col="34" text="bind:bfinptrslt"/>
  446. <Cell col="35" text="bind:bfreptrslt"/>
  447. <Cell col="36" text="bind:rsltseq"/>
  448. <Cell col="37" text="bind:prcpgenrflag"/>
  449. <Cell col="38" text="bind:rsltkind"/>
  450. <Cell col="39" text="bind:rsltintsize"/>
  451. <Cell col="40" text="bind:rsltdcmlsize"/>
  452. <Cell col="41" text="bind:rundkind"/>
  453. <Cell col="42" text="bind:rvalflag"/>
  454. <Cell col="43" text="bind:descrval"/>
  455. <Cell col="44" text="bind:judgkind"/>
  456. <Cell col="45" text="bind:userjudgchar1"/>
  457. <Cell col="46" text="bind:userjudgchar2"/>
  458. <Cell col="47" text="bind:userjudgchar3"/>
  459. <Cell col="48" text="bind:panicflag"/>
  460. <Cell col="49" text="bind:panicminval"/>
  461. <Cell col="50" text="bind:panicmaxval"/>
  462. <Cell col="51" text="bind:deltaflag"/>
  463. <Cell col="52" text="bind:deltaminval"/>
  464. <Cell col="53" text="bind:deltamaxval"/>
  465. <Cell col="54" text="bind:deltaterm"/>
  466. <Cell col="55" text="bind:criticflag"/>
  467. <Cell col="56" text="bind:criticminval"/>
  468. <Cell col="57" text="bind:criticmaxval"/>
  469. <Cell col="58" text="bind:alertflag"/>
  470. <Cell col="59" text="bind:alertminval"/>
  471. <Cell col="60" text="bind:allertmaxval"/>
  472. <Cell col="61" text="bind:alimitls"/>
  473. <Cell col="62" text="bind:alimitflag"/>
  474. <Cell col="63" text="bind:alimitminval"/>
  475. <Cell col="64" text="bind:alimith"/>
  476. <Cell col="65" text="bind:alimiths"/>
  477. <Cell col="66" text="bind:alimitls"/>
  478. <Cell col="67" text="bind:refl"/>
  479. <Cell col="68" text="bind:refls"/>
  480. <Cell col="69" text="bind:refh"/>
  481. <Cell col="70" text="bind:refhs"/>
  482. <Cell col="71" text="bind:reflt"/>
  483. <Cell col="72" text="bind:rstinterval"/>
  484. <Cell col="73" text="bind:iud"/>
  485. <Cell col="74" text="bind:spcscrnnm"/>
  486. <Cell col="75" text="bind:inptrslt"/>
  487. <Cell col="76" text="bind:testcmt"/>
  488. </Band>
  489. </Format>
  490. </Formats>
  491. </Grid>
  492. <Edit id="output7" taborder="20" readonly="true" visible="false" position="absolute 720 632 820 651" anchor="left bottom"/>
  493. <Shape id="line3" class="line_3" position="absolute 0 775 565 781" anchor="left bottom"/>
  494. </Layout>
  495. </Layouts>
  496. <Objects>
  497. <Dataset id="ds_hidden_refparam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  498. <ColumnInfo>
  499. <Column id="startdd" type="STRING" size="256"/>
  500. <Column id="enddd" type="STRING" size="256"/>
  501. <Column id="divgrupcd" type="STRING" size="256"/>
  502. <Column id="sworkseq" type="STRING" size="256"/>
  503. <Column id="eworkseq" type="STRING" size="256"/>
  504. <Column id="rsltstat0" type="STRING" size="256"/>
  505. <Column id="tclscdlist" type="STRING" size="256"/>
  506. <Column id="rsltstat1" type="STRING" size="256"/>
  507. <Column id="rsltstat2" type="STRING" size="256"/>
  508. <Column id="tclscdlist2" type="STRING" size="256"/>
  509. <Column id="testgrupseqno" type="STRING" size="256"/>
  510. <Column id="rsltstat" type="STRING" size="256"/>
  511. <Column id="userid" type="STRING" size="256"/>
  512. <Column id="onlytest" type="STRING" size="256"/>
  513. </ColumnInfo>
  514. <Rows>
  515. <Row>
  516. <Col id="startdd"/>
  517. <Col id="enddd"/>
  518. <Col id="divgrupcd"/>
  519. <Col id="sworkseq">00000</Col>
  520. <Col id="eworkseq">99999</Col>
  521. <Col id="rsltstat0">1</Col>
  522. <Col id="tclscdlist"/>
  523. <Col id="rsltstat1">1</Col>
  524. <Col id="rsltstat2"/>
  525. <Col id="tclscdlist2"/>
  526. <Col id="testgrupseqno"/>
  527. <Col id="rsltstat"/>
  528. <Col id="userid"/>
  529. <Col id="onlytest"/>
  530. </Row>
  531. </Rows>
  532. </Dataset>
  533. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  534. <ColumnInfo>
  535. <Column id="rsltcont" type="STRING" size="256"/>
  536. <Column id="currenRow" type="STRING" size="256"/>
  537. </ColumnInfo>
  538. <Rows>
  539. <Row/>
  540. </Rows>
  541. </Dataset>
  542. <Dataset id="ds_main_getUsernm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  543. <ColumnInfo>
  544. <Column id="usernm" type="STRING" size="256"/>
  545. </ColumnInfo>
  546. </Dataset>
  547. <Dataset id="ds_main_testinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  548. <Dataset id="ds_main_testinfo_testlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  549. <ColumnInfo>
  550. <Column id="rkey" type="STRING" size="256" sumtext="검체구분"/>
  551. <Column id="bcno" type="STRING" size="256" sumtext="검체구분"/>
  552. <Column id="pid" type="STRING" size="256" sumtext="검사항목구분"/>
  553. <Column id="patnm" type="STRING" size="256" sumtext="검체번호"/>
  554. <Column id="patsex" type="STRING" size="256" sumtext="처방희망일시"/>
  555. <Column id="patage" type="STRING" size="256" sumtext="진료일자"/>
  556. <Column id="regno" type="STRING" size="256" sumtext="진료과코드"/>
  557. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  558. <Column id="orddeptcd" type="STRING" size="256" sumtext="시행부서코드"/>
  559. <Column id="execprcpseqno" type="STRING" size="256" sumtext="시행부서명"/>
  560. <Column id="reqdoctrem" type="STRING" size="256" sumtext="의사명"/>
  561. <Column id="reqdoctid" type="STRING" size="256" sumtext="의사id"/>
  562. <Column id="prcprgstdd" type="STRING" size="256" sumtext="처방등록일자"/>
  563. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  564. <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
  565. <Column id="readonly" type="STRING" size="256"/>
  566. <Column id="inptrslt" type="STRING" size="256"/>
  567. <Column id="bufinptrslt" type="STRING" size="256"/>
  568. <Column id="reptrslt" type="STRING" size="256" sumtext="보이는결과"/>
  569. <Column id="judgmark" type="STRING" size="256" sumtext="judgmark"/>
  570. <Column id="deltamark" type="STRING" size="256" sumtext="델타"/>
  571. <Column id="panicmark" type="STRING" size="256" sumtext="패닉"/>
  572. <Column id="criticalmark" type="STRING" size="256" sumtext="크리티컬"/>
  573. <Column id="alertmark" type="STRING" size="256" sumtext=""/>
  574. <Column id="relatingmark" type="STRING" size="256" sumtext=""/>
  575. <Column id="amrmark" type="STRING" size="256" sumtext=""/>
  576. <Column id="rsltstat" type="STRING" size="256" sumtext="결과상태"/>
  577. <Column id="bfbcno" type="STRING" size="256" sumtext="이전검체번호"/>
  578. <Column id="bflastreptdt" type="STRING" size="256" sumtext="이전결과일시"/>
  579. <Column id="bfinptrslt" type="STRING" size="256" sumtext="이전실제결과"/>
  580. <Column id="bfreptrslt" type="STRING" size="256" sumtext="이전보이는결과"/>
  581. <Column id="testeqmtcd" type="STRING" size="256" sumtext="장비코드"/>
  582. <Column id="testcmt" type="STRING" size="256" sumtext="코멘트"/>
  583. <Column id="retestyn" type="STRING" size="256" sumtext=""/>
  584. <Column id="imagrsltyn" type="STRING" size="256" sumtext="이미지구분"/>
  585. <Column id="workseq" type="STRING" size="256" sumtext="작업번호순번"/>
  586. <Column id="tclscd" type="STRING" size="256" sumtext="검사코드"/>
  587. <Column id="rsltseq" type="STRING" size="256" sumtext="결과순번"/>
  588. <Column id="workno" type="STRING" size="256" sumtext="작업번호"/>
  589. <Column id="spcacptid" type="STRING" size="256" sumtext="접수자"/>
  590. <Column id="spcacptdt" type="STRING" size="256" sumtext="접수일시"/>
  591. <Column id="rsltrgsgid" type="STRING" size="256" sumtext="결과등록자"/>
  592. <Column id="rsltrgstdt" type="STRING" size="256" sumtext="결과등록일시"/>
  593. <Column id="mdlreptid" type="STRING" size="256" sumtext="중간보고자"/>
  594. <Column id="mdlreptdt" type="STRING" size="256" sumtext="중간보고일시"/>
  595. <Column id="lastreptid" type="STRING" size="256" sumtext="최종보고자"/>
  596. <Column id="lastreptdt" type="STRING" size="256" sumtext="최종보고일시"/>
  597. <Column id="tclsscrnm" type="STRING" size="256" sumtext="검사화면명"/>
  598. <Column id="rsltdispseq" type="STRING" size="256" sumtext=""/>
  599. <Column id="tclskind" type="STRING" size="256" sumtext="검사분류"/>
  600. <Column id="testrsltkind" type="STRING" size="256" sumtext=""/>
  601. <Column id="spclrsltkind" type="STRING" size="256" sumtext=""/>
  602. <Column id="parentrsltinptyn" type="STRING" size="256" sumtext="타이틀구분"/>
  603. <Column id="childessnrsltyn" type="STRING" size="256" sumtext="차일드구분"/>
  604. <Column id="diffcntyn" type="STRING" size="256" sumtext=""/>
  605. <Column id="rsltkind" type="STRING" size="256" sumtext="결과종류"/>
  606. <Column id="rsltintsize" type="STRING" size="256" sumtext=""/>
  607. <Column id="rsltdcmlsize" type="STRING" size="256" sumtext=""/>
  608. <Column id="rundkind" type="STRING" size="256" sumtext=""/>
  609. <Column id="rsltunit" type="STRING" size="256" sumtext="단위"/>
  610. <Column id="medispclyn" type="STRING" size="256" sumtext=""/>
  611. <Column id="fiximedispclid" type="STRING" size="256" sumtext=""/>
  612. <Column id="tclscdfromdd" type="STRING" size="256" sumtext="검사시작일자"/>
  613. <Column id="spcscrnnm" type="STRING" size="256" sumtext="검체화면명"/>
  614. <Column id="rvalflag" type="STRING" size="256" sumtext=""/>
  615. <Column id="descrval" type="STRING" size="256" sumtext=""/>
  616. <Column id="judgkind" type="STRING" size="256" sumtext="판정구분"/>
  617. <Column id="userjudgchar1" type="STRING" size="256" sumtext="사용자정의문자"/>
  618. <Column id="userjudgchar2" type="STRING" size="256" sumtext="사용자정의문자"/>
  619. <Column id="userjudgchar3" type="STRING" size="256" sumtext="사용자정의문자"/>
  620. <Column id="panicflag" type="STRING" size="256" sumtext="패닉"/>
  621. <Column id="panicminval" type="STRING" size="256" sumtext=""/>
  622. <Column id="panicmaxval" type="STRING" size="256" sumtext=""/>
  623. <Column id="deltaflag" type="STRING" size="256" sumtext="델타"/>
  624. <Column id="deltaminval" type="STRING" size="256" sumtext=""/>
  625. <Column id="deltamaxval" type="STRING" size="256" sumtext=""/>
  626. <Column id="deltaterm" type="STRING" size="256" sumtext=""/>
  627. <Column id="criticalflag" type="STRING" size="256" sumtext=""/>
  628. <Column id="criticalminval" type="STRING" size="256" sumtext=""/>
  629. <Column id="criticalmaxval" type="STRING" size="256" sumtext=""/>
  630. <Column id="alertflag" type="STRING" size="256" sumtext=""/>
  631. <Column id="alertminval" type="STRING" size="256" sumtext=""/>
  632. <Column id="alertmaxval" type="STRING" size="256" sumtext=""/>
  633. <Column id="alimitls" type="STRING" size="256" sumtext=""/>
  634. <Column id="alimitflag" type="STRING" size="256" sumtext=""/>
  635. <Column id="alimitminval" type="STRING" size="256" sumtext=""/>
  636. <Column id="alimitmaxval" type="STRING" size="256" sumtext=""/>
  637. <Column id="alimitmaxvalsinq" type="STRING" size="256" sumtext=""/>
  638. <Column id="alimitminvalsinq" type="STRING" size="256" sumtext=""/>
  639. <Column id="rsltdt" type="STRING" size="256" sumtext=""/>
  640. <Column id="erkind" type="STRING" size="256" sumtext="응급구분"/>
  641. <Column id="refval" type="STRING" size="256" sumtext=""/>
  642. <Column id="rsltmark" type="STRING" size="256" sumtext="결과마크"/>
  643. <Column id="refl" type="STRING" size="256" sumtext=""/>
  644. <Column id="refls" type="STRING" size="256" sumtext=""/>
  645. <Column id="refh" type="STRING" size="256" sumtext=""/>
  646. <Column id="refhs" type="STRING" size="256" sumtext=""/>
  647. <Column id="reflt" type="STRING" size="256" sumtext=""/>
  648. <Column id="rstinterval" type="STRING" size="256" sumtext=""/>
  649. <Column id="testlrgkind" type="STRING" size="256" sumtext=""/>
  650. <Column id="execprcpuniqno" type="STRING" size="256" sumtext=""/>
  651. <Column id="iud" type="STRING" size="256" sumtext=""/>
  652. <Column id="medispcreadyn" type="STRING" size="256" sumtext=""/>
  653. <Column id="medispcdt" type="STRING" size="256" sumtext="최종보고자"/>
  654. <Column id="medispclid" type="STRING" size="256" sumtext="최종보고일시"/>
  655. <Column id="nvalrsltlimyn" type="STRING" size="256" sumtext="검체명"/>
  656. </ColumnInfo>
  657. </Dataset>
  658. <Dataset id="ds_main_testinfo_spcinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  659. <ColumnInfo>
  660. <Column id="spcscrnnm" type="STRING" size="256"/>
  661. <Column id="reptrslt" type="STRING" size="256"/>
  662. <Column id="refval" type="STRING" size="256"/>
  663. <Column id="bfreptrslt" type="STRING" size="256"/>
  664. <Column id="bflastreptdt" type="STRING" size="256"/>
  665. <Column id="testeqmtcd" type="STRING" size="256"/>
  666. <Column id="lastreptdt" type="STRING" size="256"/>
  667. <Column id="mdlreptid" type="STRING" size="256"/>
  668. <Column id="rsltrgsgid" type="STRING" size="256"/>
  669. <Column id="testcmt" type="STRING" size="256"/>
  670. </ColumnInfo>
  671. </Dataset>
  672. <Dataset id="ds_main_testinfo_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_testinfo_patlist_oncolumnchanged">
  673. <ColumnInfo>
  674. <Column id="chk" type="STRING" size="256" sumtext="선택"/>
  675. <Column id="retestyn" type="STRING" size="256" sumtext="재검여부"/>
  676. <Column id="workno" type="STRING" size="256" sumtext="작업번호"/>
  677. <Column id="bcno" type="STRING" size="256" sumtext="검체번호"/>
  678. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  679. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  680. <Column id="sexage" type="STRING" size="256" sumtext="성별나이"/>
  681. <Column id="orddrnm" type="STRING" size="256" sumtext="진료의"/>
  682. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과"/>
  683. <Column id="wardroom" type="STRING" size="256" sumtext="병동병실"/>
  684. <Column id="prcpdd" type="STRING" size="256" sumtext="진료일"/>
  685. <Column id="execprcpuniqno" type="STRING" size="256" sumtext="유일번호"/>
  686. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  687. <Column id="inptrslt1" type="STRING" size="256"/>
  688. <Column id="inptrslt2" type="STRING" size="256"/>
  689. <Column id="inptrslt3" type="STRING" size="256"/>
  690. <Column id="inptrslt4" type="STRING" size="256"/>
  691. <Column id="inptrslt5" type="STRING" size="256"/>
  692. <Column id="inptrslt6" type="STRING" size="256"/>
  693. <Column id="inptrslt7" type="STRING" size="256"/>
  694. <Column id="inptrslt8" type="STRING" size="256"/>
  695. <Column id="inptrslt9" type="STRING" size="256"/>
  696. <Column id="inptrslt10" type="STRING" size="256"/>
  697. <Column id="inptrslt11" type="STRING" size="256"/>
  698. <Column id="inptrslt12" type="STRING" size="256"/>
  699. <Column id="inptrslt13" type="STRING" size="256"/>
  700. <Column id="inptrslt14" type="STRING" size="256"/>
  701. <Column id="inptrslt15" type="STRING" size="256"/>
  702. <Column id="inptrslt16" type="STRING" size="256"/>
  703. <Column id="inptrslt17" type="STRING" size="256"/>
  704. <Column id="inptrslt18" type="STRING" size="256"/>
  705. <Column id="inptrslt19" type="STRING" size="256"/>
  706. <Column id="inptrslt20" type="STRING" size="256"/>
  707. <Column id="inptrslt21" type="STRING" size="256"/>
  708. <Column id="inptrslt22" type="STRING" size="256"/>
  709. <Column id="inptrslt23" type="STRING" size="256"/>
  710. <Column id="inptrslt24" type="STRING" size="256"/>
  711. <Column id="inptrslt25" type="STRING" size="256"/>
  712. <Column id="inptrslt26" type="STRING" size="256"/>
  713. <Column id="inptrslt27" type="STRING" size="256"/>
  714. <Column id="inptrslt28" type="STRING" size="256"/>
  715. <Column id="inptrslt29" type="STRING" size="256"/>
  716. <Column id="inptrslt30" type="STRING" size="256"/>
  717. </ColumnInfo>
  718. </Dataset>
  719. <Dataset id="ds_main_divgrupnmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  720. <ColumnInfo>
  721. <Column id="tclsnm" type="STRING" size="256" sumtext="검사명"/>
  722. <Column id="tclsscrnnm" type="STRING" size="256" sumtext="검사화면명"/>
  723. <Column id="tclsprntnm" type="STRING" size="256" sumtext="검사출력명"/>
  724. <Column id="tclscd" type="STRING" size="256" sumtext="검사코드"/>
  725. <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
  726. </ColumnInfo>
  727. </Dataset>
  728. <Dataset id="ds_hidden_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  729. <ColumnInfo>
  730. <Column id="allcheck" type="STRING" size="256"/>
  731. <Column id="tclscd" type="STRING" size="256"/>
  732. </ColumnInfo>
  733. <Rows>
  734. <Row/>
  735. </Rows>
  736. </Dataset>
  737. <Dataset id="ds_init_lb0116" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  738. <Dataset id="ds_hidden_ref_tclscdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  739. <ColumnInfo>
  740. <Column id="tclscdlist" type="STRING" size="256"/>
  741. <Column id="tclsnmlist" type="STRING" size="256"/>
  742. <Column id="tclscdlist2" type="STRING" size="256"/>
  743. </ColumnInfo>
  744. <Rows>
  745. <Row/>
  746. </Rows>
  747. </Dataset>
  748. <Dataset id="ds_hidden_updateparam" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  749. <ColumnInfo>
  750. <Column id="rsltstat" type="STRING" size="256" sumtext="결과상태"/>
  751. <Column id="testlrgkind" type="STRING" size="256" sumtext="대분류유형"/>
  752. <Column id="userid" type="STRING" size="256" sumtext="사용자ID"/>
  753. <Column id="XFMGbn" type="STRING" size="256" sumtext="화면구분"/>
  754. <Column id="flag" type="STRING" size="256" sumtext="결과관리구분"/>
  755. </ColumnInfo>
  756. </Dataset>
  757. <Dataset id="ds_hidden_signinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  758. <ColumnInfo>
  759. <Column id="bcno" type="STRING" size="256" sumtext="검체번호"/>
  760. <Column id="formcd" type="STRING" size="256" sumtext="폼코드"/>
  761. <Column id="signaftcnts" type="STRING" size="256" sumtext="인증후 데이터 정보"/>
  762. <Column id="signbfcnts" type="STRING" size="256" sumtext="인증전 데이터 정보"/>
  763. </ColumnInfo>
  764. </Dataset>
  765. </Objects>
  766. <Bind>
  767. <BindItem id="item0" compid="group1.input1" propid="value" datasetid="ds_hidden_refparam" columnid="startdd"/>
  768. <BindItem id="item1" compid="group1.input2" propid="value" datasetid="ds_hidden_refparam" columnid="enddd"/>
  769. <BindItem id="item2" compid="group1.input3" propid="value" datasetid="ds_hidden_refparam" columnid="sworkseq"/>
  770. <BindItem id="item3" compid="group1.input4" propid="value" datasetid="ds_hidden_refparam" columnid="eworkseq"/>
  771. <BindItem id="item4" compid="group1.checkbox1" propid="value" datasetid="ds_hidden_refparam" columnid="rsltstat0"/>
  772. <BindItem id="item5" compid="group1.checkbox2" propid="value" datasetid="ds_hidden_refparam" columnid="rsltstat1"/>
  773. <BindItem id="item6" compid="group1.checkbox3" propid="value" datasetid="ds_hidden_refparam" columnid="rsltstat2"/>
  774. <BindItem id="item7" compid="group1.combo2" propid="value" datasetid="ds_hidden_refparam" columnid="divgrupcd"/>
  775. <BindItem id="item8" compid="group1.input5" propid="value" datasetid="ds_hidden_refparam" columnid=""/>
  776. <BindItem id="item9" compid="group1.checkbox4" propid="value" datasetid="ds_hidden_refparam" columnid="onlytest"/>
  777. <BindItem id="item10" compid="group1.ipt_testpsn" propid="value" datasetid="ds_hidden_refparam" columnid="userid"/>
  778. <BindItem id="item11" compid="group1.opt_testpsn" propid="value" datasetid="ds_main_getUsernm" columnid="usernm"/>
  779. <BindItem id="item12" compid="output7" propid="value" datasetid="ds_hidden" columnid="currenRow"/>
  780. <BindItem id="item13" compid="output1" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="spcscrnnm"/>
  781. <BindItem id="item14" compid="output3" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="reptrslt"/>
  782. <BindItem id="item15" compid="output2" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="refval"/>
  783. <BindItem id="item16" compid="output4" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="bfreptrslt"/>
  784. <BindItem id="item17" compid="output5" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="bflastreptdt"/>
  785. <BindItem id="item18" compid="output6" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="testeqmtcd"/>
  786. <BindItem id="item19" compid="output10" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="lastreptdt"/>
  787. <BindItem id="item20" compid="output9" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="mdlreptid"/>
  788. <BindItem id="item21" compid="output8" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="rsltrgsgid"/>
  789. <BindItem id="item22" compid="textarea1" propid="value" datasetid="ds_main_testinfo_spcinfo" columnid="testcmt"/>
  790. <BindItem id="item23" compid="group1.checkbox5" propid="value" datasetid="ds_hidden_ref" columnid="allcheck"/>
  791. </Bind>
  792. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  793. * System Name :
  794. * Job Name :
  795. * Creator :
  796. * Make Date : 2015-05-01
  797. * Description :
  798. *---------------------------------------------------------------------------------------
  799. * Modify Date Modifier Modify Description
  800. *---------------------------------------------------------------------------------------
  801. * 2015-05-01 Live Converter TF->XP
  802. *
  803. *---------------------------------------------------------------------------------------
  804. ****************************************************************************************/
  805. include "com_commonxp::comm_main.xjs";
  806. include "lis_commonxp::LLZ001.xjs";
  807. function SMLNR00300_oninit(obj:Form, e:InitEventInfo)
  808. {
  809. frmf_initForm(obj);
  810. }
  811. function SMLNR00300_onload(obj:Form, e:LoadEventInfo)
  812. {
  813. grdf_initGrid(grd_testlist);
  814. lf_getDbDeptcd("0103|0116|0000|", "")
  815. ds_hidden_refparam.setColumn(0, "divgrupcd", "00");
  816. ds_hidden_refparam.setColumn(0, "startdd", utlf_getCurrentDate());
  817. ds_hidden_refparam.setColumn(0, "enddd", utlf_getCurrentDate());
  818. datagrid2.enable = false;
  819. ds_main_testinfo_patlist.clearData();
  820. for(var i = 39; i > 9; i--)
  821. {
  822. grd_testlist.setFormatColProperty(i, "size", 0);
  823. }
  824. }
  825. function group1_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  826. {
  827. if(obj.value == false)
  828. {
  829. ds_hidden_refparam.setColumn(0, "rsltstat0", "");
  830. }
  831. fRstGbn_XForms_Value_Changed("0");
  832. }
  833. function group1_checkbox2_onclick(obj:CheckBox, e:ClickEventInfo)
  834. {
  835. if(obj.value == false)
  836. {
  837. ds_hidden_refparam.setColumn(0, "rsltstat1", "");
  838. }
  839. fRstGbn_XForms_Value_Changed("1");
  840. }
  841. function group1_checkbox3_onclick(obj:CheckBox, e:ClickEventInfo)
  842. {
  843. if(obj.value == false)
  844. {
  845. ds_hidden_refparam.setColumn(0, "rsltstat2", "");
  846. }
  847. fRstGbn_XForms_Value_Changed("2");
  848. }
  849. function fRstGbn_XForms_Value_Changed(pIdx)
  850. {
  851. if(pIdx == "0")
  852. {
  853. if(ds_hidden_refparam.getColumn(0, "rsltstat0") == "1")
  854. {
  855. ds_hidden_refparam.setColumn(0, "rsltstat2", "");
  856. }
  857. }
  858. else if (pIdx == "1")
  859. {
  860. if(ds_hidden_refparam.getColumn(0, "rsltstat1") == "1")
  861. {
  862. ds_hidden_refparam.setColumn(0, "rsltstat2", "");
  863. }
  864. }
  865. else
  866. {
  867. if(ds_hidden_refparam.getColumn(0, "rsltstat2") == "1")
  868. {
  869. ds_hidden_refparam.setColumn(0, "rsltstat0", "");
  870. ds_hidden_refparam.setColumn(0, "rsltstat1", "");
  871. }
  872. }
  873. }
  874. function group1_ipt_testpsn_onkeyup(obj:Edit, e:KeyEventInfo)
  875. {
  876. if(e.keycode == 13)
  877. {
  878. obj.updateToDataset();
  879. fUserNMRef();
  880. }
  881. }
  882. function fUserNMRef()
  883. {
  884. if(!utlf_isNull(ds_hidden_refparam.getColumn(0, "userid")))
  885. {
  886. dsf_createDsRow("ds_send", [{col:"userid", type:"STRING", size:256 , val : ds_hidden_refparam.getColumn(0, "userid")}
  887. , {col:"instcd", type:"STRING", size:256 , val : sysf_getUserInfo("dutplceinstcd")}]);
  888. var oParam = {};
  889. oParam.id = "TRLZZ00104";
  890. oParam.service = "diagtestapplib.LisCommon";
  891. oParam.method = "reqGetUserNM";
  892. oParam.inds = "cond=ds_send";
  893. oParam.outds = "ds_main_getUsernm=usernm";
  894. oParam.async = false;
  895. //oParam.callback = "cf_TRLZZ00104";
  896. tranf_submit(oParam);
  897. }
  898. }
  899. function group1_combo2_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  900. {
  901. fSelectDivGrup();
  902. }
  903. function fSelectDivGrup()
  904. {
  905. ds_main_divgrupnmlist.clearData();
  906. ds_hidden_ref.setColumn(0, "tclscd", "");
  907. var oParam = {};
  908. oParam.id = "TRLNP00102";
  909. oParam.service = "diagtestapplib.LisCommon";
  910. oParam.method = "reqGetDivGrupNm";
  911. oParam.inds = "cond=ds_hidden_refparam";
  912. oParam.outds = "ds_main_divgrupnmlist=getDivGrupNm";
  913. oParam.async = false;
  914. oParam.callback = "cf_TRLNP00102";
  915. tranf_submit(oParam);
  916. if(ds_hidden_refparam.getColumn(0, "divgrupcd") == "00")
  917. {
  918. group1.checkbox5.visible = false;
  919. group1.chk_divgrupnmlist.visible = false;
  920. }
  921. else
  922. {
  923. group1.checkbox5.visible = true;
  924. group1.chk_divgrupnmlist.visible= true;
  925. }
  926. ds_hidden_ref.setColumn(0, "allcheck", "");
  927. }
  928. function cf_TRLNP00102(sSvcId, nErrorCode, sErrorMsg)
  929. {
  930. if(nErrorCode < 0)
  931. {
  932. return;
  933. }
  934. else
  935. {
  936. var sProp="col=4,row=3,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='scroll'";
  937. group1.chk_divgrupnmlist.setInitComp(sProp, ds_main_divgrupnmlist,"tclscd","tclsscrnnm","");
  938. }
  939. }
  940. function fn_cmpEvent()
  941. {
  942. }
  943. function group1_checkbox5_onclick(obj:CheckBox, e:ClickEventInfo)
  944. {
  945. if(obj.value == "1")
  946. {
  947. group1.chk_divgrupnmlist.setCheckAll(true);
  948. }
  949. else
  950. {
  951. ds_hidden_ref.setColumn(0, "allcheck", "");
  952. group1.chk_divgrupnmlist.setCheckAll(false);
  953. }
  954. }
  955. function group1_input5_onkeydown(obj:Edit, e:KeyEventInfo)
  956. {
  957. if(e.keycode == 13)
  958. {
  959. obj.updateToDataset();
  960. fRsltCDEnterKey();
  961. }
  962. }
  963. function fRsltCDEnterKey()
  964. {
  965. // var vInptRslt = ds_hidden.getColumn(0, "rsltcont");
  966. // var curRow = ds_main_testinfo_patlist.rowposition;
  967. // var curCol = grd_testlist.Col;
  968. //
  969. // if (curCol < parseInt(gStartCol)) return;
  970. // if (curRow < 0) return;
  971. // if (vInptRslt.getTrim() == "") return;
  972. //
  973. // var vOrgrstseq = "inptrslt" + eval((curCol - gStartCol) + 1).toString();
  974. //
  975. //
  976. // var vTclscd = model.getValue("/root/hidden/currentest/tclscd");
  977. // var vCvtRst = fGetSeekRst(vTclscd, vInptRslt);
  978. //
  979. // if (vInptRslt != vCvtRst) {
  980. // vInptRslt = vCvtRst;
  981. // }
  982. //
  983. // var selectedCells = grd_testlist.selectedCells;
  984. //
  985. // for (var i=0; i<selectedCells.length; i++){
  986. // var cell = selectedCells.item(i);
  987. //
  988. // if (cell){
  989. // var curRow = cell.row;
  990. // var refRow = fGetRow(curRow, curCol);
  991. //
  992. // if (refRow > 0) {
  993. // model.setValue("/root/main/testinfo/patlist[" + curRow + "]/" + vOrgrstseq, vInptRslt);
  994. //
  995. // fCvtViewResult(vInptRslt, refRow);
  996. //
  997. // grd_testlist.cellStyle("background-color", curRow, curCol, curRow, curCol) = "#f3e1bf";
  998. // }
  999. // }
  1000. // }
  1001. // model.setValue("/root/hidden/rsltcont", "");
  1002. }
  1003. function group1_checkbox4_onclick(obj:CheckBox, e:ClickEventInfo)
  1004. {
  1005. if(obj.value == false)
  1006. {
  1007. ds_hidden_refparam.setColumn(0, "onlytest", "");
  1008. }
  1009. fGrdReMake();
  1010. }
  1011. function fGrdReMake()
  1012. {
  1013. if(ds_hidden_refparam.getColumn(0, "onlytest") == "1")
  1014. {
  1015. fHidden();
  1016. }
  1017. if(!utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist")))
  1018. {
  1019. ds_main_testinfo_patlist.clearData();
  1020. if(grd_testlist.getCellCount("Head") > 10)
  1021. {
  1022. for(var i = 39 ; i > 10 ; i--)
  1023. {
  1024. grd_testlist.setFormatColProperty(i, "size", 0)
  1025. }
  1026. }
  1027. var vTclsnmA = String(ds_hidden_ref_tclscdlist.getColumn(0, "tclsnmlist")).split(",");
  1028. for(var i = 1; i < vTclsnmA.length; i++)
  1029. {
  1030. grd_testlist.setFormatColProperty(i+9, "size", 60)
  1031. grd_testlist.setCellProperty("Head", i+9, "text", vTclsnmA[i]);
  1032. }
  1033. if(ds_hidden_refparam.getColumn(0, "onlytest") == "1")
  1034. {
  1035. for(var xx = 0; xx < 5; xx++)
  1036. {
  1037. grd_testlist.setFormatColProperty(xx+9, "size", 60);
  1038. ds_main_testinfo_patlist.setColumn(0, xx+9, "이전결과"+xx);
  1039. }
  1040. }
  1041. }
  1042. }
  1043. function fHidden()
  1044. {
  1045. if(ds_hidden_refparam.getColumn(0, "onlytest") == "1")
  1046. {
  1047. if(!utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist")))
  1048. {
  1049. var Atclscdlist = String(ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist")).split(",");
  1050. var Atclsnmlist = String(ds_hidden_ref_tclscdlist.getColumn(0, "tclsnmlist")).split(",");
  1051. var Atclscdlist2 = String(ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist2")).split("▦");
  1052. var Atclsnmlist2 = String(ds_hidden_ref_tclscdlist.getColumn(0, "tclsnmlist2")).split("▦");
  1053. ds_hidden_ref_tclscdlist.setColumn(0, "tclscdlist", Atclscdlist[0]);
  1054. ds_hidden_ref_tclscdlist.setColumn(0, "tclsnmlist", Atclsnmlist[0]);
  1055. ds_hidden_ref_tclscdlist.setColumn(0, "tclscdlist2", Atclscdlist2[0]);
  1056. ds_hidden_ref_tclscdlist.setColumn(0, "tclsnmlist2", Atclsnmlist2[0]);
  1057. }
  1058. }
  1059. else
  1060. {
  1061. }
  1062. }
  1063. function group1_button1_onclick(obj:Button, e:ClickEventInfo)
  1064. {
  1065. fSetPopUpTclscdList();
  1066. fOnclick_btnRef();
  1067. }
  1068. function fSetPopUpTclscdList()
  1069. {
  1070. var divgrupnmlist = group1.chk_divgrupnmlist.getData();
  1071. var divgrupnmlistlabel = group1.chk_divgrupnmlist.getLableData();
  1072. var divgrupnm = String(divgrupnmlistlabel).split(",");
  1073. var divgrupcd = String(divgrupnmlist).split(",");
  1074. var count = divgrupnm.length;
  1075. if(count > 0)
  1076. {
  1077. var sendtclsnm = divgrupnm[0];
  1078. var sendtclscd = divgrupcd[0];
  1079. var sendtclscd2 = divgrupcd[0];
  1080. if(utlf_isNull(sendtclsnm))
  1081. {
  1082. ds_hidden_ref_tclscdlist.setColumn(0, "tclscdlist", "");
  1083. ds_hidden_ref_tclscdlist.setColumn(0, "tclsnmlist", "");
  1084. }
  1085. else
  1086. {
  1087. for(var i = 0; i < count; i++)
  1088. {
  1089. sendtclsnm = sendtclsnm + ", " + divgrupnm[i];
  1090. sendtclscd = sendtclscd + "','" + divgrupcd[i];
  1091. sendtclscd2 = sendtclscd2 + "▦" + divgrupcd[i];
  1092. }
  1093. ds_hidden_ref_tclscdlist.setColumn(0, "tclsnmlist", sendtclsnm);
  1094. ds_hidden_ref_tclscdlist.setColumn(0, "tclscdlist","'" + sendtclscd + "'");
  1095. ds_hidden_ref_tclscdlist.setColumn(0, "tclscdlist2", sendtclscd2);
  1096. }
  1097. fGrdReMake();
  1098. }
  1099. }
  1100. function fOnclick_btnRef()
  1101. {
  1102. if(utlf_isNull(ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist")))
  1103. {
  1104. sysf_messageBox("검사항목을","C002","") ;
  1105. return;
  1106. }
  1107. var sworkseq = ds_hidden_refparam.getColumn(0, "sworkseq");
  1108. var eworkseq = ds_hidden_refparam.getColumn(0, "eworkseq");
  1109. sworkseq = sworkseq.getLeftPad(4,"0");
  1110. eworkseq = eworkseq.getLeftPad(4,"0");
  1111. ds_hidden_refparam.setColumn(0, "sworkseq", sworkseq);
  1112. ds_hidden_refparam.setColumn(0, "eworkseq", eworkseq);
  1113. ds_hidden_refparam.setColumn(0, "tclscdlist", ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist"));
  1114. ds_hidden_refparam.setColumn(0, "tclscdlist2", ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist2"));
  1115. var rsltstat0 = ds_hidden_refparam.getColumn(0, "rsltstat0");
  1116. var rsltstat1 = ds_hidden_refparam.getColumn(0, "rsltstat1");
  1117. var rsltstat2 = ds_hidden_refparam.getColumn(0, "rsltstat2");
  1118. if(utlf_isNull(rsltstat0) && utlf_isNull(rsltstat1) && utlf_isNull(rsltstat2))
  1119. {
  1120. sysf_messageBox("결과구분을 하나이상","C002","") ;
  1121. return;
  1122. }
  1123. var isRstGbn0 = false; //결과미입력
  1124. var isRstGbn1 = false; //결과입력
  1125. var isRstGbn2 = false; //최종보고
  1126. if(rsltstat0 == "1") isRstGbn0 = true;
  1127. if(rsltstat1 == "1") isRstGbn1 = true;
  1128. if(rsltstat2 == "1") isRstGbn2 = true;
  1129. if (isRstGbn2)
  1130. {
  1131. ds_hidden_refparam.setColumn(0, "rsltstat", "3");
  1132. }
  1133. else
  1134. {
  1135. if (isRstGbn0 && isRstGbn1)
  1136. {
  1137. ds_hidden_refparam.setColumn(0, "rsltstat", "2");
  1138. }
  1139. else if (isRstGbn1)
  1140. {
  1141. ds_hidden_refparam.setColumn(0, "rsltstat", "1");
  1142. }
  1143. else
  1144. {
  1145. ds_hidden_refparam.setColumn(0, "rsltstat", "0");
  1146. }
  1147. }
  1148. dsf_makeValue(ds_hidden_refparam, "userdeptflagcd", "string", "N", 0);
  1149. var oParam = {};
  1150. oParam.id = "TRLNR00301";
  1151. oParam.service = "rsltmngtapp.RsltMngt";
  1152. oParam.method = "reqGetNISTestItemInfo";
  1153. oParam.inds = "refparam=ds_hidden_refparam";
  1154. oParam.outds = "ds_main_testinfo_patlist=patlist ds_main_testinfo_testlist=testlist ds_=BAK_TESTITEM";
  1155. oParam.async = false;
  1156. //oParam.callback = "cf_TRLNR00301";
  1157. tranf_submit(oParam);
  1158. fGrdReMake2();
  1159. }
  1160. function fGrdReMake2()
  1161. {
  1162. var vCdList = String(ds_hidden_ref_tclscdlist.getColumn(0, "tclscdlist2")).split("▦");
  1163. var vCdCount = vCdList.length;
  1164. if(ds_hidden_refparam.getColumn(0, "onlytest") == 1)
  1165. {
  1166. vCdCount = 6;
  1167. }
  1168. var vOrgrst = "";
  1169. var curCol = 0;
  1170. for(var row = 0; row < ds_main_testinfo_patlist.rowcount; row++)
  1171. {
  1172. // for (var col=0; col < parseInt(vCdCount); col++)
  1173. // {
  1174. // vOrgrst = "inptrslt" + (eval(col+1) );
  1175. //
  1176. // if (model.getValue("/root/main/testinfo/patlist["+row+"]/"+vOrgrst+"/@readonly") == "true") {
  1177. //
  1178. // curCol = eval(gStartCol+col);
  1179. // grd_testlist.cellStyle("background-color", row, curCol, row, curCol) = "#eaeaea";
  1180. // }
  1181. // else
  1182. // {
  1183. // if(model.getValue("/root/main/testinfo/patlist["+row+"]/retestyn") == "Y")
  1184. // {
  1185. // curCol = eval(gStartCol+col);
  1186. // grd_testlist.cellStyle("background-color", row, curCol, row, curCol) = "#f7a08b";
  1187. // }
  1188. // else if(model.getValue("/root/main/testinfo/patlist["+row+"]/retestyn") == "D")
  1189. // {
  1190. // curCol = eval(gStartCol+col);
  1191. // grd_testlist.cellStyle("background-color", row, curCol, row, curCol) = "#99cc00";
  1192. // }
  1193. // }
  1194. // }
  1195. }
  1196. }
  1197. function ds_main_testinfo_patlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1198. {
  1199. if(e.columnid == "chk")
  1200. {
  1201. obj.setColumn(e.row, "chk", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
  1202. }
  1203. }
  1204. function grd_testlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  1205. {
  1206. fPatGridClick(e.row,e.col);
  1207. fUpPatinfo();
  1208. }
  1209. function fPatGridClick(pRow,pCol)
  1210. {
  1211. if(ds_hidden_refparam.getColumn(0, "onlytest")== 1 && pCol > 10)
  1212. {
  1213. return;
  1214. }
  1215. // var sDetilRow = fGetRow(pRow,pCol);
  1216. //
  1217. // if(sDetilRow > -1)
  1218. // {
  1219. // ds_hidden.setColumn(0, "currentRow", sDetilRow);
  1220. //
  1221. // ds_main_testinfo_spcinfo.setColumn(0, "spcscrnnm", ds_main_testinfo_
  1222. // model.makeValue("/root/main/testinfo/spcinfo/spcscrnnm" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/spcscrnnm"));
  1223. // model.makeValue("/root/main/testinfo/spcinfo/refval" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/refval"));
  1224. // model.makeValue("/root/main/testinfo/spcinfo/judgmark" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/judgmark"));
  1225. // model.makeValue("/root/main/testinfo/spcinfo/panicmark" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/panicmark"));
  1226. // model.makeValue("/root/main/testinfo/spcinfo/deltamark" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/deltamark"));
  1227. // model.makeValue("/root/main/testinfo/spcinfo/criticalmark" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/criticalmark"));
  1228. // model.makeValue("/root/main/testinfo/spcinfo/alertmark" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/alertmark"));
  1229. // model.makeValue("/root/main/testinfo/spcinfo/rsltmark" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/rsltmark"));
  1230. // model.makeValue("/root/main/testinfo/spcinfo/reptrslt" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/reptrslt"));
  1231. // model.makeValue("/root/main/testinfo/spcinfo/bfreptrslt" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/bfreptrslt"));
  1232. // model.makeValue("/root/main/testinfo/spcinfo/bflastreptdt" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/bflastreptdt"));
  1233. // model.makeValue("/root/main/testinfo/spcinfo/testeqmtcd" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/testeqmtcd"));
  1234. // model.makeValue("/root/main/testinfo/spcinfo/rsltrgsgid" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/rsltrgsgid"));
  1235. // model.makeValue("/root/main/testinfo/spcinfo/mdlreptid" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/mdlreptid"));
  1236. // model.makeValue("/root/main/testinfo/spcinfo/lastreptdt" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/lastreptdt"));
  1237. // model.makeValue("/root/main/testinfo/spcinfo/testcmt" , model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/testcmt"));
  1238. //
  1239. // var vJudg = model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/judgmark")
  1240. // if(vJudg == "H"){
  1241. // datagrid2.cellStyle ("background-color",1,0,1,0) = "#f7a08b";
  1242. // }
  1243. // else if(vJudg == "L"){
  1244. // datagrid2.cellStyle ("background-color",1,0,1,0) = "#b9e5fb";
  1245. // }
  1246. // else{
  1247. // datagrid2.cellStyle ("background-color",1,0,1,0) = "#ffffff";
  1248. // }
  1249. //
  1250. // //panic
  1251. // var vPanic = model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/panicmark");
  1252. // if(vPanic == "P"){
  1253. // datagrid2.cellStyle ("background-color",1,1,1,1) = "#7BE6B7";
  1254. // }
  1255. // else{
  1256. // datagrid2.cellStyle ("background-color",1,1,1,1) = "#ffffff";
  1257. // }
  1258. //
  1259. //
  1260. // //delta
  1261. // var vDelta = model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/deltamark");
  1262. //
  1263. // if(vDelta == "D"){
  1264. // datagrid2.cellStyle ("background-color",1,2,1,2) = "#dec6a4";
  1265. // }
  1266. // else
  1267. // {
  1268. // datagrid2.cellStyle ("background-color",1,2,1,2) = "#ffffff";
  1269. // }
  1270. //
  1271. // //critical
  1272. // var vCritical = model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/criticalmark");
  1273. // if(vCritical == "C"){
  1274. // datagrid2.cellStyle ("background-color",1,3,1,3) = "#ffe79d";
  1275. // }
  1276. // else{
  1277. // datagrid2.cellStyle ("background-color",1,3,1,3) = "#ffffff";
  1278. // }
  1279. //
  1280. // //alert
  1281. // var vAlert= model.getvalue("/root/main/testinfo/testlist["+sDetilRow+"]/alertmark");
  1282. // if(vAlert == "A"){
  1283. // datagrid2.cellStyle ("background-color",1,4,1,4) = "#fec34d";
  1284. // }
  1285. // else
  1286. // {
  1287. // datagrid2.cellStyle ("background-color",1,4,1,4) = "#ffffff";
  1288. // }
  1289. // }
  1290. // else
  1291. // {
  1292. // model.setValue("/root/hidden/currenRow", "");
  1293. // model.resetInstanceNode("/root/main/testinfo/spcinfo");
  1294. // }
  1295. //
  1296. // if (pCol == 1) {
  1297. // var isChk = model.getValue("/root/main/testinfo/patlist[" + + "]/chk");
  1298. // var vWorkno = model.getValue("/root/main/testinfo/patlist[" + pRow + "]/workno");
  1299. //
  1300. // var vCdList = model.getValue("/root/hidden/refparam/tclscdlist2").split("▦");
  1301. //
  1302. // //alert ("pRow = " + pRow + ", i = " + i);
  1303. //
  1304. // if (isChk == "true") {
  1305. // grd_testlist.rowStyle(pRow, "data", "background-color") = "#f3e1bf";
  1306. // } else {
  1307. // grd_testlist.rowStyle(pRow, "data", "background-color") = "#FFFFFF";
  1308. // }
  1309. //
  1310. // for (var idx=0; idx < vCdList.length; idx++) {
  1311. // var vInptRslt = "";
  1312. // vInptRslt = "inptrslt" + (eval(idx+1) );
  1313. // var readonly = model.getValue("/root/main/testinfo/patlist["+pRow+"]/"+vInptRslt+"/@readonly");
  1314. // var rstval = model.getValue("/root/main/testinfo/patlist["+pRow+"]/"+vInptRslt)
  1315. //
  1316. // if (readonly == "false") {
  1317. // col = idx + gStartCol;
  1318. // var refRow = fGetRow(pRow, col);
  1319. //
  1320. // if(rstval == ""){
  1321. // model.setValue("/root/main/testinfo/testlist[" + refRow + "]/iud", "");
  1322. // }else{
  1323. // // 수정된항목 색변경
  1324. // grd_testlist.cellStyle("background-color", pRow, col, pRow, col) = "#f3e1bf";
  1325. // model.setValue("/root/main/testinfo/testlist[" + refRow + "]/iud", (isChk != "true") ? "" : "U");
  1326. // }
  1327. // }
  1328. // }
  1329. // }
  1330. }
  1331. function fGetRow(pRow, pCol)
  1332. {
  1333. if (pRow < 0)
  1334. {
  1335. return 0;
  1336. }
  1337. if (pCol < gStartCol)
  1338. {
  1339. }
  1340. else
  1341. {
  1342. var vWorkno = ds_main_testinfo_patlist.getColumn(pRow, "workno");
  1343. var vCdList = String(ds_hidden_refparam.getColumn(0, "tclscdlist2")).split("▦");
  1344. var vIdx = eval(pCol - gStartCol);
  1345. var vRkey = vWorkno+vCdList[vIdx].getTrim();
  1346. var findRow = ds_main_testinfo_testlist.findRow(0, vRkey);
  1347. return findRow;
  1348. }
  1349. return 0;
  1350. }
  1351. function fUpPatinfo()
  1352. {
  1353. if(grd_testlist.currentcol == 5)
  1354. {
  1355. if(appf_getPatientInfo("pid") != ds_main_testinfo_patlist.getColumn(ds_main_testinfo_patlist.rowposition, "pid"))
  1356. {
  1357. if(ds_main_testinfo_patlist.rowcount > 0)
  1358. {
  1359. var condparam = "S" + "▦" + ds_main_testinfo_patlist.getColumn(ds_main_testinfo_patlist.rowposition, "prcpdd")+ "▦"
  1360. + ds_main_testinfo_patlist.getColumn(ds_main_testinfo_patlist.rowposition, "execprcpuniqno") + "▦"
  1361. + ds_main_testinfo_patlist.getColumn(ds_main_testinfo_patlist.rowposition, "instcd");
  1362. frmf_setParameter("condparam", condparam);
  1363. appf_initPatientInfo(condparam);
  1364. }
  1365. var paminfo = appf_getPatientInfo("paminfo");
  1366. if((paminfo.length < 0) || (appf_getPatientInfo("pid") != ds_main_testinfo_patlist.getColumn(ds_main_testinfo_patlist.rowposition, "pid")))
  1367. {
  1368. appf_delPatientInfos();
  1369. var pid = ds_main_testinfo_patlist.getColumn(ds_main_testinfo_patlist.rowposition, "pid");
  1370. var hngnm = ds_main_testinfo_patlist.getColumn(ds_main_testinfo_patlist.rowposition, "patnm");
  1371. frmf_setParameter("pid" , pid); //등록번호
  1372. frmf_setParameter("pname" , pid + "|" + hngnm); //환자명
  1373. }
  1374. }
  1375. }
  1376. }
  1377. function textarea1_onkillfocus(obj:TextArea, e:KillFocusEventInfo)
  1378. {
  1379. var vCurrentRow = ds_hidden.getColumn(0, "currenRow")
  1380. if(!utlf_isNull(vCurrentRow))
  1381. {
  1382. var vComment = ds_main_testinfo_spcinfo.getColumn(0, "testcmt");
  1383. ds_main_testinfo_testlist.setColumn(vCurrentRow, "testcmt", vComment);
  1384. }
  1385. }
  1386. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  1387. {
  1388. fInsRsltSave();
  1389. }
  1390. function fCheckChangeValue(pState)
  1391. {
  1392. var nMaxRow = ds_main_testinfo_testlist.rowcount;
  1393. var rkey = "";
  1394. var vO_inptrslt = "";
  1395. var vN_inptrslt = "";
  1396. var vRstflag = "";
  1397. var isErr = "false";
  1398. for(var vRow = 0; vRow < nMaxRow; vRow++)
  1399. {
  1400. isUpdate = ds_main_testinfo_testlist.getColumn(vRow, "iud");
  1401. if(pState == "3")
  1402. {
  1403. }
  1404. if(isUpdate == "U")
  1405. {
  1406. ds_main_testinfo_testlist.updatecontrol = false;
  1407. ds_main_testinfo_testlist.setRowType(vRow, "u")
  1408. ds_main_testinfo_testlist.updatecontrol = true;
  1409. rkey = ds_main_testinfo_testlist.getColumn(vRow, "rkey");
  1410. vO_inptrslt = ds_main_testinfo_testlist.lookupExpr("rkey == '"+rkey+"'", "inptrslt");
  1411. vN_inptrslt = ds_main_testinfo_testlist.getColumn(vRow, "inptrslt");
  1412. vRstflag = ds_main_testinfo_testlist.getColumn(vRow, "rsltstat");
  1413. if(vO_inptrslt == vN_inptrslt)
  1414. {
  1415. if(vRstflag == pState)
  1416. {
  1417. ds_main_testinfo_testlist.setColumn(vRow, "iud", "");
  1418. ds_main_testinfo_testlist.updatecontrol = false;
  1419. ds_main_testinfo_testlist.setRowType(vRow, "")
  1420. ds_main_testinfo_testlist.updatecontrol = true;
  1421. }
  1422. }
  1423. }
  1424. }
  1425. return isErr;
  1426. }
  1427. function fValidation(pRstflag)
  1428. {
  1429. if(utlf_isNull(ds_hidden_refparam.getColumn(0, "userid")) || utlf_isNull(ds_main_getUsernm(0, "usernm")))
  1430. {
  1431. sysf_messageBox("검사자를 " , "C001" ,"");
  1432. group1.ipt_testpsn.setFocus();
  1433. return;
  1434. }
  1435. var nMaxRow = ds_main_testinfo_patlist.rowcount;
  1436. var isErr = false;
  1437. var sErrMsg = "";
  1438. if (pRstflag == "1")
  1439. {
  1440. sErrMsg = "결과저장";
  1441. }
  1442. else if (pRstflag == "2")
  1443. {
  1444. sErrMsg = "중간(예비)보고";
  1445. }
  1446. else if (pRstflag == "4")
  1447. {
  1448. sErrMsg = "최종보고";
  1449. }
  1450. if (nMaxRow > 0)
  1451. {
  1452. var findRow = ds_main_testinfo_testlist.FindRow(73, "U");
  1453. if (findRow < 0) isErr = true;
  1454. } else
  1455. {
  1456. isErr = true;
  1457. }
  1458. if (isErr)
  1459. {
  1460. alert( "수정된 항목이 없습니다.");
  1461. return false;
  1462. }
  1463. return true;
  1464. }
  1465. function fInsRsltSave()
  1466. {
  1467. if(fCheckChangeValue("1") == "false")
  1468. {
  1469. if (fValidation("1"))
  1470. {
  1471. ds_hidden_updateparam.setColumn(0, "rsltstat", "1");
  1472. ds_hidden_updateparam.setColumn(0, "userid", ds_hidden_refparam.getColumn(0, "userid"));
  1473. var oParam = {};
  1474. oParam.id = "TXLLR00401";
  1475. oParam.service = "rsltmngtapp.RsltMngt";
  1476. oParam.method = "reqSetItemResultSave";
  1477. oParam.inds = "TestData=ds_main_testinfo_testlist:u RefFalg=ds_hidden_updateparam signinfo=ds_hidden_signinfo HLAform=ds_ TestCmtInfo=ds_main_testinfo_testlist:u";
  1478. oParam.transaction = false;
  1479. oParam.async = false;
  1480. //oParam.callback = "cf_TXLLR00401";
  1481. tranf_submit(oParam);
  1482. ds_hidden.setColumn(0, "currenRow", "");
  1483. fSetClear2();
  1484. }
  1485. }
  1486. }
  1487. function fSetClear2()
  1488. {
  1489. ds_main_testinfo_patlist.clearData();
  1490. ds_main_testinfo_spcinfo.clearData();
  1491. ds_main_testinfo_testlist.clearData();
  1492. }
  1493. function btn_mdlrept_onclick(obj:Button, e:ClickEventInfo)
  1494. {
  1495. fSetMdlRept();
  1496. }
  1497. function fSetMdlRept()
  1498. {
  1499. if(fCheckChangeValue("2") == "false")
  1500. {
  1501. if (fValidation("2"))
  1502. {
  1503. ds_hidden_updateparam.setColumn(0, "rsltstat", "2");
  1504. ds_hidden_updateparam.setColumn(0, "userid", ds_hidden_refparam.getColumn(0, "userid"));
  1505. var oParam = {};
  1506. oParam.id = "TXLLR00401";
  1507. oParam.service = "rsltmngtapp.RsltMngt";
  1508. oParam.method = "reqSetItemResultSave";
  1509. oParam.inds = "TestData=ds_main_testinfo_testlist:u RefFalg=ds_hidden_updateparam signinfo=ds_hidden_signinfo HLAform=ds_ TestCmtInfo=ds_main_testinfo_testlist:u";
  1510. oParam.transaction = false;
  1511. oParam.async = false;
  1512. //oParam.callback = "cf_TXLLR00401";
  1513. tranf_submit(oParam);
  1514. ds_hidden.setColumn(0, "currenRow", "");
  1515. fSetClear2();
  1516. }
  1517. }
  1518. }
  1519. function btn_lstrept_onclick(obj:Button, e:ClickEventInfo)
  1520. {
  1521. fSetLstRept();
  1522. }
  1523. function fSetLstRept()
  1524. {
  1525. if(fCheckChangeValue("4") == "false")
  1526. {
  1527. if (fValidation("4"))
  1528. {
  1529. ds_hidden_updateparam.setColumn(0, "rsltstat", "4");
  1530. ds_hidden_updateparam.setColumn(0, "userid", ds_hidden_refparam.getColumn(0, "userid"));
  1531. var oParam = {};
  1532. oParam.id = "TXLLR00401";
  1533. oParam.service = "rsltmngtapp.RsltMngt";
  1534. oParam.method = "reqSetItemResultSave";
  1535. oParam.inds = "TestData=ds_main_testinfo_testlist:u RefFalg=ds_hidden_updateparam signinfo=ds_hidden_signinfo HLAform=ds_ TestCmtInfo=ds_main_testinfo_testlist:u";
  1536. oParam.transaction = false;
  1537. oParam.async = false;
  1538. //oParam.callback = "cf_TXLLR00401";
  1539. tranf_submit(oParam);
  1540. ds_hidden.setColumn(0, "currenRow", "");
  1541. fSetClear2();
  1542. }
  1543. }
  1544. }
  1545. function btn_cle_onclick(obj:Button, e:ClickEventInfo)
  1546. {
  1547. fSetClear();
  1548. }
  1549. ]]></Script>
  1550. </Form>
  1551. </FDL>