SPMRC01500_외래챠트대출신청.xfdl 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMRC01500" position="absolute 0 0 1134 563" titletext="외래차트대출신청" oninit="SPMRC01500_oninit" onload="SPMRC01500_onload" ontimer="SPMRC01500_ontimer">
  5. <Layouts>
  6. <Layout>
  7. <Button position="absolute 532 95 612 117" id="btn_x_appchrt" taborder="10" class="btn4" text="차트신청" onclick="btn_x_appchrt_onclick"/>
  8. <Div position="absolute 8 0 1125 26" align="align:center top;" id="group2">
  9. <Layouts>
  10. <Layout>
  11. <Static text="외래 챠트 대출 신청 및 상태조회" position="absolute 0 0 229 25" id="cpt_title" class="tit_1" anchor="default"/>
  12. </Layout>
  13. </Layouts>
  14. </Div>
  15. <Shape position="absolute 10 118 613 124" linetype="horizontal" id="line4" class="line_10"/>
  16. <Grid position="absolute 10 123 613 555" id="grd_outchrtlist" binddataset="ds_main_appchrt_outchrtlist" oncelldblclick="grd_outchrtlist_oncelldblclick">
  17. <Formats>
  18. <Format id="default">
  19. <Columns>
  20. <Column size="61"/>
  21. <Column size="30"/>
  22. <Column size="59"/>
  23. <Column size="47"/>
  24. <Column size="55"/>
  25. <Column size="78"/>
  26. <Column size="59"/>
  27. <Column size="50"/>
  28. <Column size="30"/>
  29. <Column size="81"/>
  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. </Columns>
  41. <Rows>
  42. <Row size="24" band="head"/>
  43. <Row size="24"/>
  44. </Rows>
  45. <Band id="head">
  46. <Cell text="신청일자"/>
  47. <Cell col="1" text="신청"/>
  48. <Cell col="2" text="차트종류"/>
  49. <Cell col="3" text="병실"/>
  50. <Cell col="4" text="환자번호"/>
  51. <Cell col="5" text="환자명"/>
  52. <Cell col="6" text="진료과"/>
  53. <Cell col="7" text="차트과"/>
  54. <Cell col="8" text="ER"/>
  55. <Cell col="9" text="차트소재"/>
  56. <Cell col="10" text="차트과"/>
  57. <Cell col="11" text="신청자"/>
  58. <Cell col="12" text="appmanid"/>
  59. <Cell col="13" text="ward"/>
  60. <Cell col="14" text="medirecno"/>
  61. <Cell col="15" text="indd"/>
  62. <Cell col="16" text="cretno"/>
  63. <Cell col="17"/>
  64. <Cell col="18"/>
  65. <Cell col="19"/>
  66. </Band>
  67. <Band id="body">
  68. <Cell text="bind:appdd"/>
  69. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:rendflag" expr="expr:rendflag == 'true' ? '1' : '0' "/>
  70. <Cell col="2" displaytype="combo" edittype="combo" text="bind:chrtflag" enable="false"/>
  71. <Cell col="3" text="bind:roomcd"/>
  72. <Cell col="4" text="bind:pid"/>
  73. <Cell col="5" text="bind:pname"/>
  74. <Cell col="6" text="bind:dept"/>
  75. <Cell col="7" text="bind:chdpdept"/>
  76. <Cell col="8" text="bind:er"/>
  77. <Cell col="9" text="bind:chartkind"/>
  78. <Cell col="10" text="bind:clsdept"/>
  79. <Cell col="11" text="bind:appmanm"/>
  80. <Cell col="12" text="bind:appmanid"/>
  81. <Cell col="13" text="bind:ward"/>
  82. <Cell col="14" text="bind:medirecno"/>
  83. <Cell col="15" text="bind:indd"/>
  84. <Cell col="16" text="bind:cretno"/>
  85. <Cell col="17" text="bind:appdeptcd"/>
  86. <Cell col="18" text="bind:renddd"/>
  87. <Cell col="19" text="bind:rtnddd"/>
  88. </Band>
  89. </Format>
  90. </Formats>
  91. </Grid>
  92. <Button position="absolute 1047 95 1127 117" id="btn_otherchart" taborder="10" class="btn4" text="차트신청" onclick="btn_otherchart_onclick"/>
  93. <Shape position="absolute 615 118 1128 124" linetype="horizontal" id="line2" class="line_10"/>
  94. <Grid position="absolute 615 123 1128 555" id="grd_otherchrtlist" binddataset="ds_main_otherchrt_otherchrtlist">
  95. <Formats>
  96. <Format id="default">
  97. <Columns>
  98. <Column size="64"/>
  99. <Column size="30"/>
  100. <Column size="68"/>
  101. <Column size="0"/>
  102. <Column size="80"/>
  103. <Column size="0"/>
  104. <Column size="92"/>
  105. <Column size="91"/>
  106. <Column size="0"/>
  107. <Column size="0"/>
  108. <Column size="0"/>
  109. <Column size="84"/>
  110. <Column size="0"/>
  111. <Column size="0"/>
  112. <Column size="0"/>
  113. <Column size="0"/>
  114. <Column size="0"/>
  115. <Column size="0"/>
  116. <Column size="0"/>
  117. <Column size="0"/>
  118. <Column size="0"/>
  119. <Column size="0"/>
  120. <Column size="0"/>
  121. <Column size="0"/>
  122. <Column size="0"/>
  123. <Column size="0"/>
  124. <Column size="0"/>
  125. <Column size="0"/>
  126. <Column size="0"/>
  127. <Column size="0"/>
  128. <Column size="0"/>
  129. <Column size="0"/>
  130. <Column size="0"/>
  131. <Column size="0"/>
  132. <Column size="0"/>
  133. <Column size="0"/>
  134. <Column size="0"/>
  135. <Column size="0"/>
  136. <Column size="0"/>
  137. <Column size="0"/>
  138. <Column size="0"/>
  139. </Columns>
  140. <Rows>
  141. <Row size="24" band="head"/>
  142. <Row size="24"/>
  143. </Rows>
  144. <Band id="head">
  145. <Cell text="신청일자"/>
  146. <Cell col="1" text="신청"/>
  147. <Cell col="2" text="차트종류"/>
  148. <Cell col="3" text="차트번호"/>
  149. <Cell col="4" text="차트과"/>
  150. <Cell col="5" text="caption1"/>
  151. <Cell col="6" text="차트소재"/>
  152. <Cell col="7" text="대출목적"/>
  153. <Cell col="8" text="stat"/>
  154. <Cell col="9" text="caption3"/>
  155. <Cell col="10" text="caption2"/>
  156. <Cell col="11" text="대출자"/>
  157. <Cell col="12"/>
  158. <Cell col="13"/>
  159. <Cell col="14"/>
  160. <Cell col="15"/>
  161. <Cell col="16"/>
  162. <Cell col="17"/>
  163. <Cell col="18"/>
  164. <Cell col="19"/>
  165. <Cell col="20"/>
  166. <Cell col="21"/>
  167. <Cell col="22"/>
  168. <Cell col="23"/>
  169. <Cell col="24"/>
  170. <Cell col="25"/>
  171. <Cell col="26"/>
  172. <Cell col="27"/>
  173. <Cell col="28"/>
  174. <Cell col="29"/>
  175. <Cell col="30"/>
  176. <Cell col="31"/>
  177. <Cell col="32"/>
  178. <Cell col="33"/>
  179. <Cell col="34"/>
  180. <Cell col="35"/>
  181. <Cell col="36"/>
  182. <Cell col="37"/>
  183. <Cell col="38"/>
  184. <Cell col="39"/>
  185. <Cell col="40"/>
  186. </Band>
  187. <Band id="body">
  188. <Cell text="bind:appdd"/>
  189. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:rendflag" expr="expr:rendflag == 'true' ? '1' : '0' "/>
  190. <Cell col="2" displaytype="combo" edittype="combo" text="bind:chrtflag" enable="false"/>
  191. <Cell col="3" text="bind:medirecno"/>
  192. <Cell col="4" text="bind:dept"/>
  193. <Cell col="5" text="bind:orddeptcd"/>
  194. <Cell col="6" text="bind:appdeptnm"/>
  195. <Cell col="7" text="bind:chartkind"/>
  196. <Cell col="8" text="bind:stat"/>
  197. <Cell col="9" text="bind:appdeptcd"/>
  198. <Cell col="10" text="bind:appmanid"/>
  199. <Cell col="11" text="bind:appmanm"/>
  200. <Cell col="12" text="bind:pid"/>
  201. <Cell col="13" text="bind:cntctelno"/>
  202. <Cell col="14" text="bind:renddd"/>
  203. <Cell col="15" text="bind:rendtm"/>
  204. <Cell col="16" text="bind:msgcnts"/>
  205. <Cell col="17" text="bind:actcertprntdd"/>
  206. <Cell col="18" text="bind:rendschedd"/>
  207. <Cell col="19" text="bind:rendschetm"/>
  208. <Cell col="20" text="bind:rtnschedd"/>
  209. <Cell col="21" text="bind:rtndd"/>
  210. <Cell col="22" text="bind:rtntm"/>
  211. <Cell col="23" text="bind:orddd"/>
  212. <Cell col="24" text="bind:cretno"/>
  213. <Cell col="25" text="bind:rtndeptcd"/>
  214. <Cell col="26" text="bind:rtnmanid"/>
  215. <Cell col="27" text="bind:instcd"/>
  216. <Cell col="28" text="bind:fstrgstrid"/>
  217. <Cell col="29" text="bind:fstrgstdt"/>
  218. <Cell col="30" text="bind:lastupdtrid"/>
  219. <Cell col="31" text="bind:lastupdtdt"/>
  220. <Cell col="32" text="bind:rendcd"/>
  221. <Cell col="33" text="bind:fsexamflag"/>
  222. <Cell col="34" text="bind:apptm"/>
  223. <Cell col="35" text="bind:indd"/>
  224. <Cell col="36" text="bind:cretno"/>
  225. <Cell col="37" text="bind:roomcd"/>
  226. <Cell col="38" text="bind:lendmanid"/>
  227. <Cell col="39" text="bind:ward"/>
  228. <Cell col="40" text="bind:clrsflag"/>
  229. </Band>
  230. </Format>
  231. </Formats>
  232. </Grid>
  233. <Shape position="absolute 11 29 612 69" id="roundrect4" type="roundrectangle"/>
  234. <Shape position="absolute 404 35 410 63" linetype="vertical" id="line11" class="line_4"/>
  235. <Static text="병 실 :" position="absolute 849 38 939 55" align="align:center middle;" id="caption1" class="search_name"/>
  236. <Combo position="absolute 129 40 234 59" id="cmb_ward" innerdataset="@ds_init_wardlist" datacolumn="depthngnm" codecolumn="deptcd" onitemchanged="cmb_ward_onitemchanged"/>
  237. <Static text="병 동 :" position="absolute 620 37 705 54" align="align:center middle;" id="caption2" class="search_name"/>
  238. <Static text="등록번호 :" position="absolute 849 67 935 84" id="caption7" class="search_name"/>
  239. <Button position="absolute 420 39 476 61" id="btn_r_chrtsearch" taborder="2" class="btn1" text="조회" onclick="btn_r_chrtsearch_onclick"/>
  240. <Shape position="absolute 10 24 613 30" linetype="horizontal" id="line6" class="line_10"/>
  241. <Shape position="absolute 615 24 1128 30" linetype="horizontal" id="line3" class="line_10"/>
  242. <Static text="환자별 차트리스트" position="absolute 615 102 748 119" id="caption9" class="tit_2"/>
  243. <Static text="병 동 :" position="absolute 37 41 122 58" align="align:center middle;" id="caption4" class="search_name"/>
  244. <Static text="환 자 :" position="absolute 620 67 706 84" align="align:center middle;" id="caption5" class="search_name"/>
  245. <Combo position="absolute 710 66 815 85" id="cmb_pid" innerdataset="@ds_init_roompatlist" datacolumn="pnm" codecolumn="pid" onitemchanged="cmb_pid_onitemchanged"/>
  246. <Combo position="absolute 710 38 815 57" id="combo1" innerdataset="@ds_init_wardlist" datacolumn="depthngnm" codecolumn="deptcd" onitemchanged="combo1_onitemchanged"/>
  247. <Combo position="absolute 945 38 1050 57" id="cmb_room" innerdataset="@ds_init_room" datacolumn="roomnm" codecolumn="roomcd" onitemchanged="cmb_room_onitemchanged"/>
  248. <Edit position="absolute 945 66 1050 85" id="ipt_pid" autoselect="true"/>
  249. <Shape position="absolute 1055 45 1061 82" linetype="vertical" id="line1" class="line_4"/>
  250. <Button position="absolute 1071 53 1127 75" id="button1" taborder="2" class="btn1" text="조회" onclick="button1_onclick"/>
  251. <Radio position="absolute 12 74 298 94" id="radio1" columncount="-1" codecolumn="codecolumn" datacolumn="datacolumn" rowcount="-1" style="padding:1 10 0 0;" onitemchanged="radio1_onitemchanged">
  252. <Dataset id="innerdataset">
  253. <ColumnInfo>
  254. <Column id="codecolumn"/>
  255. <Column id="datacolumn"/>
  256. </ColumnInfo>
  257. <Rows>
  258. <Row>
  259. <Col id="codecolumn">indd</Col>
  260. <Col id="datacolumn">입원환자차트리스트</Col>
  261. </Row>
  262. <Row>
  263. <Col id="codecolumn">dschdd</Col>
  264. <Col id="datacolumn">퇴원환자반납차트리스트</Col>
  265. </Row>
  266. </Rows>
  267. </Dataset>
  268. </Radio>
  269. <Edit readonly="true" position="absolute 815 85 920 104" id="output1" visible="false"/>
  270. <Edit readonly="true" position="absolute 920 85 1025 104" id="output2" visible="false"/>
  271. <Static text="입원기준일 :" position="absolute 307 74 424 91" id="cap_snm" class="search_name"/>
  272. <Calendar position="absolute 411 73 516 92" id="ipt_srchfrdd" class="input_s_essential" onchanged="ipt_srchfrdd_onchanged" autoselect="true"/>
  273. <Button position="absolute 480 39 536 61" id="button2" taborder="2" class="btn7" text="엑셀" onclick="button2_onclick"/>
  274. <Button position="absolute 541 39 597 61" id="button3" taborder="2" class="btn6" text="출력" onclick="button3_onclick"/>
  275. <Static text="입/퇴원환자 차트리스트" position="absolute 11 102 186 119" id="caption10" class="tit_2"/>
  276. <Static text="구영상 건진" position="absolute 930 102 1050 117" id="cap_oldimgAH" style="color:blue;font:Dotum,9,bold;"/>
  277. <Static text="구영상 응급의학과" position="absolute 750 102 930 117" id="cap_oldimgER" style="color:blue;font:Dotum,9,bold;"/>
  278. </Layout>
  279. </Layouts>
  280. <Objects>
  281. <Dataset id="ds_main_appchrt_outchrtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_appchrt_outchrtlist_oncolumnchanged">
  282. <ColumnInfo>
  283. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="의무기록번호"/>
  284. <Column id="orddeptcd" type="STRING" size="256" sumtext="신청부서"/>
  285. <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
  286. <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
  287. <Column id="rendflag" type="STRING" size="256" sumtext="신청여부"/>
  288. <Column id="appmanid" type="STRING" size="256" sumtext="신청자id"/>
  289. <Column id="rendcd" type="STRING" size="256" sumtext="차트 대출 용도"/>
  290. <Column id="cntctelno" type="STRING" size="256" sumtext="신청자 연락처"/>
  291. <Column id="renddd" type="STRING" size="256" sumtext="대출일자"/>
  292. <Column id="rendtm" type="STRING" size="256" sumtext="대출시간"/>
  293. <Column id="actcertprntdd" type="STRING" size="256" sumtext="원무의 접수 Key"/>
  294. <Column id="rendschedd" type="STRING" size="256" sumtext="차트대출예정일"/>
  295. <Column id="rtnschedd" type="STRING" size="256" sumtext="차트반납예정일"/>
  296. <Column id="rtndd" type="STRING" size="256" sumtext="차트반납일자"/>
  297. <Column id="rtntm" type="STRING" size="256" sumtext="차트반납시간"/>
  298. <Column id="cretno" type="INT" size="256" sumtext="원무의 접수 Key"/>
  299. <Column id="orddd" type="STRING" size="256" sumtext="내원일"/>
  300. <Column id="delTN" type="STRING" size="256" sumtext="차트삭제여부"/>
  301. <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진여부"/>
  302. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  303. <Column id="rendschetm" type="STRING" size="256" sumtext="대출예정시간"/>
  304. <Column id="rtndeptcd" type="STRING" size="256" sumtext="반납부서코드"/>
  305. <Column id="rtnmanid" type="STRING" size="256" sumtext="반납자아이디"/>
  306. <Column id="acptseqno" type="INT" size="256" sumtext="미대출사유"/>
  307. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  308. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자아이디"/>
  309. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  310. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록아이디"/>
  311. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일시"/>
  312. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  313. <Column id="appdeptcd" type="STRING" size="256" sumtext="신청부서코드"/>
  314. <Column id="ward" type="STRING" size="256" sumtext="병동"/>
  315. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  316. <Column id="lendmanid" type="STRING" size="256" sumtext="차트대출자ID"/>
  317. </ColumnInfo>
  318. </Dataset>
  319. <Dataset id="ds_main_otherchrt_otherchrtlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_otherchrt_otherchrtlist_oncolumnchanged">
  320. <ColumnInfo>
  321. <!-- <column id="status" ref="savedata.m" desc="상태flag" /> -->
  322. <Column id="medirecno" type="BIGDECIMAL" size="256" sumtext="의무기록번호"/>
  323. <Column id="stat" type="STRING" size="256" sumtext="상태값"/>
  324. <Column id="appdeptcd" type="STRING" size="256" sumtext="신청부서"/>
  325. <Column id="ward" type="STRING" size="256" sumtext="신청부서"/>
  326. <Column id="appdd" type="STRING" size="256" sumtext="신청일자"/>
  327. <Column id="apptm" type="STRING" size="256" sumtext="신청시간"/>
  328. <Column id="rendflag" type="STRING" size="256" sumtext="신청여부"/>
  329. <Column id="appmanid" type="STRING" size="256" sumtext="신청자id"/>
  330. <Column id="rendcd" type="STRING" size="256" sumtext="차트 대출 용도"/>
  331. <Column id="renddd" type="STRING" size="256" sumtext="대출일자"/>
  332. <Column id="rendtm" type="STRING" size="256" sumtext="대출시간"/>
  333. <Column id="msgcnts" type="STRING" size="256" sumtext="전달내용"/>
  334. <Column id="actcertprntdd" type="STRING" size="256" sumtext="접수증 출력일자"/>
  335. <Column id="rendschedd" type="STRING" size="256" sumtext="차트대출예정일"/>
  336. <Column id="rtnschedd" type="STRING" size="256" sumtext="차트반납예정일"/>
  337. <Column id="rtndd" type="STRING" size="256" sumtext="차트반납일자"/>
  338. <Column id="rtntm" type="STRING" size="256" sumtext="차트반납시간"/>
  339. <Column id="orddd" type="STRING" size="256" sumtext="내원일"/>
  340. <Column id="fsexamflag" type="STRING" size="256" sumtext="초재진여부"/>
  341. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  342. <Column id="rendschetm" type="STRING" size="256" sumtext="대출예정시간"/>
  343. <Column id="rtndeptcd" type="STRING" size="256" sumtext="반납부서코드"/>
  344. <Column id="rtnmanid" type="STRING" size="256" sumtext="반납자아이디"/>
  345. <Column id="cretno" type="INT" size="256" sumtext="원무키"/>
  346. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  347. <Column id="fstrgstrid" type="STRING" size="256" sumtext="최초등록자아이디"/>
  348. <Column id="fstrgstdt" type="STRING" size="256" sumtext="최초등록일시"/>
  349. <Column id="lastupdtrid" type="STRING" size="256" sumtext="최종등록아이디"/>
  350. <Column id="lastupdtdt" type="STRING" size="256" sumtext="최종등록일시"/>
  351. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  352. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  353. <Column id="lendmanid" type="STRING" size="256" sumtext="차트대출자ID"/>
  354. </ColumnInfo>
  355. </Dataset>
  356. <Dataset id="ds_main_appchrt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  357. <ColumnInfo>
  358. <Column id="outchrtlist" type="STRING" size="256"/>
  359. </ColumnInfo>
  360. </Dataset>
  361. <Dataset id="ds_main_chartinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  362. <ColumnInfo>
  363. <Column id="ward" type="STRING" size="256"/>
  364. <Column id="room" type="STRING" size="256"/>
  365. <Column id="dept" type="STRING" size="256"/>
  366. <Column id="pid" type="STRING" size="256"/>
  367. <Column id="pnm" type="STRING" size="256"/>
  368. </ColumnInfo>
  369. <Rows>
  370. <Row/>
  371. </Rows>
  372. </Dataset>
  373. <Dataset id="ds_init_wardlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  374. <Dataset id="ds_main_result_paminfo_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  375. <ColumnInfo>
  376. <Column id="list" type="STRING" size="256"/>
  377. </ColumnInfo>
  378. </Dataset>
  379. <Dataset id="ds_outcond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  380. <ColumnInfo>
  381. <Column id="pid" type="STRING" size="256"/>
  382. <Column id="ward" type="STRING" size="256"/>
  383. <Column id="chrtdept" type="STRING" size="256"/>
  384. <Column id="room" type="STRING" size="256"/>
  385. <Column id="dschInddlist" type="STRING" size="256"/>
  386. <Column id="indd" type="STRING" size="256"/>
  387. <Column id="instcd" type="STRING" size="256"/>
  388. <Column id="dschdd" type="STRING" size="256"/>
  389. <Column id="ddlist" type="STRING" size="256"/>
  390. </ColumnInfo>
  391. <Rows>
  392. <Row>
  393. <Col id="dschInddlist">indd</Col>
  394. </Row>
  395. </Rows>
  396. </Dataset>
  397. <Dataset id="ds_othercond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  398. <ColumnInfo>
  399. <Column id="ward" type="STRING" size="256"/>
  400. <Column id="room" type="STRING" size="256"/>
  401. <Column id="pnm" type="STRING" size="256"/>
  402. <Column id="pid" type="STRING" size="256"/>
  403. <Column id="indd" type="STRING" size="256"/>
  404. <Column id="instcd" type="STRING" size="256"/>
  405. </ColumnInfo>
  406. <Rows>
  407. <Row/>
  408. </Rows>
  409. </Dataset>
  410. <Dataset id="ds_send_reqdata" 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"/>
  413. <Column id="ward" type="STRING" size="256"/>
  414. <Column id="proom" type="STRING" size="256"/>
  415. <Column id="dept" type="STRING" size="256"/>
  416. </ColumnInfo>
  417. <Rows>
  418. <Row/>
  419. </Rows>
  420. </Dataset>
  421. <Dataset id="ds_init_room" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  422. <ColumnInfo>
  423. <Column id="roomcd" type="STRING" size="256"/>
  424. <Column id="roomnm" type="STRING" size="256"/>
  425. </ColumnInfo>
  426. </Dataset>
  427. <Dataset id="ds_send_reqdata_room" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  428. <ColumnInfo>
  429. <Column id="wardcd" type="STRING" size="256"/>
  430. <Column id="roomcd" type="STRING" size="256"/>
  431. <Column id="indd" type="STRING" size="256"/>
  432. <Column id="instcd" type="STRING" size="256"/>
  433. </ColumnInfo>
  434. </Dataset>
  435. <Dataset id="ds_init_roompatlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  436. <ColumnInfo>
  437. <Column id="pid" type="STRING" size="256"/>
  438. <Column id="pnm" type="STRING" size="256"/>
  439. <Column id="indd" type="STRING" size="256"/>
  440. </ColumnInfo>
  441. </Dataset>
  442. <Dataset id="ds_main_oldimg_oldimglist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  443. <ColumnInfo>
  444. <Column id="pid" type="STRING" size="256"/>
  445. <Column id="cls" type="STRING" size="256"/>
  446. <Column id="cnt" type="STRING" size="256"/>
  447. </ColumnInfo>
  448. </Dataset>
  449. </Objects>
  450. <Bind>
  451. <BindItem id="item0" compid="cmb_ward" propid="value" datasetid="ds_outcond" columnid="ward"/>
  452. <BindItem id="item1" compid="radio1" propid="value" datasetid="ds_outcond" columnid="dschInddlist"/>
  453. <BindItem id="item2" compid="ipt_srchfrdd" propid="value" datasetid="ds_outcond" columnid="ddlist"/>
  454. <BindItem id="item3" compid="combo1" propid="value" datasetid="ds_othercond" columnid="ward"/>
  455. <BindItem id="item4" compid="cmb_room" propid="value" datasetid="ds_othercond" columnid="room"/>
  456. <BindItem id="item5" compid="cmb_pid" propid="value" datasetid="ds_othercond" columnid="pid"/>
  457. <BindItem id="item6" compid="ipt_pid" propid="value" datasetid="ds_othercond" columnid="pid"/>
  458. <BindItem id="item7" compid="output1" propid="value" datasetid="ds_othercond" columnid="indd"/>
  459. <BindItem id="item8" compid="output2" propid="value" datasetid="ds_othercond" columnid="instcd"/>
  460. </Bind>
  461. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  462. * System Name :
  463. * Job Name :
  464. * Creator :
  465. * Make Date : 2015-11-13
  466. * Description :
  467. *---------------------------------------------------------------------------------------
  468. * Modify Date Modifier Modify Description
  469. *---------------------------------------------------------------------------------------
  470. * 2015-11-13 Live Converter TF->XP
  471. * cms
  472. *---------------------------------------------------------------------------------------
  473. ****************************************************************************************/
  474. include "com_commonxp::comm_main.xjs";
  475. include "emr_chrtmngtxp::SMMRC04300.xjs";
  476. include "emr_prcpmngtxp::MMO001.xjs";
  477. include "emr_chrtmngtxp::SMMRC01500.xjs";
  478. var arErrorCode = new HashArray();
  479. function SPMRC01500_oninit(obj:Form, e:InitEventInfo)
  480. {
  481. frmf_initForm(obj); //폼 초기화
  482. }
  483. function SPMRC01500_onload(obj:Form, e:LoadEventInfo)
  484. {
  485. // finitialize();
  486. // for(var i = 0; i < grd_outchrtlist.getCellCount; i++)
  487. // {
  488. // if(utlf_isNull(ds_main_appchrt_outchrtlist.getColumnInfo("edittype")))
  489. // {
  490. // ds_main_appchrt_outchrtlist.addColumn("edittype" + i, "string");
  491. // }
  492. // }
  493. this.setTimer(0, 100);
  494. }
  495. function btn_x_appchrt_onclick(obj:Button, e:ClickEventInfo)
  496. {
  497. fReqLendChrt();
  498. }
  499. function ds_main_appchrt_outchrtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  500. {
  501. if(e.row >= 0)
  502. {
  503. fRowRendflag();
  504. }
  505. }
  506. function grd_outchrtlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  507. {
  508. //if(e.col == -1) return;
  509. var iRow = ds_main_appchrt_outchrtlist.rowposition;
  510. fPatChrtInfo(iRow);
  511. }
  512. function btn_otherchart_onclick(obj:Button, e:ClickEventInfo)
  513. {
  514. fReqotherLendChrt();
  515. }
  516. function ds_main_otherchrt_otherchrtlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  517. {
  518. if(ds_main_otherchrt_otherchrtlist.rowposition >= 0) {//그리드에서 데이타영역만 선택
  519. fOtherRowRendflag();
  520. }
  521. }
  522. function cmb_ward_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  523. {
  524. fOutChartList();
  525. }
  526. function btn_r_chrtsearch_onclick(obj:Button, e:ClickEventInfo)
  527. {
  528. fOutChartList();
  529. }
  530. function cmb_pid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  531. {
  532. fOtherChrtList();
  533. }
  534. function combo1_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  535. {
  536. fSelectWard();
  537. }
  538. function cmb_room_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  539. {
  540. fRoomPatList();
  541. }
  542. function button1_onclick(obj:Button, e:ClickEventInfo)
  543. {
  544. fOtherChrtList();
  545. }
  546. function radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  547. {
  548. fSelectRdoList();
  549. }
  550. function ipt_srchfrdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  551. {
  552. fOutChartList();
  553. }
  554. function button2_onclick(obj:Button, e:ClickEventInfo)
  555. {
  556. fChrtListSaveExcel();
  557. }
  558. function button3_onclick(obj:Button, e:ClickEventInfo)
  559. {
  560. sysf_messageBox("개발중","I009");
  561. }
  562. function SPMRC01500_ontimer(obj:Form, e:TimerEventInfo)
  563. {
  564. if( e.timerid == 0 ){
  565. this.killTimer(0);
  566. finitialize();
  567. for(var i = 0; i < grd_outchrtlist.getCellCount; i++)
  568. {
  569. if(utlf_isNull(ds_main_appchrt_outchrtlist.getColumnInfo("edittype")))
  570. {
  571. ds_main_appchrt_outchrtlist.addColumn("edittype" + i, "string");
  572. }
  573. }
  574. }
  575. }
  576. ]]></Script>
  577. </Form>
  578. </FDL>