SPLLJ00600_수탁검사접수.xfdl 83 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPLLJ00600" position="absolute 0 0 989 698" titletext="수탁검사접수" oninit="SPLLJ00600_oninit" onload="SPLLJ00600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Tab id="swt_trust" taborder="1" tabindex="0" position="absolute 0 1 984 664" anchor="all" onchanged="swt_trust_onchanged">
  8. <Tabpages>
  9. <Tabpage id="case_single" text="개별수탁검사">
  10. <Layouts>
  11. <Layout>
  12. <Static id="caption6" text="환자정보" class="tit_2" position="absolute 0 3 97 25"/>
  13. <Shape id="line2" class="line_10" position="absolute -1 19 981 25"/>
  14. <Combo id="cmb_exlabcd" taborder="47" innerdataset="@ds_init_coophosp_coophosplist" codecolumn="coophospcd" datacolumn="coophospnm" class="combo_default" position="absolute 69 25 185 44" onitemchanged="swt_trust_case_single_cmb_exlabcd_onitemchanged"/>
  15. <Static id="caption11" text="-" class="text_center" position="absolute 625 25 645 45"/>
  16. <Static id="caption13" text="비 고" class="cell_1" position="absolute 515 48 575 71"/>
  17. <Shape id="line4" class="line_10" position="absolute 0 96 205 102"/>
  18. <Static id="caption14" text="처방분류" class="tit_2" position="absolute 0 80 97 102"/>
  19. <Static id="caption15" text="처방명 목록" class="tit_2" position="absolute 211 80 372 101"/>
  20. <Shape id="line5" class="line_10" position="absolute 211 96 378 102"/>
  21. <Grid id="grd_testcdlist" taborder="49" binddataset="ds_init_prcpcd_prcpcdlist" useinputpanel="false" position="absolute 211 101 378 469" autofittype="col" cellsizingtype="col" oncelldblclick="swt_trust_case_single_grd_testcdlist_oncelldblclick">
  22. <Formats>
  23. <Format id="default">
  24. <Columns>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="160"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. <Column size="0"/>
  34. <Column size="0"/>
  35. <Column size="0"/>
  36. <Column size="0"/>
  37. <Column size="0"/>
  38. <Column size="0"/>
  39. <Column size="0"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. </Columns>
  48. <Rows>
  49. <Row size="24" band="head"/>
  50. <Row size="28"/>
  51. </Rows>
  52. <Band id="head">
  53. <Cell text="기관코드"/>
  54. <Cell col="1" text="처방코드"/>
  55. <Cell col="2" text="처방명"/>
  56. <Cell col="3" text="처방명"/>
  57. <Cell col="4" text="처방명"/>
  58. <Cell col="5" text="처방명"/>
  59. <Cell col="6" text="caption1"/>
  60. <Cell col="7" text="caption2"/>
  61. <Cell col="8" text="caption3"/>
  62. <Cell col="9" text="caption4"/>
  63. <Cell col="10" text="caption5"/>
  64. <Cell col="11" text="caption6"/>
  65. <Cell col="12" text="caption7"/>
  66. <Cell col="13" text="caption8"/>
  67. <Cell col="14" text="caption9"/>
  68. <Cell col="15" text="caption10"/>
  69. <Cell col="16" text="caption11"/>
  70. <Cell col="17" text="caption12"/>
  71. <Cell col="18" text="caption13"/>
  72. <Cell col="19" text="caption14"/>
  73. <Cell col="20" text="caption15"/>
  74. <Cell col="21" text="caption16"/>
  75. </Band>
  76. <Band id="body">
  77. <Cell text="bind:instcd"/>
  78. <Cell col="1" text="bind:testcd"/>
  79. <Cell col="2" style="align:left middle;" text="bind:testengnm" wordwrap="word"/>
  80. <Cell col="3" text="bind:testengabbr"/>
  81. <Cell col="4" text="bind:testhngnm"/>
  82. <Cell col="5" text="bind:testhngabbr"/>
  83. <Cell col="6" text="bind:acptdept"/>
  84. <Cell col="7" text="bind:ptnocd"/>
  85. <Cell col="8" text="bind:stdyptnocd"/>
  86. <Cell col="9" text="bind:trustptnocd"/>
  87. <Cell col="10" text="bind:workflagcd"/>
  88. <Cell col="11" text="bind:slidflagcd"/>
  89. <Cell col="12" text="bind:slidisscnt"/>
  90. <Cell col="13" text="bind:blocflagcd"/>
  91. <Cell col="14" text="bind:initblocno"/>
  92. <Cell col="15" text="bind:autokeepflagcd"/>
  93. <Cell col="16" text="bind:stdy_workflagcd"/>
  94. <Cell col="17" text="bind:stdy_slidflagcd"/>
  95. <Cell col="18" text="bind:stdy_slidisscnt"/>
  96. <Cell col="19" text="bind:stdy_blocflagcd"/>
  97. <Cell col="20" text="bind:stdy_initblocno"/>
  98. <Cell col="21" text="bind:stdy_autokeepflagcd"/>
  99. </Band>
  100. </Format>
  101. </Formats>
  102. </Grid>
  103. <Static id="caption16" text="대표검체 목록" class="tit_2" position="absolute 384 80 545 101"/>
  104. <Shape id="line7" class="line_10" position="absolute 384 96 548 102"/>
  105. <Grid id="grd_spclist" taborder="50" binddataset="ds_init_testinfo_testinfolist" useinputpanel="false" position="absolute 384 101 548 469" autofittype="col" cellsizingtype="col" oncelldblclick="swt_trust_case_single_grd_spclist_oncelldblclick">
  106. <Formats>
  107. <Format id="default">
  108. <Columns>
  109. <Column size="0"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. <Column size="160"/>
  114. </Columns>
  115. <Rows>
  116. <Row size="24" band="head"/>
  117. <Row size="24"/>
  118. </Rows>
  119. <Band id="head">
  120. <Cell text="기관코드"/>
  121. <Cell col="1" text="처방코드"/>
  122. <Cell col="2" text="처방명"/>
  123. <Cell col="3" text="검체코드"/>
  124. <Cell col="4" text="검체명"/>
  125. </Band>
  126. <Band id="body">
  127. <Cell text="bind:instcd"/>
  128. <Cell col="1" text="bind:testcd"/>
  129. <Cell col="2" text="bind:testhngnm"/>
  130. <Cell col="3" text="bind:spccd"/>
  131. <Cell col="4" style="align:left middle;" text="bind:spcnm"/>
  132. </Band>
  133. </Format>
  134. </Formats>
  135. </Grid>
  136. <Grid id="grd_choiprcp" taborder="51" binddataset="ds_main_choiprcp_choiprcplist" useinputpanel="false" position="absolute 554 101 979 469" anchor="left top right" onrbuttondown="swt_trust_case_single_grd_choiprcp_onrbuttondown">
  137. <Formats>
  138. <Format id="default">
  139. <Columns>
  140. <Column size="0"/>
  141. <Column size="0"/>
  142. <Column size="0"/>
  143. <Column size="125"/>
  144. <Column size="0"/>
  145. <Column size="100"/>
  146. <Column size="87"/>
  147. <Column size="87"/>
  148. <Column size="105"/>
  149. <Column size="160"/>
  150. </Columns>
  151. <Rows>
  152. <Row size="24" band="head"/>
  153. <Row size="24"/>
  154. </Rows>
  155. <Band id="head">
  156. <Cell text="기관코드"/>
  157. <Cell col="1" text="처방코드"/>
  158. <Cell col="2" text="처방명"/>
  159. <Cell col="3" text="처방명"/>
  160. <Cell col="4" text="검체코드"/>
  161. <Cell col="5" text="검체명"/>
  162. <Cell col="6" text="연속검사간격"/>
  163. <Cell col="7" text="연속검사횟수"/>
  164. <Cell col="8" text="연속검사기본시간"/>
  165. <Cell col="9" text="비고"/>
  166. </Band>
  167. <Band id="body">
  168. <Cell text="bind:instcd"/>
  169. <Cell col="1" text="bind:testcd"/>
  170. <Cell col="2" text="bind:testhngnm"/>
  171. <Cell col="3" style="align:left middle;" text="bind:testengnm"/>
  172. <Cell col="4" style="align:left middle;" text="bind:spccd"/>
  173. <Cell col="5" style="align:left middle;" text="bind:spcnm"/>
  174. <Cell col="6" displaytype="combo" edittype="combo" text="bind:conttestintvlflagcd" combodataset="ds_cmb_conttestintvlflagcd" combocodecol="value" combodatacol="label"/>
  175. <Cell col="7" displaytype="text" edittype="text" text="bind:conttestorgtims"/>
  176. <Cell col="8" displaytype="text" edittype="text" text="bind:conttestbasetm"/>
  177. <Cell col="9" displaytype="text" edittype="text" text="bind:prcpdelivefact"/>
  178. </Band>
  179. </Format>
  180. </Formats>
  181. </Grid>
  182. <Static id="caption17" text="선택 처방 및 검체" class="tit_2" position="absolute 554 80 715 101"/>
  183. <Shape id="line8" class="line_10" position="absolute 554 96 979 102" anchor="left top right"/>
  184. <Static id="cap_exlabcd" text="위탁기관" class="cell_1" position="absolute 0 24 66 47"/>
  185. <Edit id="ipt_patnm" taborder="52" position="absolute 406 25 485 44" autoselect="true"/>
  186. <Static id="cap_patnm" text="환자명" class="cell_1" position="absolute 343 24 403 47"/>
  187. <MaskEdit id="ipt_rrgstno1" taborder="53" mask="999999" position="absolute 578 25 623 44"/>
  188. <MaskEdit id="ipt_rrgstno2" taborder="54" mask="9999999" position="absolute 634 25 684 44"/>
  189. <Edit id="ipt_psptno" taborder="55" position="absolute 779 25 979 44" autoselect="true"/>
  190. <Static id="cap_psptno" text="여권번호" class="cell_1" position="absolute 712 23 776 46"/>
  191. <MaskEdit id="ipt_age" taborder="56" mask="####" position="absolute 69 49 102 68"/>
  192. <Static id="cap_sexage" text="나이/성별" class="cell_1" position="absolute 0 48 66 71"/>
  193. <Combo id="cmb_sex" taborder="57" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 105 49 165 68">
  194. <Dataset id="innerdataset">
  195. <ColumnInfo>
  196. <Column id="codecolumn"/>
  197. <Column id="datacolumn"/>
  198. </ColumnInfo>
  199. <Rows>
  200. <Row>
  201. <Col id="codecolumn">M</Col>
  202. <Col id="datacolumn">남성</Col>
  203. </Row>
  204. <Row>
  205. <Col id="codecolumn">F</Col>
  206. <Col id="datacolumn">여성</Col>
  207. </Row>
  208. </Rows>
  209. </Dataset>
  210. </Combo>
  211. <Static id="cap_rrgstno1" text="주민번호" class="cell_1" position="absolute 515 24 575 47"/>
  212. <Static id="caption7" text="등록번호" class="cell_1" position="absolute 188 24 248 47"/>
  213. <Button id="btn_pidsea" taborder="58" class="icon_search" position="absolute 323 26 339 42" onclick="swt_trust_case_single_btn_pidsea_onclick"/>
  214. <Button id="btn_patnmsea" taborder="59" class="icon_search" position="absolute 488 25 504 41" onclick="swt_trust_case_single_btn_patnmsea_onclick"/>
  215. <Button id="btn_rrgstnosea" taborder="60" class="icon_search" position="absolute 688 25 704 41" onclick="swt_trust_case_single_btn_rrgstnosea_onclick"/>
  216. <Static id="caption8" text="접수대상 환자목록" class="tit_2" position="absolute 0 475 161 497" anchor="left top"/>
  217. <Shape id="line9" class="line_10" position="absolute -1 491 981 497" anchor="left top right"/>
  218. <Grid id="grd_acptpatlist" taborder="61" binddataset="ds_main_acptpat_acptpatlist" useinputpanel="false" position="absolute 0 496 982 635" onrbuttondown="swt_trust_case_single_grd_acptpatlist_onrbuttondown">
  219. <Formats>
  220. <Format id="default">
  221. <Columns>
  222. <Column size="0"/>
  223. <Column size="0"/>
  224. <Column size="144"/>
  225. <Column size="80"/>
  226. <Column size="80"/>
  227. <Column size="0"/>
  228. <Column size="0"/>
  229. <Column size="70"/>
  230. <Column size="110"/>
  231. <Column size="0"/>
  232. <Column size="0"/>
  233. <Column size="121"/>
  234. <Column size="130"/>
  235. <Column size="100"/>
  236. <Column size="200"/>
  237. <Column size="0"/>
  238. <Column size="0"/>
  239. <Column size="0"/>
  240. <Column size="0"/>
  241. <Column size="0"/>
  242. </Columns>
  243. <Rows>
  244. <Row size="24" band="head"/>
  245. <Row size="24"/>
  246. </Rows>
  247. <Band id="head">
  248. <Cell text="기관코드"/>
  249. <Cell col="1" text="요청기관코드"/>
  250. <Cell col="2" text="요청기관"/>
  251. <Cell col="3" text="등록번호"/>
  252. <Cell col="4" text="환자명"/>
  253. <Cell col="5" text="sex"/>
  254. <Cell col="6" text="age"/>
  255. <Cell col="7" text="성별/나이"/>
  256. <Cell col="8" text="적용율"/>
  257. <Cell col="9" text="rrgstno1"/>
  258. <Cell col="10" text="rrgstno2"/>
  259. <Cell col="11" text="주민번호"/>
  260. <Cell col="12" text="여권번호"/>
  261. <Cell col="13" text="위탁환자번호"/>
  262. <Cell col="14" text="비 고"/>
  263. <Cell col="15" text="caption1"/>
  264. <Cell col="16" text="caption2"/>
  265. <Cell col="17" text="caption3"/>
  266. <Cell col="18" text="caption4"/>
  267. <Cell col="19" text="미수코드"/>
  268. </Band>
  269. <Band id="body">
  270. <Cell text="bind:instcd"/>
  271. <Cell col="1" text="bind:exlabcd"/>
  272. <Cell col="2" text="bind:exlabnm"/>
  273. <Cell col="3" text="bind:pid"/>
  274. <Cell col="4" text="bind:patnm"/>
  275. <Cell col="5" text="bind:sex"/>
  276. <Cell col="6" text="bind:age"/>
  277. <Cell col="7" text="bind:sexage"/>
  278. <Cell col="8" displaytype="combo" edittype="combo" text="bind:suppkind" combodataset="ds_cmb_suppkind" combocodecol="value" combodatacol="label"/>
  279. <Cell col="9" text="bind:rrgstno1"/>
  280. <Cell col="10" text="bind:rrgstno2"/>
  281. <Cell col="11" text="bind:rrgstno"/>
  282. <Cell col="12" text="bind:psptno"/>
  283. <Cell col="13" text="bind:trusthosppid"/>
  284. <Cell col="14" text="bind:bigo"/>
  285. <Cell col="15" text="bind:bizflagcd"/>
  286. <Cell col="16" text="bind:orddrid"/>
  287. <Cell col="17" text="bind:orddeptcd"/>
  288. <Cell col="18" text="bind:grostestplgyid"/>
  289. <Cell col="19" text="bind:uncocd"/>
  290. </Band>
  291. </Format>
  292. </Formats>
  293. </Grid>
  294. <Button id="btn_cffm" taborder="62" text="임시저장" class="btn2" position="absolute 915 0 979 19" anchor="top right" onclick="swt_trust_case_single_btn_cffm_onclick"/>
  295. <Grid id="grd_trustpatlist" taborder="63" binddataset="ds_main_trustpat_trustpatlist" useinputpanel="false" visible="false" position="absolute 845 435 965 485">
  296. <Formats>
  297. <Format id="default">
  298. <Columns>
  299. <Column size="100"/>
  300. <Column size="100"/>
  301. <Column size="100"/>
  302. <Column size="100"/>
  303. <Column size="100"/>
  304. <Column size="100"/>
  305. <Column size="100"/>
  306. <Column size="100"/>
  307. <Column size="100"/>
  308. </Columns>
  309. <Rows>
  310. <Row size="24" band="head"/>
  311. <Row size="24"/>
  312. </Rows>
  313. <Band id="head">
  314. <Cell text="exlabcd"/>
  315. <Cell col="1" text="patnm"/>
  316. <Cell col="2" text="sex"/>
  317. <Cell col="3" text="age"/>
  318. <Cell col="4" text="rrgstno1"/>
  319. <Cell col="5" text="rrgstno2"/>
  320. <Cell col="6" text="psptno"/>
  321. <Cell col="7" text="bigo"/>
  322. <Cell col="8" text="suppkind"/>
  323. </Band>
  324. <Band id="body">
  325. <Cell text="bind:exlabcd"/>
  326. <Cell col="1" text="bind:patnm"/>
  327. <Cell col="2" text="bind:sex"/>
  328. <Cell col="3" text="bind:age"/>
  329. <Cell col="4" text="bind:rrgstno1"/>
  330. <Cell col="5" text="bind:rrgstno2"/>
  331. <Cell col="6" text="bind:psptno"/>
  332. <Cell col="7" text="bind:bigo"/>
  333. <Cell col="8" text="bind:suppkind"/>
  334. </Band>
  335. </Format>
  336. </Formats>
  337. </Grid>
  338. <Edit id="ipt_bigo" taborder="64" position="absolute 578 49 980 68" autoselect="true"/>
  339. <Static id="caption9" text="적용율" class="cell_1" position="absolute 168 48 228 71"/>
  340. <Shape id="line6" class="line_3" position="absolute 0 68 974 74" anchor="left top right"/>
  341. <Combo id="cmb_suppkind" taborder="65" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 231 49 340 68" onitemchanged="swt_trust_case_single_cmb_suppkind_onitemchanged">
  342. <Dataset id="innerdataset">
  343. <ColumnInfo>
  344. <Column id="codecolumn"/>
  345. <Column id="datacolumn"/>
  346. </ColumnInfo>
  347. <Rows>
  348. <Row>
  349. <Col id="codecolumn">12</Col>
  350. <Col id="datacolumn">수탁</Col>
  351. </Row>
  352. <Row>
  353. <Col id="codecolumn">13</Col>
  354. <Col id="datacolumn">30%가산안함</Col>
  355. </Row>
  356. </Rows>
  357. </Dataset>
  358. </Combo>
  359. <Edit id="ipt_pid" taborder="66" enable="false" position="absolute 251 25 321 44" autoselect="true"/>
  360. <Shape id="line3" class="line_2" position="absolute 0 44 974 50" anchor="left top right"/>
  361. <Static id="caption10" text="위탁환자번호" class="cell_1" position="absolute 343 48 430 71"/>
  362. <Edit id="ipt_trusthosppid" taborder="67" position="absolute 432 50 512 69" autoselect="true"/>
  363. <Grid id="trv_prcpkind" taborder="68" useinputpanel="false" position="absolute 0 101 205 469" binddataset="ds_init_prcpkind_prcpkindlist" treeusecheckbox="false" cellsizingtype="col" autofittype="col" oncellclick="swt_trust_case_single_trv_prcpkind_oncellclick">
  364. <Formats>
  365. <Format id="default">
  366. <Columns>
  367. <Column size="200"/>
  368. </Columns>
  369. <Rows>
  370. <Row size="0" band="head"/>
  371. <Row size="24"/>
  372. </Rows>
  373. <Band id="head">
  374. <Cell displaytype="normal" text="earnclsnm"/>
  375. </Band>
  376. <Band id="body">
  377. <Cell displaytype="tree" edittype="tree" text="bind:earnclsnm" treestartlevel="2" treelevel="bind:lvl"/>
  378. </Band>
  379. </Format>
  380. </Formats>
  381. </Grid>
  382. </Layout>
  383. </Layouts>
  384. </Tabpage>
  385. <Tabpage id="case_list" text="수탁검사목록">
  386. <Layouts>
  387. <Layout>
  388. <Button id="btn_exls" taborder="10" text="엑셀" class="btn7" position="absolute 933 42 983 61" onclick="swt_trust_case_list_btn_exls_onclick"/>
  389. <Grid id="grd_trustlist" class="datagrid2" taborder="11" binddataset="ds_main_trusttest_trusttestlist" useinputpanel="false" position="absolute 0 66 982 631">
  390. <Formats>
  391. <Format id="default">
  392. <Columns>
  393. <Column size="50"/>
  394. <Column size="0"/>
  395. <Column size="0"/>
  396. <Column size="80"/>
  397. <Column size="70"/>
  398. <Column size="0"/>
  399. <Column size="70"/>
  400. <Column size="85"/>
  401. <Column size="0"/>
  402. <Column size="70"/>
  403. <Column size="65"/>
  404. <Column size="45"/>
  405. <Column size="90"/>
  406. <Column size="0"/>
  407. <Column size="0"/>
  408. <Column size="90"/>
  409. <Column size="0"/>
  410. <Column size="123"/>
  411. <Column size="65"/>
  412. <Column size="55"/>
  413. <Column size="0"/>
  414. <Column size="80"/>
  415. <Column size="0"/>
  416. <Column size="0"/>
  417. <Column size="0"/>
  418. <Column size="70"/>
  419. <Column size="0"/>
  420. <Column size="0"/>
  421. <Column size="0"/>
  422. <Column size="0"/>
  423. <Column size="0"/>
  424. <Column size="0"/>
  425. <Column size="0"/>
  426. <Column size="0"/>
  427. <Column size="0"/>
  428. <Column size="100"/>
  429. </Columns>
  430. <Rows>
  431. <Row size="32" band="head"/>
  432. <Row size="24"/>
  433. </Rows>
  434. <Band id="head">
  435. <Cell text="선택"/>
  436. <Cell col="1" text="instcd"/>
  437. <Cell col="2" text="요청기관코드"/>
  438. <Cell col="3" text="요청기관"/>
  439. <Cell col="4" text="요청일자"/>
  440. <Cell col="5" text="요청시간"/>
  441. <Cell col="6" text="등록번호"/>
  442. <Cell col="7" text="바코드번호"/>
  443. <Cell col="8" text="작업번호"/>
  444. <Cell col="9" text="요청&#10;등록번호"/>
  445. <Cell col="10" text="환자명"/>
  446. <Cell col="11" text="성별/&#10;나이"/>
  447. <Cell col="12" text="주민번호"/>
  448. <Cell col="13" text="rrgstno1"/>
  449. <Cell col="14" text="rrgstno2"/>
  450. <Cell col="15" text="여권번호"/>
  451. <Cell col="16" text="검사코드"/>
  452. <Cell col="17" text="검사명"/>
  453. <Cell col="18" text="결과값"/>
  454. <Cell col="19" text="결과상태"/>
  455. <Cell col="20" text="검체코드"/>
  456. <Cell col="21" text="검체명"/>
  457. <Cell col="22" text="의뢰지번호"/>
  458. <Cell col="23" text="의뢰지구분코드"/>
  459. <Cell col="24" text="의뢰지내용"/>
  460. <Cell col="25" text="요청자명"/>
  461. <Cell col="26" text="확인일자"/>
  462. <Cell col="27" text="확인시간"/>
  463. <Cell col="28" text="확인자명"/>
  464. <Cell col="29" text="acptstatcd"/>
  465. <Cell col="30" text="bizflagcd"/>
  466. <Cell col="31" text="orddrid"/>
  467. <Cell col="32" text="orddeptcd"/>
  468. <Cell col="33" text="grostestplgyid"/>
  469. <Cell col="34" text="newreqcnts"/>
  470. <Cell col="35" text="비고"/>
  471. </Band>
  472. <Band id="body">
  473. <Cell displaytype="checkbox" edittype="checkbox" text="bind:choi" expr="expr:choi == 'true' ? 1 : 0"/>
  474. <Cell col="1" text="bind:instcd"/>
  475. <Cell col="2" text="bind:reqinstcd"/>
  476. <Cell col="3" text="bind:reqinstnm"/>
  477. <Cell col="4" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext"/>
  478. <Cell col="5" class="text_center" text="bind:reqtm"/>
  479. <Cell col="6" class="text_center" text="bind:pid"/>
  480. <Cell col="7" class="text_center" text="bind:bcno"/>
  481. <Cell col="8" class="text_center" text="bind:workno"/>
  482. <Cell col="9" class="text_center" text="bind:reqpid"/>
  483. <Cell col="10" displaytype="date" text="bind:patnm" mask="hh:mm:ss" calendardisplaynulltype="nulltext"/>
  484. <Cell col="11" text="bind:sexage"/>
  485. <Cell col="12" text="bind:rrgstno"/>
  486. <Cell col="13" text="bind:rrgstno1"/>
  487. <Cell col="14" text="bind:rrgstno2"/>
  488. <Cell col="15" text="bind:psptno"/>
  489. <Cell col="16" text="bind:testcd"/>
  490. <Cell col="17" text="bind:testnm"/>
  491. <Cell col="18" text="bind:reptrslt"/>
  492. <Cell col="19" text="bind:reptgbn"/>
  493. <Cell col="20" text="bind:spccd"/>
  494. <Cell col="21" text="bind:spcnm"/>
  495. <Cell col="22" text="bind:reqfrmno"/>
  496. <Cell col="23" text="bind:reqfrmflagcd"/>
  497. <Cell col="24" text="bind:reqcnts"/>
  498. <Cell col="25" text="bind:reqnm"/>
  499. <Cell col="26" text="bind:cnfmdd"/>
  500. <Cell col="27" text="bind:cnfmtm"/>
  501. <Cell col="28" text="bind:cnfmnm"/>
  502. <Cell col="29" text="bind:acptstatcd"/>
  503. <Cell col="30" text="bind:bizflagcd"/>
  504. <Cell col="31" text="bind:orddrid"/>
  505. <Cell col="32" text="bind:orddeptcd"/>
  506. <Cell col="33" text="bind:grostestplgyid"/>
  507. <Cell col="34" text="bind:newreqcnts"/>
  508. <Cell col="35" text="bind:prcpdelivefact"/>
  509. </Band>
  510. </Format>
  511. </Formats>
  512. </Grid>
  513. <Div id="grp_sea" taborder="12" position="absolute 0 2 982 37" class="div_SA">
  514. <Layouts>
  515. <Layout>
  516. <Static id="caption2" text="요청일자 :" class="search_name" position="absolute 15 10 101 27" anchor="default"/>
  517. <Button id="btn_search" taborder="11" text="조회" class="btn1" position="absolute 904 7 960 29" anchor="default" onclick="swt_trust_case_list_grp_sea_btn_search_onclick"/>
  518. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 885 7 891 29" anchor="default"/>
  519. <Static id="caption3" text="~" class="search_no_b" position="absolute 199 10 211 27" anchor="default"/>
  520. <Calendar id="ipt_prcptodd" taborder="12" class="input_search" position="absolute 212 8 302 27" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd" value="null"/>
  521. <Calendar id="ipt_prcpfromdd" taborder="13" class="input_search" position="absolute 104 8 194 27" anchor="default" autoselect="true" autoskip="true" dateformat="yyyy-MM-dd"/>
  522. <Static id="caption4" text="등록번호 :" class="search_name" position="absolute 601 9 687 26" anchor="default"/>
  523. <Static id="caption5" text="요청기관 :" class="search_name" position="absolute 327 9 413 26" anchor="default"/>
  524. <Combo id="combo1" taborder="14" innerdataset="@ds_init_coophosp_coophosplist" codecolumn="coophospcd" datacolumn="coophospnm" position="absolute 414 8 569 27" anchor="default"/>
  525. <Edit id="input1" taborder="15" position="absolute 688 8 788 27" anchor="default" autoselect="true" autoskip="false"/>
  526. <CheckBox id="checkbox1" taborder="16" position="absolute 805 8 875 28" text="완료" truevalue="1" style="font:Dotum,9,bold;" anchor="default" onclick="swt_trust_case_list_grp_sea_checkbox1_onclick"/>
  527. </Layout>
  528. </Layouts>
  529. </Div>
  530. <Static id="caption1" text="수탁검사목록" class="tit_2" position="absolute 0 45 161 66"/>
  531. <Shape id="line1" linetype="horizontal" class="line_10" position="absolute 0 61 982 67"/>
  532. </Layout>
  533. </Layouts>
  534. </Tabpage>
  535. </Tabpages>
  536. </Tab>
  537. <Combo id="cmb_orddrid" taborder="0" innerdataset="@ds_init_userinfo_userinfolist" codecolumn="userid" datacolumn="usernm" position="absolute 892 2 982 21" anchor="top right"/>
  538. <Static id="cap_orddrid" text="처방의사" class="cell_1" position="absolute 825 0 889 23" anchor="top right"/>
  539. <Div id="grp_prnt" taborder="2" visible="false" position="absolute 610 175 895 435">
  540. <Layouts>
  541. <Layout width="285" height="260"/>
  542. </Layouts>
  543. </Div>
  544. <Shape id="line17" class="line_6" position="absolute -1 663 983 669" anchor="left right bottom"/>
  545. <Button id="btn_patlistread" taborder="3" text="수탁환자 Excel읽기" class="btn3" visible="true" position="absolute -1 668 151 690" anchor="left bottom" onclick="btn_patlistread_onclick"/>
  546. <Button id="button2" taborder="4" text="취소" class="btn4" position="absolute 667 668 723 690" anchor="right bottom" onclick="button2_onclick"/>
  547. <Button id="button1" taborder="5" text="출력" class="btn4" position="absolute 726 668 782 690" anchor="right bottom" onclick="button1_onclick"/>
  548. <Button id="btn_acpt" taborder="6" text="접수" class="btn4" enable="false" position="absolute 785 668 841 690" anchor="right bottom" onclick="btn_acpt_onclick"/>
  549. <Button id="btn_prcp" taborder="7" text="처방등록" class="btn4" visible="false" position="absolute 844 668 924 690" anchor="right bottom" onclick="btn_prcp_onclick"/>
  550. <Button id="btn_cls" taborder="8" text="닫기" class="btn4" position="absolute 927 668 983 690" anchor="right bottom" onclick="btn_cls_onclick"/>
  551. <PopupMenu id="pmn_menu1" position="absolute 999 152 1050 176" innerdataset="@ds_menu" idcolumn="func" levelcolumn="level" captioncolumn="label" onmenuclick="pmn_menu1_onmenuclick"/>
  552. <PopupMenu id="pmn_menu2" innerdataset="@ds_menu" idcolumn="func" captioncolumn="label" levelcolumn="level" position="absolute 999 184 1050 208" onmenuclick="pmn_menu2_onmenuclick"/>
  553. </Layout>
  554. </Layouts>
  555. <Objects>
  556. <Dataset id="ds_main_patinfo_patinfocnts" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  557. <ColumnInfo>
  558. <Column id="exlabcd" type="STRING" size="256"/>
  559. <Column id="pid" type="STRING" size="256"/>
  560. <Column id="patnm" type="STRING" size="256"/>
  561. <Column id="rrgstno1" type="STRING" size="256"/>
  562. <Column id="rrgstno2" type="STRING" size="256"/>
  563. <Column id="rrgstno" type="STRING" size="256"/>
  564. <Column id="psptno" type="STRING" size="256"/>
  565. <Column id="age" type="STRING" size="256"/>
  566. <Column id="sex" type="STRING" size="256"/>
  567. <Column id="bigo" type="STRING" size="256"/>
  568. <Column id="suppkind" type="STRING" size="256"/>
  569. <Column id="uncocd" type="STRING" size="256"/>
  570. <Column id="trusthosppid" type="STRING" size="256"/>
  571. </ColumnInfo>
  572. <Rows>
  573. <Row>
  574. <Col id="exlabcd"/>
  575. <Col id="pid"/>
  576. <Col id="patnm"/>
  577. <Col id="rrgstno1"/>
  578. <Col id="rrgstno2"/>
  579. <Col id="rrgstno"/>
  580. <Col id="psptno"/>
  581. <Col id="age"/>
  582. <Col id="sex"/>
  583. <Col id="bigo"/>
  584. <Col id="suppkind"/>
  585. <Col id="uncocd"/>
  586. <Col id="trusthosppid"/>
  587. </Row>
  588. </Rows>
  589. </Dataset>
  590. <Dataset id="ds_init_coophosp_coophosplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  591. <ColumnInfo>
  592. <Column id="coophospcd" type="STRING" size="256"/>
  593. <Column id="coophospnm" type="STRING" size="256"/>
  594. </ColumnInfo>
  595. </Dataset>
  596. <Dataset id="ds_cmb_conttestintvlflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  597. <ColumnInfo>
  598. <Column id="label" type="STRING" size="256"/>
  599. <Column id="value" type="STRING" size="256"/>
  600. </ColumnInfo>
  601. <Rows>
  602. <Row>
  603. <Col id="label">-</Col>
  604. <Col id="value">N</Col>
  605. </Row>
  606. <Row>
  607. <Col id="label">분</Col>
  608. <Col id="value">1</Col>
  609. </Row>
  610. <Row>
  611. <Col id="label">시간</Col>
  612. <Col id="value">2</Col>
  613. </Row>
  614. <Row>
  615. <Col id="label">횟수</Col>
  616. <Col id="value">3</Col>
  617. </Row>
  618. <Row>
  619. <Col id="label">일수</Col>
  620. <Col id="value">4</Col>
  621. </Row>
  622. <Row>
  623. <Col id="label">식전/후</Col>
  624. <Col id="value">5</Col>
  625. </Row>
  626. </Rows>
  627. </Dataset>
  628. <Dataset id="ds_cmb_suppkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  629. <ColumnInfo>
  630. <Column id="label" type="STRING" size="256"/>
  631. <Column id="value" type="STRING" size="256"/>
  632. </ColumnInfo>
  633. <Rows>
  634. <Row>
  635. <Col id="label">수탁</Col>
  636. <Col id="value">12</Col>
  637. </Row>
  638. <Row>
  639. <Col id="label">30%가산안함</Col>
  640. <Col id="value">13</Col>
  641. </Row>
  642. </Rows>
  643. </Dataset>
  644. <Dataset id="ds_init_prcpkind_prcpkindlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  645. <ColumnInfo>
  646. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  647. <Column id="lvl" type="STRING" size="256" sumtext="Level"/>
  648. <Column id="earncls1" type="STRING" size="256" sumtext="수익분류1"/>
  649. <Column id="earncls2" type="STRING" size="256" sumtext="수익분류2"/>
  650. <Column id="earncls3" type="STRING" size="256" sumtext="수익분류3"/>
  651. <Column id="earnclsnm" type="STRING" size="256" sumtext="수익분류명"/>
  652. <Column id="earnclskey" type="STRING" size="256" sumtext="수익분류Key"/>
  653. </ColumnInfo>
  654. </Dataset>
  655. <Dataset id="ds_init_prcpcd_prcpcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  656. <ColumnInfo>
  657. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  658. <Column id="testcd" type="STRING" size="256" sumtext="검사코드"/>
  659. <Column id="testengnm" type="STRING" size="256" sumtext="검사영문명"/>
  660. <Column id="testengabbr" type="STRING" size="256" sumtext="검사영문약어"/>
  661. <Column id="testhngnm" type="STRING" size="256" sumtext="검사한글명"/>
  662. <Column id="testhngabbr" type="STRING" size="256" sumtext="검사한글약어"/>
  663. <Column id="acptdept" type="STRING" size="256" sumtext="접수부서"/>
  664. <Column id="ptnocd" type="STRING" size="256" sumtext="일반병리번호코"/>
  665. <Column id="stdyptnocd" type="STRING" size="256" sumtext="연구병리번호코드"/>
  666. <Column id="trustptnocd" type="STRING" size="256" sumtext="수탁병리번호코드"/>
  667. <Column id="workflagcd" type="STRING" size="256" sumtext="작업구분코드"/>
  668. <Column id="slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드"/>
  669. <Column id="slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수"/>
  670. <Column id="blocflagcd" type="STRING" size="256" sumtext="블록구분코드"/>
  671. <Column id="initblocno" type="STRING" size="256" sumtext="초기블록번호"/>
  672. <Column id="autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드"/>
  673. <Column id="stdy_workflagcd" type="STRING" size="256" sumtext="작업구분코드(연구)"/>
  674. <Column id="stdy_slidflagcd" type="STRING" size="256" sumtext="슬라이드구분코드(연구)"/>
  675. <Column id="stdy_slidisscnt" type="STRING" size="256" sumtext="슬라이드발생수(연구)"/>
  676. <Column id="stdy_blocflagcd" type="STRING" size="256" sumtext="블록구분코드(연구)"/>
  677. <Column id="stdy_initblocno" type="STRING" size="256" sumtext="초기블록번호(연구)"/>
  678. <Column id="stdy_autokeepflagcd" type="STRING" size="256" sumtext="자동보관구분코드(연구)"/>
  679. <Column id="grupsnglflag" type="STRING" size="256" sumtext="자동보관구분코드(연구)"/>
  680. <Column id="ptnonewflagcd" type="STRING" size="256" sumtext="추가처방병리번호신규발생구분"/>
  681. <Column id="spccd" type="STRING" size="256" sumtext="진검검체코드"/>
  682. </ColumnInfo>
  683. </Dataset>
  684. <Dataset id="ds_init_testinfo_testinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  685. <Dataset id="ds_main_choiprcp_choiprcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  686. <Dataset id="ds_main_acptpat_acptpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  687. <Dataset id="ds_main_trustpat_trustpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  688. <Dataset id="ds_main_trusttest_trusttestlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_trusttest_trusttestlist_oncolumnchanged">
  689. <ColumnInfo>
  690. <Column id="choi" type="STRING" size="256" sumtext="선택"/>
  691. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  692. <Column id="reqinstcd" type="STRING" size="256" sumtext="요청기관코드"/>
  693. <Column id="reqinstnm" type="STRING" size="256" sumtext="요청기관명"/>
  694. <Column id="reqdd" type="STRING" size="256" sumtext="요청일자"/>
  695. <Column id="reqtm" type="STRING" size="256" sumtext="요청시간"/>
  696. <Column id="bcno" type="STRING" size="256" sumtext="검체바코드번호"/>
  697. <Column id="workno" type="STRING" size="256" sumtext="작업번호"/>
  698. <Column id="reqpid" type="STRING" size="256" sumtext="요청기관 환자번호"/>
  699. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  700. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  701. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  702. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민번호1"/>
  703. <Column id="rrgstno2" type="STRING" size="256" sumtext="주민번호2"/>
  704. <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
  705. <Column id="tclscd" type="STRING" size="256" sumtext="검사코드"/>
  706. <Column id="tclscdnm" type="STRING" size="256" sumtext="검사명"/>
  707. <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
  708. <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
  709. <Column id="reqfrmno" type="STRING" size="256" sumtext="의뢰지번호"/>
  710. <Column id="reqfrmflagcd" type="STRING" size="256" sumtext="의뢰지구분코드"/>
  711. <Column id="reqcnts" type="STRING" size="256" sumtext="의뢰지내용"/>
  712. <Column id="newreqcnts" type="STRING" size="256" sumtext="문자열의뢰지내용"/>
  713. <Column id="reqnm" type="STRING" size="256" sumtext="요청자명"/>
  714. <Column id="cnfmdd" type="STRING" size="256" sumtext="수신기관 확인일자"/>
  715. <Column id="cnfmtm" type="STRING" size="256" sumtext="수신기관 확인시간"/>
  716. <Column id="cnfmnm" type="STRING" size="256" sumtext="수신기관 확인자명"/>
  717. <Column id="acptstatcd" type="STRING" size="256" sumtext="접수상태코드(0:요청, 1:접수)"/>
  718. <Column id="bizflagcd" type="STRING" size="256" sumtext="업무구분코드(1:수탁,2:개별수탁)"/>
  719. <Column id="orddrid" type="STRING" size="256" sumtext="처방의ID"/>
  720. <Column id="orddeptcd" type="STRING" size="256" sumtext="처방과코드"/>
  721. <Column id="grostestplgyid" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  722. <Column id="reptrslt" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  723. <Column id="pid" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  724. <Column id="spcacptdt" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  725. <Column id="lastreptdt" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  726. <Column id="lastreptid" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  727. <Column id="urinextrvol" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  728. <Column id="reflh" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  729. <Column id="rsltunit" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  730. <Column id="reptgbn" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  731. <Column id="spcacptid" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  732. <Column id="prcpdd" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  733. <Column id="prcpno" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  734. <Column id="prcphistno" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  735. <Column id="prcpdelivefact" type="STRING" size="256" sumtext="육안검사병리사ID"/>
  736. </ColumnInfo>
  737. </Dataset>
  738. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  739. <ColumnInfo>
  740. <Column id="con" type="STRING" size="256"/>
  741. <Column id="prcpdrid" type="STRING" size="256"/>
  742. <Column id="reqfromdd" type="STRING" size="256"/>
  743. <Column id="reqtodd" type="STRING" size="256"/>
  744. <Column id="reqpid" type="STRING" size="256"/>
  745. <Column id="reqinstcd" type="STRING" size="256"/>
  746. <Column id="refval" type="STRING" size="256"/>
  747. </ColumnInfo>
  748. <Rows>
  749. <Row>
  750. <Col id="con"/>
  751. <Col id="prcpdrid"/>
  752. <Col id="reqfromdd"/>
  753. <Col id="reqtodd"/>
  754. <Col id="reqpid"/>
  755. <Col id="reqinstcd"/>
  756. </Row>
  757. </Rows>
  758. </Dataset>
  759. <Dataset id="ds_init_userinfo_userinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  760. <Dataset id="ds_init_hospenv_hospenvinfo" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  761. <ColumnInfo>
  762. <Column id="plgydeptcd" type="STRING" size="256" sumtext="병리과"/>
  763. <Column id="doctjobgradcd" type="STRING" size="256" sumtext="병리의사직급코드"/>
  764. <Column id="teamjobgradcd" type="STRING" size="256" sumtext="레지던트직급코드"/>
  765. <Column id="plgyteamcd" type="STRING" size="256"/>
  766. </ColumnInfo>
  767. </Dataset>
  768. <Dataset id="ds_init_sysdt_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  769. <ColumnInfo>
  770. <Column id="sysdd" type="STRING" size="256" sumtext="시스템일자"/>
  771. <Column id="systm" type="STRING" size="256" sumtext="시스템시간"/>
  772. </ColumnInfo>
  773. </Dataset>
  774. <Dataset id="ds_init_instcdlist_Z0007" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  775. <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  776. <Dataset id="ds_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  777. <ColumnInfo>
  778. <Column id="label" type="STRING" size="256"/>
  779. <Column id="func" type="STRING" size="256"/>
  780. <Column id="level" type="STRING" size="256"/>
  781. </ColumnInfo>
  782. <Rows>
  783. <Row>
  784. <Col id="label">지우기</Col>
  785. <Col id="func">fExePrcpDel</Col>
  786. </Row>
  787. </Rows>
  788. </Dataset>
  789. <Dataset id="ds_menu2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  790. <ColumnInfo>
  791. <Column id="label" type="STRING" size="256"/>
  792. <Column id="func" type="STRING" size="256"/>
  793. <Column id="level" type="STRING" size="256"/>
  794. </ColumnInfo>
  795. <Rows>
  796. <Row>
  797. <Col id="label">지우기</Col>
  798. <Col id="func">fExePatDel</Col>
  799. </Row>
  800. </Rows>
  801. </Dataset>
  802. <Dataset id="ds_main_acptinfo_acptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  803. <ColumnInfo>
  804. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  805. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  806. <Column id="orddd" type="STRING" size="256" sumtext="진료일자"/>
  807. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  808. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  809. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  810. <Column id="addr" type="STRING" size="256" sumtext="주소"/>
  811. <Column id="prcpcd" type="STRING" size="256" sumtext="검사코드"/>
  812. <Column id="prcpnm" type="STRING" size="256" sumtext="검사한글명"/>
  813. <Column id="spccd" type="STRING" size="256" sumtext="검체코드"/>
  814. <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
  815. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이)"/>
  816. <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
  817. <Column id="psptno" type="STRING" size="256" sumtext="여권번호"/>
  818. <Column id="exlabcd" type="STRING" size="256" sumtext="위탁기관코드"/>
  819. <Column id="exlabnm" type="STRING" size="256" sumtext="위탁기관명"/>
  820. </ColumnInfo>
  821. </Dataset>
  822. <Dataset id="ds_main_acptinfo_acptrsltlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  823. <ColumnInfo>
  824. <Column id="ptno" type="STRING" size="256" sumtext="병리번호"/>
  825. <Column id="dispptno" type="STRING" size="256" sumtext="병리번호"/>
  826. <Column id="dispptno1" type="STRING" size="256" sumtext="병리번호1"/>
  827. <Column id="dispptno2" type="STRING" size="256" sumtext="병리번호2"/>
  828. <Column id="barcdno" type="STRING" size="256" sumtext="검체바코드번호"/>
  829. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  830. <Column id="patnm" type="STRING" size="256" sumtext="환자명"/>
  831. <Column id="sexage" type="STRING" size="256" sumtext="성별/나이"/>
  832. <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
  833. <Column id="testnm" type="STRING" size="256" sumtext="검사명"/>
  834. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
  835. <Column id="wardnm" type="STRING" size="256" sumtext="병동명"/>
  836. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  837. <Column id="acptdd" type="STRING" size="256" sumtext="접수일자"/>
  838. </ColumnInfo>
  839. </Dataset>
  840. </Objects>
  841. <Bind>
  842. <BindItem id="item0" compid="swt_trust.case_single.cmb_exlabcd" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="exlabcd"/>
  843. <BindItem id="item1" compid="swt_trust.case_single.ipt_pid" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="pid"/>
  844. <BindItem id="item2" compid="swt_trust.case_single.ipt_patnm" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="patnm"/>
  845. <BindItem id="item3" compid="swt_trust.case_single.ipt_rrgstno1" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="rrgstno1"/>
  846. <BindItem id="item4" compid="swt_trust.case_single.ipt_rrgstno2" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="rrgstno2"/>
  847. <BindItem id="item5" compid="swt_trust.case_single.ipt_psptno" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="psptno"/>
  848. <BindItem id="item6" compid="swt_trust.case_single.ipt_age" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="age"/>
  849. <BindItem id="item7" compid="swt_trust.case_single.cmb_sex" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="sex"/>
  850. <BindItem id="item8" compid="swt_trust.case_single.cmb_suppkind" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="suppkind"/>
  851. <BindItem id="item9" compid="swt_trust.case_single.ipt_trusthosppid" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="trusthosppid"/>
  852. <BindItem id="item10" compid="swt_trust.case_single.ipt_bigo" propid="value" datasetid="ds_main_patinfo_patinfocnts" columnid="bigo"/>
  853. <BindItem id="item11" compid="swt_trust.case_list.grp_sea.ipt_prcpfromdd" propid="value" datasetid="ds_init" columnid="reqfromdd"/>
  854. <BindItem id="item12" compid="swt_trust.case_list.grp_sea.ipt_prcptodd" propid="value" datasetid="ds_init" columnid="reqtodd"/>
  855. <BindItem id="item13" compid="swt_trust.case_list.grp_sea.combo1" propid="value" datasetid="ds_init" columnid="reqinstcd"/>
  856. <BindItem id="item14" compid="swt_trust.case_list.grp_sea.input1" propid="value" datasetid="ds_init" columnid="reqpid"/>
  857. <BindItem id="item15" compid="swt_trust.case_list.grp_sea.checkbox1" propid="value" datasetid="ds_init" columnid="con"/>
  858. <BindItem id="item16" compid="cmb_orddrid" propid="value" datasetid="ds_init" columnid="prcpdrid"/>
  859. </Bind>
  860. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  861. * System Name :
  862. * Job Name :
  863. * Creator :
  864. * Make Date : 2015-11-09
  865. * Description :
  866. *---------------------------------------------------------------------------------------
  867. * Modify Date Modifier Modify Description
  868. *---------------------------------------------------------------------------------------
  869. * 2015-11-09 Live Converter TF->XP
  870. *
  871. *---------------------------------------------------------------------------------------
  872. ****************************************************************************************/
  873. include "com_commonxp::comm_main.xjs";
  874. include "lis_commonxp::LLZ001.xjs";
  875. include "lis_commonxp::LPZ001.xjs";
  876. function SPLLJ00600_oninit(obj:Form, e:InitEventInfo)
  877. {
  878. frmf_initForm(obj);
  879. }
  880. function SPLLJ00600_onload(obj:Form, e:LoadEventInfo)
  881. {
  882. grdf_initGrid(swt_trust.case_single.grd_acptpatlist);
  883. grdf_initGrid(swt_trust.case_single.grd_choiprcp);
  884. grdf_initGrid(swt_trust.case_single.grd_spclist);
  885. grdf_initGrid(swt_trust.case_single.grd_testcdlist);
  886. grdf_initGrid(swt_trust.case_list.grd_trustlist);
  887. fExeInitialize();
  888. }
  889. function fExeInitialize()
  890. {
  891. swt_trust.tabindex = 0;
  892. ds_main_trustpat_trustpatlist.clearData();
  893. ds_init_prcpcd_prcpcdlist.clearData();
  894. ds_init_testinfo_testinfolist.clearData();
  895. ds_main_choiprcp_choiprcplist.clearData();
  896. ds_main_acptpat_acptpatlist.clearData();
  897. lf_getDbDeptcd("0124|", "")
  898. dsf_createDsRow("ds_send", [{col:"instcd", type:"STRING", size:256 , val : sysf_getUserInfo("dutplceinstcd")}
  899. , {col:"deptflagcd", type:"STRING", size:256 , val : "0"}]);
  900. var oParam = {};
  901. oParam.id = "TRLZZ00107";
  902. oParam.service = "diagtestapplib.LisCommon";
  903. oParam.method = "reqGetLExecprcpuniqno";
  904. oParam.inds = "refData=ds_send";
  905. oParam.outds = "ds_init_hospenv_hospenvinfo=hospenvinfo";
  906. oParam.async = false;
  907. //oParam.callback = "cf_TRLZZ00107";
  908. tranf_submit(oParam);
  909. var oParam = {};
  910. oParam.id = "TRLPZ00102";
  911. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  912. oParam.method = "reqGetSystemDateTimeInformation";
  913. oParam.inds = "refData=ds_send";
  914. oParam.outds = "ds_init_sysdt_sysdtinfo=sysdtinfo";
  915. oParam.async = false;
  916. //oParam.callback = "cf_TRLPZ00102";
  917. tranf_submit(oParam);
  918. var oParam = {};
  919. oParam.id = "TRLLJ00601";
  920. oParam.service = "acptmngtapp.AcptMngt";
  921. oParam.method = "reqGetPrcpKindListDiag";
  922. oParam.inds = "refData=ds_send";
  923. oParam.outds = "ds_init_prcpkind_prcpkindlist=reflist";
  924. oParam.async = false;
  925. //oParam.callback = "cf_TRLLJ00601";
  926. tranf_submit(oParam);
  927. var oParam = {};
  928. oParam.id = "TRLPJ02302";
  929. oParam.service = "plgyacptmngtapp.SpecimenAccept";
  930. oParam.method = "reqGetCoopHospList";
  931. oParam.inds = "refData=ds_send";
  932. oParam.outds = "ds_init_coophosp_coophosplist=reflist";
  933. oParam.async = false;
  934. //oParam.callback = "cf_TRLPJ02302";
  935. tranf_submit(oParam);
  936. lpzfUserDeptCd(ds_init_hospenv_hospenvinfo, ds_init_userinfo_userinfolist);
  937. dsf_makeValue(ds_send, "userdeptcd", "string", ds_init_userinfo_userinfolist.getColumn(0, "userdeptcd"), 0);
  938. dsf_makeValue(ds_send, "doctjobgradcd", "string", ds_init_hospenv_hospenvinfo.getColumn(0, "doctjobgradcd"), 0);
  939. dsf_makeValue(ds_send, "teamjobgradcd", "string", ds_init_hospenv_hospenvinfo.getColumn(0, "teamjobgradcd"), 0);
  940. var oParam = {};
  941. oParam.id = "TRLLJ00605";
  942. oParam.service = "acptmngtapp.AcptMngt";
  943. oParam.method = "reqGetUserInfoList";
  944. oParam.inds = "refdata=ds_send";
  945. oParam.outds = "ds_init_userinfo_userinfolist=reflist";
  946. oParam.async = false;
  947. //oParam.callback = "cf_TRLLJ00605";
  948. tranf_submit(oParam);
  949. var arrParam = [{dsNm: "ds_init_instcdlist_Z0007", cdGrpId: "Z0007"}]
  950. appf_getCodeList(arrParam);
  951. dsf_makeValue(ds_init, "reqfromdd", "string", ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd"), 0);
  952. dsf_makeValue(ds_init, "reqtodd", "string", ds_init_sysdt_sysdtinfo.getColumn(0, "sysdd"), 0);
  953. dsf_makeValue(ds_init, "reqpid", "string", "", 0);
  954. dsf_makeValue(ds_init, "reqinstcd", "string", "", 0);
  955. dsf_makeValue(ds_init, "prcpdrid", "string", "", 0);
  956. dsf_makeValue(ds_main_patinfo_patinfocnts, "suppkind", "string", "13", 0);
  957. dsf_makeValue(ds_main_patinfo_patinfocnts, "uncocd", "string", "", 0);
  958. }
  959. function swt_trust_case_single_cmb_exlabcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  960. {
  961. fExeTrustChoi();
  962. }
  963. function fExeTrustChoi()
  964. {
  965. var sTrustCd = ds_main_patinfo_patinfocnts.getColumn(0, "exlabcd");
  966. dsf_makeValue(ds_main_patinfo_patinfocnts, "uncocd", "string", ds_init_coophosp_coophosplist.lookupExpr("coophospcd == '"+sTrustCd+"'", "uncocd"), 0);
  967. }
  968. function fExePatPopupCall(pBizFlagCd)
  969. {
  970. dsf_createDsRow("ds_source", [{col:"srchcond", type:"STRING", size:256 , val : pBizFlagCd}]);
  971. if (pBizFlagCd == "1")
  972. {
  973. dsf_makeValue(ds_source, "pid", "string", ds_main_patinfo_patinfocnts.getColumn(0, "pid"), 0);
  974. dsf_makeValue(ds_source, "hngnm", "string", "", 0);
  975. dsf_makeValue(ds_source, "rrgstno1", "string", "", 0);
  976. dsf_makeValue(ds_source, "rrgstno2", "string", "", 0);
  977. }
  978. else if (pBizFlagCd == "2")
  979. {
  980. dsf_makeValue(ds_source, "pid", "string", "", 0);
  981. dsf_makeValue(ds_source, "hngnm", "string", ds_main_patinfo_patinfocnts.getColumn(0, "patnm"), 0);
  982. dsf_makeValue(ds_source, "rrgstno1", "string", "", 0);
  983. dsf_makeValue(ds_source, "rrgstno2", "string", "", 0);
  984. }
  985. else
  986. {
  987. dsf_makeValue(ds_source, "pid", "string", "", 0);
  988. dsf_makeValue(ds_source, "hngnm", "string", "", 0);
  989. dsf_makeValue(ds_source, "rrgstno1", "string", ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno1"), 0);
  990. dsf_makeValue(ds_source, "rrgstno2", "string", ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno2"), 0);
  991. }
  992. var objArg = new Object();
  993. objArg.arg_ds_send = ds_source;
  994. frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
  995. if (ds_patinfolist.rowcount > 0)
  996. {
  997. ds_init.setColumn(0, "refval", ds_patinfolist.getColumn(0, "pid"))
  998. }
  999. }
  1000. function swt_trust_case_single_btn_pidsea_onclick(obj:Button, e:ClickEventInfo)
  1001. {
  1002. fExePatPopupCall("1");
  1003. }
  1004. function swt_trust_case_single_btn_patnmsea_onclick(obj:Button, e:ClickEventInfo)
  1005. {
  1006. fExePatPopupCall("2");
  1007. }
  1008. function swt_trust_case_single_btn_rrgstnosea_onclick(obj:Button, e:ClickEventInfo)
  1009. {
  1010. fExePatPopupCall("3");
  1011. }
  1012. function swt_trust_case_single_cmb_suppkind_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  1013. {
  1014. alert("적용률이 변경되었습니다.");
  1015. }
  1016. function swt_trust_case_single_grd_testcdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1017. {
  1018. fExePrcpChoi();
  1019. }
  1020. function fExePrcpChoi()
  1021. {
  1022. var iFindRow = 0;
  1023. var sSpcCd = "";
  1024. var sPrcpNode = "/root/init/prcpcd/prcpcdlist";
  1025. var sSpcNode = "/root/init/testinfo/testinfolist";
  1026. if(ds_init_prcpcd_prcpcdlist.rowposition > -1)
  1027. {
  1028. if(ds_init_testinfo_testinfolist.rowcount > 0)
  1029. {
  1030. if (ds_init_testinfo_testinfolist.rowposition > -1)
  1031. {
  1032. sSpcCd = ds_init_testinfo_testinfolist.getColumn(ds_init_testinfo_testinfolist.rowposition, "spccd");
  1033. }
  1034. }
  1035. ds_send.clearData();
  1036. dsf_createDsRow("ds_send", [{col:"delflagcd", type:"STRING", size:256 , val : "0"}
  1037. , {col:"refflag", type:"STRING", size:256 , val : "1"}
  1038. , {col:"refval", type:"STRING", size:256 , val : ds_init_prcpcd_prcpcdlist.getColumn(ds_init_prcpcd_prcpcdlist.rowposition, "testcd")}
  1039. , {col:"instcd", type:"STRING", size:256 , val : sysf_getUserInfo("dutplceinstcd")}
  1040. , {col:"itemlimit", type:"STRING", size:256 , val : "5000"}
  1041. , {col:"page", type:"STRING", size:256 , val : "1"}]);
  1042. ds_init_testinfo_testinfolist.clearData();
  1043. var oParam = {};
  1044. oParam.id = "TRLLJ00603";
  1045. oParam.service = "acptmngtapp.AcptMngt";
  1046. oParam.method = "reqGetTestInfoListDiag";
  1047. oParam.inds = "refData=ds_send";
  1048. oParam.outds = "ds_init_testinfo_testinfolist=refrslt ds_=lastpage";
  1049. oParam.async = false;
  1050. //oParam.callback = "cf_TRLLJ00603";
  1051. tranf_submit(oParam);
  1052. }
  1053. }
  1054. function swt_trust_case_single_grd_spclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  1055. {
  1056. fExeSpcChoi();
  1057. }
  1058. function fExeSpcChoi()
  1059. {
  1060. if(ds_init_testinfo_testinfolist.rowposition > -1)
  1061. {
  1062. fExePrcpAdd();
  1063. }
  1064. }
  1065. function fExePrcpAdd()
  1066. {
  1067. var iMaxRowNo = 0;
  1068. var sSrcNode = "/root/main/choiprcp/choiprcplist";
  1069. iMaxRowNo = ds_main_choiprcp_choiprcplist.addRow();
  1070. dsf_makeValue(ds_main_choiprcp_choiprcplist, "instcd", "string", sysf_getUserInfo("dutplceinstcd"), iMaxRowNo);
  1071. dsf_makeValue(ds_main_choiprcp_choiprcplist, "testcd", "string", ds_init_prcpcd_prcpcdlist.getColumn(ds_init_prcpcd_prcpcdlist.rowposition, "testcd"), iMaxRowNo);
  1072. dsf_makeValue(ds_main_choiprcp_choiprcplist, "testhngnm", "string", ds_init_prcpcd_prcpcdlist.getColumn(ds_init_prcpcd_prcpcdlist.rowposition, "testhngnm"), iMaxRowNo);
  1073. dsf_makeValue(ds_main_choiprcp_choiprcplist, "testengnm", "string", ds_init_prcpcd_prcpcdlist.getColumn(ds_init_prcpcd_prcpcdlist.rowposition, "testengnm"), iMaxRowNo);
  1074. dsf_makeValue(ds_main_choiprcp_choiprcplist, "spccd", "string", ds_init_testinfo_testinfolist.getColumn(ds_init_testinfo_testinfolist.rowposition, "spccd"), iMaxRowNo);
  1075. dsf_makeValue(ds_main_choiprcp_choiprcplist, "spcnm", "string", ds_init_testinfo_testinfolist.getColumn(ds_init_testinfo_testinfolist.rowposition, "spcnm"), iMaxRowNo);
  1076. dsf_makeValue(ds_main_choiprcp_choiprcplist, "conttestintvlflagcd", "string", "N", iMaxRowNo);
  1077. dsf_makeValue(ds_main_choiprcp_choiprcplist, "conttestorgtims", "string", "", iMaxRowNo);
  1078. dsf_makeValue(ds_main_choiprcp_choiprcplist, "conttestbasetm", "string", "", iMaxRowNo);
  1079. dsf_makeValue(ds_main_choiprcp_choiprcplist, "prcpdelivefact", "string", "-", iMaxRowNo);
  1080. }
  1081. function swt_trust_case_single_grd_choiprcp_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1082. {
  1083. pmn_menu1.trackPopup(e.screenX,e.screenY);
  1084. }
  1085. function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1086. {
  1087. eval(e.id +"();");
  1088. }
  1089. function pmn_menu2_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  1090. {
  1091. eval(e.id +"();");
  1092. }
  1093. function swt_trust_case_single_grd_acptpatlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  1094. {
  1095. pmn_menu2.trackPopup(e.screenX,e.screenY);
  1096. }
  1097. function fExePrcpDel()
  1098. {
  1099. if (ds_main_choiprcp_choiprcplist.rowposition < 0)
  1100. {
  1101. sysf_messageBox("삭제 처방을 ", "C002");
  1102. return false;
  1103. }
  1104. ds_main_choiprcp_choiprcplist.deleteRow(ds_main_choiprcp_choiprcplist.rowposition);
  1105. }
  1106. function fExePatDel()
  1107. {
  1108. ds_main_acptpat_acptpatlist.deleteRow(ds_main_acptpat_acptpatlist.rowposition);
  1109. }
  1110. function swt_trust_case_list_grp_sea_checkbox1_onclick(obj:CheckBox, e:ClickEventInfo)
  1111. {
  1112. if(obj.value == false)
  1113. {
  1114. ds_init.setColumn(0, "con", "");
  1115. }
  1116. }
  1117. function swt_trust_case_list_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1118. {
  1119. fGetTrustTestList();
  1120. }
  1121. function fGetTrustTestList()
  1122. {
  1123. ds_send.clearData();
  1124. ds_main_trusttest_trusttestlist.clearData();
  1125. dsf_createDsRow("ds_send", [{col:"instcd", type:"STRING", size:256 , val : sysf_getUserInfo("dutplceinstcd")}
  1126. , {col:"deptflagcd", type:"STRING", size:256 , val : "N"}
  1127. , {col:"reqfromdd", type:"STRING", size:256 , val : ds_init.getColumn(0, "reqfromdd")}
  1128. , {col:"reqtodd", type:"STRING", size:256 , val : ds_init.getColumn(0, "reqtodd")}
  1129. , {col:"reqpid", type:"STRING", size:256 , val : ds_init.getColumn(0, "reqpid")}
  1130. , {col:"reqinstcd", type:"STRING", size:256 , val : ds_init.getColumn(0, "reqinstcd")}
  1131. , {col:"con", type:"STRING", size:256 , val : ds_init.getColumn(0, "con")}]);
  1132. var oParam = {};
  1133. oParam.id = "TRLPJ02301";
  1134. oParam.service = "acptmngtapp.AcptMngt";
  1135. oParam.method = "reqGetTrustTestListDiag";
  1136. oParam.inds = "refData=ds_send";
  1137. oParam.outds = "ds_main_trusttest_trusttestlist=refrslt";
  1138. oParam.async = false;
  1139. //oParam.callback = "cf_TRLPJ02301";
  1140. tranf_submit(oParam);
  1141. dsf_setFixVal(ds_main_trusttest_trusttestlist, "choi:false,newreqcnts:-,bizflagcd:-,orddrid:-,orddeptcd:-,grostestplgyid:-");
  1142. }
  1143. function swt_trust_case_list_btn_exls_onclick(obj:Button, e:ClickEventInfo)
  1144. {
  1145. grdf_exportExcel(swt_trust.case_list.grd_trustlist, "수탁검사목록", "수탁검사목록", false, "", "", false);
  1146. }
  1147. function btn_patlistread_onclick(obj:Button, e:ClickEventInfo)
  1148. {
  1149. fExeReadTrustPatList();
  1150. }
  1151. function fExeReadTrustPatList()
  1152. {
  1153. var sExLabNm = "";
  1154. var sSexAge = "";
  1155. var sRRgstNo = "";
  1156. var sSrcNode = "/root/main/trustpat/trustpatlist";
  1157. var sDescNode = "/root/main/acptpat/acptpatlist";
  1158. var sOrgNode = "/root/main/patinfo/patinfocnts";
  1159. if(utlf_isNull(ds_init.getColumn(0, "prcpdrid")) || ds_init.getColumn(0, "prcpdrid") == "-")
  1160. {
  1161. sysf_messageBox("처방의사를 ", "C002");
  1162. return false;
  1163. }
  1164. ds_main_trustpat_trustpatlist.clearData();
  1165. ds_main_acptpat_acptpatlist.clearData();
  1166. var fd = new FileDialog;
  1167. var objVFileList = fd.open("FileOpen", FileDialog.SINGLELOAD);
  1168. filelist = objVFileList;
  1169. var sFileName = dsf_writeFileToDs(objVFileList, ds_main_acptinfo_acptlist, 0, "filedata");
  1170. if (utlf_isNull(sFileName))
  1171. {
  1172. sysf_messageBox("입고할 파일을 선택하세요", "E", "");
  1173. return;
  1174. }
  1175. for (var iNo = 0; iNo < ds_main_trustpat_trustpatlist.rowcount; iNo++)
  1176. {
  1177. if(utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "exlabcd")))
  1178. {
  1179. sysf_messageBox("위탁기관은 ", "I003");
  1180. return false;
  1181. }
  1182. if(utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "patnm")))
  1183. {
  1184. sysf_messageBox("환자명은 ", "I003");
  1185. return false;
  1186. }
  1187. if(utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "trusthosppid")))
  1188. {
  1189. sysf_messageBox("위탁병원 환자번호는 ", "I003");
  1190. return false;
  1191. }
  1192. if(utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "psptno")))
  1193. {
  1194. if(utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno1")) && utlf_isNull(ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno2")))
  1195. {
  1196. sysf_messageBox("주민번호 또는 여권번호(외국인)은 ", "I003");
  1197. return false;
  1198. }
  1199. }
  1200. sExLabNm = ds_init_coophosp_coophosplist.lookupExpr("coophospcd == '"+ds_main_trustpat_trustpatlist.getColumn(iNo, "exlabcd")+"'", "coophospnm");
  1201. sUnCoCd = ds_init_coophosp_coophosplist.lookupExpr("coophospcd == '"+ds_main_trustpat_trustpatlist.getColumn(iNo, "exlabcd")+"'", "uncocd");
  1202. sSexAge = ds_main_trustpat_trustpatlist.getColumn(iNo, "sex")+"/"+ds_main_trustpat_trustpatlist.getColumn(iNo, "age");
  1203. sRRgstNo = ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno1")+"/"+ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno2");
  1204. var iRowNo = ds_main_acptpat_acptpatlist.addRow();
  1205. dsf_makeValue(ds_main_acptpat_acptpatlist, "instcd", "string", sysf_getUserInfo("dutplceinstcd"), iRowNo);
  1206. dsf_makeValue(ds_main_acptpat_acptpatlist, "exlabcd", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "exlabcd"), iRowNo);
  1207. dsf_makeValue(ds_main_acptpat_acptpatlist, "exlabnm", "string", sExLabNm, iRowNo);
  1208. dsf_makeValue(ds_main_acptpat_acptpatlist, "pid", "string", "", iRowNo);
  1209. dsf_makeValue(ds_main_acptpat_acptpatlist, "patnm", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "patnm"), iRowNo);
  1210. dsf_makeValue(ds_main_acptpat_acptpatlist, "sex", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "sex"), iRowNo);
  1211. dsf_makeValue(ds_main_acptpat_acptpatlist, "age", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "age"), iRowNo);
  1212. dsf_makeValue(ds_main_acptpat_acptpatlist, "sexage", "string", sSexAge, iRowNo);
  1213. dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno1", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno1"), iRowNo);
  1214. dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno2", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "rrgstno2"), iRowNo);
  1215. dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno", "string", sRRgstNo, iRowNo);
  1216. dsf_makeValue(ds_main_acptpat_acptpatlist, "psptno", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "psptno"), iRowNo);
  1217. dsf_makeValue(ds_main_acptpat_acptpatlist, "bigo", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "bigo"), iRowNo);
  1218. dsf_makeValue(ds_main_acptpat_acptpatlist, "bizflagcd", "string", "2", iRowNo);
  1219. dsf_makeValue(ds_main_acptpat_acptpatlist, "bigo", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "bigo"), iRowNo);
  1220. dsf_makeValue(ds_main_acptpat_acptpatlist, "orddrid", "string", ds_init.getColumn(0, "prcpdrid"), iRowNo);
  1221. dsf_makeValue(ds_main_acptpat_acptpatlist, "orddeptcd", "string",ds_init_hospenv_hospenvinfo.getColumn(0, "plgydeptcd"), iRowNo);
  1222. dsf_makeValue(ds_main_acptpat_acptpatlist, "grotestsplgyid", "string", sysf_getUserInfo("userid"), iRowNo);
  1223. dsf_makeValue(ds_main_acptpat_acptpatlist, "suppkind", "string", ds_main_trustpat_trustpatlist.getColumn(iNo, "suppkind"), iRowNo);
  1224. dsf_makeValue(ds_main_acptpat_acptpatlist, "uncocd", "string", sUnCoCd, iRowNo);
  1225. }
  1226. }
  1227. function button2_onclick(obj:Button, e:ClickEventInfo)
  1228. {
  1229. fExeDCprcp();
  1230. }
  1231. function fExeDCprcp()
  1232. {
  1233. for(var i = 0; i < ds_main_trustpat_trustpatlist.rowcount; i++)
  1234. {
  1235. if(ds_main_trusttest_trusttestlist.getColumn(i, "choi") == "true")
  1236. {
  1237. if(utlf_isNull(ds_main_trusttest_trusttestlist.getColumn(i, "bcno")))
  1238. {
  1239. dsf_createDsRow("ds_hidden_data1", [{col:"prcpno", type:"STRING", size:256 , val : ds_main_trusttest_trusttestlist.getColumn(i, "prcpno")}
  1240. , {col:"prcpdd", type:"STRING", size:256 , val : ds_main_trusttest_trusttestlist.getColumn(i, "prcpdd")}
  1241. , {col:"prcphistno", type:"STRING", size:256 , val : ds_main_trusttest_trusttestlist.getColumn(i, "prcphistno")}]);
  1242. var oParam = {};
  1243. oParam.id = "TXLZZ00601";
  1244. oParam.service = "diagtestapplib.LisCommon";
  1245. oParam.method = "reqSetOnlyDCPrcp";
  1246. oParam.inds = "cond=ds_hidden_data1";
  1247. oParam.outds = "";
  1248. oParam.async = false;
  1249. //oParam.callback = "cf_TXLZZ00601";
  1250. tranf_submit(oParam);
  1251. }
  1252. else
  1253. {
  1254. alert("진행된 항목은 처방 취소 할 수 없습니다.");
  1255. }
  1256. }
  1257. else
  1258. {
  1259. }
  1260. }
  1261. fGetTrustTestList();
  1262. }
  1263. function ds_main_trusttest_trusttestlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1264. {
  1265. if(e.columnid == "choi")
  1266. {
  1267. obj.setColumn(e.row, "choi", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
  1268. }
  1269. }
  1270. function swt_trust_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
  1271. {
  1272. if(obj.tabindex == 0)
  1273. {
  1274. fExeTrustChange("2");
  1275. }
  1276. else
  1277. {
  1278. fExeTrustChange("1");
  1279. }
  1280. }
  1281. function fExeTrustChange(pBizFlagCd)
  1282. {
  1283. if (pBizFlagCd == "1")
  1284. {
  1285. btn_acpt.visible = true;
  1286. btn_prcp.visible = false;
  1287. btn_patlistread.visible = false;
  1288. button1.visible = true;
  1289. }
  1290. else
  1291. {
  1292. btn_acpt.visible = false;
  1293. btn_prcp.visible = true;
  1294. btn_patlistread.visible = true;
  1295. button1.visible = false;
  1296. }
  1297. }
  1298. function button1_onclick(obj:Button, e:ClickEventInfo)
  1299. {
  1300. fExePrint();
  1301. }
  1302. function fExePrint()
  1303. {
  1304. var objDOM = rptf_createDOM();
  1305. rptf_setNodeListToDOM(objDOM, "/root/main/trusttest/trusttestlist", ds_main_trusttest_trusttestlist);
  1306. var objParam = new Object();
  1307. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1308. var option = "";
  1309. rptf_exeReportPreview30(["RPLLJ00600"],[objParam], option);
  1310. }
  1311. function btn_acpt_onclick(obj:Button, e:ClickEventInfo)
  1312. {
  1313. fExePrcpSave("1");
  1314. }
  1315. function fExePrcpSave(pBizFlagCd)
  1316. {
  1317. if (pBizFlagCd == "1")
  1318. {
  1319. if (!frmf_isRequiredControls("cmb_orddrid"))
  1320. {
  1321. return false;
  1322. }
  1323. ds_main_patinfo_patinfocnts.clearData();
  1324. ds_main_choiprcp_choiprcplist.clearData();
  1325. for(var iNo = 0; iNo < ds_main_trusttest_trusttestlist.rowcount; iNo++)
  1326. {
  1327. if(ds_main_trusttest_trusttestlist.getColumn(iNo, "choi") == "true")
  1328. {
  1329. var sNode = ds_main_trusttest_trusttestlist.getColumn(iNo, "reqcnts");
  1330. dsf_makeValue(ds_main_trusttest_trusttestlist, "bizflagcd", "string", "1", iNo);
  1331. dsf_makeValue(ds_main_trusttest_trusttestlist, "orddrid", "string", ds_init.getColumn(0, "prcprid"), iNo);
  1332. dsf_makeValue(ds_main_trusttest_trusttestlist, "orddeptcd", "string", ds_init_hospenv_hospenvinfo.getColumn(0, "plgydeptcd"), iNo);
  1333. dsf_makeValue(ds_main_trusttest_trusttestlist, "grotestsplgyid", "string", sysf_getUserInfo("userid"), iNo);
  1334. dsf_makeValue(ds_main_trusttest_trusttestlist, "newreqcnts", "string", sNode, iNo);
  1335. ds_main_trusttest_trusttestlist.updatecontrol = false;
  1336. ds_main_trusttest_trusttestlist.setRowType(iNo, "i");
  1337. ds_main_trusttest_trusttestlist.updatecontrol = true;
  1338. bState = true;
  1339. }
  1340. if (!bState)
  1341. {
  1342. sysf_messageBox("접수할 수탁검사를 ", "C002");
  1343. return false;
  1344. }
  1345. }
  1346. }
  1347. else
  1348. {
  1349. if (!frmf_isRequiredControls("cmb_orddrid"))
  1350. {
  1351. return false;
  1352. }
  1353. if (ds_main_acptpat_acptpatlist.rowcount == 0)
  1354. {
  1355. sysf_messageBox("접수할 환자를 ", "C001");
  1356. return false;
  1357. }
  1358. if (ds_main_choiprcp_choiprcplist.rowcount == 0)
  1359. {
  1360. sysf_messageBox("처방등록할 수탁검사를 ", "C002");
  1361. return false;
  1362. }
  1363. }
  1364. dsf_makeValue(ds_main_patinfo_patinfocnts, "instcd", "string", sysf_getUserInfo("dutplceinstcd"), 0);
  1365. dsf_makeValue(ds_main_patinfo_patinfocnts, "pid", "string", "", 0);
  1366. //setAlertOn();
  1367. dsf_setFixVal(ds_main_trusttest_trusttestlist, "pid:-");
  1368. var oParam = {};
  1369. oParam.id = "TXLPJ02301";
  1370. oParam.service = "acptmngtapp.AcptMngt";
  1371. oParam.method = "reqExeTrustAcpt";
  1372. oParam.inds = "patinfo=ds_main_patinfo_patinfocnts trusttestlist=ds_main_trusttest_trusttestlist choiprcplist=ds_main_choiprcp_choiprcplist patlist=ds_main_patinfo_patinfocnts";
  1373. oParam.outds = "ds_main_acptinfo_acptlist=acptlist ds_main_acptinfo_acptrsltlist=acptrsltlist";
  1374. oParam.async = false;
  1375. oParam.callback = "cf_TXLPJ02301";
  1376. tranf_submit(oParam);
  1377. }
  1378. function cf_TXLPJ02301(sSvcId, nErrorCode, sErrorMsg)
  1379. {
  1380. if(nErrorCode < 0)
  1381. {
  1382. return;
  1383. }
  1384. else
  1385. {
  1386. ds_main_acptpat_acptpatlist.clearData();
  1387. ds_main_choiprcp_choiprcplist.clearData();
  1388. ds_main_patinfo_patinfocnts.clearData();
  1389. if (pBizFlagCd == "1")
  1390. {
  1391. for(var iRowNo = 0; iRowNo < ds_main_acptinfo_acptrsltlist.rowcount; iRowNo++)
  1392. {
  1393. if(sPtNo != ds_main_acptinfo_acptrsltlist.getColumn(iRowNo, "ptno"))
  1394. {
  1395. lpzfExeFrmPrnt(ds_main_acptrslt_acptrsltlist,iRowNo);
  1396. sPtNo = ds_main_acptinfo_acptrsltlist.getColumn(iRowNo, "ptno");
  1397. }
  1398. }
  1399. for(var iNo = ds_main_trusttest_trusttestlist.rowcount; iNo > 0; iNo--)
  1400. {
  1401. if(ds_main_trusttest_trusttestlist.getColumn(iNo, "choi") == "true")
  1402. {
  1403. ds_main_trusttest_trusttestlist.deleteRow(iNo);
  1404. }
  1405. }
  1406. }
  1407. }
  1408. }
  1409. function btn_prcp_onclick(obj:Button, e:ClickEventInfo)
  1410. {
  1411. fExePrcpSave("2");
  1412. ds_main_patinfo_patinfocnts.setColumn(0, "suppkind", "13");
  1413. }
  1414. function btn_cls_onclick(obj:Button, e:ClickEventInfo)
  1415. {
  1416. this.close();
  1417. }
  1418. function swt_trust_case_single_btn_cffm_onclick(obj:Button, e:ClickEventInfo)
  1419. {
  1420. fExePatTempSave();
  1421. }
  1422. function fExePatTempSave()
  1423. {
  1424. var rrgstno1 = String(ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno1"));
  1425. var rrgstno2 = String(ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno2"));
  1426. var age = ds_main_patinfo_patinfocnts.getColumn(0, "age");
  1427. if(rrgstno1.length < 6)
  1428. {
  1429. alert("주민등록번호 앞자리의 갯수가 맞지 않습니다.");
  1430. return;
  1431. }
  1432. if(rrgstno1.substr(2,4) > 12 || rrgstno1.substr(4,6) > 31)
  1433. {
  1434. alert("생년월일을 확인해 주십시오.");
  1435. return;
  1436. }
  1437. if(rrgstno2.length < 7)
  1438. {
  1439. alert("주민등록번호 뒷자리의 갯수가 맞지 않습니다.");
  1440. return;
  1441. }
  1442. if(age > 99)
  1443. {
  1444. var retval = sysf_messageBox( "환자의 나이가 " + age + "세 입니다.", "Q003");
  1445. if (retval != "6")
  1446. {
  1447. return;
  1448. }
  1449. }
  1450. if (!frmf_isRequiredControls("cmb_orddrid", "ipt_trusthosppid"))
  1451. {
  1452. return false;
  1453. }
  1454. var iRowNo = ds_main_acptpat_acptpatlist.addRow();
  1455. dsf_makeValue(ds_main_acptpat_acptpatlist, "instcd", "string", sysf_getUserInfo("dutplceinstcd"), iRowNo);
  1456. dsf_makeValue(ds_main_acptpat_acptpatlist, "exlabcd", "string", ds_main_patinfo_patinfocnts.getColumn(0, "exlabcd"), iRowNo);
  1457. dsf_makeValue(ds_main_acptpat_acptpatlist, "exlabnm", "string", ds_init_coophosp_coophosplist.lookupExpr("coophospcd == '"+ds_main_patinfo_patinfocnts.getColumn(0, "exlabcd"), "coophospnm"), iRowNo);
  1458. dsf_makeValue(ds_main_acptpat_acptpatlist, "pid", "string", ds_main_patinfo_patinfocnts.getColumn(0, "pid"), iRowNo);
  1459. dsf_makeValue(ds_main_acptpat_acptpatlist, "patnm", "string", ds_main_patinfo_patinfocnts.getColumn(0, "patnm"), iRowNo);
  1460. dsf_makeValue(ds_main_acptpat_acptpatlist, "sex", "string", ds_main_patinfo_patinfocnts.getColumn(0, "sex"), iRowNo);
  1461. dsf_makeValue(ds_main_acptpat_acptpatlist, "age", "string", ds_main_patinfo_patinfocnts.getColumn(0, "age"), iRowNo);
  1462. dsf_makeValue(ds_main_acptpat_acptpatlist, "sexage", "string", ds_main_patinfo_patinfocnts.getColumn(0, "sex")+"/"+ds_main_patinfo_patinfocnts.getColumn(0, "age"), iRowNo);
  1463. dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno1", "string", ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno1"), iRowNo);
  1464. dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno2", "string", ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno2"), iRowNo);
  1465. dsf_makeValue(ds_main_acptpat_acptpatlist, "rrgstno", "string", ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno1")+"-"+ds_main_patinfo_patinfocnts.getColumn(0, "rrgstno2"), iRowNo);
  1466. dsf_makeValue(ds_main_acptpat_acptpatlist, "psptno", "string", ds_main_patinfo_patinfocnts.getColumn(0, "psptno"), iRowNo);
  1467. dsf_makeValue(ds_main_acptpat_acptpatlist, "bigo", "string", ds_main_patinfo_patinfocnts.getColumn(0, "bigo"), iRowNo);
  1468. dsf_makeValue(ds_main_acptpat_acptpatlist, "bizflagcd", "string", "2", iRowNo);
  1469. dsf_makeValue(ds_main_acptpat_acptpatlist, "orddrid", "string", ds_init.getColumn(0, "prcpdrid"), iRowNo);
  1470. dsf_makeValue(ds_main_acptpat_acptpatlist, "psptno", "string", ds_init_hospenv_hospenvinfo.getColumn(0, "plgydeptcd"), iRowNo);
  1471. dsf_makeValue(ds_main_acptpat_acptpatlist, "grotestsplgyid", "string", sysf_getUserInfo("userid"), iRowNo);
  1472. dsf_makeValue(ds_main_acptpat_acptpatlist, "suppkind", "string", ds_main_patinfo_patinfocnts.getColumn(0, "suppkind"), iRowNo);
  1473. dsf_makeValue(ds_main_acptpat_acptpatlist, "uncocd", "string", ds_main_patinfo_patinfocnts.getColumn(0, "uncocd"), iRowNo);
  1474. dsf_makeValue(ds_main_acptpat_acptpatlist, "trusthosppid", "string", ds_main_patinfo_patinfocnts.getColumn(0, "trusthosppid"), iRowNo);
  1475. }
  1476. function swt_trust_case_single_trv_prcpkind_oncellclick(obj:Grid, e:GridClickEventInfo)
  1477. {
  1478. fExePrcpKindClick();
  1479. }
  1480. function fExePrcpKindClick()
  1481. {
  1482. var sEarnCls1 = ds_init_prcpkind_prcpkindlist.getColumn(ds_init_prcpkind_prcpkindlist.rowposition, "earncls1");
  1483. var sEarnCls2 = ds_init_prcpkind_prcpkindlist.getColumn(ds_init_prcpkind_prcpkindlist.rowposition, "earncls2");
  1484. var sEarnCls3 = ds_init_prcpkind_prcpkindlist.getColumn(ds_init_prcpkind_prcpkindlist.rowposition, "earncls3");
  1485. var item = ds_init_prcpkind_prcpkindlist.getColumn(ds_init_prcpkind_prcpkindlist.rowposition, "lvl");
  1486. if (item != 2)
  1487. {
  1488. ds_send.clear();
  1489. ds_init_prcpcd_prcpcdlist.clearData();
  1490. ds_init_testinfo_testinfolist.clearData();
  1491. dsf_createDsRow("ds_send", [{col:"instcd", type:"STRING", size:256 , val : sysf_getUserInfo("dutplceinstcd")}
  1492. , {col:"earncls1", type:"STRING", size:256 , val : sEarnCls1}
  1493. , {col:"earncls2", type:"STRING", size:256 , val : sEarnCls2}
  1494. , {col:"earncls3", type:"STRING", size:256 , val : sEarnCls3}
  1495. , {col:"trustflagcd", type:"STRING", size:256 , val : "N"}
  1496. , {col:"bizflagcd", type:"STRING", size:256 , val : ""}]);
  1497. dsf_setFixVal(ds_send, "bizflagcd:0");
  1498. var oParam = {};
  1499. oParam.id = "TRLLJ00602";
  1500. oParam.service = "acptmngtapp.AcptMngt";
  1501. oParam.method = "reqGetPrcpCdListDiag";
  1502. oParam.inds = "refData=ds_send";
  1503. oParam.outds = "ds_init_prcpcd_prcpcdlist=reflist";
  1504. oParam.async = false;
  1505. //oParam.callback = "cf_TRLLJ00602";
  1506. tranf_submit(oParam);
  1507. }
  1508. }
  1509. ]]></Script>
  1510. </Form>
  1511. </FDL>