SMASI02300_수술환자조회.xfdl 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMASI02300" position="absolute 0 0 1204 786" titletext="수술환자조회" oninit="SMASI02300_oninit" onload="SMASI02300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 25 1194 91" align="align:center top;" id="grp_sea" class="div_SA">
  8. <Layouts>
  9. <Layout>
  10. <Shape position="absolute 1116 23 1122 45" linetype="vertical" id="line5" class="line_4" anchor="default"/>
  11. <Static text="~" position="absolute 185 7 197 24" id="caption19" class="search_no_b" anchor="default"/>
  12. <Static text="진료과 :" position="absolute 303 9 367 26" id="caption7" class="search_name" anchor="default"/>
  13. <Static text="집도의 :" position="absolute 548 9 610 26" id="caption5" class="search_name" anchor="default"/>
  14. <Static text="수술명 :" position="absolute 689 8 754 25" id="caption8" class="search_name" anchor="default"/>
  15. <Static text="등록번호 :" position="absolute 5 40 83 57" id="caption2" class="search_name" anchor="default"/>
  16. <Edit position="absolute 91 39 179 58" id="ipt_pid" class="input_default" onkeydown="grp_sea_ipt_pid_onkeydown" taborder="6" anchor="default"/>
  17. <Edit position="absolute 754 7 915 26" id="ipt_opnm" class="input_default" onkeydown="grp_sea_ipt_opnm_onkeydown" taborder="4" anchor="default"/>
  18. <Calendar position="absolute 91 8 180 27" id="ipt_fromdd" class="input_s_essential" taborder="0" anchor="default"/>
  19. <Calendar position="absolute 199 8 288 27" id="ipt_todd" class="input_s_essential" taborder="1" anchor="default"/>
  20. <Combo position="absolute 370 7 533 26" id="cmb_orddeptcd" class="combo_search" datacolumn="depthngnm" codecolumn="deptcd" innerdataset="@ds_init_dept" taborder="2" anchor="default"/>
  21. <Edit position="absolute 614 8 674 27" id="ipt_perfdrnm" class="input_default" onkeydown="grp_sea_ipt_perfdrnm_onkeydown" taborder="3" anchor="default"/>
  22. <Button position="absolute 919 9 935 25" id="btn_opnm" class="icon_search" text="" onclick="grp_sea_btn_opnm_onclick" taborder="5" anchor="default"/>
  23. <Static text="기간선택 :" position="absolute 5 9 91 26" id="cap_fromdd" class="search_name" anchor="default"/>
  24. <Button position="absolute 1129 23 1185 45" id="btn_search" class="btn1" text="조회" onclick="grp_sea_btn_search_onclick" taborder="9" anchor="default"/>
  25. <Radio position="absolute 255 36 391 59" id="radio1" columncount="-1" rowcount="-1" codecolumn="codecolumn" datacolumn="datacolumn" taborder="7" anchor="default" onitemchanged="grp_sea_radio1_onitemchanged">
  26. <Dataset id="innerdataset">
  27. <ColumnInfo>
  28. <Column id="codecolumn"/>
  29. <Column id="datacolumn"/>
  30. </ColumnInfo>
  31. <Rows>
  32. <Row>
  33. <Col id="codecolumn">OPCD</Col>
  34. <Col id="datacolumn">감염코드존재</Col>
  35. </Row>
  36. <Row>
  37. <Col id="codecolumn">ALL</Col>
  38. <Col id="datacolumn">전체</Col>
  39. </Row>
  40. </Rows>
  41. </Dataset>
  42. </Radio>
  43. <Static id="caption00" text="구분 :" class="search_name" position="absolute 201 40 255 57" anchor="default"/>
  44. <Static id="caption01" text="감염코드 :" class="search_name" position="absolute 406 39 484 56"/>
  45. <Combo id="cmb_etccdarr" taborder="8" innerdataset="@ds_main_detlcodelst_item" codecolumn="etccd" datacolumn="etcdetlnm" class="combo_search" position="absolute 487 37 650 56" index="-1"/>
  46. </Layout>
  47. </Layouts>
  48. </Div>
  49. <Shape position="absolute 0 111 1194 117" linetype="horizontal" id="line1" class="line_10"/>
  50. <Shape position="absolute 1 539 1195 545" linetype="vertical" id="line6" class="line_3"/>
  51. <Static text="개인 수술 이력" position="absolute 0 575 140 592" align="align:center middle;" id="caption1" class="tit_2"/>
  52. <Shape position="absolute 0 591 1194 597" linetype="horizontal" id="line2" class="line_10"/>
  53. <Grid position="absolute 0 116 1195 554" id="grd_oppatreflist" class="datagrid2" binddataset="ds_main_oppatrefinfo_oppatreflist" oncelldblclick="grd_oppatreflist_oncelldblclick" onrbuttondown="grd_oppatreflist_onrbuttondown" onrbuttonup="grd_oppatreflist_onrbuttonup" cellsizingtype="col">
  54. <Formats>
  55. <Format id="default">
  56. <Columns>
  57. <Column size="20" band="left"/>
  58. <Column size="25" band="left"/>
  59. <Column size="32" band="left"/>
  60. <Column size="58" band="left"/>
  61. <Column size="64" band="left"/>
  62. <Column size="73"/>
  63. <Column size="50"/>
  64. <Column size="55"/>
  65. <Column size="95"/>
  66. <Column size="73"/>
  67. <Column size="73"/>
  68. <Column size="81"/>
  69. <Column size="59"/>
  70. <Column size="50"/>
  71. <Column size="129"/>
  72. <Column size="125"/>
  73. <Column size="184"/>
  74. <Column size="148"/>
  75. <Column size="100"/>
  76. <Column size="100"/>
  77. <Column size="100"/>
  78. <Column size="0"/>
  79. <Column size="54"/>
  80. <Column size="192"/>
  81. <Column size="60"/>
  82. <Column size="60"/>
  83. <Column size="60"/>
  84. <Column size="43"/>
  85. <Column size="42"/>
  86. <Column size="59"/>
  87. <Column size="71"/>
  88. <Column size="100"/>
  89. <Column size="100"/>
  90. <Column size="100"/>
  91. <Column size="70"/>
  92. <Column size="0"/>
  93. <Column size="0"/>
  94. <Column size="0"/>
  95. <Column size="0"/>
  96. <Column size="0"/>
  97. <Column size="0"/>
  98. <Column size="0"/>
  99. <Column size="0"/>
  100. <Column size="0"/>
  101. <Column size="0"/>
  102. <Column size="0"/>
  103. </Columns>
  104. <Rows>
  105. <Row size="28" band="head"/>
  106. <Row size="24"/>
  107. </Rows>
  108. <Band id="head">
  109. <Cell/>
  110. <Cell col="1"/>
  111. <Cell col="2" text="감염&#10;여부"/>
  112. <Cell col="3" text="환자이름"/>
  113. <Cell col="4" text="등록번호"/>
  114. <Cell col="5" text="주민번호"/>
  115. <Cell col="6" text="성별&#10;/나이"/>
  116. <Cell col="7" text="진료과"/>
  117. <Cell col="8" text="병동 [병실]"/>
  118. <Cell col="9" text="입원일"/>
  119. <Cell col="10" text="퇴원일"/>
  120. <Cell col="11" text="수술일"/>
  121. <Cell col="12" text="수술구분"/>
  122. <Cell col="13" text="재수술"/>
  123. <Cell col="14" text="수술전 진단명"/>
  124. <Cell col="15" text="수술후 진단명"/>
  125. <Cell col="16" text="수술전 수술명"/>
  126. <Cell col="17" text="수술후 수술명"/>
  127. <Cell col="18" text="수술코드&#10;(수가)"/>
  128. <Cell col="19" text="수술코드&#10;(EDI)"/>
  129. <Cell col="20" text="수술코드&#10;(감염)"/>
  130. <Cell col="21" text="집도의코드"/>
  131. <Cell col="22" text="집도의"/>
  132. <Cell col="23" text="수술창상종류"/>
  133. <Cell col="24" text="수술&#10;시작시간"/>
  134. <Cell col="25" text="수술&#10;종료시간"/>
  135. <Cell col="26" text="수술&#10;소요시간"/>
  136. <Cell col="27" text="ASA&#10;score"/>
  137. <Cell col="28" text="T&#10;hours"/>
  138. <Cell col="29" text="내시경&#10;사용유무"/>
  139. <Cell col="30" text="마취종류"/>
  140. <Cell col="31" text="예방적 항생제1"/>
  141. <Cell col="32" text="예방적 항생제2"/>
  142. <Cell col="33" text="예방적 항생제3"/>
  143. <Cell col="34" text="Risk index"/>
  144. <Cell col="35" text="수술코드"/>
  145. <Cell col="36" text="수술진단코드"/>
  146. <Cell col="37" text="주/부"/>
  147. <Cell col="38" text="수술구분"/>
  148. <Cell col="39" text="수술진행상태"/>
  149. <Cell col="40" text="기관코드"/>
  150. <Cell col="41" text="집도과코드"/>
  151. <Cell col="42" text="집도과"/>
  152. <Cell col="43" text="수술예약번호"/>
  153. <Cell col="44" text="수술이력번호"/>
  154. <Cell col="45" text="general anesthesia 유무"/>
  155. </Band>
  156. <Band id="body">
  157. <Cell celltype="head"/>
  158. <Cell col="1" celltype="head" text="expr:currow+1"/>
  159. <Cell col="2" displaytype="combo" edittype="combo" style="align:center;padding:1 2 1 2;" text="bind:infcyn" combodataset="ds_cbo_YN" combocodecol="value" combodatacol="label" enable="false"/>
  160. <Cell col="3" text="bind:patnm"/>
  161. <Cell col="4" text="bind:pid"/>
  162. <Cell col="5" text="bind:rrgstno1"/>
  163. <Cell col="6" text="bind:age"/>
  164. <Cell col="7" style="align:top;padding:5 2 1 2;" text="bind:orddeptcd" wordwrap="word" enable="false"/>
  165. <Cell col="8" style="align:left top;padding:5 2 1 2;" text="bind:roomcd" wordwrap="word"/>
  166. <Cell col="9" text="bind:indd" maskchar="_"/>
  167. <Cell col="10" text="bind:dschdd" maskchar="_"/>
  168. <Cell col="11" text="bind:opdd" maskchar="_"/>
  169. <Cell col="12" text="bind:opflagnm"/>
  170. <Cell col="13" text="bind:reopflag"/>
  171. <Cell col="14" style="align:left top;padding:5 2 1 2;" text="bind:diagnm" wordwrap="word"/>
  172. <Cell col="15" style="align:left top;padding:5 2 1 2;" text="bind:afopdiagnm" wordwrap="word"/>
  173. <Cell col="16" style="align:left top;padding:5 2 1 2;" text="bind:opnm" wordwrap="word"/>
  174. <Cell col="17" style="align:left top;padding:5 2 1 2;" wordwrap="word"/>
  175. <Cell col="18" text="bind:prcpcd"/>
  176. <Cell col="19" text="bind:edicd"/>
  177. <Cell col="20" text="bind:nnopcd"/>
  178. <Cell col="21" text="bind:perfdrcd"/>
  179. <Cell col="22" text="bind:perfdrnm"/>
  180. <Cell col="23" displaytype="combo" edittype="combo" style="align:left top;padding:5 2 1 2;" text="bind:opwundkind" wordwrap="word" combodataset="ds_init_M0341list_M0341" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  181. <Cell col="24" text="bind:opstarttm" mask="##:##" maskchar=" "/>
  182. <Cell col="25" text="bind:opendtm" mask="##:##" maskchar=" "/>
  183. <Cell col="26" text="bind:opusetm"/>
  184. <Cell col="27" text="bind:asascore" enable="false"/>
  185. <Cell col="28" text="bind:thours"/>
  186. <Cell col="29" text="bind:escopeeqmtuseyn"/>
  187. <Cell col="30" displaytype="combo" edittype="combo" style="align:center;" text="bind:anstkind" combodataset="ds_init_M0017list_M0017" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  188. <Cell col="31" text="bind:prvnantibiodrug0"/>
  189. <Cell col="32" text="bind:prvnantibiodrug1"/>
  190. <Cell col="33" text="bind:prvnantibiodrug2"/>
  191. <Cell col="34" text="bind:riskindex"/>
  192. <Cell col="35" text="bind:opcd"/>
  193. <Cell col="36" text="bind:opdiagcd"/>
  194. <Cell col="37" displaytype="combo" edittype="combo" text="bind:opmskind" enable="false"/>
  195. <Cell col="38" displaytype="combo" edittype="combo" text="bind:opflagcd" enable="false"/>
  196. <Cell col="39" displaytype="combo" edittype="combo" text="bind:opstatcd" enable="false"/>
  197. <Cell col="40" text="bind:instcd"/>
  198. <Cell col="41" text="bind:orddeptcd"/>
  199. <Cell col="42" text="bind:perfdeptnm"/>
  200. <Cell col="43" text="bind:oprsrvno"/>
  201. <Cell col="44" text="bind:ophistno"/>
  202. <Cell col="45" text="bind:gnrlanst"/>
  203. </Band>
  204. </Format>
  205. </Formats>
  206. </Grid>
  207. <Grid position="absolute 695 130 958 215" id="grd_op" visible="false" binddataset="ds_main_oplist">
  208. <Formats>
  209. <Format id="default">
  210. <Columns>
  211. <Column size="24"/>
  212. <Column size="80"/>
  213. <Column size="145"/>
  214. <Column size="0"/>
  215. <Column size="0"/>
  216. </Columns>
  217. <Rows>
  218. <Row size="24" band="head"/>
  219. <Row size="24"/>
  220. </Rows>
  221. <Band id="head">
  222. <Cell/>
  223. <Cell col="1" text="수술코드"/>
  224. <Cell col="2" text="수술명"/>
  225. <Cell col="3" text="caption1"/>
  226. <Cell col="4" text="caption2"/>
  227. </Band>
  228. <Band id="body">
  229. <Cell celltype="head"/>
  230. <Cell col="1" text="bind:termcd"/>
  231. <Cell col="2" text="bind:termhngnm"/>
  232. <Cell col="3" text="bind:termengnm"/>
  233. <Cell col="4" text="bind:termflag"/>
  234. </Band>
  235. </Format>
  236. </Formats>
  237. </Grid>
  238. <Button position="absolute 1125 566 1189 585" id="button1" class="btn2" text="엑셀저장" onclick="button1_onclick"/>
  239. <Grid position="absolute 0 596 1195 756" id="grd_indoplist" class="datagrid2" binddataset="ds_main_indopinfo_indoplist" cellsizingtype="col">
  240. <Formats>
  241. <Format id="default">
  242. <Columns>
  243. <Column size="20"/>
  244. <Column size="25"/>
  245. <Column size="32"/>
  246. <Column size="58"/>
  247. <Column size="64"/>
  248. <Column size="73"/>
  249. <Column size="50"/>
  250. <Column size="55"/>
  251. <Column size="95"/>
  252. <Column size="75"/>
  253. <Column size="75"/>
  254. <Column size="75"/>
  255. <Column size="58"/>
  256. <Column size="50"/>
  257. <Column size="146"/>
  258. <Column size="130"/>
  259. <Column size="184"/>
  260. <Column size="173"/>
  261. <Column size="100"/>
  262. <Column size="100"/>
  263. <Column size="100"/>
  264. <Column size="0"/>
  265. <Column size="54"/>
  266. <Column size="192"/>
  267. <Column size="60"/>
  268. <Column size="60"/>
  269. <Column size="60"/>
  270. <Column size="43"/>
  271. <Column size="42"/>
  272. <Column size="59"/>
  273. <Column size="71"/>
  274. <Column size="100"/>
  275. <Column size="100"/>
  276. <Column size="100"/>
  277. <Column size="70"/>
  278. <Column size="0"/>
  279. <Column size="0"/>
  280. <Column size="0"/>
  281. <Column size="0"/>
  282. <Column size="0"/>
  283. <Column size="0"/>
  284. <Column size="0"/>
  285. <Column size="0"/>
  286. <Column size="0"/>
  287. <Column size="0"/>
  288. <Column size="0"/>
  289. </Columns>
  290. <Rows>
  291. <Row size="28" band="head"/>
  292. <Row size="24"/>
  293. </Rows>
  294. <Band id="head">
  295. <Cell/>
  296. <Cell col="1"/>
  297. <Cell col="2" text="감염&#10;여부"/>
  298. <Cell col="3" text="환자이름"/>
  299. <Cell col="4" text="등록번호"/>
  300. <Cell col="5" text="주민번호"/>
  301. <Cell col="6" text="성별&#10;/나이"/>
  302. <Cell col="7" text="진료과"/>
  303. <Cell col="8" text="병동 [병실]"/>
  304. <Cell col="9" text="입원일"/>
  305. <Cell col="10" text="퇴원일"/>
  306. <Cell col="11" text="수술일"/>
  307. <Cell col="12" text="수술구분"/>
  308. <Cell col="13" text="재수술"/>
  309. <Cell col="14" text="수술전 진단명"/>
  310. <Cell col="15" text="수술후 진단명"/>
  311. <Cell col="16" text="수술전 수술명"/>
  312. <Cell col="17" text="수술후 수술명"/>
  313. <Cell col="18" text="수술코드&#10;(수가)"/>
  314. <Cell col="19" text="수술코드&#10;(EDI)"/>
  315. <Cell col="20" text="수술코드&#10;(감염)"/>
  316. <Cell col="21" text="집도의코드"/>
  317. <Cell col="22" text="집도의"/>
  318. <Cell col="23" text="수술창상종류"/>
  319. <Cell col="24" text="수술&#10;시작시간"/>
  320. <Cell col="25" text="수술&#10;종료시간"/>
  321. <Cell col="26" text="수술&#10;소요시간"/>
  322. <Cell col="27" text="ASA&#10;score"/>
  323. <Cell col="28" text="T&#10;hours"/>
  324. <Cell col="29" text="내시경&#10;사용유무"/>
  325. <Cell col="30" text="마취종류"/>
  326. <Cell col="31" text="예방적 항생제1"/>
  327. <Cell col="32" text="예방적 항생제2"/>
  328. <Cell col="33" text="예방적 항생제3"/>
  329. <Cell col="34" text="Risk index"/>
  330. <Cell col="35" text="수술코드"/>
  331. <Cell col="36" text="수술진단코드"/>
  332. <Cell col="37" text="주/부"/>
  333. <Cell col="38" text="수술구분"/>
  334. <Cell col="39" text="수술진행상태"/>
  335. <Cell col="40" text="기관코드"/>
  336. <Cell col="41" text="집도과코드"/>
  337. <Cell col="42" text="집도과"/>
  338. <Cell col="43" text="수술예약번호"/>
  339. <Cell col="44" text="수술이력번호"/>
  340. <Cell col="45" text="general anesthesia 유무"/>
  341. </Band>
  342. <Band id="body">
  343. <Cell celltype="head" expr="currow + 1"/>
  344. <Cell col="1" text="expr:currow+1"/>
  345. <Cell col="2" displaytype="combo" edittype="combo" style="align:center;padding:1 2 1 2;" text="bind:infcyn" combodataset="ds_cbo_YN" combocodecol="value" combodatacol="label" enable="false"/>
  346. <Cell col="3" text="bind:patnm"/>
  347. <Cell col="4" text="bind:pid"/>
  348. <Cell col="5" text="bind:rrgstno1"/>
  349. <Cell col="6" text="bind:age"/>
  350. <Cell col="7" style="align:left top;padding:5 2 1 2;" text="bind:orddeptcd" wordwrap="word" enable="false"/>
  351. <Cell col="8" style="align:left middle;" text="bind:roomcd" enable="false"/>
  352. <Cell col="9" text="bind:indd" mask=" " calendardisplaynulltype="none"/>
  353. <Cell col="10" text="bind:dschdd" mask=" " calendardisplaynulltype="none"/>
  354. <Cell col="11" text="bind:opdd" mask=" " calendardisplaynulltype="none"/>
  355. <Cell col="12" text="bind:opflagnm"/>
  356. <Cell col="13" text="bind:reopflag"/>
  357. <Cell col="14" style="align:left top;padding:5 2 1 2;" text="bind:diagnm" wordwrap="word"/>
  358. <Cell col="15" style="align:left top;padding:5 2 1 2;" text="bind:afopdiagnm" wordwrap="word"/>
  359. <Cell col="16" style="align:left top;padding:5 2 1 2;" text="bind:opnm" wordwrap="word"/>
  360. <Cell col="17" style="align:left top;padding:5 2 1 2;" wordwrap="word"/>
  361. <Cell col="18" style="align:left top;padding:5 2 1 2;" text="bind:prcpcd" wordwrap="word"/>
  362. <Cell col="19" style="align:left top;padding:5 2 1 2;" text="bind:edicd" wordwrap="word"/>
  363. <Cell col="20" style="align:left top;padding:5 2 1 2;" text="bind:nnopcd" wordwrap="word"/>
  364. <Cell col="21" text="bind:perfdrcd"/>
  365. <Cell col="22" text="bind:perfdrnm"/>
  366. <Cell col="23" displaytype="combo" edittype="combo" style="align:left top;padding:5 2 1 2;" text="bind:opwundkind" wordwrap="word" combodataset="ds_init_M0341list_M0341" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  367. <Cell col="24" text="bind:opstarttm" mask="##:##" maskchar=" "/>
  368. <Cell col="25" text="bind:opendtm" mask="##:##" maskchar=" "/>
  369. <Cell col="26" text="bind:opusetm" maskchar="_"/>
  370. <Cell col="27" text="bind:asascore" enable="false"/>
  371. <Cell col="28" text="bind:thours"/>
  372. <Cell col="29" text="bind:escopeeqmtuseyn"/>
  373. <Cell col="30" displaytype="combo" edittype="combo" style="align:center;" text="bind:anstkind" combodataset="ds_init_M0017list_M0017" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  374. <Cell col="31" text="bind:prvnantibiodrug0"/>
  375. <Cell col="32" text="bind:prvnantibiodrug1"/>
  376. <Cell col="33" text="bind:prvnantibiodrug2"/>
  377. <Cell col="34" text="bind:riskindex"/>
  378. <Cell col="35" text="bind:opcd"/>
  379. <Cell col="36" text="bind:opdiagcd"/>
  380. <Cell col="37" displaytype="combo" edittype="combo" text="bind:opmskind" enable="false"/>
  381. <Cell col="38" displaytype="combo" edittype="combo" text="bind:opflagcd" enable="false"/>
  382. <Cell col="39" displaytype="combo" edittype="combo" text="bind:opstatcd" enable="false"/>
  383. <Cell col="40" text="bind:instcd"/>
  384. <Cell col="41" text="bind:orddeptcd"/>
  385. <Cell col="42" text="bind:perfdeptnm"/>
  386. <Cell col="43" text="bind:oprsrvno"/>
  387. <Cell col="44" text="bind:ophistno"/>
  388. <Cell col="45" text="bind:gnrlanst"/>
  389. </Band>
  390. </Format>
  391. </Formats>
  392. </Grid>
  393. <Static id="caption6" text="수술환자조회" class="tit_1" position="absolute 0 0 124 25"/>
  394. <Button id="btn_init" taborder="1" text="초기화" class="btn4" position="absolute 1126 759 1194 781" onclick="btn_init_onclick"/>
  395. <Button id="btn_print" taborder="2" text="출력" class="btn6" visible="false" position="absolute 5 759 61 781"/>
  396. <Button id="button2" taborder="3" text="업로드양식" class="btn2" position="absolute 1042 566 1119 585" onclick="button2_onclick"/>
  397. <Grid id="grd_oppatreflist_excel" taborder="4" binddataset="ds_main_oppatrefinfo_oppatreflist" useinputpanel="false" cellsizingtype="col" position="absolute 0 640 1195 754" class="datagrid2" visible="false">
  398. <Formats>
  399. <Format id="default">
  400. <Columns>
  401. <Column size="70"/>
  402. <Column size="70"/>
  403. <Column size="64"/>
  404. <Column size="64"/>
  405. <Column size="81"/>
  406. <Column size="73"/>
  407. <Column size="73"/>
  408. <Column size="73"/>
  409. <Column size="50"/>
  410. <Column size="50"/>
  411. <Column size="54"/>
  412. <Column size="100"/>
  413. <Column size="80"/>
  414. <Column size="70"/>
  415. <Column size="60"/>
  416. <Column size="90"/>
  417. <Column size="90"/>
  418. <Column size="70"/>
  419. <Column size="59"/>
  420. <Column size="40"/>
  421. <Column size="70"/>
  422. <Column size="70"/>
  423. <Column size="50"/>
  424. <Column size="80"/>
  425. <Column size="90"/>
  426. <Column size="90"/>
  427. <Column size="90"/>
  428. <Column size="80"/>
  429. <Column size="0"/>
  430. <Column size="0"/>
  431. <Column size="0"/>
  432. <Column size="0"/>
  433. <Column size="0"/>
  434. <Column size="0"/>
  435. <Column size="0"/>
  436. <Column size="0"/>
  437. <Column size="0"/>
  438. <Column size="0"/>
  439. <Column size="0"/>
  440. </Columns>
  441. <Rows>
  442. <Row size="28" band="head"/>
  443. <Row size="24"/>
  444. </Rows>
  445. <Band id="head">
  446. <Cell style="background:yellow;background2:yellow;" text="병원코드"/>
  447. <Cell col="1" style="background:yellow;background2:yellow;" text="증례코드"/>
  448. <Cell col="2" style="background:yellow;background2:yellow;" text="환자이름"/>
  449. <Cell col="3" style="background:yellow;background2:yellow;" text="식별코드"/>
  450. <Cell col="4" style="background:yellow;background2:yellow;" text="수술일"/>
  451. <Cell col="5" style="background:yellow;background2:yellow;" text="입원일"/>
  452. <Cell col="6" style="background:yellow;background2:yellow;" text="퇴원일"/>
  453. <Cell col="7" style="background:yellow;background2:yellow;" text="생년월일"/>
  454. <Cell col="8" style="background:yellow;background2:yellow;" text="나이"/>
  455. <Cell col="9" style="background:yellow;background2:yellow;" text="성별"/>
  456. <Cell col="10" style="background:yellow;background2:yellow;" text="집도의"/>
  457. <Cell col="11" style="background:yellow;background2:yellow;" text="수술종류"/>
  458. <Cell col="12" style="background:yellow;background2:yellow;" text="창상분류"/>
  459. <Cell col="13" style="background:yellow;background2:yellow;" text="ASA score"/>
  460. <Cell col="14" style="background:yellow;background2:yellow;" text="수술시간"/>
  461. <Cell col="15" style="background:yellow;background2:yellow;" text="T시간 초과"/>
  462. <Cell col="16" style="background:yellow;background2:yellow;" text="위험지표분류"/>
  463. <Cell col="17" style="background:yellow;background2:yellow;" text="내시경수술"/>
  464. <Cell col="18" style="background:yellow;background2:yellow;" text="응급수술"/>
  465. <Cell col="19" style="background:yellow;background2:yellow;" text="외상"/>
  466. <Cell col="20" style="background:yellow;background2:yellow;" text="동시수술"/>
  467. <Cell col="21" style="background:yellow;background2:yellow;" text="전신마취"/>
  468. <Cell col="22" style="background:yellow;background2:yellow;" text="재수술"/>
  469. <Cell col="23" style="background:yellow;background2:yellow;" text="SSI추적"/>
  470. <Cell col="24" style="background:yellow;background2:yellow;" text="추적중단사유"/>
  471. <Cell col="25" style="background:yellow;background2:yellow;" text="마지막 추적일"/>
  472. <Cell col="26" style="background:yellow;background2:yellow;" text="추적감시기간"/>
  473. <Cell col="27" style="background:yellow;background2:yellow;" text="SSI발생"/>
  474. <Cell col="28" text="수술코드"/>
  475. <Cell col="29" text="수술진단코드"/>
  476. <Cell col="30" text="주/부"/>
  477. <Cell col="31" text="수술구분"/>
  478. <Cell col="32" text="수술진행상태"/>
  479. <Cell col="33" text="기관코드"/>
  480. <Cell col="34" text="집도과코드"/>
  481. <Cell col="35" text="집도과"/>
  482. <Cell col="36" text="수술예약번호"/>
  483. <Cell col="37" text="수술이력번호"/>
  484. <Cell col="38" text="general anesthesia 유무"/>
  485. </Band>
  486. <Band id="body">
  487. <Cell style="background:lightgrey;background2:lightgrey;"/>
  488. <Cell col="1" style="background:lightgrey;background2:lightgrey;"/>
  489. <Cell col="2" text="bind:patnm"/>
  490. <Cell col="3" text="bind:pid"/>
  491. <Cell col="4" text="bind:opdd" maskchar="_"/>
  492. <Cell col="5" text="bind:indd" maskchar="_"/>
  493. <Cell col="6" text="bind:dschdd" maskchar="_"/>
  494. <Cell col="7" text="bind:rrgstno1"/>
  495. <Cell col="8" style="background:lightgrey;background2:lightgrey;" text="bind:ageflag"/>
  496. <Cell col="9" text="bind:sexflag"/>
  497. <Cell col="10" text="bind:perfdrnm"/>
  498. <Cell col="11" text="bind:nnopcd"/>
  499. <Cell col="12" style="align:center;padding:5 2 1 2;" text="bind:opwundkind" enable="false"/>
  500. <Cell col="13" text="bind:asascore" enable="false"/>
  501. <Cell col="14" text="bind:opusetm"/>
  502. <Cell col="15" style="background:lightgrey;background2:lightgrey;"/>
  503. <Cell col="16" style="background:lightgrey;background2:lightgrey;"/>
  504. <Cell col="17" text="bind:escopeeqmtuseyntns"/>
  505. <Cell col="18" text="bind:opflagtns"/>
  506. <Cell col="19" text="0"/>
  507. <Cell col="20" text="0"/>
  508. <Cell col="21" style="align:center;" text="bind:anstkindtns" enable="false"/>
  509. <Cell col="22" text="bind:reopflagtns"/>
  510. <Cell col="23"/>
  511. <Cell col="24"/>
  512. <Cell col="25"/>
  513. <Cell col="26" style="background:lightgrey;background2:lightgrey;"/>
  514. <Cell col="27"/>
  515. <Cell col="28" text="bind:opcd"/>
  516. <Cell col="29" text="bind:opdiagcd"/>
  517. <Cell col="30" displaytype="combo" edittype="combo" text="bind:opmskind" enable="false"/>
  518. <Cell col="31" displaytype="combo" edittype="combo" text="bind:opflagcd" enable="false"/>
  519. <Cell col="32" displaytype="combo" edittype="combo" text="bind:opstatcd" enable="false"/>
  520. <Cell col="33" text="bind:instcd"/>
  521. <Cell col="34" text="bind:orddeptcd"/>
  522. <Cell col="35" text="bind:perfdeptnm"/>
  523. <Cell col="36" text="bind:oprsrvno"/>
  524. <Cell col="37" text="bind:ophistno"/>
  525. <Cell col="38" text="bind:gnrlanst"/>
  526. </Band>
  527. </Format>
  528. </Formats>
  529. </Grid>
  530. </Layout>
  531. </Layouts>
  532. <Objects>
  533. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  534. <ColumnInfo>
  535. <Column id="fromdd" type="STRING" size="256"/>
  536. <Column id="todd" type="STRING" size="256"/>
  537. <Column id="orddeptcd" type="STRING" size="256"/>
  538. <Column id="perfdrnm" type="STRING" size="256"/>
  539. <Column id="opcd" type="STRING" size="256"/>
  540. <Column id="opnm" type="STRING" size="256"/>
  541. <Column id="pid" type="STRING" size="256"/>
  542. <Column id="opcdkind" type="STRING" size="256"/>
  543. <Column id="etccd" type="STRING" size="256"/>
  544. <Column id="etccdarr" type="STRING" size="256"/>
  545. </ColumnInfo>
  546. <Rows>
  547. <Row>
  548. <Col id="fromdd"/>
  549. <Col id="todd"/>
  550. <Col id="orddeptcd"/>
  551. <Col id="perfdrnm"/>
  552. <Col id="opcd"/>
  553. <Col id="opnm"/>
  554. <Col id="pid"/>
  555. <Col id="opcdkind">ALL</Col>
  556. <Col id="etccd">Z2</Col>
  557. <Col id="etccdarr"></Col>
  558. </Row>
  559. </Rows>
  560. </Dataset>
  561. <Dataset id="ds_main_oppatrefinfo_oppatreflist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  562. <ColumnInfo>
  563. <Column id="infcyn" type="STRING" size="256" sumtext="감염여부"/>
  564. <Column id="patnm" type="STRING" size="256" sumtext="환자이름"/>
  565. <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
  566. <Column id="rrgstno1" type="STRING" size="256" sumtext="주민등록번호"/>
  567. <Column id="sexflag" type="STRING" size="256" sumtext="성별"/>
  568. <Column id="ageflag" type="STRING" size="256"/>
  569. <Column id="age" type="STRING" size="256" sumtext="나이"/>
  570. <Column id="orddept" type="STRING" size="256" sumtext="진료과"/>
  571. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과"/>
  572. <Column id="wardcd" type="STRING" size="256" sumtext="병동"/>
  573. <Column id="roomcd" type="STRING" size="256" sumtext="병실"/>
  574. <Column id="indd" type="STRING" size="256" sumtext="입원일"/>
  575. <Column id="dschdd" type="STRING" size="256" sumtext="퇴원일"/>
  576. <Column id="opdd" type="STRING" size="256" sumtext="수술일"/>
  577. <Column id="opnm" type="STRING" size="256" sumtext="수술명"/>
  578. <Column id="perfdrcd" type="STRING" size="256" sumtext="집도의코드"/>
  579. <Column id="perfdrnm" type="STRING" size="256" sumtext="집도의"/>
  580. <Column id="opwundkind" type="STRING" size="256" sumtext="수술창상종류"/>
  581. <Column id="opstarttm" type="STRING" size="256" sumtext="수술시작시간"/>
  582. <Column id="opendtm" type="STRING" size="256" sumtext="수술종료시간"/>
  583. <Column id="opusetm" type="STRING" size="256" sumtext="수술소요시간"/>
  584. <Column id="asascore" type="STRING" size="256" sumtext="ASAscore"/>
  585. <Column id="anstkind" type="STRING" size="256" sumtext="마취종류"/>
  586. <Column id="prvnantibiodrug0" type="STRING" size="256" sumtext="예방적항생제투여"/>
  587. <Column id="prvnantibiodrug1" type="STRING" size="256" sumtext="예방적항생제투여"/>
  588. <Column id="prvnantibiodrug2" type="STRING" size="256" sumtext="예방적항생제투여"/>
  589. <Column id="riskindex" type="STRING" size="256" sumtext="Riskindex"/>
  590. <Column id="opcd" type="STRING" size="256" sumtext="수술코드"/>
  591. <Column id="opdiagcd" type="STRING" size="256" sumtext="수술진단코드"/>
  592. <Column id="opmskind" type="STRING" size="256" sumtext="주/부"/>
  593. <Column id="opflagcd" type="STRING" size="256" sumtext="수술구분"/>
  594. <Column id="opstatcd" type="STRING" size="256" sumtext="수술진행상태"/>
  595. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  596. <Column id="perfdeptcd" type="STRING" size="256" sumtext="집도과코드"/>
  597. <Column id="perfdeptnm" type="STRING" size="256" sumtext="집도과"/>
  598. <Column id="oprsrvno" type="STRING" size="256" sumtext="수술예약번호"/>
  599. <Column id="ophistno" type="STRING" size="256" sumtext="수술이력번호"/>
  600. <Column id="gnrlanst" type="STRING" size="256" sumtext="GeneralAnesthesia유무"/>
  601. <Column id="nnopcd" type="STRING" size="256" sumtext="감염관리자체코드"/>
  602. <Column id="thours" type="STRING" size="256" sumtext="T_hours"/>
  603. <Column id="afopdiagnm" type="STRING" size="256" sumtext="수술후진단명"/>
  604. <Column id="escopeeqmtuseyn" type="STRING" size="256" sumtext="내시경장비사용여부"/>
  605. <Column id="diagnm" type="STRING" size="256" sumtext="수술전진단명"/>
  606. <Column id="edicd" type="STRING" size="256" sumtext="edi코드"/>
  607. <Column id="prcpcd" type="STRING" size="256" sumtext="처방코드"/>
  608. <Column id="opflagnm" type="STRING" size="256" sumtext="수술구분"/>
  609. <Column id="reopflag" type="STRING" size="256" sumtext="재수술여부"/>
  610. <Column id="escopeeqmtuseyntns" type="STRING" size="256"/>
  611. <Column id="opflagtns" type="STRING" size="256"/>
  612. <Column id="anstkindtns" type="STRING" size="256"/>
  613. <Column id="reopflagtns" type="STRING" size="256"/>
  614. </ColumnInfo>
  615. </Dataset>
  616. <Dataset id="ds_main_oplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_oplist_oncolumnchanged">
  617. <ColumnInfo>
  618. <Column id="termhngnm" type="STRING" size="256"/>
  619. <Column id="termcd" type="STRING" size="256"/>
  620. </ColumnInfo>
  621. </Dataset>
  622. <Dataset id="ds_main_indopinfo_indoplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  623. <Dataset id="ds_init_initdate" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  624. <ColumnInfo>
  625. <Column id="today" type="STRING" size="256"/>
  626. </ColumnInfo>
  627. <Rows>
  628. <Row>
  629. <Col id="today"/>
  630. </Row>
  631. </Rows>
  632. </Dataset>
  633. <Dataset id="ds_init_P0064list_P0064" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  634. <Dataset id="ds_init_M0015list_M0015" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  635. <Dataset id="ds_init_M0013list_M0013" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  636. <Dataset id="ds_init_M0017list_M0017" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  637. <Dataset id="ds_init_M0341list_M0341" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  638. <Dataset id="ds_init_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  639. <Dataset id="ds_init_warddeptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  640. <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  641. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  642. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  643. <ColumnInfo>
  644. <Column id="lastrowcnt" type="STRING" size="256"/>
  645. </ColumnInfo>
  646. <Rows>
  647. <Row>
  648. <Col id="lastrowcnt"/>
  649. </Row>
  650. </Rows>
  651. </Dataset>
  652. <Dataset id="ds_main_opinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  653. <Dataset id="ds_cbo_YN" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  654. <ColumnInfo>
  655. <Column id="label" type="STRING" size="256"/>
  656. <Column id="value" type="STRING" size="256"/>
  657. </ColumnInfo>
  658. <Rows>
  659. <Row>
  660. <Col id="label">Y</Col>
  661. <Col id="value">Y</Col>
  662. </Row>
  663. <Row>
  664. <Col id="label">N</Col>
  665. <Col id="value">N</Col>
  666. </Row>
  667. </Rows>
  668. </Dataset>
  669. <Dataset id="ds_main_detlcodelst_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_detlcodelst_item_oncolumnchanged"/>
  670. </Objects>
  671. <Bind>
  672. <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
  673. <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
  674. <BindItem id="item2" compid="grp_sea.cmb_orddeptcd" propid="value" datasetid="ds_main_cond" columnid="orddeptcd"/>
  675. <BindItem id="item3" compid="grp_sea.ipt_perfdrnm" propid="value" datasetid="ds_main_cond" columnid="perfdrnm"/>
  676. <BindItem id="item4" compid="grp_sea.ipt_opnm" propid="value" datasetid="ds_main_cond" columnid="opnm"/>
  677. <BindItem id="item5" compid="grp_sea.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  678. <BindItem id="item6" compid="grp_sea.radio1" propid="value" datasetid="ds_main_cond" columnid="opcdkind"/>
  679. <BindItem id="item7" compid="grp_sea.cmb_etccdarr" propid="value" datasetid="ds_main_cond" columnid="etccdarr"/>
  680. </Bind>
  681. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  682. * System Name :
  683. * Job Name :
  684. * Creator :
  685. * Make Date : 2015-11-13
  686. * Description :
  687. *---------------------------------------------------------------------------------------
  688. * Modify Date Modifier Modify Description
  689. *---------------------------------------------------------------------------------------
  690. * 2015-11-13 Live Converter TF->XP
  691. *
  692. *---------------------------------------------------------------------------------------
  693. ****************************************************************************************/
  694. include "com_commonxp::comm_main.xjs";
  695. var arErrorCode = new HashArray();
  696. function SMASI02300_oninit(obj:Form, e:InitEventInfo)
  697. {
  698. frmf_initForm(obj); //폼 초기화
  699. grdf_setRowTypeIcon(grd_oppatreflist, 0);
  700. grdf_setRowTypeIcon(grd_indoplist, 0);
  701. grdf_setGridSort(grd_oppatreflist);
  702. grdf_setGridSort(grd_indoplist);
  703. }
  704. function SMASI02300_onload(obj:Form, e:LoadEventInfo)
  705. {
  706. frmf_createPopupMenu("pop_grd_itemlist"
  707. ,"fPopupMenudruglist2"
  708. ,[{id: "fSytsRecRefPopup" , level: "0", title: "통합기록조회"}
  709. ,{id: "fHospInfcReptPopup" , level: "0", title: "병원감염보고서등록"}
  710. ]
  711. );
  712. fInitialize();
  713. ds_main_oppatrefinfo_oppatreflist.clearData();
  714. ds_main_indopinfo_indoplist.clearData();
  715. }
  716. /****************************************************************************************
  717. * Function : fPopupMenudruglist2
  718. * Description :
  719. * Argument :
  720. * return type :
  721. * Creator :
  722. ****************************************************************************************/
  723. function fPopupMenudruglist2(obj:PopupMenu, e:MenuClickEventInfo)
  724. {
  725. switch( e.id ){
  726. case "fSytsRecRefPopup" :
  727. fSytsRecRefPopup();
  728. break;
  729. case "fHospInfcReptPopup" :
  730. fHospInfcReptPopup();
  731. break;
  732. }
  733. }
  734. function fSytsRecRefPopup(){
  735. var sessionPID = appf_getPatientId();
  736. var iRow = ds_main_oppatrefinfo_oppatreflist.rowposition;
  737. if(sessionPID != ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "pid")){
  738. fReqOpPatPamInfo();
  739. }
  740. frmf_setParameter("SMMRI00400_param_pid", sessionPID);
  741. frmf_modal("SMMRI00400", "SMMRI00400", null, null, 1, 10, 10, null, null, null, null, null, "M");
  742. }
  743. function fHospInfcReptPopup() {
  744. var sessionPID = appf_getPatientId();
  745. var iRow = ds_main_oppatrefinfo_oppatreflist.rowposition;
  746. if(sessionPID != ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "pid")){
  747. fReqOpPatPamInfo();
  748. }
  749. var rtnmsg_header = "infcyn▦opcd▦opnm▦opmskind▦opflagcd▦opstatcd▦perfdrnm▦perfdrcd▦anstkind▦opdd▦opstarttm▦opendtm▦opusetm▦opwundkind▦asascore▦riskindex▦gnrlanst▦nnopcd▦escopeaproch▩";
  750. var rtnmsg_data = "";
  751. rtnmsg_data+= ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "infcyn")+"▦"
  752. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opcd")+"▦"
  753. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opnm")+"▦"
  754. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opmskind")+"▦"
  755. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opflagcd")+"▦"
  756. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opstatcd")+"▦"
  757. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "perfdrnm")+"▦"
  758. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "perfdrcd")+"▦"
  759. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "anstkind")+"▦"
  760. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opdd")+"▦"
  761. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opstarttm")+"▦"
  762. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opendtm")+"▦"
  763. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opusetm")+"▦"
  764. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opwundkind")+"▦"
  765. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "asascore")+"▦"
  766. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "riskindex")+"▦"
  767. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "gnrlanst")+"▦"
  768. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "nnopcd")+"▦"
  769. +ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "escopeopyn")+"▩";
  770. frmf_setParameter("setVal1", rtnmsg_header+rtnmsg_data);
  771. frmf_setParameter("setVal2", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opwundkind"));
  772. frmf_setParameter("setVal3", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "asascore"));
  773. frmf_setParameter("setVal4", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "riskindex"));
  774. frmf_setParameter("setVal5", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "gnrlanst"));
  775. frmf_setParameter("setVal6", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "escopeopyn"));
  776. frmf_setParameter("setVal7", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "anstkind"));
  777. frmf_setParameter("setVal8", "S");
  778. //open("SMASI00100", 1,10,10, "SMASI00100");
  779. frmf_open("SMASI00100", "SMASI00100", "", null, null, null, null, null, null, null, null, null, "M");
  780. this.close();
  781. }
  782. function fInitialize() {
  783. //grd_oppatreflist.frozenCols = 3;
  784. //grd_indoplist.frozenCols = 3;
  785. // 공통코드를 조회한다.
  786. var arrParam = [{dsNm: "ds_init_P0064list_P0064", cdGrpId: "P0064"}, {dsNm: "ds_init_M0013list_M0013", cdGrpId: "M0013"}, //직업 //교육정도
  787. {dsNm: "ds_init_M0015list_M0015", cdGrpId: "M0015"}, {dsNm: "ds_init_M0017list_M0017", cdGrpId: "M0017"}, //종교 //결혼상태
  788. {dsNm: "ds_init_M0341list_M0341", cdGrpId: "M0341"}];
  789. appf_getCodeList(arrParam, true);
  790. // 진료과
  791. var instcd = sysf_getUserInfo("dutplceinstcd");
  792. var standard_yn = "orduseyn";
  793. var ord_deptflag = 'D';
  794. var sort_field = "depthngnm";
  795. var sort_method = "asc";
  796. appf_getDeptCodeList(instcd,standard_yn, ord_deptflag, sort_field,"","","","","ds_init_dept",false,"");
  797. frmf_addComboItem("grp_sea.cmb_orddeptcd","- 전체 -","","above");
  798. //병동
  799. standard_yn = "orduseyn";
  800. ord_deptflag = "W";
  801. sort_field = "deptcd";
  802. sort_method = "asc";
  803. appf_getDeptCodeList(instcd,standard_yn, ord_deptflag, sort_field,"","","","","ds_init_warddeptlist",false,"");
  804. var today = utlf_getCurrentDate();
  805. var idate = new Date();
  806. var peveDate = idate.getAddDate(0, "M");
  807. ds_init_initdate.setColumn(0, "today", today);
  808. dsf_makeValue(ds_send_cond, "trgtmancnt", "string", "I");
  809. dsf_makeValue(ds_send_cond, "fromdd", "string", peveDate.getDateFormat());
  810. dsf_makeValue(ds_send_cond, "todd", "string", today);
  811. ds_main_cond.setColumn(0, "fromdd", peveDate.getDateFormat());
  812. ds_main_cond.setColumn(0, "todd", today);
  813. //2020.05.06
  814. var oParam = {};
  815. oParam.id = "TRASB02202";
  816. oParam.service = "infcmngtapp.HospInfcMngt";
  817. oParam.method = "reqGetEtcDetlCodeArrList";
  818. oParam.inds = "req=ds_main_cond";
  819. oParam.outds = "ds_main_detlcodelst_item=item";
  820. oParam.async = false;
  821. tranf_submit(oParam);
  822. frmf_addComboItem("grp_sea.cmb_etccdarr", "전체", "", "above"); //부서콤보 Item "전체"추가
  823. frmf_inputEnterKey("grp_sea.radio1", "onitemchanged", new ItemChangeEventInfo);
  824. }
  825. function grp_sea_ipt_perfdrnm_onkeydown(obj:Edit, e:KeyEventInfo)
  826. {
  827. if(e.keycode == 13){
  828. grp_sea_btn_search_onclick();
  829. }
  830. }
  831. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  832. {
  833. var ddInterval = utlf_getDateInterval(grp_sea.ipt_fromdd.value, grp_sea.ipt_todd.value);
  834. var pid = grp_sea.ipt_pid.value;
  835. if(utlf_isNull(pid) && ddInterval > 7){
  836. sysf_messageBox("시스템 부하 원인으로 환자등록번호없이 7일까지만 조회", "I006");
  837. return;
  838. }
  839. fGetOprsList();
  840. }
  841. function fGetOprsList(){
  842. ds_main_oppatrefinfo_oppatreflist.clearData();
  843. ds_main_indopinfo_indoplist.clearData();
  844. if( !frmf_isRequiredControls("grp_sea.ipt_fromdd","grp_sea.ipt_todd") ){
  845. return;
  846. }
  847. ds_send_reqdata.clearData();
  848. ds_send_reqdata.copyData(ds_main_cond);
  849. var pnm = ds_main_cond.getColumn(0, "perfdrnm");
  850. if (!utlf_isNull(pnm)){
  851. ds_send_reqdata.setColumn(0, "perfdrnm", pnm);
  852. }
  853. var ocd = ds_send_reqdata.getColumn(0, "opcd");
  854. var onm = ds_send_reqdata.getColumn(0, "opnm");
  855. if (utlf_isNull(ocd) && !utlf_isNull(onm)){
  856. //onm = "%" + onm + "%";
  857. ds_send_reqdata.setColumn(0, "opnm", onm);
  858. }
  859. //openLoadingBar("수술환자정보 ") ;//처리중 화면을 오픈한다.
  860. frmf_openLoadingBar();
  861. var oParam = {};
  862. oParam.id = "TRASI02301";
  863. oParam.service = "infcmngtapp.HospInfcMngt";
  864. oParam.method = "reqGetOpPatRefList";
  865. oParam.inds = "req=ds_send_reqdata";
  866. oParam.outds = "ds_main_oppatrefinfo_oppatreflist=oppatreflist";
  867. oParam.async = false;
  868. tranf_submit(oParam);
  869. frmf_closeLoadingBar();//처리중 화면을 close한다.
  870. }
  871. function grp_sea_ipt_opnm_onkeydown(obj:Edit, e:KeyEventInfo)
  872. {
  873. if(e.keycode == 13){
  874. grp_sea_btn_search_onclick();
  875. }
  876. }
  877. function grp_sea_btn_opnm_onclick(obj:Button, e:ClickEventInfo)
  878. {
  879. var rowcnt = ds_main_oplist.rowcount;
  880. ds_temp.setColumn(0, "lastrowcnt", rowcnt);
  881. // 2008.07.17 pymi
  882. var objArg = new Object();
  883. objArg.lastrowcnt = rowcnt;
  884. frmf_open("SPMQP01700", "SPMQP01700", objArg, false, 1, 1, 1, null, null, null, null, null, "M");
  885. }
  886. function ds_main_oplist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  887. {
  888. if(ds_main_oplist.rowcount > 0){
  889. ds_main_cond.setColumn(0, "opnm", ds_main_oplist.getColumn(0, "termhngnm"));
  890. ds_main_cond.setColumn(0, "opcd", ds_main_oplist.getColumn(0, "termcd"));
  891. }
  892. }
  893. function grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  894. {
  895. if(e.keycode == 13){
  896. obj.updateToDataset();
  897. grp_sea_btn_search_onclick();
  898. }
  899. }
  900. function grd_oppatreflist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  901. {
  902. fGetOprsHistList();
  903. }
  904. function fGetOprsHistList(){
  905. ds_main_indopinfo_indoplist.clearData();
  906. if(ds_main_oppatrefinfo_oppatreflist.rowposition >= 0) {
  907. fReqOpPatPamInfo();
  908. }
  909. var iRow = ds_main_oppatrefinfo_oppatreflist.rowposition;
  910. if( iRow < 0) {
  911. return ;
  912. }
  913. dsf_makeValue(ds_send_reqdata, "pid", "string", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "pid"));
  914. dsf_makeValue(ds_send_reqdata, "orddept", "string", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "orddept"));
  915. dsf_makeValue(ds_send_reqdata, "perfdrcd", "string", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "perfdrcd"));
  916. dsf_makeValue(ds_send_reqdata, "opcd", "string", ds_main_oppatrefinfo_oppatreflist.getColumn(iRow, "opcd"));
  917. dsf_makeValue(ds_send_reqdata, "fromdd", "string", "");
  918. dsf_makeValue(ds_send_reqdata, "todd", "string", "");
  919. dsf_makeValue(ds_send_reqdata, "opcdkind", "string", ds_main_cond.getColumn(0, "opcdkind"));
  920. frmf_openLoadingBar();
  921. var oParam = {};
  922. oParam.id = "TRASI02301";
  923. oParam.service = "infcmngtapp.HospInfcMngt";
  924. oParam.method = "reqGetOpPatRefList";
  925. oParam.inds = "req=ds_send_reqdata";
  926. oParam.outds = "ds_main_indopinfo_indoplist=oppatreflist";
  927. oParam.async = false;
  928. tranf_submit(oParam);
  929. frmf_closeLoadingBar() ;//처리중 화면을 close한다.
  930. }
  931. function fReqOpPatPamInfo(){
  932. var iRow = ds_main_oppatrefinfo_oppatreflist.rowposition;
  933. var sOPPATLIST_PATH = ds_main_oppatrefinfo_oppatreflist;
  934. var ioflag = "T" // 수술일 경우 ioflag:T
  935. var pid = sOPPATLIST_PATH.getColumn(iRow, "pid");
  936. var opcnfmdd = sOPPATLIST_PATH.getColumn(iRow, "opdd");
  937. var cretno = "";
  938. var instcd = sOPPATLIST_PATH.getColumn(iRow, "instcd");
  939. var perfdeptcd = sOPPATLIST_PATH.getColumn(iRow, "perfdeptcd");
  940. var perfdrid = sOPPATLIST_PATH.getColumn(iRow, "perfdrnm");
  941. var patflag = "I";
  942. var procflag = "F"; // 최초조회:F , 재조회:R
  943. var oprsrvno = sOPPATLIST_PATH.getColumn(iRow, "oprsrvno");
  944. var ophistno = sOPPATLIST_PATH.getColumn(iRow, "ophistno");
  945. var srchdd = sOPPATLIST_PATH.getColumn(iRow, "opdd"); //조회일자
  946. var param = ioflag + "▦"
  947. + pid + "▦"
  948. + opcnfmdd + "▦"
  949. + cretno + "▦"
  950. + instcd + "▦"
  951. + perfdeptcd + "▦"
  952. + perfdrid + "▦"
  953. + patflag + "▦"
  954. + procflag + "▦"
  955. + oprsrvno + "▦"
  956. + ophistno + "▦"
  957. + srchdd;
  958. appf_initPatientInfo(param);
  959. }
  960. function btn_init_onclick(obj:Button, e:ClickEventInfo)
  961. {
  962. ds_main_oppatrefinfo_oppatreflist.clearData();
  963. ds_main_indopinfo_indoplist.clearData();
  964. }
  965. function grd_oppatreflist_onrbuttondown(obj:Grid, e:GridMouseEventInfo)
  966. {
  967. grdf_setSelectedCell(obj, e); // 선택된 행 확실히
  968. }
  969. var screenX = 0;
  970. var screenY = 0;
  971. function grd_oppatreflist_onrbuttonup(obj:Grid, e:GridMouseEventInfo)
  972. {
  973. screenX = e.screenX;
  974. screenY = e.screenY;
  975. pop_grd_itemlist.trackPopup(screenX, screenY);
  976. }
  977. function button1_onclick(obj:Button, e:ClickEventInfo)
  978. {
  979. //grdf_exportExcel(grd_oppatreflist, "수술환자조회" + utlf_getCurrentDate(), "sheetname1" , false, "" , "" , false);
  980. grdf_exportExcel(grd_oppatreflist, "수술환자조회 ", "수술환자조회", false, "", "user", false);
  981. }
  982. function button2_onclick(obj:Button, e:ClickEventInfo)
  983. {
  984. grdf_exportExcel(grd_oppatreflist_excel, "수술부위감염감시 대상 리스트", "수술부위감염감시 대상 리스트", false, "", "user", false);
  985. }
  986. function grp_sea_radio1_onitemchanged(obj:Radio, e:ItemChangeEventInfo)
  987. {
  988. if(ds_main_cond.getColumn(0, "opcdkind") == "ALL" ){
  989. ds_main_cond.setColumn(0, "etccdarr", "");
  990. grp_sea.cmb_etccdarr.enable = false;
  991. }else{
  992. grp_sea.cmb_etccdarr.enable = true;
  993. }
  994. }
  995. ]]></Script>
  996. </Form>
  997. </FDL>