SMASB00100_병동재원환자조회.xfdl 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMASB00100" position="absolute 0 0 1197 789" titletext="병동재원환자조회" oninit="SMASB00100_oninit" onload="SMASB00100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="병동재원환자조회" class="tit_1" position="absolute 0 0 258 25"/>
  8. <Button id="btn_print" taborder="1" text="출력" class="btn6" position="absolute 0 762 56 784"/>
  9. <Button id="btn_init" taborder="2" text="초기화" class="btn4" position="absolute 1123 762 1191 784" anchor="right bottom" onclick="btn_init_onclick"/>
  10. <ActiveX id="tfexcel" visible="false" position="absolute 860 33 1070 58" progid="{fe8d1001-6a9d-424d-ae2a-301493bb12da}" useautobitmapcache="1" taborder="3"/>
  11. <Button id="btn_excel" taborder="4" text="엑셀" class="btn7" position="absolute 1142 73 1192 92" anchor="top right" onclick="btn_excel_onclick"/>
  12. <Grid id="grd_chngroomlist" class="datagrid2" taborder="5" binddataset="ds_main_chngroominfo_chngroomlist" useinputpanel="false" position="absolute 816 437 1191 758" autoenter="select" cellsizingtype="both" anchor="all" tooltiptype="hover" cellsizebandtype="allband" extendsizetype="row">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="22" band="left"/>
  17. <Column size="63"/>
  18. <Column size="70"/>
  19. <Column size="45"/>
  20. <Column size="87"/>
  21. <Column size="87"/>
  22. <Column size="50"/>
  23. <Column size="80"/>
  24. <Column size="0"/>
  25. <Column size="350"/>
  26. <Column size="64"/>
  27. <Column size="84"/>
  28. <Column size="87"/>
  29. <Column size="37"/>
  30. <Column size="118"/>
  31. </Columns>
  32. <Rows>
  33. <Row size="28" band="head"/>
  34. <Row size="24"/>
  35. </Rows>
  36. <Band id="head">
  37. <Cell/>
  38. <Cell col="1" text="등록번호"/>
  39. <Cell col="2" text="성명"/>
  40. <Cell col="3" text="S/A"/>
  41. <Cell col="4" text="FROM"/>
  42. <Cell col="5" text="TO"/>
  43. <Cell col="6" text="진료과"/>
  44. <Cell col="7" text="주치의"/>
  45. <Cell col="8" text="진단코드"/>
  46. <Cell col="9" text="진단명"/>
  47. <Cell col="10" text="재원기간"/>
  48. <Cell col="11" text="입원일자"/>
  49. <Cell col="12" text="수술일자"/>
  50. <Cell col="13" text="퇴원&#10;통보"/>
  51. <Cell col="14" text="보험유형"/>
  52. </Band>
  53. <Band id="body">
  54. <Cell celltype="head" expr="expr:currow+1"/>
  55. <Cell col="1" text="bind:pid" tooltiptext="bind:pid"/>
  56. <Cell col="2" text="bind:name" tooltiptext="bind:name"/>
  57. <Cell col="3" text="bind:sa" tooltiptext="bind:sa"/>
  58. <Cell col="4" text="bind:roomcd" tooltiptext="bind:roomcd"/>
  59. <Cell col="5" text="bind:chngroomcd" tooltiptext="bind:chngroomcd"/>
  60. <Cell col="6" text="bind:orddeptcd" tooltiptext="bind:orddeptcd"/>
  61. <Cell col="7" text="bind:orddr" tooltiptext="bind:orddr"/>
  62. <Cell col="8" text="bind:diagcd"/>
  63. <Cell col="9" text="bind:diagnm" tooltiptext="bind:diagnm"/>
  64. <Cell col="10" text="bind:inhospterm" tooltiptext="bind:inhospterm"/>
  65. <Cell col="11" displaytype="date" text="bind:indd" calendardisplaynulltype="nulltext" tooltiptext="bind:indd"/>
  66. <Cell col="12" displaytype="date" text="bind:opdd" calendardisplaynulltype="nulltext" tooltiptext="bind:opdd"/>
  67. <Cell col="13" text="bind:dschnotiyn" tooltiptext="bind:dschnotiyn"/>
  68. <Cell col="14" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_init_insukind_P0008" combocodecol="cdid" combodatacol="cdnm" tooltiptext="bind:insukind" enable="false"/>
  69. </Band>
  70. </Format>
  71. </Formats>
  72. </Grid>
  73. <Grid id="grd_inrmlist" class="datagrid2" taborder="6" binddataset="ds_main_inrminfo_inrmlist" useinputpanel="false" position="absolute 430 437 805 758" autoenter="select" cellsizingtype="both" anchor="left top bottom" tooltiptype="hover" cellsizebandtype="allband" extendsizetype="row">
  74. <Formats>
  75. <Format id="default">
  76. <Columns>
  77. <Column size="22" band="left"/>
  78. <Column size="63"/>
  79. <Column size="70"/>
  80. <Column size="45"/>
  81. <Column size="87"/>
  82. <Column size="87"/>
  83. <Column size="50"/>
  84. <Column size="80"/>
  85. <Column size="0"/>
  86. <Column size="350"/>
  87. <Column size="64"/>
  88. <Column size="84"/>
  89. <Column size="87"/>
  90. <Column size="37"/>
  91. <Column size="118"/>
  92. </Columns>
  93. <Rows>
  94. <Row size="29" band="head"/>
  95. <Row size="24"/>
  96. </Rows>
  97. <Band id="head">
  98. <Cell/>
  99. <Cell col="1" text="등록번호"/>
  100. <Cell col="2" text="성명"/>
  101. <Cell col="3" text="S/A"/>
  102. <Cell col="4" text="FROM"/>
  103. <Cell col="5" text="TO"/>
  104. <Cell col="6" text="진료과"/>
  105. <Cell col="7" text="주치의"/>
  106. <Cell col="8" text="진단코드"/>
  107. <Cell col="9" text="진단명"/>
  108. <Cell col="10" text="재원기간"/>
  109. <Cell col="11" text="입원일자"/>
  110. <Cell col="12" text="수술일자"/>
  111. <Cell col="13" text="퇴원&#10;통보"/>
  112. <Cell col="14" text="보험유형"/>
  113. </Band>
  114. <Band id="body">
  115. <Cell celltype="head" expr="expr:currow+1"/>
  116. <Cell col="1" text="bind:pid" tooltiptext="bind:pid"/>
  117. <Cell col="2" text="bind:name" tooltiptext="bind:name"/>
  118. <Cell col="3" text="bind:sa" tooltiptext="bind:sa"/>
  119. <Cell col="4" text="bind:prestroomcd" tooltiptext="bind:prestroomcd"/>
  120. <Cell col="5" text="bind:roomcd" tooltiptext="bind:roomcd"/>
  121. <Cell col="6" text="bind:orddeptcd" tooltiptext="bind:orddeptcd"/>
  122. <Cell col="7" text="bind:orddr" tooltiptext="bind:orddr"/>
  123. <Cell col="8" text="bind:diagcd"/>
  124. <Cell col="9" text="bind:diagnm" tooltiptext="bind:diagnm"/>
  125. <Cell col="10" text="bind:inhospterm" tooltiptext="bind:inhospterm"/>
  126. <Cell col="11" displaytype="date" text="bind:indd" calendardisplaynulltype="nulltext" tooltiptext="bind:indd"/>
  127. <Cell col="12" displaytype="date" text="bind:opdd" calendardisplaynulltype="nulltext" tooltiptext="bind:opdd"/>
  128. <Cell col="13" text="bind:dschnotiyn" tooltiptext="bind:dschnotiyn"/>
  129. <Cell col="14" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_init_insukind_P0008" combocodecol="cdid" combodatacol="cdnm" tooltiptext="bind:insukind" enable="false"/>
  130. </Band>
  131. </Format>
  132. </Formats>
  133. </Grid>
  134. <Grid id="grd_dschpatlist" class="datagrid2" taborder="7" binddataset="ds_main_dschpatinfo_dschpatlist" useinputpanel="false" position="absolute 817 97 1192 402" autoenter="select" cellsizingtype="both" anchor="left top right" tooltiptype="hover" cellsizebandtype="allband" extendsizetype="row">
  135. <Formats>
  136. <Format id="default">
  137. <Columns>
  138. <Column size="22" band="left"/>
  139. <Column size="63"/>
  140. <Column size="70"/>
  141. <Column size="45"/>
  142. <Column size="0"/>
  143. <Column size="0"/>
  144. <Column size="110"/>
  145. <Column size="80"/>
  146. <Column size="50"/>
  147. <Column size="80"/>
  148. <Column size="0"/>
  149. <Column size="350"/>
  150. <Column size="64"/>
  151. <Column size="84"/>
  152. <Column size="87"/>
  153. <Column size="36"/>
  154. <Column size="36"/>
  155. <Column size="100"/>
  156. </Columns>
  157. <Rows>
  158. <Row size="31" band="head"/>
  159. <Row size="24"/>
  160. </Rows>
  161. <Band id="head">
  162. <Cell/>
  163. <Cell col="1" text="등록번호"/>
  164. <Cell col="2" text="성명"/>
  165. <Cell col="3" text="S/A"/>
  166. <Cell col="4" text="성별"/>
  167. <Cell col="5" text="나이"/>
  168. <Cell col="6" text="병동"/>
  169. <Cell col="7" text="병실"/>
  170. <Cell col="8" text="진료과"/>
  171. <Cell col="9" text="주치의"/>
  172. <Cell col="10" text="진단코드"/>
  173. <Cell col="11" text="진단명"/>
  174. <Cell col="12" text="재원기간"/>
  175. <Cell col="13" text="입원일자"/>
  176. <Cell col="14" text="수술일자"/>
  177. <Cell col="15" text="퇴원&#10;통보"/>
  178. <Cell col="16" text="사망&#10;유무"/>
  179. <Cell col="17" text="보험유형"/>
  180. </Band>
  181. <Band id="body">
  182. <Cell celltype="head" expr="expr:currow + 1"/>
  183. <Cell col="1" text="bind:pid" tooltiptext="bind:pid"/>
  184. <Cell col="2" text="bind:name" tooltiptext="bind:name"/>
  185. <Cell col="3" text="bind:sa" tooltiptext="bind:sa"/>
  186. <Cell col="4" text="bind:sex"/>
  187. <Cell col="5" text="bind:age"/>
  188. <Cell col="6" text="bind:wardcd" tooltiptext="bind:wardcd"/>
  189. <Cell col="7" text="bind:roomcd" tooltiptext="bind:roomcd"/>
  190. <Cell col="8" text="bind:orddeptcd" tooltiptext="bind:orddeptcd"/>
  191. <Cell col="9" text="bind:orddr" tooltiptext="bind:orddr"/>
  192. <Cell col="10" text="bind:diagcd"/>
  193. <Cell col="11" text="bind:diagnm" tooltiptext="bind:diagnm"/>
  194. <Cell col="12" text="bind:inhospterm" tooltiptext="bind:inhospterm"/>
  195. <Cell col="13" displaytype="date" text="bind:indd" calendardisplaynulltype="nulltext" tooltiptext="bind:indd"/>
  196. <Cell col="14" displaytype="date" text="bind:opdd" calendardisplaynulltype="nulltext" tooltiptext="bind:opdd"/>
  197. <Cell col="15" text="bind:dschnotiyn" tooltiptext="bind:dschnotiyn"/>
  198. <Cell col="16" text="bind:dethyn" tooltiptext="bind:dethyn"/>
  199. <Cell col="17" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_init_insukind_P0008" combocodecol="cdid" combodatacol="cdnm" tooltiptext="bind:insukind" enable="false"/>
  200. </Band>
  201. </Format>
  202. </Formats>
  203. </Grid>
  204. <Grid id="grd_ipatlist" class="datagrid2" taborder="8" binddataset="ds_main_ipatinfo_ipatlist" useinputpanel="false" position="absolute 430 97 805 402" autoenter="select" cellsizingtype="both" tooltiptype="hover" cellsizebandtype="allband" extendsizetype="row">
  205. <Formats>
  206. <Format id="default">
  207. <Columns>
  208. <Column size="22" band="left"/>
  209. <Column size="63"/>
  210. <Column size="70"/>
  211. <Column size="45"/>
  212. <Column size="0"/>
  213. <Column size="0"/>
  214. <Column size="110"/>
  215. <Column size="80"/>
  216. <Column size="50"/>
  217. <Column size="80"/>
  218. <Column size="0"/>
  219. <Column size="350"/>
  220. <Column size="64"/>
  221. <Column size="84"/>
  222. <Column size="87"/>
  223. <Column size="37"/>
  224. <Column size="118"/>
  225. </Columns>
  226. <Rows>
  227. <Row size="31" band="head"/>
  228. <Row size="24"/>
  229. </Rows>
  230. <Band id="head">
  231. <Cell/>
  232. <Cell col="1" text="등록번호"/>
  233. <Cell col="2" text="성명"/>
  234. <Cell col="3" text="S/A"/>
  235. <Cell col="4" text="성별"/>
  236. <Cell col="5" text="나이"/>
  237. <Cell col="6" text="병동"/>
  238. <Cell col="7" text="병실"/>
  239. <Cell col="8" text="진료과"/>
  240. <Cell col="9" text="주치의"/>
  241. <Cell col="10" text="진단코드"/>
  242. <Cell col="11" text="진단명"/>
  243. <Cell col="12" text="재원기간"/>
  244. <Cell col="13" text="입원일자"/>
  245. <Cell col="14" text="수술일자"/>
  246. <Cell col="15" text="퇴원&#10;통보"/>
  247. <Cell col="16" text="보험유형"/>
  248. </Band>
  249. <Band id="body">
  250. <Cell celltype="head" expr="expr:currow+1"/>
  251. <Cell col="1" text="bind:pid" tooltiptext="bind:pid"/>
  252. <Cell col="2" text="bind:name" tooltiptext="bind:name"/>
  253. <Cell col="3" text="bind:sa" tooltiptext="bind:sa"/>
  254. <Cell col="4" text="bind:sex"/>
  255. <Cell col="5" text="bind:age"/>
  256. <Cell col="6" text="bind:wardcd" tooltiptext="bind:wardcd"/>
  257. <Cell col="7" text="bind:roomcd" tooltiptext="bind:roomcd"/>
  258. <Cell col="8" text="bind:orddeptcd" tooltiptext="bind:orddeptcd"/>
  259. <Cell col="9" text="bind:orddr" tooltiptext="bind:orddr"/>
  260. <Cell col="10" text="bind:diagcd"/>
  261. <Cell col="11" text="bind:diagnm" tooltiptext="bind:diagnm"/>
  262. <Cell col="12" text="bind:inhospterm" tooltiptext="bind:inhospterm"/>
  263. <Cell col="13" displaytype="date" text="bind:indd" calendardisplaynulltype="nulltext" tooltiptext="bind:indd"/>
  264. <Cell col="14" displaytype="date" text="bind:opdd" calendardisplaynulltype="nulltext" tooltiptext="bind:opdd"/>
  265. <Cell col="15" text="bind:dschnotiyn" tooltiptext="bind:dschnotiyn"/>
  266. <Cell col="16" displaytype="combo" edittype="combo" text="bind:insukind" combodataset="ds_init_insukind_P0008" combocodecol="cdid" combodatacol="cdnm" tooltiptext="bind:insukind" enable="false"/>
  267. </Band>
  268. </Format>
  269. </Formats>
  270. </Grid>
  271. <Grid id="grd_inhosppatlist" class="datagrid2" taborder="9" binddataset="ds_main_inhosppatinfo_inhosppatlist" useinputpanel="false" position="absolute 0 97 420 758" autoenter="select" cellsizingtype="both" anchor="left top bottom" tooltiptype="hover" extendsizetype="row" cellsizebandtype="allband">
  272. <Formats>
  273. <Format id="default">
  274. <Columns>
  275. <Column size="22" band="left"/>
  276. <Column size="63"/>
  277. <Column size="70"/>
  278. <Column size="45"/>
  279. <Column size="0"/>
  280. <Column size="0"/>
  281. <Column size="50"/>
  282. <Column size="81"/>
  283. <Column size="110"/>
  284. <Column size="80"/>
  285. <Column size="0"/>
  286. <Column size="350"/>
  287. <Column size="64"/>
  288. <Column size="84"/>
  289. <Column size="87"/>
  290. <Column size="37"/>
  291. <Column size="118"/>
  292. </Columns>
  293. <Rows>
  294. <Row size="31" band="head"/>
  295. <Row size="24"/>
  296. </Rows>
  297. <Band id="head">
  298. <Cell/>
  299. <Cell col="1" text="등록번호"/>
  300. <Cell col="2" text="성명"/>
  301. <Cell col="3" text="S/A"/>
  302. <Cell col="4" text="성별"/>
  303. <Cell col="5" text="나이"/>
  304. <Cell col="6" text="진료과"/>
  305. <Cell col="7" text="주치의"/>
  306. <Cell col="8" text="병동"/>
  307. <Cell col="9" text="병실"/>
  308. <Cell col="10" text="진단코드"/>
  309. <Cell col="11" text="진단명"/>
  310. <Cell col="12" text="재원기간"/>
  311. <Cell col="13" text="입원일자"/>
  312. <Cell col="14" text="수술일자"/>
  313. <Cell col="15" text="퇴원&#10;통보"/>
  314. <Cell col="16" text="보험유형"/>
  315. </Band>
  316. <Band id="body">
  317. <Cell celltype="head" expr="expr:currow+1"/>
  318. <Cell col="1" style="align:left middle;padding:2 2 2 2;" text="bind:pid" tooltiptext="bind:pid"/>
  319. <Cell col="2" style="align:left middle;padding:2 2 2 2;" text="bind:name" tooltiptext="bind:name"/>
  320. <Cell col="3" style="align:left middle;padding:2 2 2 2;" text="bind:sa" tooltiptext="bind:sa"/>
  321. <Cell col="4" text="bind:sex"/>
  322. <Cell col="5" text="bind:age"/>
  323. <Cell col="6" style="align:left middle;padding:2 2 2 2;" text="bind:orddeptcd" tooltiptext="bind:orddeptcd"/>
  324. <Cell col="7" style="align:left middle;padding:2 2 2 2;" text="bind:orddr" tooltiptext="bind:orddr"/>
  325. <Cell col="8" style="align:left middle;padding:2 2 2 2;" text="bind:wardcd" tooltiptext="bind:wardcd"/>
  326. <Cell col="9" style="align:left middle;padding:2 2 2 2;" text="bind:roomcd" tooltiptext="bind:roomcd"/>
  327. <Cell col="10" text="bind:diagcd"/>
  328. <Cell col="11" style="align:left middle;padding:2 2 2 2;" text="bind:diagnm" tooltiptext="bind:diagnm"/>
  329. <Cell col="12" style="align:left middle;padding:2 2 2 2;" text="bind:inhospterm" tooltiptext="bind:inhospterm"/>
  330. <Cell col="13" displaytype="date" style="align:left middle;padding:2 2 2 2;" text="bind:indd" calendardisplaynulltype="nulltext" tooltiptext="bind:indd"/>
  331. <Cell col="14" displaytype="date" style="align:left middle;padding:2 2 2 2;" text="bind:opdd" calendardisplaynulltype="nulltext" tooltiptext="bind:opdd"/>
  332. <Cell col="15" text="bind:dschnotiyn" tooltiptext="bind:dschnotiyn"/>
  333. <Cell col="16" displaytype="combo" edittype="combo" style="padding:2 2 2 2;" text="bind:insukind" combodataset="ds_init_insukind_P0008" combocodecol="cdid" combodatacol="cdnm" tooltiptext="bind:insukind" enable="false"/>
  334. </Band>
  335. </Format>
  336. </Formats>
  337. </Grid>
  338. <Shape id="line13" class="line_3" position="absolute 0 757 420 763" anchor="left bottom"/>
  339. <Shape id="line12" class="line_3" position="absolute 815 757 1190 763" anchor="left right bottom"/>
  340. <Shape id="line11" class="line_3" position="absolute 815 401 1190 407" anchor="left top right"/>
  341. <Shape id="line10" class="line_3" position="absolute 430 757 805 763" anchor="left bottom"/>
  342. <Shape id="line9" class="line_10" position="absolute 817 432 1192 438" anchor="left top right"/>
  343. <Static id="caption5" text="전실" class="tit_2" position="absolute 817 416 939 438"/>
  344. <Shape id="line7" class="line_10" position="absolute 430 432 805 438"/>
  345. <Static id="caption4" text="입실" class="tit_2" position="absolute 431 416 553 438"/>
  346. <Shape id="line3" class="line_10" position="absolute 817 92 1192 98" anchor="left top right"/>
  347. <Static id="caption3" text="퇴원환자" class="tit_2" position="absolute 820 77 931 91"/>
  348. <Shape id="line2" class="line_10" position="absolute 430 92 805 98"/>
  349. <Static id="caption1" text="입원환자" class="tit_2" position="absolute 430 76 541 97"/>
  350. <Static id="caption35" text="재원환자" class="tit_2" position="absolute 0 76 111 97"/>
  351. <Shape id="line1" class="line_10" position="absolute 0 92 420 98"/>
  352. <Div id="group6" taborder="10" class="div_SA" position="absolute 0 25 1194 65" anchor="left top right">
  353. <Layouts>
  354. <Layout>
  355. <Shape id="line8" linetype="vertical" class="line_4" position="absolute 1107 9 1113 32" anchor="top right"/>
  356. <Calendar id="ipt_indd" taborder="14" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 95 12 230 31"/>
  357. <Combo id="cmb_ward" taborder="15" innerdataset="@ds_init_warddeptlist_dept" codecolumn="deptcd" datacolumn="depthngnm" class="combo_s_essential" position="absolute 395 12 522 31" onitemchanged="group6_cmb_ward_onitemchanged"/>
  358. <Button id="btn_search" taborder="16" text="조회" class="btn1" position="absolute 1126 9 1182 31" anchor="top right" onclick="group6_btn_search_onclick"/>
  359. <Static id="cap_indd" text="진료일 :" class="search_name" position="absolute 15 13 101 30"/>
  360. <Static id="cap_ward" text="병동 :" class="search_name" position="absolute 330 13 391 30"/>
  361. </Layout>
  362. </Layouts>
  363. </Div>
  364. <Shape id="line6" class="line_3" position="absolute 430 401 805 407"/>
  365. </Layout>
  366. </Layouts>
  367. <Objects>
  368. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  369. <ColumnInfo>
  370. <Column id="indd" type="STRING" size="256"/>
  371. <Column id="wardcd" type="STRING" size="256"/>
  372. <Column id="offset" type="STRING" size="256"/>
  373. <Column id="pagesize" type="STRING" size="256"/>
  374. </ColumnInfo>
  375. <Rows>
  376. <Row>
  377. <Col id="indd"/>
  378. <Col id="wardcd"/>
  379. <Col id="offset"/>
  380. <Col id="pagesize">200</Col>
  381. </Row>
  382. </Rows>
  383. </Dataset>
  384. <Dataset id="ds_init_warddeptlist_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  385. <ColumnInfo>
  386. <Column id="depthngnm" type="STRING" size="256"/>
  387. <Column id="deptcd" type="STRING" size="256"/>
  388. </ColumnInfo>
  389. </Dataset>
  390. <Dataset id="ds_main_inhosppatinfo_inhosppatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  391. <ColumnInfo>
  392. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  393. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  394. <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
  395. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  396. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  397. <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
  398. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  399. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  400. <Column id="orddr" type="STRING" size="256" sumtext="진료의"/>
  401. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  402. <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
  403. <Column id="inhospterm" type="STRING" size="256" sumtext="재원기간"/>
  404. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  405. <Column id="opdd" type="STRING" size="256" sumtext="수술일자"/>
  406. <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보"/>
  407. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  408. </ColumnInfo>
  409. </Dataset>
  410. <Dataset id="ds_main_ipatinfo_ipatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  411. <ColumnInfo>
  412. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  413. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  414. <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
  415. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  416. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  417. <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
  418. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  419. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  420. <Column id="orddr" type="STRING" size="256" sumtext="진료의"/>
  421. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  422. <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
  423. <Column id="inhospterm" type="STRING" size="256" sumtext="재원기간"/>
  424. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  425. <Column id="opdd" type="STRING" size="256" sumtext="수술일자"/>
  426. <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보"/>
  427. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  428. </ColumnInfo>
  429. </Dataset>
  430. <Dataset id="ds_main_dschpatinfo_dschpatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  431. <ColumnInfo>
  432. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  433. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  434. <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
  435. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  436. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  437. <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
  438. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  439. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  440. <Column id="orddr" type="STRING" size="256" sumtext="진료의"/>
  441. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  442. <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
  443. <Column id="inhospterm" type="STRING" size="256" sumtext="재원기간"/>
  444. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  445. <Column id="opdd" type="STRING" size="256" sumtext="수술일자"/>
  446. <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보"/>
  447. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  448. <Column id="dethyn" type="STRING" size="256" sumtext="사망유무"/>
  449. </ColumnInfo>
  450. </Dataset>
  451. <Dataset id="ds_main_inrminfo_inrmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  452. <ColumnInfo>
  453. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  454. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  455. <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
  456. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  457. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  458. <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
  459. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  460. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  461. <Column id="orddr" type="STRING" size="256" sumtext="진료의"/>
  462. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  463. <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
  464. <Column id="inhospterm" type="STRING" size="256" sumtext="재원기간"/>
  465. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  466. <Column id="opdd" type="STRING" size="256" sumtext="수술일자"/>
  467. <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보"/>
  468. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  469. <Column id="prestwardcd" type="STRING" size="256" sumtext="입실전 병동"/>
  470. <Column id="prestroomcd" type="STRING" size="256" sumtext="입실전 병실"/>
  471. </ColumnInfo>
  472. </Dataset>
  473. <Dataset id="ds_main_chngroominfo_chngroomlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  474. <ColumnInfo>
  475. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  476. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  477. <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
  478. <Column id="sex" type="STRING" size="256" sumtext="성별"/>
  479. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  480. <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
  481. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  482. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  483. <Column id="orddr" type="STRING" size="256" sumtext="진료의"/>
  484. <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
  485. <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
  486. <Column id="inhospterm" type="STRING" size="256" sumtext="재원기간"/>
  487. <Column id="indd" type="STRING" size="256" sumtext="입원일자"/>
  488. <Column id="opdd" type="STRING" size="256" sumtext="수술일자"/>
  489. <Column id="dschnotiyn" type="STRING" size="256" sumtext="퇴원통보"/>
  490. <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
  491. <Column id="chngwardcd" type="STRING" size="256" sumtext="전실간 병동"/>
  492. <Column id="chngroomcd" type="STRING" size="256" sumtext="전실간 병실"/>
  493. </ColumnInfo>
  494. </Dataset>
  495. <Dataset id="ds_init_deptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  496. <Dataset id="ds_init_insukind_P0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  497. <ColumnInfo>
  498. <Column id="cdnm" type="STRING" size="256"/>
  499. <Column id="cdid" type="STRING" size="256"/>
  500. </ColumnInfo>
  501. </Dataset>
  502. </Objects>
  503. <Bind>
  504. <BindItem id="item0" compid="group6.ipt_indd" propid="value" datasetid="ds_main_cond" columnid="indd"/>
  505. <BindItem id="item1" compid="group6.cmb_ward" propid="value" datasetid="ds_main_cond" columnid="wardcd"/>
  506. </Bind>
  507. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  508. * System Name :
  509. * Job Name :
  510. * Creator :
  511. * Make Date : 2015-11-13
  512. * Description :
  513. *---------------------------------------------------------------------------------------
  514. * Modify Date Modifier Modify Description
  515. *---------------------------------------------------------------------------------------
  516. * 2015-11-13 Live Converter TF->XP
  517. *
  518. *---------------------------------------------------------------------------------------
  519. ****************************************************************************************/
  520. include "com_commonxp::comm_main.xjs";
  521. function SMASB00100_oninit(obj:Form, e:InitEventInfo)
  522. {
  523. frmf_initForm(obj);
  524. }
  525. function SMASB00100_onload(obj:Form, e:LoadEventInfo)
  526. {
  527. grdf_initGrid(grd_chngroomlist);
  528. grdf_initGrid(grd_dschpatlist);
  529. grdf_initGrid(grd_inhosppatlist);
  530. grdf_initGrid(grd_inrmlist);
  531. grdf_initGrid(grd_ipatlist);
  532. fInitialize();
  533. ds_main_cond.setColumn(0, "indd", utlf_getCurrentDate());
  534. }
  535. function fInitialize()
  536. {
  537. var arrParam = [{dsNm: "ds_init_insukind_P0008", cdGrpId: "P0008"}]
  538. appf_getCodeList(arrParam);
  539. var instcd = sysf_getUserInfo("dutplceinstcd");
  540. var standard_yn = "orduseyn";
  541. var ord_deptflag = "D";
  542. var rslt_ref = "ds_init_deptlist";
  543. var sort_field = "depthngnm";
  544. var sort_method = "asc";
  545. appf_getDeptCodeList(instcd, standard_yn, ord_deptflag, sort_field, sort_method, "", "", "", rslt_ref, "", "");
  546. standard_yn = "orduseyn";
  547. ord_deptflag = "W";
  548. rslt_ref = "ds_init_warddeptlist_dept";
  549. sort_field = "deptcd";
  550. sort_method = "asc";
  551. appf_getDeptCodeList(instcd, standard_yn, ord_deptflag, sort_field, sort_method, "", "", "", rslt_ref, "", "");
  552. frmf_addComboItem("group6.cmb_ward","- 전 체 -","","above");
  553. group6.cmb_ward.value = "";
  554. group6.cmb_ward.index = 0;
  555. }
  556. function group6_cmb_ward_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  557. {
  558. fGetInPatList();
  559. }
  560. function group6_btn_search_onclick(obj:Button, e:ClickEventInfo)
  561. {
  562. fGetInPatList();
  563. }
  564. function fGetInPatList()
  565. {
  566. ds_main_chngroominfo_chngroomlist.clearData();
  567. ds_main_dschpatinfo_dschpatlist.clearData();
  568. ds_main_inhosppatinfo_inhosppatlist.clearData();
  569. ds_main_inrminfo_inrmlist.clearData();
  570. ds_main_ipatinfo_ipatlist.clearData();
  571. if( !frmf_isRequiredControls("group6.ipt_indd") )
  572. {
  573. return;
  574. }
  575. ds_main_cond.setColumn(0, "offset", "0");
  576. var oParam = {};
  577. oParam.id = "TRASB00101";
  578. oParam.service = "infcbaseapp.PatMngt";
  579. oParam.method = "reqGetInHospPatList";
  580. oParam.inds = "req=ds_main_cond";
  581. oParam.outds = "ds_main_inhosppatinfo_inhosppatlist=inhosppatlist";
  582. oParam.async = false;
  583. //oParam.callback = "cf_TRASB00101";
  584. tranf_submit(oParam);
  585. var oParam = {};
  586. oParam.id = "TRASB00102";
  587. oParam.service = "infcbaseapp.PatMngt";
  588. oParam.method = "reqGetIpHospPatList";
  589. oParam.inds = "req=ds_main_cond";
  590. oParam.outds = "ds_main_ipatinfo_ipatlist=ipatlist";
  591. oParam.async = false;
  592. //oParam.callback = "cf_TRASB00102";
  593. tranf_submit(oParam);
  594. var oParam = {};
  595. oParam.id = "TRASB00103";
  596. oParam.service = "infcbaseapp.PatMngt";
  597. oParam.method = "reqGetDsHospPatList";
  598. oParam.inds = "req=ds_main_cond";
  599. oParam.outds = "ds_main_dschpatinfo_dschpatlist=dschpatlist";
  600. oParam.async = false;
  601. //oParam.callback = "cf_TRASB00103";
  602. tranf_submit(oParam);
  603. var oParam = {};
  604. oParam.id = "TRASB00104";
  605. oParam.service = "infcbaseapp.PatMngt";
  606. oParam.method = "reqGetInrHospPatList";
  607. oParam.inds = "req=ds_main_cond";
  608. oParam.outds = "ds_main_inrminfo_inrmlist=inrmlist";
  609. oParam.async = false;
  610. //oParam.callback = "cf_TRASB00104";
  611. tranf_submit(oParam);
  612. var oParam = {};
  613. oParam.id = "TRASB00105";
  614. oParam.service = "infcbaseapp.PatMngt";
  615. oParam.method = "reqGetChHospPatList";
  616. oParam.inds = "req=ds_main_cond";
  617. oParam.outds = "ds_main_chngroominfo_chngroomlist=chngroomlist";
  618. oParam.async = false;
  619. //oParam.callback = "cf_TRASB00105";
  620. tranf_submit(oParam);
  621. }
  622. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  623. {
  624. ds_main_inhosppatinfo_inhosppatlist.clearData();
  625. }
  626. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  627. {
  628. var sGrd = "grd_inhosppatlist,grd_ipatlist,grd_dschpatlist,grd_inrmlist,grd_chngroomlist";
  629. var sSheet = "재원환자,입원환자,퇴원환자,입실,전실";
  630. grdf_exportExcelMulti(sGrd, "CMC_Excel", sSheet, "false", "", "user", "");
  631. }
  632. ]]></Script>
  633. </Form>
  634. </FDL>