SPMMR08100_간질환.xfdl 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMMR08100" position="absolute 0 0 1210 1409" titletext="간질환 환자관리" onload="SPMMR08100_onload" oninit="SPMMR08100_oninit" scrollbars="fixedboth">
  5. <Layouts>
  6. <Layout>
  7. <Tab position="absolute 0 45 1185 1328" id="switch1">
  8. <Tabpages>
  9. <Tabpage id="case1" text="환자목록">
  10. <Layouts>
  11. <Layout>
  12. <Grid id="grd_liver" taborder="2" binddataset="ds_grd_liver" useinputpanel="false" oncelldblclick="switch1_case1_grd_liver_oncelldblclick" position="absolute 0 35 1180 1235">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="65"/>
  17. <Column size="60"/>
  18. <Column size="34"/>
  19. <Column size="70"/>
  20. <Column size="241"/>
  21. <Column size="190"/>
  22. <Column size="181"/>
  23. <Column size="303"/>
  24. </Columns>
  25. <Rows>
  26. <Row size="24" band="head"/>
  27. <Row size="24"/>
  28. </Rows>
  29. <Band id="head">
  30. <Cell text="환자번호"/>
  31. <Cell col="1" text="환자명"/>
  32. <Cell col="2" text="성별"/>
  33. <Cell col="3" text="생년월일"/>
  34. <Cell col="4" text="주진단명"/>
  35. <Cell col="5" text="부진단명"/>
  36. <Cell col="6" text="Study Name"/>
  37. <Cell col="7" text="COMMENT"/>
  38. </Band>
  39. <Band id="body" style="cellalign:left middle;">
  40. <Cell text="bind:pid"/>
  41. <Cell col="1" text="bind:hngnm"/>
  42. <Cell col="2" text="bind:sex"/>
  43. <Cell col="3" text="bind:brthdd" mask="####/##/##"/>
  44. <Cell col="4" text="bind:maindiagnm"/>
  45. <Cell col="5" text="bind:subdiagnm"/>
  46. <Cell col="6" text="bind:subnm"/>
  47. <Cell col="7" text="bind:comments"/>
  48. </Band>
  49. </Format>
  50. </Formats>
  51. </Grid>
  52. <Static id="ㅏ" text="구분 :" class="search_name" position="absolute 165 8 225 25"/>
  53. <Static id="caption15" text="주진단명 :" class="search_name" position="absolute 420 8 506 25"/>
  54. <Static id="caption16" text="부진단명 :" class="search_name" position="absolute 615 8 701 25"/>
  55. <Static id="caption17" text="등록일자 :" class="search_name" position="absolute 815 8 901 25"/>
  56. <Edit id="ipt_pid" taborder="3" position="absolute 90 10 160 29"/>
  57. <Radio id="radio2" taborder="4" columncount="4" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 225 6 420 26">
  58. <Dataset id="innerdataset">
  59. <ColumnInfo>
  60. <Column id="codecolumn"/>
  61. <Column id="datacolumn"/>
  62. </ColumnInfo>
  63. <Rows>
  64. <Row>
  65. <Col id="codecolumn">A</Col>
  66. <Col id="datacolumn">전체</Col>
  67. </Row>
  68. <Row>
  69. <Col id="codecolumn">I</Col>
  70. <Col id="datacolumn">입원</Col>
  71. </Row>
  72. <Row>
  73. <Col id="codecolumn">O</Col>
  74. <Col id="datacolumn">외래</Col>
  75. </Row>
  76. <Row>
  77. <Col id="codecolumn">E</Col>
  78. <Col id="datacolumn">응급</Col>
  79. </Row>
  80. </Rows>
  81. </Dataset>
  82. </Radio>
  83. <Edit id="input1" taborder="5" position="absolute 505 10 610 29"/>
  84. <Edit id="input2" taborder="6" position="absolute 700 10 810 29"/>
  85. <Calendar id="ipt_formrecdtfr" taborder="7" position="absolute 907 10 997 29"/>
  86. <Calendar id="ipt_formrecdtto" taborder="8" position="absolute 1015 10 1105 29"/>
  87. <Static id="caption18" text="환자번호 :" class="search_name" position="absolute 5 8 91 25"/>
  88. <Static id="caption21" text="~" position="absolute 1000 10 1015 30"/>
  89. <Button id="button3" taborder="9" text="조회" onclick="switch1_case1_button3_onclick" class="btn1" position="absolute 1115 8 1171 30"/>
  90. </Layout>
  91. </Layouts>
  92. </Tabpage>
  93. <Tabpage id="case2" text="상세보기">
  94. <Layouts>
  95. <Layout>
  96. <Div id="group1" taborder="1" position="absolute 30 250 1165 385">
  97. <Layouts>
  98. <Layout>
  99. <Grid id="grd_testresult1" taborder="1" binddataset="ds_grd_testresult1" useinputpanel="false" position="absolute 0 0 1135 45" onrbuttondown="switch1_case2_group1_grd_testresult1_onrbuttondown">
  100. <Formats>
  101. <Format id="default">
  102. <Columns>
  103. <Column size="85"/>
  104. <Column size="85"/>
  105. <Column size="85"/>
  106. <Column size="85"/>
  107. <Column size="85"/>
  108. <Column size="85"/>
  109. <Column size="85"/>
  110. <Column size="85"/>
  111. <Column size="85"/>
  112. <Column size="85"/>
  113. <Column size="85"/>
  114. <Column size="85"/>
  115. <Column size="96"/>
  116. </Columns>
  117. <Rows>
  118. <Row size="24" band="head"/>
  119. <Row size="24"/>
  120. </Rows>
  121. <Band id="head">
  122. <Cell text="항 목"/>
  123. <Cell col="1" text="WBC"/>
  124. <Cell col="2" text="RBC"/>
  125. <Cell col="3" text="Hb"/>
  126. <Cell col="4" text="Plt"/>
  127. <Cell col="5" text="ANC"/>
  128. <Cell col="6" text="AST(GOT)"/>
  129. <Cell col="7" text="ALT(GPT)"/>
  130. <Cell col="8" text="Alb"/>
  131. <Cell col="9" text="T. bil"/>
  132. <Cell col="10" text="ALP"/>
  133. <Cell col="11" text="GGT"/>
  134. <Cell col="12" text="PT(INR)"/>
  135. </Band>
  136. <Band id="body">
  137. <Cell style="align:left middle;" text="bind:bcolldt" mask="####-##-##"/>
  138. <Cell col="1" style="align:left middle;" text="bind:wbc"/>
  139. <Cell col="2" style="align:left middle;" text="bind:rbc"/>
  140. <Cell col="3" style="align:left middle;" text="bind:hb"/>
  141. <Cell col="4" style="align:left middle;" text="bind:plt"/>
  142. <Cell col="5" style="align:left middle;" text="bind:anc"/>
  143. <Cell col="6" style="align:left middle;" text="bind:ast"/>
  144. <Cell col="7" style="align:left middle;" text="bind:alt"/>
  145. <Cell col="8" style="align:left middle;" text="bind:alb"/>
  146. <Cell col="9" style="align:left middle;" text="bind:tbil"/>
  147. <Cell col="10" style="align:left middle;" text="bind:alp"/>
  148. <Cell col="11" style="align:left middle;" text="bind:ggt"/>
  149. <Cell col="12" style="align:left middle;" text="bind:pt"/>
  150. </Band>
  151. </Format>
  152. </Formats>
  153. </Grid>
  154. <Grid id="grd_testresult2" taborder="2" binddataset="ds_grd_testresult2" useinputpanel="false" position="absolute 0 45 1135 90">
  155. <Formats>
  156. <Format id="default">
  157. <Columns>
  158. <Column size="85"/>
  159. <Column size="85"/>
  160. <Column size="85"/>
  161. <Column size="85"/>
  162. <Column size="73"/>
  163. <Column size="70"/>
  164. <Column size="75"/>
  165. <Column size="69"/>
  166. <Column size="73"/>
  167. <Column size="101"/>
  168. <Column size="102"/>
  169. <Column size="116"/>
  170. <Column size="97"/>
  171. </Columns>
  172. <Rows>
  173. <Row size="24" band="head"/>
  174. <Row size="24"/>
  175. </Rows>
  176. <Band id="head">
  177. <Cell text="항 목"/>
  178. <Cell col="1" text="HBV -cop/ml"/>
  179. <Cell col="2" text="HBV -pg/ml"/>
  180. <Cell col="3" text="HBV -IU/ml"/>
  181. <Cell col="4" text="HBe Ag"/>
  182. <Cell col="5" text="HBe Ab"/>
  183. <Cell col="6" text="HBs Ag"/>
  184. <Cell col="7" text="HBs Ab"/>
  185. <Cell col="8" text="YMDD"/>
  186. <Cell col="9" text="HCV RNA 정량"/>
  187. <Cell col="10" text="HCV RNA 정성"/>
  188. <Cell col="11" text="HCV-genotyping"/>
  189. <Cell col="12" text="HCV Ab"/>
  190. </Band>
  191. <Band id="body" style="cellalign:left middle;">
  192. <Cell text="bind:bcolldt" mask="####-##-##"/>
  193. <Cell col="1" text="bind:hcop"/>
  194. <Cell col="2" text="bind:hpg"/>
  195. <Cell col="3" text="bind:hiu"/>
  196. <Cell col="4" text="bind:hbeag"/>
  197. <Cell col="5" text="bind:hbeab"/>
  198. <Cell col="6" text="bind:hbsag"/>
  199. <Cell col="7" text="bind:hbsab"/>
  200. <Cell col="8" text="bind:ymdd"/>
  201. <Cell col="9" text="bind:hcv1"/>
  202. <Cell col="10" text="bind:hcv2"/>
  203. <Cell col="11" text="bind:hcvg"/>
  204. <Cell col="12" text="bind:hcvab"/>
  205. </Band>
  206. </Format>
  207. </Formats>
  208. </Grid>
  209. <Grid id="grd_testresult3" taborder="3" binddataset="ds_grd_testresult3" useinputpanel="false" position="absolute 0 90 1135 135">
  210. <Formats>
  211. <Format id="default">
  212. <Columns>
  213. <Column size="83"/>
  214. <Column size="100"/>
  215. <Column size="100"/>
  216. <Column size="100"/>
  217. <Column size="100"/>
  218. </Columns>
  219. <Rows>
  220. <Row size="24" band="head"/>
  221. <Row size="24"/>
  222. </Rows>
  223. <Band id="head">
  224. <Cell text="항 목"/>
  225. <Cell col="1" text="AFP"/>
  226. <Cell col="2" text="PIVKA"/>
  227. <Cell col="3" text="CEA"/>
  228. <Cell col="4" text="CA 19-9"/>
  229. </Band>
  230. <Band id="body" style="cellalign:left middle;">
  231. <Cell text="bind:bcolldt" mask="####-##-##"/>
  232. <Cell col="1" text="bind:afp"/>
  233. <Cell col="2" text="bind:pivka"/>
  234. <Cell col="3" text="bind:cea"/>
  235. <Cell col="4" text="bind:ca"/>
  236. </Band>
  237. </Format>
  238. </Formats>
  239. </Grid>
  240. </Layout>
  241. </Layouts>
  242. </Div>
  243. <Static id="caption9" text="환 자 명 :" class="search_name" position="absolute 15 10 105 27"/>
  244. <Edit id="output1" taborder="2" readonly="true" position="absolute 100 9 170 28"/>
  245. <Edit id="output2" taborder="3" readonly="true" position="absolute 280 9 350 28"/>
  246. <Static id="caption1" text="환자번호 :" class="search_name" position="absolute 190 10 280 27"/>
  247. <Static id="caption3" text="주민등록 번호 :" class="search_name" position="absolute 370 10 487 27"/>
  248. <Edit id="output3" taborder="4" readonly="true" position="absolute 490 9 640 28"/>
  249. <Static id="caption4" text="성별/나이 :" class="search_name" position="absolute 665 10 782 27"/>
  250. <Edit id="output4" taborder="5" readonly="true" position="absolute 760 9 810 28"/>
  251. <Static id="caption5" text="연구 제목" class="search_name" position="absolute 15 115 132 132"/>
  252. <Grid id="datagrid1" taborder="6" binddataset="ds_datagrid1" useinputpanel="false" position="absolute 30 135 1165 225">
  253. <Formats>
  254. <Format id="default">
  255. <Columns>
  256. <Column size="1096"/>
  257. </Columns>
  258. <Rows>
  259. <Row size="24" band="head"/>
  260. <Row size="24"/>
  261. </Rows>
  262. <Band id="head">
  263. <Cell text="진행 중인 연구 제목 및 히스토리"/>
  264. </Band>
  265. <Band id="body">
  266. <Cell text="bind:subnm"/>
  267. </Band>
  268. </Format>
  269. </Formats>
  270. </Grid>
  271. <Static id="caption6" text="혈액학적 검사" class="search_name" position="absolute 15 230 132 247"/>
  272. <Static id="caption7" text="투약관리" class="search_name" position="absolute 15 395 132 412"/>
  273. <Grid id="grd_prcpinfo" taborder="7" binddataset="ds_grd_prcpinfo" useinputpanel="false" position="absolute 30 415 1165 615">
  274. <Formats>
  275. <Format id="default">
  276. <Columns>
  277. <Column size="0"/>
  278. <Column size="156"/>
  279. <Column size="100"/>
  280. <Column size="100"/>
  281. <Column size="757"/>
  282. </Columns>
  283. <Rows>
  284. <Row size="24" band="head"/>
  285. <Row size="24"/>
  286. </Rows>
  287. <Band id="head">
  288. <Cell text="처방코드"/>
  289. <Cell col="1" text="항바이러스제"/>
  290. <Cell col="2" text="시작일자"/>
  291. <Cell col="3" text="종료일자"/>
  292. <Cell col="4" text="LMC 추가기록"/>
  293. </Band>
  294. <Band id="body" style="cellalign:left middle;">
  295. <Cell text="bind:prcpcd"/>
  296. <Cell col="1" style="align:left middle;" text="bind:engnm"/>
  297. <Cell col="2" text="bind:startdd" mask="####/##/##"/>
  298. <Cell col="3" text="bind:enddd" mask="####/##/##"/>
  299. <Cell col="4" displaytype="text" edittype="text" text="bind:lmc"/>
  300. </Band>
  301. </Format>
  302. </Formats>
  303. </Grid>
  304. <Grid id="grd_sisul" taborder="8" binddataset="ds_grd_sisul" useinputpanel="false" position="absolute 30 920 1165 1045">
  305. <Formats>
  306. <Format id="default">
  307. <Columns>
  308. <Column size="0"/>
  309. <Column size="100"/>
  310. <Column size="100"/>
  311. <Column size="913"/>
  312. </Columns>
  313. <Rows>
  314. <Row size="24" band="head"/>
  315. <Row size="24"/>
  316. </Rows>
  317. <Band id="head">
  318. <Cell text="하드코드번호"/>
  319. <Cell col="1" text="시술관리"/>
  320. <Cell col="2" text="시행일"/>
  321. <Cell col="3" text="결과"/>
  322. </Band>
  323. <Band id="body" style="cellalign:left middle;">
  324. <Cell text="bind:cdseqno"/>
  325. <Cell col="1" text="bind:name"/>
  326. <Cell col="2" text="bind:excuexectodd" mask="####/##/##"/>
  327. <Cell col="3" text="bind:conclusion"/>
  328. </Band>
  329. </Format>
  330. </Formats>
  331. </Grid>
  332. <Grid id="grd_film" taborder="9" binddataset="ds_grd_film" useinputpanel="false" position="absolute 30 1080 1165 1230" oncelldblclick="switch1_case2_grd_film_oncelldblclick">
  333. <Formats>
  334. <Format id="default">
  335. <Columns>
  336. <Column size="0"/>
  337. <Column size="100"/>
  338. <Column size="100"/>
  339. <Column size="913"/>
  340. </Columns>
  341. <Rows>
  342. <Row size="24" band="head"/>
  343. <Row size="24"/>
  344. </Rows>
  345. <Band id="head">
  346. <Cell text="하드코드번호"/>
  347. <Cell col="1" text="영상관리"/>
  348. <Cell col="2" text="시행일"/>
  349. <Cell col="3" text="결과"/>
  350. </Band>
  351. <Band id="body" style="cellalign:left middle;">
  352. <Cell text="bind:cdseqno"/>
  353. <Cell col="1" text="bind:name"/>
  354. <Cell col="2" text="bind:excuexectodd" mask="####/##/##"/>
  355. <Cell col="3" text="bind:conclusion"/>
  356. </Band>
  357. </Format>
  358. </Formats>
  359. </Grid>
  360. <Button id="btn_prcp" taborder="10" text="저장" onclick="switch1_case2_btn_prcp_onclick" class="btn2_letter2" position="absolute 1122 388 1164 407"/>
  361. <Static id="caption8" text="항암제관리" class="search_name" position="absolute 15 625 132 642"/>
  362. <Grid id="grd_anticancer" taborder="11" binddataset="ds_grd_anticancer" useinputpanel="false" position="absolute 30 645 1165 895">
  363. <Formats>
  364. <Format id="default">
  365. <Columns>
  366. <Column size="0"/>
  367. <Column size="156"/>
  368. <Column size="100"/>
  369. <Column size="100"/>
  370. <Column size="757"/>
  371. </Columns>
  372. <Rows>
  373. <Row size="24" band="head"/>
  374. <Row size="24"/>
  375. </Rows>
  376. <Band id="head">
  377. <Cell text="처방코드"/>
  378. <Cell col="1" text="항암제"/>
  379. <Cell col="2" text="시작일자"/>
  380. <Cell col="3" text="종료일자"/>
  381. <Cell col="4" text="LMC 추가기록"/>
  382. </Band>
  383. <Band id="body" style="cellalign:left middle;">
  384. <Cell text="bind:prcpcd"/>
  385. <Cell col="1" style="align:left middle;" text="bind:engnm"/>
  386. <Cell col="2" text="bind:startdd" mask="####/##/##"/>
  387. <Cell col="3" text="bind:enddd" mask="####/##/##"/>
  388. <Cell col="4" displaytype="text" edittype="text" text="bind:lmc"/>
  389. </Band>
  390. </Format>
  391. </Formats>
  392. </Grid>
  393. <Static id="caption10" text="시술관리" class="search_name" position="absolute 15 900 132 917"/>
  394. <Static id="caption11" text="영상관리" class="search_name" position="absolute 15 1055 132 1072"/>
  395. <Button id="btn_anticancer" taborder="12" text="저장" onclick="switch1_case2_btn_anticancer_onclick" class="btn2_letter2" position="absolute 1122 623 1164 642"/>
  396. <Static id="caption12" text="환자 Comment" class="search_name" position="absolute 15 35 160 52"/>
  397. <TextArea id="comment" taborder="13" position="absolute 32 55 1165 115" oneditclick="switch1_case2_comment_oneditclick"/>
  398. <Button id="btn_comment" taborder="14" text="저장" onclick="switch1_case2_btn_comment_onclick" class="btn2_letter2" position="absolute 1120 30 1162 49"/>
  399. </Layout>
  400. </Layouts>
  401. </Tabpage>
  402. </Tabpages>
  403. </Tab>
  404. <Static text="간질환 환자관리" position="absolute 0 0 204 14" id="caption2" class="tit_1"/>
  405. <PopupMenu id="pmn_menu" innerdataset="@ds_gridsize" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="switch1_case2_group1_pmn_menu_onmenuclick" position="absolute 1216 3 1271 46"/>
  406. </Layout>
  407. </Layouts>
  408. <Objects>
  409. <Dataset id="ds_grd_liver" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  410. <ColumnInfo>
  411. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  412. <Column id="hngnm" type="STRING" size="256" sumtext="환자성명"/>
  413. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  414. <Column id="brthdd" type="STRING" size="256" sumtext="생년월일"/>
  415. <Column id="maindiagnm" type="STRING" size="256" sumtext="주진단"/>
  416. <Column id="subdiagnm" type="STRING" size="256" sumtext="부진단"/>
  417. <Column id="subnm" type="STRING" size="256" sumtext="스터디명"/>
  418. <Column id="comments" type="STRING" size="256" sumtext="커멘트"/>
  419. </ColumnInfo>
  420. </Dataset>
  421. <Dataset id="ds_grd_testresult1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  422. <ColumnInfo>
  423. <Column id="bcolldt" type="STRING" size="256" sumtext="bcolldt"/>
  424. <Column id="wbc" type="STRING" size="256" sumtext="wbc"/>
  425. <Column id="rbc" type="STRING" size="256" sumtext="rbc"/>
  426. <Column id="hb" type="STRING" size="256" sumtext="hb"/>
  427. <Column id="plt" type="STRING" size="256" sumtext="plt"/>
  428. <Column id="anc" type="STRING" size="256" sumtext="anc"/>
  429. <Column id="ast" type="STRING" size="256" sumtext="ast(GOT)"/>
  430. <Column id="alt" type="STRING" size="256" sumtext="alt(GPT)"/>
  431. <Column id="alb" type="STRING" size="256" sumtext="alb"/>
  432. <Column id="tbil" type="STRING" size="256" sumtext="T.bil"/>
  433. <Column id="alp" type="STRING" size="256" sumtext="alp"/>
  434. <Column id="ggt" type="STRING" size="256" sumtext="ggt"/>
  435. <Column id="pt" type="STRING" size="256" sumtext="pt(INR)"/>
  436. </ColumnInfo>
  437. </Dataset>
  438. <Dataset id="ds_grd_testresult2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  439. <ColumnInfo>
  440. <Column id="bcolldt" type="STRING" size="256" sumtext="bcolldt"/>
  441. <Column id="hcop" type="STRING" size="256" sumtext="hcop"/>
  442. <Column id="hpg" type="STRING" size="256" sumtext="hpg"/>
  443. <Column id="hiu" type="STRING" size="256" sumtext="hiu"/>
  444. <Column id="hbeag" type="STRING" size="256" sumtext="hbeag"/>
  445. <Column id="hbeab" type="STRING" size="256" sumtext="hbeab"/>
  446. <Column id="hbsag" type="STRING" size="256" sumtext="hbsag"/>
  447. <Column id="hbsab" type="STRING" size="256" sumtext="hbsab"/>
  448. <Column id="ymdd" type="STRING" size="256" sumtext="ymdd"/>
  449. <Column id="hcv1" type="STRING" size="256" sumtext="hcv1"/>
  450. <Column id="hcv2" type="STRING" size="256" sumtext="hcv2"/>
  451. <Column id="hcvg" type="STRING" size="256" sumtext="hcvg"/>
  452. <Column id="hcvab" type="STRING" size="256" sumtext="hcvab"/>
  453. </ColumnInfo>
  454. </Dataset>
  455. <Dataset id="ds_grd_testresult3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  456. <ColumnInfo>
  457. <Column id="bcolldt" type="STRING" size="256" sumtext="bcolldt"/>
  458. <Column id="afp" type="STRING" size="256" sumtext="afp"/>
  459. <Column id="pivka" type="STRING" size="256" sumtext="pivka"/>
  460. <Column id="cea" type="STRING" size="256" sumtext="cea"/>
  461. <Column id="ca" type="STRING" size="256" sumtext="ca"/>
  462. </ColumnInfo>
  463. </Dataset>
  464. <Dataset id="ds_datagrid1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  465. <ColumnInfo>
  466. <Column id="subnm" type="STRING"/>
  467. </ColumnInfo>
  468. </Dataset>
  469. <Dataset id="ds_grd_prcpinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  470. <ColumnInfo>
  471. <Column id="prcpcd" type="STRING" size="256" sumtext="prcpcd"/>
  472. <Column id="engnm" type="STRING" size="256" sumtext="engnm"/>
  473. <Column id="startdd" type="STRING" size="256" sumtext="startdd"/>
  474. <Column id="enddd" type="STRING" size="256" sumtext="enddd"/>
  475. <Column id="lmc" type="STRING" size="256" sumtext=""/>
  476. </ColumnInfo>
  477. </Dataset>
  478. <Dataset id="ds_grd_sisul" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  479. <ColumnInfo>
  480. <Column id="cdseqno" type="STRING" size="256" sumtext="cdseqno"/>
  481. <Column id="name" type="STRING" size="256" sumtext="name"/>
  482. <Column id="excuexectodd" type="STRING" size="256" sumtext="excuexectodd"/>
  483. <Column id="conclusion" type="STRING" size="256" sumtext="conclusion"/>
  484. </ColumnInfo>
  485. </Dataset>
  486. <Dataset id="ds_grd_film" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  487. <ColumnInfo>
  488. <Column id="cdseqno" type="STRING" size="256" sumtext="cdseqno"/>
  489. <Column id="name" type="STRING" size="256" sumtext="name"/>
  490. <Column id="excuexectodd" type="STRING" size="256" sumtext="excuexectodd"/>
  491. <Column id="conclusion" type="STRING" size="256" sumtext="conclusion"/>
  492. </ColumnInfo>
  493. </Dataset>
  494. <Dataset id="ds_grd_anticancer" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  495. <ColumnInfo>
  496. <Column id="prcpcd" type="STRING" size="256" sumtext="prcpcd"/>
  497. <Column id="engnm" type="STRING" size="256" sumtext="engnm"/>
  498. <Column id="startdd" type="STRING" size="256" sumtext="startdd"/>
  499. <Column id="enddd" type="STRING" size="256" sumtext="enddd"/>
  500. <Column id="lmc" type="STRING" size="256" sumtext=""/>
  501. </ColumnInfo>
  502. </Dataset>
  503. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  504. <ColumnInfo>
  505. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  506. <Column id="ioflag" type="STRING" size="256" sumtext="수진구분"/>
  507. <Column id="mdiag" type="STRING" size="256" sumtext="주진단명"/>
  508. <Column id="sdiag" type="STRING" size="256" sumtext="부진단명"/>
  509. <Column id="sdate" type="STRING" size="256" sumtext="등록일 시작"/>
  510. <Column id="tdate" type="STRING" size="256" sumtext="등록일 종료"/>
  511. <Column id="recflag" type="STRING" size="256" sumtext="간질환환자관리 플래그"/>
  512. </ColumnInfo>
  513. <Rows>
  514. <Row>
  515. <Col id="ioflag">[Undefined]</Col>
  516. <Col id="recflag">[Undefined]</Col>
  517. </Row>
  518. </Rows>
  519. </Dataset>
  520. <Dataset id="ds_patdetail_pat" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  521. <ColumnInfo>
  522. <Column id="hngnm" type="STRING" size="256" sumtext="환자name"/>
  523. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  524. <Column id="jumin" type="STRING" size="256" sumtext="주민번호"/>
  525. <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
  526. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  527. <Column id="orddd" type="STRING" size="256" sumtext="수진일"/>
  528. <Column id="cretno" type="STRING" size="256" sumtext="원무생성키"/>
  529. <Column id="chosflag" type="STRING" size="256" sumtext="수진구분"/>
  530. </ColumnInfo>
  531. <Rows>
  532. <Row/>
  533. </Rows>
  534. </Dataset>
  535. <Dataset id="ds_patdetail_subject" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  536. <ColumnInfo>
  537. <Column id="subnm" type="STRING" size="256" sumtext="연구제목"/>
  538. </ColumnInfo>
  539. </Dataset>
  540. <Dataset id="ds_send_pid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  541. <ColumnInfo>
  542. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  543. </ColumnInfo>
  544. <Rows>
  545. <Row/>
  546. </Rows>
  547. </Dataset>
  548. <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  549. <ColumnInfo>
  550. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  551. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  552. <Column id="orddd" type="STRING" size="256" sumtext="수진일"/>
  553. <Column id="cretno" type="STRING" size="256" sumtext="원무생성번호"/>
  554. <Column id="chosflag" type="STRING" size="256" sumtext="수진형태"/>
  555. <Column id="recflag" type="STRING" size="256" sumtext="기록구분"/>
  556. <Column id="itemcd" type="STRING" size="256" sumtext="아이템코드"/>
  557. <Column id="itemval1" type="CLOB" size="256" sumtext="아이템벨류"/>
  558. <Column id="fstrgstrid" type="STRING" size="256" sumtext=""/>
  559. <Column id="lastupdtrid" type="STRING" size="256" sumtext=""/>
  560. </ColumnInfo>
  561. <Rows>
  562. <Row/>
  563. </Rows>
  564. </Dataset>
  565. <Dataset id="ds_patdetail_comments" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  566. <ColumnInfo>
  567. <Column id="comments" type="STRING" size="256"/>
  568. </ColumnInfo>
  569. <Rows>
  570. <Row/>
  571. </Rows>
  572. </Dataset>
  573. <Dataset id="ds_gridsize" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  574. <ColumnInfo>
  575. <Column id="label" type="STRING" size="256"/>
  576. <Column id="func" type="STRING" size="256"/>
  577. <Column id="level" type="STRING" size="256"/>
  578. </ColumnInfo>
  579. <Rows>
  580. <Row>
  581. <Col id="label">확장</Col>
  582. <Col id="func">fExpandGrid</Col>
  583. <Col id="level">0</Col>
  584. </Row>
  585. <Row>
  586. <Col id="label">축소</Col>
  587. <Col id="func">fShortenGrid</Col>
  588. <Col id="level">0</Col>
  589. </Row>
  590. </Rows>
  591. </Dataset>
  592. </Objects>
  593. <Bind>
  594. <BindItem id="item0" compid="switch1.case1.ipt_formrecdtfr" propid="value" datasetid="ds_main_cond" columnid="sdate"/>
  595. <BindItem id="item1" compid="switch1.case1.ipt_formrecdtto" propid="value" datasetid="ds_main_cond" columnid="tdate"/>
  596. <BindItem id="item2" compid="switch1.case1.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  597. <BindItem id="item3" compid="switch1.case1.radio2" propid="value" datasetid="ds_main_cond" columnid="ioflag"/>
  598. <BindItem id="item4" compid="switch1.case1.input1" propid="value" datasetid="ds_main_cond" columnid="mdiag"/>
  599. <BindItem id="item5" compid="switch1.case1.input2" propid="value" datasetid="ds_main_cond" columnid="sdiag"/>
  600. <BindItem id="item6" compid="switch1.case2.output1" propid="value" datasetid="ds_patdetail_pat" columnid="hngnm"/>
  601. <BindItem id="item7" compid="switch1.case2.output2" propid="value" datasetid="ds_patdetail_pat" columnid="pid"/>
  602. <BindItem id="item8" compid="switch1.case2.output3" propid="value" datasetid="ds_patdetail_pat" columnid="jumin"/>
  603. <BindItem id="item9" compid="switch1.case2.output4" propid="value" datasetid="ds_patdetail_pat" columnid="sa"/>
  604. <BindItem id="item10" compid="switch1.case2.datagrid1" propid="binddataset" datasetid="ds_patdetail_subject" columnid="subnm"/>
  605. <BindItem id="item11" compid="switch1.case2.group1.grd_testresult1" propid="binddataset" datasetid="ds_grd_testresult1" columnid=""/>
  606. <BindItem id="item12" compid="switch1.case2.comment" propid="value" datasetid="ds_patdetail_comments" columnid="comments"/>
  607. <BindItem id="item13" compid="switch1.case2.comment" propid="bindgestureset" datasetid="ds_patdetail_comments" columnid="comments"/>
  608. </Bind>
  609. <InitValue/>
  610. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  611. * System Name :
  612. * Job Name :
  613. * Creator :
  614. * Make Date : 2014-12-10
  615. * Description :
  616. *---------------------------------------------------------------------------------------
  617. * Modify Date Modifier Modify Description
  618. *---------------------------------------------------------------------------------------
  619. * 2014-12-10 Live Converter TF->XP
  620. *
  621. *---------------------------------------------------------------------------------------
  622. ****************************************************************************************/
  623. include "com_commonxp::comm_main.xjs"
  624. function SPMMR08100_oninit(obj:Form, e:InitEventInfo)
  625. {
  626. frmf_initForm(obj); // 폼 초기화
  627. }
  628. function SPMMR08100_onload(obj:Form, e:LoadEventInfo)
  629. {
  630. finitialize();
  631. }
  632. function finitialize()
  633. {
  634. var vNowDD = utlf_getCurrentDate();
  635. ds_main_cond.setColumn(0,"sdate",vNowDD);
  636. ds_main_cond.setColumn(0,"tdate",vNowDD);
  637. ds_main_cond.setColumn(0,"ioflag","O");
  638. ds_main_cond.setColumn(0,"recflag","3");
  639. fsearch();
  640. }
  641. function fsearch()
  642. {
  643. /*
  644. var sdate = ds_main_cond.getColumn(0,"sdate");
  645. var tdate = ds_main_cond.getColumn(0,"tdate");
  646. if(sdate !="" && tdate =="" || sdate =="" && tdate !=""){
  647. alert("등록일자를 정확히 입력해주세요.");
  648. }else{
  649. alert("검색 조건을 한가지라도 입력하세요.");
  650. }
  651. */
  652. var oParam = {};
  653. oParam.id = "TRMMR08100";
  654. oParam.service = "medirecapp.ComnMediRec";
  655. oParam.method = "reqGetLiver";
  656. oParam.inds = "req=ds_main_cond";
  657. oParam.outds = "ds_grd_liver=item";
  658. oParam.async = false;
  659. tranf_submit(oParam);
  660. }
  661. function switch1_case1_button3_onclick(obj:Button, e:ClickEventInfo)
  662. {
  663. fsearch();
  664. }
  665. function switch1_case1_grd_liver_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  666. {
  667. var rowpos = ds_grd_liver.rowposition;
  668. var pid = ds_grd_liver.getColumn(rowpos,"pid");
  669. var comments = ds_grd_liver.getColumn(rowpos,"comments");
  670. if(!utlf_isNull(pid)){
  671. ds_send_pid.setColumn(0,"pid",pid);
  672. var oParam = {};
  673. oParam.id = "TRMMR08103";
  674. oParam.service = "medirecapp.ComnMediRec";
  675. oParam.method = "reqGetLiverPat";
  676. oParam.inds = "req=ds_send_pid";
  677. oParam.outds = "ds_patdetail_pat=pat ds_patdetail_subject=sub ds_grd_testresult1=test1 ds_grd_testresult2=test2 ds_grd_testresult3=test3 ds_grd_prcpinfo=prcpinfo ds_grd_anticancer=anticancerinfo ds_grd_film=filminfo ds_grd_sisul=sisulinfo";
  678. oParam.async = false;
  679. tranf_submit(oParam);
  680. ds_patdetail_comments.setColumn(0,"comments",comments);
  681. switch1.tabindex = 1;
  682. }
  683. }
  684. function switch1_case2_btn_comment_onclick(obj:Button, e:ClickEventInfo)
  685. {
  686. fSave("btn_comment");
  687. }
  688. function switch1_case2_btn_prcp_onclick(obj:Button, e:ClickEventInfo)
  689. {
  690. fSave("btn_prcp");
  691. }
  692. function switch1_case2_btn_anticancer_onclick(obj:Button, e:ClickEventInfo)
  693. {
  694. fSave("btn_anticancer");
  695. }
  696. function fSave(btn_nm){
  697. var instcd = "";
  698. var pid = "";
  699. var orddd = "";
  700. var cretno = "";
  701. var chosflag = "";
  702. var recflag = "";
  703. var itemcd = "";
  704. var itemval1 = "";
  705. var userid = "";
  706. if(btn_nm=="btn_prcp"){
  707. var rowcount = ds_grd_prcpinfo.rowcount;
  708. ds_send_savedata.clearData();
  709. for(i=0; i<rowcount; i++){
  710. instcd = ds_patdetail_pat.getColumn(0,"instcd");
  711. pid = ds_patdetail_pat.getColumn(0,"pid");
  712. orddd = ds_patdetail_pat.getColumn(0,"orddd");
  713. cretno = ds_patdetail_pat.getColumn(0,"cretno");
  714. chosflag = ds_patdetail_pat.getColumn(0,"chosflag");
  715. recflag = "3";
  716. itemcd = ds_grd_prcpinfo.getColumn(i,"prcpcd");
  717. itemval1 = ds_grd_prcpinfo.getColumn(i,"lmc");
  718. userid = sysf_getUserInfo("userid");
  719. ds_send_savedata.addRow();
  720. ds_send_savedata.setColumn(i,"instcd",instcd);
  721. ds_send_savedata.setColumn(i,"pid",pid);
  722. ds_send_savedata.setColumn(i,"orddd",orddd);
  723. ds_send_savedata.setColumn(i,"cretno",cretno);
  724. ds_send_savedata.setColumn(i,"chosflag",chosflag);
  725. ds_send_savedata.setColumn(i,"recflag",recflag);
  726. ds_send_savedata.setColumn(i,"itemcd",itemcd);
  727. ds_send_savedata.setColumn(i,"itemval1",itemval1);
  728. ds_send_savedata.setColumn(i,"fstrgstrid",userid);
  729. ds_send_savedata.setColumn(i,"lastupdtrid",userid);
  730. }
  731. }else if(btn_nm=="btn_anticancer"){
  732. var rowcount = ds_grd_anticancer.rowcount;
  733. ds_send_savedata.clearData();
  734. for(i=0; i<rowcount; i++){
  735. instcd = ds_patdetail_pat.getColumn(0,"instcd");
  736. pid = ds_patdetail_pat.getColumn(0,"pid");
  737. orddd = ds_patdetail_pat.getColumn(0,"orddd");
  738. cretno = ds_patdetail_pat.getColumn(0,"cretno");
  739. chosflag = ds_patdetail_pat.getColumn(0,"chosflag");
  740. recflag = "3";
  741. itemcd = ds_grd_anticancer.getColumn(i,"prcpcd");
  742. itemval1 = ds_grd_anticancer.getColumn(i,"lmc");
  743. userid = sysf_getUserInfo("userid");
  744. ds_send_savedata.addRow();
  745. ds_send_savedata.setColumn(i,"instcd",instcd);
  746. ds_send_savedata.setColumn(i,"pid",pid);
  747. ds_send_savedata.setColumn(i,"orddd",orddd);
  748. ds_send_savedata.setColumn(i,"cretno",cretno);
  749. ds_send_savedata.setColumn(i,"chosflag",chosflag);
  750. ds_send_savedata.setColumn(i,"recflag",recflag);
  751. ds_send_savedata.setColumn(i,"itemcd",itemcd);
  752. ds_send_savedata.setColumn(i,"itemval1",itemval1);
  753. ds_send_savedata.setColumn(i,"fstrgstrid",userid);
  754. ds_send_savedata.setColumn(i,"lastupdtrid",userid);
  755. }
  756. }else if(btn_nm=="btn_comment"){
  757. var instcd = ds_patdetail_pat.getColumn(0,"instcd");
  758. var pid = ds_patdetail_pat.getColumn(0,"pid");
  759. var orddd = ds_patdetail_pat.getColumn(0,"orddd");
  760. var cretno = ds_patdetail_pat.getColumn(0,"cretno");
  761. var chosflag = ds_patdetail_pat.getColumn(0,"chosflag");
  762. var recflag = "3";
  763. var itemcd = "comments";
  764. var itemval1 = ds_patdetail_comments.getColumn(0,"comments");
  765. var userid = sysf_getUserInfo("userid");
  766. ds_send_savedata.setColumn(0,"instcd",instcd);
  767. ds_send_savedata.setColumn(0,"pid",pid);
  768. ds_send_savedata.setColumn(0,"orddd",orddd);
  769. ds_send_savedata.setColumn(0,"cretno",cretno);
  770. ds_send_savedata.setColumn(0,"chosflag",chosflag);
  771. ds_send_savedata.setColumn(0,"recflag",recflag);
  772. ds_send_savedata.setColumn(0,"itemcd",itemcd);
  773. ds_send_savedata.setColumn(0,"itemval1",itemval1);
  774. ds_send_savedata.setColumn(0,"fstrgstrid",userid);
  775. ds_send_savedata.setColumn(0,"lastupdtrid",userid);
  776. }
  777. var oParam = {};
  778. oParam.id = "TXMMO08102";
  779. oParam.service = "medirecapp.ComnMediRec";
  780. oParam.method = "reqSaveLmc";
  781. oParam.inds = "req=ds_send_savedata";
  782. oParam.outds = "null";
  783. oParam.async = false;
  784. //oParam.callback = "cf_TXMMO08102";
  785. tranf_submit(oParam);
  786. }
  787. function switch1_case2_grd_film_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  788. {
  789. var rowpos = ds_grd_film.rowposition;
  790. var pid = ds_patdetail_pat.getColumn(0,"pid");
  791. var cdseqno = ds_grd_film.getColumn(rowpos,"cdseqno");
  792. frmf_setParameter("sisul_cdseqno", "");
  793. frmf_setParameter("film_cdseqno", cdseqno);
  794. frmf_setParameter("film_pid", pid);
  795. frmf_open("SPMMR08200", "SPMMR08200", null, null, null, null, null, null, null, null, null, null, "M");
  796. }
  797. //검색조건 체크
  798. function fCheck(){
  799. var pid = ds_main_cond.getColumn(0,"pid");
  800. var ioflag = ds_main_cond.getColumn(0,"ioflag");
  801. var mdiag = ds_main_cond.getColumn(0,"mdiag");
  802. var sdiag = ds_main_cond.getColumn(0,"sdiag");
  803. var sdate = ds_main_cond.getColumn(0,"sdate");
  804. var tdate = ds_main_cond.getColumn(0,"tdate");
  805. if(pid=="" && ioflag=="" && mdiag=="" && sdiag=="" && sdate=="" && tdate==""){
  806. return true;
  807. }else if(sdate !="" && tdate =="" || sdate =="" && tdate !=""){
  808. return true;
  809. }else{
  810. return false;
  811. }
  812. }
  813. function switch1_case2_group1_grd_testresult1_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  814. {
  815. if(e.row < 0 || e.col < 0) return;
  816. grdf_setSelectedCell(obj, e);
  817. pmn_menu.trackPopup(e.screenX,e.screenY);
  818. }
  819. function switch1_case2_group1_pmn_menu_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  820. {
  821. eval(e.id + "()");
  822. }
  823. ]]></Script>
  824. </Form>
  825. </FDL>