SPPIZ01300_수술정보조회.xfdl 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIZ01300" position="absolute 0 0 1070 800" titletext="수술정보조회" onload="SPPIZ01300_onload" oninit="SPPIZ01300_oninit">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 747 1050 774" id="group5">
  8. <Layouts>
  9. <Layout>
  10. <Button position="absolute 993 5 1049 27" id="btn_close" class="btn4" taborder="32" text="닫기" anchor="default" onclick="group5_btn_close_onclick"/>
  11. <Shape position="absolute 0 0 1048 6" linetype="horizontal" id="line32" class="line_6" anchor="default"/>
  12. <Button position="absolute 0 5 108 27" id="button3" class="btn3" text="환자진료정보" anchor="default" onclick="group5_button3_onclick"/>
  13. <Button position="absolute 110 5 202 27" id="button4" class="btn3" text="수술기록지" anchor="default" onclick="group5_button4_onclick"/>
  14. <Button position="absolute 208 5 312 27" id="button5" class="btn3" text="마취환자기록" anchor="default" onclick="group5_button5_onclick"/>
  15. <Button position="absolute 318 5 446 27" id="button6" class="btn3" text="수술마취간호처방" anchor="default" onclick="group5_button6_onclick"/>
  16. <Button position="absolute 452 5 556 27" id="button8" class="btn3" text="수술간호기록" anchor="default" onclick="group5_button8_onclick"/>
  17. <Button position="absolute 562 5 678 27" id="button9" class="btn3" text="회복실간호기록" anchor="default" onclick="group5_button9_onclick"/>
  18. <Button position="absolute 684 5 848 27" id="button10" class="btn3" text="수술실재료 및 약제현황" anchor="default" onclick="group5_button10_onclick"/>
  19. </Layout>
  20. </Layouts>
  21. </Div>
  22. <Div position="absolute 0 15 1050 752" id="group2">
  23. <Layouts>
  24. <Layout>
  25. <Static text="수술정보" position="absolute 1 225 171 246" align="align:center middle;" id="caption33" class="tit_2" anchor="default"/>
  26. <Shape position="absolute 0 241 815 247" linetype="horizontal" id="line23" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  27. <Button position="absolute 915 10 957 29" id="button7" class="btn2" text="미심" anchor="default" onclick="group2_button7_onclick"/>
  28. <Button position="absolute 961 10 1003 29" id="button1" class="btn2" text="보류" anchor="default" onclick="group2_button1_onclick"/>
  29. <Button position="absolute 1006 10 1048 29" id="button2" class="btn2" text="완료" anchor="default" onclick="group2_button2_onclick"/>
  30. <Grid position="absolute 0 246 815 466" id="grd_opersrchlist" binddataset="ds_main_list1_opersrchlist" anchor="default" cellsizingtype="col">
  31. <Formats>
  32. <Format id="default">
  33. <Columns>
  34. <Column size="125"/>
  35. <Column size="110"/>
  36. <Column size="60"/>
  37. <Column size="80"/>
  38. <Column size="490"/>
  39. <Column size="100"/>
  40. <Column size="80"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. </Columns>
  45. <Rows>
  46. <Row size="24" band="head"/>
  47. <Row size="24"/>
  48. </Rows>
  49. <Band id="head">
  50. <Cell text="실시시간"/>
  51. <Cell col="1" text="처방과"/>
  52. <Cell col="2" text="처방의"/>
  53. <Cell col="3" text="수술코드"/>
  54. <Cell col="4" text="수술명"/>
  55. <Cell col="5" text="항생제평가 대상"/>
  56. <Cell col="6" text="최초입원일"/>
  57. <Cell col="7" text="심사일시"/>
  58. <Cell col="8" text="심사자"/>
  59. <Cell col="9" text="심사구분"/>
  60. </Band>
  61. <Band id="body">
  62. <Cell displaytype="date" text="bind:exectm" mask="yyyy-MM-dd hh:mm:ss"/>
  63. <Cell col="1" text="bind:orddeptcd"/>
  64. <Cell col="2" text="bind:orddrid"/>
  65. <Cell col="3" text="bind:opcd"/>
  66. <Cell col="4" text="bind:opnm"/>
  67. <Cell col="5" text="bind:antiyn"/>
  68. <Cell col="6" displaytype="date" text="bind:orddd" mask="yyyy-MM-dd"/>
  69. <Cell col="7" text="bind:judgdt" mask="yyyy-mm-dd hh:nn"/>
  70. <Cell col="8" text="bind:judgid"/>
  71. <Cell col="9" displaytype="combo" edittype="combo" text="bind:judgflag" enable="false"/>
  72. </Band>
  73. </Format>
  74. </Formats>
  75. </Grid>
  76. <Shape position="absolute 0 29 1048 35" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  77. <Static text="수술예약정보" position="absolute 1 13 171 34" align="align:center middle;" id="caption1" class="tit_2" anchor="default"/>
  78. <Grid position="absolute 0 34 1048 184" id="grd_operrsvsrchlist" binddataset="ds_main_list2_operrsvsrchlist" anchor="default" onrbuttondown="group2_grd_operrsvsrchlist_onrbuttondown" selecttype="multiarea" oncellclick="group2_grd_operrsvsrchlist_oncellclick" cellsizingtype="col">
  79. <Formats>
  80. <Format id="default">
  81. <Columns>
  82. <Column size="26"/>
  83. <Column size="19"/>
  84. <Column size="115"/>
  85. <Column size="0"/>
  86. <Column size="67"/>
  87. <Column size="0"/>
  88. <Column size="55"/>
  89. <Column size="55"/>
  90. <Column size="19"/>
  91. <Column size="30"/>
  92. <Column size="30"/>
  93. <Column size="0"/>
  94. <Column size="69"/>
  95. <Column size="30"/>
  96. <Column size="205"/>
  97. <Column size="44"/>
  98. <Column size="195"/>
  99. <Column size="218"/>
  100. <Column size="0"/>
  101. <Column size="0"/>
  102. <Column size="0"/>
  103. <Column size="0"/>
  104. <Column size="109"/>
  105. <Column size="52"/>
  106. <Column size="70"/>
  107. </Columns>
  108. <Rows>
  109. <Row size="26" band="head"/>
  110. <Row size="26"/>
  111. </Rows>
  112. <Band id="head">
  113. <Cell/>
  114. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="선택"/>
  115. <Cell col="2" text="수술일시"/>
  116. <Cell col="3" text="집도과코드"/>
  117. <Cell col="4" text="집도과"/>
  118. <Cell col="5" text="집도의코드"/>
  119. <Cell col="6" text="집도의"/>
  120. <Cell col="7" text="마취의"/>
  121. <Cell col="8" text="선&#13;&#10;택"/>
  122. <Cell col="9" text="구분"/>
  123. <Cell col="10" text="상태"/>
  124. <Cell col="11" text="주부"/>
  125. <Cell col="12" text="수술코드"/>
  126. <Cell col="13" text="마감"/>
  127. <Cell col="14" text="보험팀전달"/>
  128. <Cell col="15" text="수술방"/>
  129. <Cell col="16" text="수술전달사항"/>
  130. <Cell col="17" text="수술명"/>
  131. <Cell col="18" text="수술예약번호"/>
  132. <Cell col="19" text="이력번호"/>
  133. <Cell col="20" text="기관코드"/>
  134. <Cell col="21" text="입력구분"/>
  135. <Cell col="22" text="심사일시"/>
  136. <Cell col="23" text="심사자"/>
  137. <Cell col="24" text="심사구분"/>
  138. </Band>
  139. <Band id="body">
  140. <Cell celltype="head"/>
  141. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chos" expr="expr:chos == 'Y' || chos == '1' || chos == 'true' ? 1 : 0"/>
  142. <Cell col="2" text="bind:opcnfmdt"/>
  143. <Cell col="3" text="bind:perfdeptcd"/>
  144. <Cell col="4" style="align:left middle;" text="bind:perfdeptnm"/>
  145. <Cell col="5" text="bind:perfdrid"/>
  146. <Cell col="6" text="bind:perfdrnm"/>
  147. <Cell col="7" text="bind:anstdrnm"/>
  148. <Cell col="8" text="bind:specordyn"/>
  149. <Cell col="9" text="bind:opflagcd"/>
  150. <Cell col="10" text="bind:opstatcd"/>
  151. <Cell col="11" text="bind:mskind"/>
  152. <Cell col="12" text="bind:opcd"/>
  153. <Cell col="13" text="bind:endstat"/>
  154. <Cell col="14" displaytype="text" edittype="text" style="background:EXPR(utlf_isNull(insuremark) ? '' : 'blanchedalmond');background2:EXPR(utlf_isNull(insuremark) ? '' : 'blanchedalmond');" text="bind:insuremark"/>
  155. <Cell col="15" text="bind:oproomcd"/>
  156. <Cell col="16" displaytype="text" edittype="text" text="bind:delivefact"/>
  157. <Cell col="17" style="align:left middle;" text="bind:opnm"/>
  158. <Cell col="18" text="bind:oprsrvno"/>
  159. <Cell col="19" text="bind:ophistno"/>
  160. <Cell col="20" text="bind:instcd"/>
  161. <Cell col="21" text="bind:flag"/>
  162. <Cell col="22" displaytype="date" text="bind:judgdt" mask="yyyy-MM-dd hh:mm"/>
  163. <Cell col="23" text="bind:judgid"/>
  164. <Cell col="24" displaytype="combo" edittype="combo" text="bind:judgflag" combodataset="ds_cmb_judgflag" combocodecol="value" combodatacol="label" enable="false"/>
  165. </Band>
  166. </Format>
  167. </Formats>
  168. </Grid>
  169. <Shape position="absolute 5 190 860 215" id="roundrect4" class="roundrect_example" type="roundrectangle" anchor="default"/>
  170. <Static text="마감상태 - 0 : 미마감, 1 : 수술, 2 : 마취, 3 : 회복, 4 : 수술 + 마취, 5 : 수술+회복, 6 : 마취 + 회복, 7 : 수술 + 마취 + 회복" position="absolute 10 193 845 215" align="align:center middle;" id="caption27" class="hand" anchor="default"/>
  171. <Static text="재원 기간 중 항생제 처방 정보(처방 사유 포함)" position="absolute 1 480 376 501" align="align:center middle;" id="caption2" class="tit_2" anchor="default"/>
  172. <Shape position="absolute 0 496 1048 502" linetype="horizontal" id="line2" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  173. <Grid position="absolute 0 501 1048 731" id="grd_operantilist" binddataset="ds_main_list3_operantilist" autofittype="col" anchor="default" cellsizingtype="col">
  174. <Formats>
  175. <Format id="default">
  176. <Columns>
  177. <Column size="25"/>
  178. <Column size="116"/>
  179. <Column size="70"/>
  180. <Column size="200"/>
  181. <Column size="35"/>
  182. <Column size="107"/>
  183. <Column size="35"/>
  184. <Column size="35"/>
  185. <Column size="35"/>
  186. <Column size="35"/>
  187. <Column size="160"/>
  188. <Column size="35"/>
  189. <Column size="190"/>
  190. </Columns>
  191. <Rows>
  192. <Row size="24" band="head"/>
  193. <Row size="24"/>
  194. </Rows>
  195. <Band id="head">
  196. <Cell/>
  197. <Cell col="1" text="처방일자"/>
  198. <Cell col="2" text="처방코드"/>
  199. <Cell col="3" text="처방명"/>
  200. <Cell col="4" text="급비"/>
  201. <Cell col="5" text="실시일시"/>
  202. <Cell col="6" text="수량"/>
  203. <Cell col="7" text="횟수"/>
  204. <Cell col="8" text="날수"/>
  205. <Cell col="9" text="세파"/>
  206. <Cell col="10" text="세파계 처방 사유"/>
  207. <Cell col="11" text="퇴원"/>
  208. <Cell col="12" text="퇴원약 항생제 처방 사유"/>
  209. </Band>
  210. <Band id="body">
  211. <Cell celltype="head" expr="currow+1"/>
  212. <Cell col="1" displaytype="date" text="bind:prcpdd" mask="yyyy-MM-dd hh:mm"/>
  213. <Cell col="2" text="bind:prcpcd"/>
  214. <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
  215. <Cell col="4" text="bind:payflagcd"/>
  216. <Cell col="5" displaytype="date" text="bind:execdd" mask="yyyy-MM-dd hh:mm"/>
  217. <Cell col="6" text="bind:execprcpqty"/>
  218. <Cell col="7" text="bind:execprcptims"/>
  219. <Cell col="8" text="bind:execprcpdayno"/>
  220. <Cell col="9" text="bind:sefa"/>
  221. <Cell col="10" text="bind:sefa_resn"/>
  222. <Cell col="11" text="bind:dscdrug"/>
  223. <Cell col="12" text="bind:dscdrug_resn"/>
  224. </Band>
  225. </Format>
  226. </Formats>
  227. </Grid>
  228. <Static text="수술미입력사유" position="absolute 820 225 990 246" align="align:center middle;" id="caption3" class="tit_2" anchor="default"/>
  229. <Shape position="absolute 820 241 1048 247" linetype="horizontal" id="line3" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="default"/>
  230. <Grid position="absolute 820 246 1048 465" id="datagrid1" binddataset="ds_main_list4_opresnlist" anchor="default" cellsizingtype="col">
  231. <Formats>
  232. <Format id="default">
  233. <Columns>
  234. <Column size="0"/>
  235. <Column size="0"/>
  236. <Column size="0"/>
  237. <Column size="0"/>
  238. <Column size="0"/>
  239. <Column size="0"/>
  240. <Column size="0"/>
  241. <Column size="82"/>
  242. <Column size="60"/>
  243. <Column size="108"/>
  244. <Column size="0"/>
  245. <Column size="0"/>
  246. </Columns>
  247. <Rows>
  248. <Row size="24" band="head"/>
  249. <Row size="24"/>
  250. </Rows>
  251. <Band id="head">
  252. <Cell text="실시시간"/>
  253. <Cell col="1" text="등록일"/>
  254. <Cell col="2" text="처방의"/>
  255. <Cell col="3" text="수술코드"/>
  256. <Cell col="4" text="수술명"/>
  257. <Cell col="5" text="항생제평가 대상"/>
  258. <Cell col="6" text="예외사유"/>
  259. <Cell col="7" text="예외기타사유"/>
  260. <Cell col="8" text="등록자"/>
  261. <Cell col="9" text="등록일시"/>
  262. <Cell col="10" text="caption1"/>
  263. <Cell col="11" text="caption2"/>
  264. </Band>
  265. <Band id="body">
  266. <Cell text="bind:genrno" mask="yyyy-mm-dd hh:nn:ss"/>
  267. <Cell col="1" text="bind:genrdd" mask="yyyy-mm-dd"/>
  268. <Cell col="2" text="bind:pid"/>
  269. <Cell col="3" text="bind:oprsrvno"/>
  270. <Cell col="4" text="bind:ophistno"/>
  271. <Cell col="5" text="bind:ophistcd"/>
  272. <Cell col="6" text="bind:opresncd" mask="yyyy-mm-dd"/>
  273. <Cell col="7" displaytype="text" style="align:left top;" text="bind:opetcresn"/>
  274. <Cell col="8" text="bind:fstrgstrid"/>
  275. <Cell col="9" displaytype="date" edittype="none" style="align:left;" text="bind:fstrgstdt" mask="yyyy-MM-dd hh:mm"/>
  276. <Cell col="10" text="bind:lastupdtrid"/>
  277. <Cell col="11" text="bind:lastupdtdt"/>
  278. </Band>
  279. </Format>
  280. </Formats>
  281. </Grid>
  282. </Layout>
  283. </Layouts>
  284. </Div>
  285. <Static id="caption6" text="수술정보조회" class="tit_1" position="absolute 1 0 193 23"/>
  286. <PopupMenu id="pmn_menu1" innerdataset="ds_menu" idcolumn="func" captioncolumn="label" levelcolumn="level" onmenuclick="pmn_menu1_onmenuclick" onmouseleave="pmn_menu1_onmouseleave" position="absolute 1086 117 1200 139" style="buttonsize:-1;background:#ffffffff;border:1 solid #1771beff ;"/>
  287. </Layout>
  288. </Layouts>
  289. <Objects>
  290. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  291. <ColumnInfo>
  292. <Column id="pid" type="STRING" size="256"/>
  293. <Column id="indd" type="STRING" size="256"/>
  294. <Column id="cretno" type="INT" size="256"/>
  295. <Column id="ioflag" type="STRING" size="256"/>
  296. <Column id="instcd" type="STRING" size="256"/>
  297. </ColumnInfo>
  298. <Rows>
  299. <Row>
  300. <Col id="ioflag">I</Col>
  301. </Row>
  302. </Rows>
  303. </Dataset>
  304. <Dataset id="ds_send_data2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  305. <ColumnInfo>
  306. <Column id="srchcond" type="STRING" size="256"/>
  307. <Column id="opersrchlist" type="STRING" size="256"/>
  308. </ColumnInfo>
  309. <Rows>
  310. <Row/>
  311. </Rows>
  312. </Dataset>
  313. <Dataset id="ds_send_data3" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  314. <ColumnInfo>
  315. <Column id="pid" type="STRING" size="256"/>
  316. <Column id="oprsrvno" type="STRING" size="256"/>
  317. </ColumnInfo>
  318. <Rows>
  319. <Row/>
  320. </Rows>
  321. </Dataset>
  322. <Dataset id="ds_main_list2_operrsvsrchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  323. <ColumnInfo>
  324. <Column id="chos" type="STRING" size="256" sumtext="선택"/>
  325. <Column id="opcnfmdt" type="STRING" size="256" sumtext="수술일시"/>
  326. <Column id="perfdeptcd" type="STRING" size="256" sumtext="집도과코드"/>
  327. <Column id="perfdeptnm" type="STRING" size="256" sumtext="집도과"/>
  328. <Column id="perfdrid" type="STRING" size="256" sumtext="집도의코드"/>
  329. <Column id="perfdrnm" type="STRING" size="256" sumtext="집도의"/>
  330. <Column id="specordyn" type="STRING" size="256" sumtext="선택"/>
  331. <Column id="opflagcd" type="STRING" size="256" sumtext="수술구분"/>
  332. <Column id="opstatcd" type="STRING" size="256" sumtext="수술상태"/>
  333. <Column id="mskind" type="STRING" size="256" sumtext="주부"/>
  334. <Column id="opcd" type="STRING" size="256" sumtext="수술코드"/>
  335. <Column id="endstat" type="STRING" size="256" sumtext="마감상태"/>
  336. <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
  337. <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약(의뢰)번호"/>
  338. <Column id="oproomcd" type="STRING" size="256" sumtext="수술방"/>
  339. <Column id="delivefact" type="STRING" size="256" sumtext="수술전달사항"/>
  340. <Column id="ophistno" type="STRING" size="256" sumtext="이력번호"/>
  341. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  342. <Column id="flag" type="STRING" size="256" sumtext="입력구분"/>
  343. <Column id="judgdt" type="STRING" size="256" sumtext="심사일시"/>
  344. <Column id="judgflag" type="STRING" size="256" sumtext="심사구분"/>
  345. <Column id="judgid" type="STRING" size="256" sumtext="심사자"/>
  346. <Column id="formrecseq" type="STRING" size="256" sumtext="수술기록지번호"/>
  347. <Column id="insuremark" type="STRING" size="256" sumtext="보험팀전달사항"/>
  348. <Column id="anstdrnm" type="STRING" size="256" sumtext="마취의"/>
  349. </ColumnInfo>
  350. </Dataset>
  351. <Dataset id="ds_main_list1_opersrchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  352. <ColumnInfo>
  353. <Column id="chos" type="STRING" size="256" sumtext="선택"/>
  354. <Column id="exectm" type="STRING" size="256" sumtext="실시시간"/>
  355. <Column id="orddeptcd" type="STRING" size="256" sumtext="처방과"/>
  356. <Column id="orddrid" type="STRING" size="256" sumtext="처방의"/>
  357. <Column id="opcd" type="STRING" size="256" sumtext="수술코드"/>
  358. <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
  359. <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약(의뢰)번호"/>
  360. <Column id="judgdt" type="STRING" size="256" sumtext="심사일시"/>
  361. <Column id="judgid" type="STRING" size="256" sumtext="심사자"/>
  362. <Column id="judgflag" type="STRING" size="256" sumtext="심사구분"/>
  363. <Column id="antiyn" type="STRING" size="256" sumtext="항생제 평가 대상"/>
  364. <Column id="orddd" type="STRING" size="256" sumtext="최초 입원일"/>
  365. </ColumnInfo>
  366. </Dataset>
  367. <Dataset id="ds_main_list3_operantilist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  368. <ColumnInfo>
  369. <Column id="prcpdd" type="STRING" size="256" sumtext="처방일자"/>
  370. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  371. <Column id="prcpnm" type="STRING" size="256" sumtext="처방명"/>
  372. <Column id="payflagcd" type="STRING" size="256" sumtext="급비"/>
  373. <Column id="execdd" type="STRING" size="256" sumtext="실시일시"/>
  374. <Column id="execprcpqty" type="STRING" size="256" sumtext="횟수"/>
  375. <Column id="execprcptims" type="STRING" size="256" sumtext="수량"/>
  376. <Column id="execprcpdayno" type="STRING" size="256" sumtext="날수"/>
  377. <Column id="sefa" type="STRING" size="256" sumtext="세파"/>
  378. <Column id="sefa_resn" type="STRING" size="256" sumtext="세파계 처방사유"/>
  379. <Column id="dscdrug" type="STRING" size="256" sumtext="퇴원"/>
  380. <Column id="dscdrug_resn" type="STRING" size="256" sumtext="퇴원 항생제 처방사유"/>
  381. </ColumnInfo>
  382. </Dataset>
  383. <Dataset id="ds_cmb_judgflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  384. <ColumnInfo>
  385. <Column id="label" type="STRING" size="256"/>
  386. <Column id="value" type="STRING" size="256"/>
  387. </ColumnInfo>
  388. <Rows>
  389. <Row>
  390. <Col id="label">미심</Col>
  391. <Col id="value">1</Col>
  392. </Row>
  393. <Row>
  394. <Col id="label">보류</Col>
  395. <Col id="value">2</Col>
  396. </Row>
  397. <Row>
  398. <Col id="label">완료</Col>
  399. <Col id="value">3</Col>
  400. </Row>
  401. </Rows>
  402. </Dataset>
  403. <Dataset id="ds_menu" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  404. <ColumnInfo>
  405. <Column id="label" type="STRING" size="256"/>
  406. <Column id="func" type="STRING" size="256"/>
  407. <Column id="level" type="STRING" size="256"/>
  408. </ColumnInfo>
  409. <Rows>
  410. <Row>
  411. <Col id="label">내용복사</Col>
  412. <Col id="func">f_ophist_clipBoard</Col>
  413. <Col id="level">0</Col>
  414. </Row>
  415. </Rows>
  416. </Dataset>
  417. <Dataset id="ds_tmp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  418. <Dataset id="ds_main_list4_opresnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  419. <ColumnInfo>
  420. <Column id="genrno" type="STRING" size="256" sumtext="선택"/>
  421. <Column id="genrdd" type="STRING" size="256" sumtext="수술일시"/>
  422. <Column id="pid" type="STRING" size="256" sumtext="집도과코드"/>
  423. <Column id="oprsrvno" type="STRING" size="256" sumtext="집도과"/>
  424. <Column id="ophistno" type="STRING" size="256" sumtext="집도의코드"/>
  425. <Column id="ophistcd" type="STRING" size="256" sumtext="선택"/>
  426. <Column id="opresncd" type="STRING" size="256" sumtext="수술구분"/>
  427. <Column id="opetcresn" type="STRING" size="256" sumtext="수술상태"/>
  428. <Column id="fstrgstrid" type="STRING" size="256" sumtext="주부"/>
  429. <Column id="fstrgstdt" type="STRING" size="256" sumtext="수술코드"/>
  430. <Column id="lastupdtrid" type="STRING" size="256" sumtext="마감상태"/>
  431. <Column id="lastupdtdt" type="STRING" size="256" sumtext="수술명"/>
  432. </ColumnInfo>
  433. </Dataset>
  434. <Dataset id="ds_hidden_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  435. </Objects>
  436. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  437. * System Name :
  438. * Job Name :
  439. * Creator :
  440. * Make Date : 2016-05-24
  441. * Description :
  442. *---------------------------------------------------------------------------------------
  443. * Modify Date Modifier Modify Description
  444. *---------------------------------------------------------------------------------------
  445. * 2016-05-24 Live Converter TF->XP
  446. *
  447. *---------------------------------------------------------------------------------------
  448. ****************************************************************************************/
  449. include "com_commonxp::comm_main.xjs";
  450. include "pam_pamcomnxp::PAM001.xjs";
  451. include "pam_pamcomnxp::PAM.xjs";
  452. function SPPIZ01300_oninit(obj:Form, e:InitEventInfo)
  453. {
  454. frmf_initForm(obj);
  455. }
  456. function SPPIZ01300_onload(obj:Form, e:LoadEventInfo)
  457. {
  458. grdf_setToolTipBind(group2.grd_operrsvsrchlist);
  459. grdf_initGrid(group2.grd_operrsvsrchlist);
  460. grdf_setRowTypeIcon(group2.grd_operrsvsrchlist,0);
  461. grdf_initGrid(group2.grd_opersrchlist);
  462. grdf_initGrid(group2.datagrid1);
  463. grdf_initGrid(group2.grd_operantilist);
  464. if(frmf_checkOpener())
  465. {
  466. ds_send_data1.copyData(objDs)
  467. ds_send_data1.setColumn(0, "ioflag", "I");
  468. }
  469. fSrchInfo();
  470. }
  471. function fSrchInfo()
  472. {
  473. fInitialize();
  474. var oParam = {};
  475. oParam.id = "TRPIZ01301";
  476. oParam.service = "insucomapp.OperSrch";
  477. oParam.method = "reqGetOperSrchList";
  478. oParam.inds = "req=ds_send_data1";
  479. oParam.outds = "ds_main_list2_operrsvsrchlist=operrsvsrchlist ds_main_list1_opersrchlist=opersrchlist ds_main_list3_operantilist=operantilist";
  480. oParam.async = false;
  481. oParam.callback = "cf_TRPIZ01301";
  482. tranf_submit(oParam);
  483. }
  484. function cf_TRPIZ01301()
  485. {
  486. fGetJudgData();
  487. }
  488. function fInitialize()
  489. {
  490. ds_main_list1_opersrchlist.clearData();
  491. ds_main_list2_operrsvsrchlist.clearData();
  492. }
  493. function fGetJudgData()
  494. {
  495. var operrsvrows = ds_main_list2_operrsvsrchlist.rowcount;
  496. var operrows = ds_main_list1_opersrchlist.rowcount;
  497. for (var i = 0; i < operrsvrows; i++)
  498. {
  499. var oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
  500. var judgdt = ds_main_list2_operrsvsrchlist.getColumn(i, "judgdt");
  501. var judgid = ds_main_list2_operrsvsrchlist.getColumn(i, "judgid");
  502. var judgflag = ds_main_list2_operrsvsrchlist.getColumn(i, "judgflag");
  503. if (judgflag == 1 )
  504. {
  505. ds_main_list2_operrsvsrchlist.setColumn(i, "chos", 1);
  506. }
  507. for (var j = 0; j < operrows; j++)
  508. {
  509. var no = ds_main_list1_opersrchlist.getColumn(j, "oprsrvno");
  510. if (no == oprsrvno)
  511. {
  512. ds_main_list1_opersrchlist.setColumn(j, "judgdt", judgdt);
  513. ds_main_list1_opersrchlist.setColumn(j, "judgid", judgid);
  514. ds_main_list1_opersrchlist.setColumn(j, "judgflag", judgflag);
  515. }
  516. }
  517. }
  518. }
  519. function pmn_menu1_onmenuclick(obj:PopupMenu, e:MenuClickEventInfo)
  520. {
  521. eval(e.id +"();");
  522. }
  523. function pmn_menu1_onmouseleave(obj:PopupMenu, e:MenuMouseEventInfo)
  524. {
  525. obj.closePopup();
  526. }
  527. function group2_grd_operrsvsrchlist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  528. {
  529. pmn_menu1.trackPopup(e.screenX,e.screenY);
  530. }
  531. function f_ophist_clipBoard()
  532. {
  533. grdf_clipboardCopy(group2.grd_operrsvsrchlist, "PAM");
  534. }
  535. function group2_button7_onclick(obj:Button, e:ClickEventInfo)
  536. {
  537. var ioflag = ds_send_data1.getColumn(0, "ioflag");
  538. fSaveMain("1");
  539. if ( frmf_checkOpener() && ioflag != "O")
  540. {
  541. opener.fGetOperStat();
  542. }
  543. }
  544. function fSaveMain(flag)
  545. {
  546. var rows = ds_main_list2_operrsvsrchlist.rowcount;
  547. var chos = "";
  548. var saveflag = "";
  549. var judgflag = "";
  550. for (var i = 0; i < rows; i++)
  551. {
  552. chos = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
  553. saveflag = ds_main_list2_operrsvsrchlist.getColumn(i, "flag");
  554. if(chos == "1")
  555. {
  556. if(saveflag == "I")
  557. {
  558. var arrRow = new Array();
  559. arrRow[0] = i;
  560. grdf_setStatus(group2.grd_operrsvsrchlist, "I", arrRow);
  561. }
  562. ds_main_list2_operrsvsrchlist.setColumn(i, "judgflag", flag);
  563. }
  564. else
  565. {
  566. var arrRow = new Array();
  567. arrRow[0] = i;
  568. grdf_setStatus(group2.grd_operrsvsrchlist, "", arrRow);
  569. }
  570. }
  571. var updtdata = grdf_getGridUpdateData(group2.grd_operrsvsrchlist);
  572. if (updtdata.rowcount == 0)
  573. {
  574. sysf_messageBox("변경된 데이터가","I004");
  575. return;
  576. }
  577. var oParam = {};
  578. oParam.id = "TXPIZ01301";
  579. oParam.service = "insucomapp.OperSrch";
  580. oParam.method = "reqExeOperJudg";
  581. oParam.inds = "srchcond=ds_send_data1 opersrchlist=ds_main_list2_operrsvsrchlist:U";
  582. oParam.outds = "ds_main_list2_operrsvsrchlist=opersrchlist";
  583. oParam.async = false;
  584. oParam.callback = "cf_TXPIZ01301";
  585. tranf_submit(oParam);
  586. fGetJudgData();
  587. }
  588. function cf_TXPIZ01301()
  589. {
  590. // // frmf_initForm(group2.grd_operrsvsrchlist);
  591. // sysf_messageBox("등록이","I002");
  592. }
  593. function group2_grd_operrsvsrchlist_oncellclick(obj:Grid, e:GridClickEventInfo)
  594. {
  595. ds_send_data3.setColumn(0, "pid", ds_send_data1.getColumn(0, "pid"));
  596. ds_send_data3.setColumn(0, "oprsrvno", ds_main_list2_operrsvsrchlist.getColumn(ds_main_list2_operrsvsrchlist.rowposition, "oprsrvno"));
  597. var oParam = {};
  598. oParam.id = "TRPIZ01301";
  599. oParam.service = "insucomapp.OperSrch";
  600. oParam.method = "reqGetOpresnList";
  601. oParam.inds = "req=ds_send_data3";
  602. oParam.outds = "ds_main_list4_opresnlist=opresnlist";
  603. oParam.async = false;
  604. //oParam.callback = "cf_TRPIZ01301";
  605. tranf_submit(oParam);
  606. }
  607. function group5_btn_close_onclick(obj:Button, e:ClickEventInfo)
  608. {
  609. this.close();
  610. }
  611. function group2_button1_onclick(obj:Button, e:ClickEventInfo)
  612. {
  613. var ioflag = ds_send_data1.getColumn(0, "ioflag");
  614. fSaveMain("2");
  615. if ( frmf_checkOpener() && ioflag != "O")
  616. {
  617. opener.fGetOperStat();
  618. }
  619. }
  620. function group2_button2_onclick(obj:Button, e:ClickEventInfo)
  621. {
  622. var ioflag = ds_send_data1.getColumn(0, "ioflag");
  623. fSaveMain("3");
  624. if ( frmf_checkOpener() && ioflag != "O")
  625. {
  626. opener.fGetOperStat();
  627. }
  628. }
  629. function group5_button3_onclick(obj:Button, e:ClickEventInfo)
  630. {
  631. frmf_modal("SMMMO02500", "SMMMO02500", "", "", "", "", "", "", "", "", "", "", "M");
  632. }
  633. function group5_button4_onclick(obj:Button, e:ClickEventInfo)
  634. {
  635. var cnt = 0;
  636. var formrecseq = "";
  637. for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
  638. {
  639. var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
  640. if (check == "1")
  641. {
  642. cnt++;
  643. if (cnt > 1)
  644. {
  645. sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
  646. return;
  647. }
  648. formrecseq = ds_main_list2_operrsvsrchlist.getColumn(i, "formrecseq");
  649. }
  650. }
  651. if (!utlf_isNull(formrecseq) && formrecseq != "0")
  652. {
  653. frmf_setParameter("openmode", "recform");
  654. frmf_setParameter("formrecseq", formrecseq);
  655. frmf_modal("SSMMR01100", "SSMMR01100", "", "", "", "", "", "", "", "", "", "", "M");
  656. }
  657. else
  658. {
  659. sysf_messageBox("작성된 수술예약 정보에 대한 수술 기록지가 존재하지 않습니다.", "I999");
  660. return;
  661. }
  662. }
  663. function group5_button5_onclick(obj:Button, e:ClickEventInfo)
  664. {
  665. var cnt = 0;
  666. var oprsrvno = "";
  667. for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
  668. {
  669. var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
  670. if(check == "1")
  671. {
  672. cnt++;
  673. if(cnt > 1)
  674. {
  675. sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
  676. return;
  677. }
  678. oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
  679. }
  680. }
  681. if (!utlf_isNull(oprsrvno))
  682. {
  683. dsf_createDsRow("ds_hidden_list", [{col:"oprsrvno", type:"STRING", size:256 , val : oprsrvno}]);
  684. var csv = dsf_getDsCSV(ds_hidden_list, 0, "", "","");
  685. sysf_setGlobalVariable("operation",csv);
  686. frmf_modal("SMMMR03700", "SMMMR03700", "", "", "", "", "", "", "", "", "", "", "M");
  687. }
  688. }
  689. function group5_button6_onclick(obj:Button, e:ClickEventInfo)
  690. {
  691. var cnt = 0;
  692. var oprsrvno = "";
  693. for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
  694. {
  695. var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
  696. if (check == "1")
  697. {
  698. cnt++;
  699. if (cnt > 1)
  700. {
  701. sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
  702. return;
  703. }
  704. oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
  705. }
  706. }
  707. if (!utlf_isNull(oprsrvno))
  708. {
  709. dsf_createDsRow("ds_hidden_list", [{col:"oprsrvno", type:"STRING", size:256 , val : oprsrvno}]);
  710. var csv = dsf_getDsCSV(ds_hidden_list, 0, "", "","");
  711. sysf_setGlobalVariable("operation",csv);
  712. frmf_modal("SMMNP01800", "SMMNP01800", "", "", "", "", "", "", "", "", "", "", "M");
  713. }
  714. }
  715. function group5_button8_onclick(obj:Button, e:ClickEventInfo)
  716. {
  717. var cnt = 0;
  718. var pid = ds_send_data1.getColumn(0, "pid");
  719. var instcd = "012";
  720. var oprsrvno = "";
  721. var ophistno = "";
  722. for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
  723. {
  724. var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
  725. if (check == "1")
  726. {
  727. cnt++;
  728. if (cnt > 1)
  729. {
  730. sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
  731. return;
  732. }
  733. oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
  734. ophistno = ds_main_list2_operrsvsrchlist.getColumn(i, "ophistno");
  735. }
  736. }
  737. if (!utlf_isNull(pid) && !utlf_isNull(oprsrvno) && !utlf_isNull(instcd) && !utlf_isNull(ophistno))
  738. {
  739. dsf_createDsRow("ds_hidden_list", [{col:"pid", type:"STRING", size:256 , val : pid}
  740. , {col:"instcd", type:"STRING", size:256 , val : instcd}
  741. , {col:"oprsrvno", type:"STRING", size:256 , val : oprsrvno}
  742. , {col:"ophistno", type:"STRING", size:256 , val : ophistno}]);
  743. var csv = dsf_getDsCSV(ds_hidden_list, 0, "", "","");
  744. sysf_setGlobalVariable("operation",csv);
  745. frmf_modal("SMMNP00300", "SMMNP00300", "", "", "", "", "", "", "", "", "", "", "M");
  746. }
  747. }
  748. function group5_button9_onclick(obj:Button, e:ClickEventInfo)
  749. {
  750. var cnt = 0;
  751. var pid = ds_send_data1.getColumn(0, "pid");
  752. var instcd = "012";
  753. var oprsrvno = "";
  754. var ophistno = "";
  755. for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
  756. {
  757. var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
  758. if (check == "1")
  759. {
  760. cnt++;
  761. if (cnt > 1)
  762. {
  763. sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
  764. return;
  765. }
  766. oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
  767. ophistno = ds_main_list2_operrsvsrchlist.getColumn(i, "ophistno");
  768. }
  769. }
  770. if (!utlf_isNull(pid) && !utlf_isNull(oprsrvno) && !utlf_isNull(instcd) && !utlf_isNull(ophistno))
  771. {
  772. dsf_createDsRow("ds_hidden_list", [{col:"pid", type:"STRING", size:256 , val : pid}
  773. , {col:"instcd", type:"STRING", size:256 , val : instcd}
  774. , {col:"oprsrvno", type:"STRING", size:256 , val : oprsrvno}
  775. , {col:"ophistno", type:"STRING", size:256 , val : ophistno}]);
  776. var csv = dsf_getDsCSV(ds_hidden_list, 0, "", "","");
  777. sysf_setGlobalVariable("operation",csv);
  778. frmf_modal("SMMNP00700", "SMMNP00700", "", "", "", "", "", "", "", "", "", "", "M");
  779. }
  780. }
  781. function group5_button10_onclick(obj:Button, e:ClickEventInfo)
  782. {
  783. var cnt = 0;
  784. var pid = ds_send_data1.getColumn(0, "pid");
  785. var instcd = "012";
  786. var oprsrvno = "";
  787. var ophistno = "";
  788. var opcnfmdt = "";
  789. var perfdeptnm = "";
  790. var opnm = "";
  791. var patnm = "";
  792. for (var i = 0; i < ds_main_list2_operrsvsrchlist.rowcount; i++)
  793. {
  794. var check = ds_main_list2_operrsvsrchlist.getColumn(i, "chos");
  795. if (check == "1")
  796. {
  797. cnt++;
  798. if (cnt > 1)
  799. {
  800. sysf_messageBox("수술예약정보가 두 건 이상 선택되었습니다.", "I999");
  801. return;
  802. }
  803. oprsrvno = ds_main_list2_operrsvsrchlist.getColumn(i, "oprsrvno");
  804. ophistno = ds_main_list2_operrsvsrchlist.getColumn(i, "ophistno");
  805. opcnfmdt = ds_main_list2_operrsvsrchlist.getColumn(i, "opcnfmdt");
  806. perfdeptnm = ds_main_list2_operrsvsrchlist.getColumn(i, "perfdeptnm");
  807. opnm = ds_main_list2_operrsvsrchlist.getColumn(i, "opnm");
  808. patnm = ds_main_list2_operrsvsrchlist.getColumn(i, "patnm");
  809. }
  810. }
  811. if (!utlf_isNull(pid) && !utlf_isNull(oprsrvno) && !utlf_isNull(instcd) && !utlf_isNull(ophistno))
  812. {
  813. dsf_createDsRow("ds_hidden_list", [{col:"pid", type:"STRING", size:256 , val : pid}
  814. , {col:"instcd", type:"STRING", size:256 , val : instcd}
  815. , {col:"oprsrvno", type:"STRING", size:256 , val : oprsrvno}
  816. , {col:"ophistno", type:"STRING", size:256 , val : ophistno}
  817. , {col:"indd", type:"STRING", size:256 , val : ds_send_data1.getColumn(0, "indd")}
  818. , {col:"opcnfmdt", type:"STRING", size:256 , val : opcnfmdt}
  819. , {col:"oprcdd", type:"STRING", size:256 , val : String(opcnfmdt).substr(0,10).split("-").join("")}
  820. , {col:"perfdeptnm", type:"STRING", size:256 , val : perfdeptnm}
  821. , {col:"opnm", type:"STRING", size:256 , val : opnm}
  822. , {col:"patnm", type:"STRING", size:256 , val : patnm}]);
  823. var objArg = new Object();
  824. objArg.arg_ds_hidden_list = ds_hidden_list;
  825. frmf_modal("SPPIJ03400", "SPPIJ03400", objArg, "", "", "", "", "", "", "", "", "", "M");
  826. //modal("SPPIJ03400", 1, "", "","SPPIJ03400", "/root/hidden/list", "/root/hidden/list");
  827. }
  828. }
  829. ]]></Script>
  830. </Form>
  831. </FDL>