SMPID29100_수술예방적항생제조회.xfdl 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPPI01100" position="absolute 0 0 1161 733" titletext="수술 예방적 항생제조회" oninit="SMPPI01100_oninit" onload="SMPPI01100_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div position="absolute 0 26 1161 732" id="grp_biz" scrollbars="autoboth" anchor="all">
  8. <Layouts>
  9. <Layout>
  10. <Div position="absolute 0 0 1160 62" align="align:center top;" id="group1" class="div_SA" anchor="left top right">
  11. <Layouts>
  12. <Layout width="1160" height="40">
  13. <Button position="absolute 1095 10 1151 32" id="btn_select" class="btn1" taborder="32" text="조회" anchor="top right" onclick="grp_biz_group1_btn_select_onclick"/>
  14. <Shape position="absolute 1077 5 1083 38" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
  15. <Static text="입원일자 :" position="absolute 7 11 112 28" id="caption2" class="search_name" anchor="default"/>
  16. <Calendar position="absolute 85 10 200 29" id="ipt_fromdd" enable="true" mask="yyyy-mm-dd" anchor="default" onkeydown="grp_biz_group1_input2_onkeydown" oneditclick="grp_biz_group1_ipt_fromdd_oneditclick" onkeyup="grp_biz_group1_ipt_fromdd_onkeyup" onchanged="grp_biz_group1_ipt_fromdd_onchanged" autoselect="true"/>
  17. <Calendar id="ipt_todd" taborder="33" onkeydown="grp_biz_group1_input2_onkeydown" position="absolute 225 10 340 29" mask="yyyy-mm-dd" onkeyup="grp_biz_group1_ipt_todd_onkeyup" autoselect="true" anchor="default"/>
  18. <Static id="Static00" text="~" position="absolute 204 9 222 29" style="align:center middle;" anchor="default"/>
  19. <CheckBox id="CheckBox00" taborder="34" text="대상자 수집제외" position="absolute 560 10 675 30" truevalue="Y" falsevalue="N" anchor="left top" value="Y" onclick="grp_biz_group1_CheckBox00_onclick"/>
  20. <Static id="caption00" text="구분 :" class="search_name" position="absolute 384 11 435 28" anchor="default"/>
  21. <Combo id="Combo00" taborder="35" position="absolute 435 10 535 30" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
  22. <Dataset id="innerdataset">
  23. <ColumnInfo>
  24. <Column id="codecolumn" size="256"/>
  25. <Column id="datacolumn" size="256"/>
  26. </ColumnInfo>
  27. <Rows>
  28. <Row>
  29. <Col id="codecolumn"/>
  30. <Col id="datacolumn">전체</Col>
  31. </Row>
  32. <Row>
  33. <Col id="codecolumn">A</Col>
  34. <Col id="datacolumn">재원</Col>
  35. </Row>
  36. <Row>
  37. <Col id="codecolumn">D</Col>
  38. <Col id="datacolumn">퇴원</Col>
  39. </Row>
  40. </Rows>
  41. </Dataset>
  42. </Combo>
  43. <CheckBox id="CheckBox01" taborder="36" text="18세미만 제외" value="Y" truevalue="Y" falsevalue="N" position="absolute 680 10 805 30" anchor="left top"/>
  44. <Static id="caption01" text="제외여부 :" class="search_name" position="absolute 5 37 87 54"/>
  45. <Combo id="Combo01" taborder="37" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 84 36 184 56" onitemchanged="grp_biz_group1_Combo01_onitemchanged">
  46. <Dataset id="innerdataset">
  47. <ColumnInfo>
  48. <Column id="codecolumn" size="256"/>
  49. <Column id="datacolumn" size="256"/>
  50. </ColumnInfo>
  51. <Rows>
  52. <Row>
  53. <Col id="codecolumn"/>
  54. <Col id="datacolumn">전체</Col>
  55. </Row>
  56. <Row>
  57. <Col id="codecolumn">Y</Col>
  58. <Col id="datacolumn">제외만</Col>
  59. </Row>
  60. <Row>
  61. <Col id="codecolumn">N</Col>
  62. <Col id="datacolumn">미포함</Col>
  63. </Row>
  64. </Rows>
  65. </Dataset>
  66. </Combo>
  67. <Static id="caption03" text="문제여부 :" class="search_name" position="absolute 197 37 279 54"/>
  68. <Combo id="Combo02" taborder="38" codecolumn="codecolumn" datacolumn="datacolumn" position="absolute 280 35 380 55" onitemchanged="grp_biz_group1_Combo02_onitemchanged">
  69. <Dataset id="innerdataset">
  70. <ColumnInfo>
  71. <Column id="codecolumn" size="256"/>
  72. <Column id="datacolumn" size="256"/>
  73. </ColumnInfo>
  74. <Rows>
  75. <Row>
  76. <Col id="codecolumn"/>
  77. <Col id="datacolumn">전체</Col>
  78. </Row>
  79. <Row>
  80. <Col id="codecolumn">Y</Col>
  81. <Col id="datacolumn">문제만</Col>
  82. </Row>
  83. <Row>
  84. <Col id="codecolumn">N</Col>
  85. <Col id="datacolumn">미포함</Col>
  86. </Row>
  87. </Rows>
  88. </Dataset>
  89. </Combo>
  90. <Static id="caption04" text="수술구분 :" class="search_name" position="absolute 397 37 479 54"/>
  91. <Combo id="Combo03" taborder="39" codecolumn="cdid" datacolumn="cdnm" position="absolute 480 35 594 55" innerdataset="@ds_PK235list"/>
  92. <Static id="caption05" text="환자번호 :" class="search_name" position="absolute 864 37 946 54"/>
  93. <Edit id="Edit00" taborder="40" position="absolute 944 35 1044 55" imemode="alpha" autoselect="true" useime="none" onkeydown="grp_biz_group1_Edit00_onkeydown"/>
  94. <Static id="caption06" text="진료과 :" class="search_name" position="absolute 614 37 696 54"/>
  95. <Combo id="Combo04" taborder="41" innerdataset="@ds_init_cmb_orddeptcd" codecolumn="deptcd" datacolumn="depthngnm" position="absolute 686 35 829 55"/>
  96. </Layout>
  97. </Layouts>
  98. </Div>
  99. <Button id="btn_save" taborder="3" text="저장" onclick="grp_biz_btn_save_onclick" class="btn3" position="absolute 1023 66 1077 85" anchor="top right"/>
  100. <Button id="btn_excelsave" taborder="4" text="엑셀저장" onclick="grp_biz_btn_excelsave_onclick" class="btn7" position="absolute 1078 65 1158 84" anchor="top right"/>
  101. <Grid id="grd_dpcdlist" class="datagrid3" taborder="5" binddataset="ds_grd_dpcdlist" autoenter="select" useinputpanel="false" cellsizingtype="col" cellclickbound="cell" position="absolute 0 86 1158 706" anchor="all" oncelldblclick="grp_biz_grd_dpcdlist_oncelldblclick">
  102. <Formats>
  103. <Format id="default">
  104. <Columns>
  105. <Column size="26" band="left"/>
  106. <Column size="35" band="left"/>
  107. <Column size="30" band="left"/>
  108. <Column size="30" band="left"/>
  109. <Column size="65" band="left"/>
  110. <Column size="65" band="left"/>
  111. <Column size="30"/>
  112. <Column size="54"/>
  113. <Column size="100"/>
  114. <Column size="65"/>
  115. <Column size="75"/>
  116. <Column size="75"/>
  117. <Column size="80"/>
  118. <Column size="80"/>
  119. <Column size="0"/>
  120. <Column size="199"/>
  121. <Column size="80"/>
  122. <Column size="100"/>
  123. <Column size="100"/>
  124. <Column size="100"/>
  125. <Column size="100"/>
  126. <Column size="30"/>
  127. <Column size="80"/>
  128. <Column size="200"/>
  129. <Column size="110"/>
  130. <Column size="110"/>
  131. <Column size="39"/>
  132. <Column size="30"/>
  133. <Column size="0"/>
  134. <Column size="250"/>
  135. </Columns>
  136. <Rows>
  137. <Row size="42" band="head"/>
  138. <Row size="24"/>
  139. </Rows>
  140. <Band id="head">
  141. <Cell/>
  142. <Cell col="1" text="순번"/>
  143. <Cell col="2" text="제외"/>
  144. <Cell col="3" text="문제"/>
  145. <Cell col="4" displaytype="normal" text="환자번호"/>
  146. <Cell col="5" displaytype="normal" text="환자명"/>
  147. <Cell col="6" text="나이"/>
  148. <Cell col="7" text="병동&#13;&#10;/병실"/>
  149. <Cell col="8" displaytype="normal" text="진료과"/>
  150. <Cell col="9" displaytype="normal" text="진료의"/>
  151. <Cell col="10" displaytype="normal" text="입원일"/>
  152. <Cell col="11" displaytype="normal" text="퇴원일"/>
  153. <Cell col="12" displaytype="normal" text="수술코드"/>
  154. <Cell col="13" displaytype="normal" text="수술 그룹코드"/>
  155. <Cell col="14" displaytype="normal" text="수술실시일자"/>
  156. <Cell col="15" displaytype="normal" text="수술코드명"/>
  157. <Cell col="16" displaytype="normal" text="수술구분"/>
  158. <Cell col="17" displaytype="normal" text="수술시작일시"/>
  159. <Cell col="18" displaytype="normal" text="수술종료일시"/>
  160. <Cell col="19" displaytype="normal" text="포함수술"/>
  161. <Cell col="20" displaytype="normal" text="제외수술"/>
  162. <Cell col="21" displaytype="normal" text="구분"/>
  163. <Cell col="22" displaytype="normal" text="항생제코드"/>
  164. <Cell col="23" displaytype="normal" text="항생제명"/>
  165. <Cell col="24" displaytype="normal" text="항생제 실시 &#13;&#10;시작일시"/>
  166. <Cell col="25" displaytype="normal" text="항생제 실시 &#13;&#10;종료일시"/>
  167. <Cell col="26" displaytype="normal" text="총일수"/>
  168. <Cell col="27" displaytype="normal" text="세파&#13;&#10;여부"/>
  169. <Cell col="28" displaytype="normal" text="flag"/>
  170. <Cell col="29" text="비고"/>
  171. </Band>
  172. <Band id="body">
  173. <Cell celltype="head"/>
  174. <Cell col="1" text="bind:rn" suppress="2" suppressalign="middle,over"/>
  175. <Cell col="2" displaytype="text" edittype="text" editfilter="upper" style="align:center;" text="bind:remvyn" editlimit="1" editimemode="alpha" editautoselect="true" suppress="3" suppressalign="middle,over"/>
  176. <Cell col="3" displaytype="text" edittype="text" editfilter="upper" style="align:center;" text="bind:warnyn" editlimit="1" editimemode="alpha" editautoselect="true" suppress="4" suppressalign="middle,over"/>
  177. <Cell col="4" displaytype="normal" text="bind:pid" suppress="1" suppressalign="middle,over"/>
  178. <Cell col="5" displaytype="normal" text="bind:patnm" suppress="1" suppressalign="middle,over"/>
  179. <Cell col="6" text="bind:age" suppress="3" suppressalign="middle,over"/>
  180. <Cell col="7" text="bind:roomnm" suppress="3" suppressalign="middle,over"/>
  181. <Cell col="8" displaytype="normal" style="align:left middle;" text="bind:orddeptnm" suppress="3" suppressalign="middle,over"/>
  182. <Cell col="9" displaytype="normal" text="bind:orddrnm" suppress="3" suppressalign="middle,over"/>
  183. <Cell col="10" displaytype="date" text="bind:indd" suppress="4" suppressalign="middle,over"/>
  184. <Cell col="11" displaytype="date" text="bind:dschdd" suppress="4" suppressalign="middle,over"/>
  185. <Cell col="12" displaytype="normal" style="align:center middle;" text="bind:opsnglcode" suppress="5" suppressalign="middle,over"/>
  186. <Cell col="13" displaytype="normal" style="align:center middle;" text="bind:opgrupcode" suppress="5" suppressalign="middle,over"/>
  187. <Cell col="14" displaytype="date" text="bind:opexecdd" suppress="9" suppressalign="middle,over"/>
  188. <Cell col="15" displaytype="normal" style="align:left middle;" text="bind:opcdnm" suppress="5" suppressalign="middle,over"/>
  189. <Cell col="16" displaytype="combo" style="align:center middle;" text="bind:optype" suppress="5" suppressalign="middle,over" combodataset="ds_PK235list" combocodecol="cdid" combodatacol="cdnm"/>
  190. <Cell col="17" displaytype="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;normal&quot; : &quot;date&quot;" text="bind:opfromdt" mask="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;&quot; : &quot;yyyy-MM-dd HH:mm&quot;" suppress="5" suppressalign="middle,over"/>
  191. <Cell col="18" displaytype="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;normal&quot; : &quot;date&quot;" text="bind:optodt" mask="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;&quot; : &quot;yyyy-MM-dd HH:mm&quot;" suppress="5" suppressalign="middle,over"/>
  192. <Cell col="19" displaytype="normal" style="align:left middle;" text="bind:inopcd" suppress="5" suppressalign="middle,over"/>
  193. <Cell col="20" displaytype="normal" style="align:left middle;" text="bind:outopcd" suppress="5" suppressalign="middle,over"/>
  194. <Cell col="21" displaytype="normal" style="background:EXPR(gbn == '퇴' ? 'khaki' : '');background2:EXPR(gbn == '퇴' ? 'khaki' : '');barcolor:khaki;" text="bind:gbn" suppress="6" suppressalign="middle,over"/>
  195. <Cell col="22" displaytype="normal" style="align:left middle;color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:prcpcd"/>
  196. <Cell col="23" displaytype="normal" style="align:left middle;color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:prcpnm"/>
  197. <Cell col="24" displaytype="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;normal&quot; : &quot;date&quot;" style="color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:execdd_min" mask="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;&quot; : &quot;yyyy-MM-dd HH:mm&quot;"/>
  198. <Cell col="25" displaytype="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;normal&quot; : &quot;date&quot;" style="color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:execdd_max" mask="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;&quot; : &quot;yyyy-MM-dd HH:mm&quot;"/>
  199. <Cell col="26" displaytype="number" style="color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:cnt"/>
  200. <Cell col="27" displaytype="normal" style="color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:sefa"/>
  201. <Cell col="28" displaytype="normal" text="bind:flag"/>
  202. <Cell col="29" displaytype="text" edittype="textarea" text="bind:rem" wordwrap="word" suppress="5" suppressalign="middle,over"/>
  203. </Band>
  204. </Format>
  205. </Formats>
  206. </Grid>
  207. <Static id="cap_judgtrgtman" text="수술 예방적 항생제 대상자" onclick="cap_diag_onclick" class="tit_2" position="absolute 0 68 192 88" anchor="left top"/>
  208. <Grid id="grd_dpcdlist00" class="datagrid3" taborder="6" binddataset="ds_grd_dpcdlist" autoenter="select" useinputpanel="false" cellsizingtype="col" cellclickbound="cell" oncelldblclick="grp_biz_grd_dpcdlist_oncelldblclick" position="absolute 204 126 843 474" anchor="all" visible="false">
  209. <Formats>
  210. <Format id="default">
  211. <Columns>
  212. <Column size="26" band="left"/>
  213. <Column size="35" band="left"/>
  214. <Column size="30" band="left"/>
  215. <Column size="30" band="left"/>
  216. <Column size="65" band="left"/>
  217. <Column size="65" band="left"/>
  218. <Column size="30"/>
  219. <Column size="54"/>
  220. <Column size="100"/>
  221. <Column size="65"/>
  222. <Column size="75"/>
  223. <Column size="75"/>
  224. <Column size="80"/>
  225. <Column size="80"/>
  226. <Column size="0"/>
  227. <Column size="199"/>
  228. <Column size="80"/>
  229. <Column size="100"/>
  230. <Column size="100"/>
  231. <Column size="100"/>
  232. <Column size="100"/>
  233. <Column size="30"/>
  234. <Column size="80"/>
  235. <Column size="200"/>
  236. <Column size="110"/>
  237. <Column size="110"/>
  238. <Column size="39"/>
  239. <Column size="30"/>
  240. <Column size="0"/>
  241. <Column size="250"/>
  242. </Columns>
  243. <Rows>
  244. <Row size="42" band="head"/>
  245. <Row size="24"/>
  246. </Rows>
  247. <Band id="head">
  248. <Cell/>
  249. <Cell col="1" text="순번"/>
  250. <Cell col="2" text="제외"/>
  251. <Cell col="3" text="문제"/>
  252. <Cell col="4" displaytype="normal" text="환자번호"/>
  253. <Cell col="5" displaytype="normal" text="환자명"/>
  254. <Cell col="6" text="나이"/>
  255. <Cell col="7" text="병동&#13;&#10;/병실"/>
  256. <Cell col="8" displaytype="normal" text="진료과"/>
  257. <Cell col="9" displaytype="normal" text="진료의"/>
  258. <Cell col="10" displaytype="normal" text="입원일"/>
  259. <Cell col="11" displaytype="normal" text="퇴원일"/>
  260. <Cell col="12" displaytype="normal" text="수술코드"/>
  261. <Cell col="13" displaytype="normal" text="수술 그룹코드"/>
  262. <Cell col="14" displaytype="normal" text="수술실시일자"/>
  263. <Cell col="15" displaytype="normal" text="수술코드명"/>
  264. <Cell col="16" displaytype="normal" text="수술구분"/>
  265. <Cell col="17" displaytype="normal" text="수술시작일시"/>
  266. <Cell col="18" displaytype="normal" text="수술종료일시"/>
  267. <Cell col="19" displaytype="normal" text="포함수술"/>
  268. <Cell col="20" displaytype="normal" text="제외수술"/>
  269. <Cell col="21" displaytype="normal" text="구분"/>
  270. <Cell col="22" displaytype="normal" text="항생제코드"/>
  271. <Cell col="23" displaytype="normal" text="항생제명"/>
  272. <Cell col="24" displaytype="normal" text="항생제 실시 &#13;&#10;시작일시"/>
  273. <Cell col="25" displaytype="normal" text="항생제 실시 &#13;&#10;종료일시"/>
  274. <Cell col="26" displaytype="normal" text="총일수"/>
  275. <Cell col="27" displaytype="normal" text="세파&#13;&#10;여부"/>
  276. <Cell col="28" displaytype="normal" text="flag"/>
  277. <Cell col="29" text="비고"/>
  278. </Band>
  279. <Band id="body">
  280. <Cell celltype="head"/>
  281. <Cell col="1" text="bind:rn"/>
  282. <Cell col="2" displaytype="text" edittype="text" editfilter="upper" style="align:center;" text="bind:remvyn" editlimit="1" editimemode="alpha" editautoselect="true" suppressalign="middle,over"/>
  283. <Cell col="3" displaytype="text" edittype="text" editfilter="upper" style="align:center;" text="bind:warnyn" editlimit="1" editimemode="alpha" editautoselect="true" suppressalign="middle,over"/>
  284. <Cell col="4" displaytype="normal" text="bind:pid" suppressalign="middle,over"/>
  285. <Cell col="5" displaytype="normal" text="bind:patnm" suppressalign="middle,over"/>
  286. <Cell col="6" text="bind:age" suppressalign="middle,over"/>
  287. <Cell col="7" text="bind:roomnm" suppressalign="middle,over"/>
  288. <Cell col="8" displaytype="normal" style="align:left middle;" text="bind:orddeptnm" suppressalign="middle,over"/>
  289. <Cell col="9" displaytype="normal" text="bind:orddrnm" suppressalign="middle,over"/>
  290. <Cell col="10" displaytype="date" text="bind:indd" suppressalign="middle,over"/>
  291. <Cell col="11" displaytype="date" text="bind:dschdd" suppressalign="middle,over"/>
  292. <Cell col="12" displaytype="normal" style="align:center middle;" text="bind:opsnglcode" suppressalign="middle,over"/>
  293. <Cell col="13" displaytype="normal" style="align:center middle;" text="bind:opgrupcode" suppressalign="middle,over"/>
  294. <Cell col="14" displaytype="date" text="bind:opexecdd" suppressalign="middle,over"/>
  295. <Cell col="15" displaytype="normal" style="align:left middle;" text="bind:opcdnm" suppressalign="middle,over"/>
  296. <Cell col="16" displaytype="combo" style="align:center middle;" text="bind:optype" suppressalign="middle,over" combodataset="ds_PK235list" combocodecol="cdid" combodatacol="cdnm"/>
  297. <Cell col="17" displaytype="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;normal&quot; : &quot;date&quot;" text="bind:opfromdt" mask="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;&quot; : &quot;yyyy-MM-dd HH:mm&quot;" suppressalign="middle,over"/>
  298. <Cell col="18" displaytype="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;normal&quot; : &quot;date&quot;" text="bind:optodt" mask="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;&quot; : &quot;yyyy-MM-dd HH:mm&quot;" suppressalign="middle,over"/>
  299. <Cell col="19" displaytype="normal" style="align:left middle;" text="bind:inopcd" suppressalign="middle,over"/>
  300. <Cell col="20" displaytype="normal" style="align:left middle;" text="bind:outopcd" suppressalign="middle,over"/>
  301. <Cell col="21" displaytype="normal" style="background:EXPR(gbn == '퇴' ? 'khaki' : '');background2:EXPR(gbn == '퇴' ? 'khaki' : '');barcolor:khaki;" text="bind:gbn" suppressalign="middle,over"/>
  302. <Cell col="22" displaytype="normal" style="align:left middle;color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:prcpcd" suppressalign="middle,over"/>
  303. <Cell col="23" displaytype="normal" style="align:left middle;color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:prcpnm" suppressalign="middle,over"/>
  304. <Cell col="24" displaytype="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;normal&quot; : &quot;date&quot;" style="color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:execdd_min" mask="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;&quot; : &quot;yyyy-MM-dd HH:mm&quot;" suppressalign="middle,over"/>
  305. <Cell col="25" displaytype="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;normal&quot; : &quot;date&quot;" style="color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:execdd_max" mask="expr:utlf_isNull(getColumn(currow, self.text.replace(&quot;bind:&quot;,&quot;&quot;) )) == true ? &quot;&quot; : &quot;yyyy-MM-dd HH:mm&quot;" suppressalign="middle,over"/>
  306. <Cell col="26" displaytype="number" style="color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:cnt" suppressalign="middle,over"/>
  307. <Cell col="27" displaytype="normal" style="color:EXPR(sefa == 'Y' ? 'coral' : '');font:EXPR(sefa == 'Y' ? 'arial,9,bold' : '');" text="bind:sefa" suppressalign="middle,over"/>
  308. <Cell col="28" displaytype="normal" text="bind:flag" suppressalign="middle,over"/>
  309. <Cell col="29" displaytype="text" edittype="textarea" text="bind:rem" wordwrap="word" suppressalign="middle,over"/>
  310. </Band>
  311. </Format>
  312. </Formats>
  313. </Grid>
  314. <Button id="button1" taborder="7" text="대상자수집 실행" class="btn4" position="absolute 898 66 1022 85" anchor="top right" onclick="grp_biz_button1_onclick"/>
  315. <Button id="btn_cretrslt" taborder="8" text="생성로그확인" class="btn2" position="absolute 800 66 897 85" anchor="top right" style="align:center ;" onclick="grp_biz_btn_cretrslt_onclick"/>
  316. </Layout>
  317. </Layouts>
  318. </Div>
  319. <Static id="cap_title" text="수술 예방적 항생제조회" class="tit_1" position="absolute 0 0 272 26"/>
  320. </Layout>
  321. </Layouts>
  322. <Objects>
  323. <Dataset id="ds_grd_dpcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_dpcdlist_oncolumnchanged">
  324. <ColumnInfo>
  325. <Column id="pid" type="STRING" size="255"/>
  326. <Column id="patnm" type="STRING" size="255"/>
  327. <Column id="orddeptnm" type="STRING" size="255"/>
  328. <Column id="orddrnm" type="STRING" size="255"/>
  329. <Column id="indd" type="STRING" size="255"/>
  330. <Column id="dschdd" type="STRING" size="255"/>
  331. <Column id="opsnglcode" type="STRING" size="255"/>
  332. <Column id="opgrupcode" type="STRING" size="255"/>
  333. <Column id="opexecdd" type="STRING" size="255"/>
  334. <Column id="opfromdt" type="STRING" size="255"/>
  335. <Column id="optodt" type="STRING" size="255"/>
  336. <Column id="otheropinfo" type="STRING" size="255"/>
  337. <Column id="gbn" type="STRING" size="255"/>
  338. <Column id="prcpcd" type="STRING" size="255"/>
  339. <Column id="prcpnm" type="STRING" size="255"/>
  340. <Column id="execdd_min" type="STRING" size="255"/>
  341. <Column id="execdd_max" type="STRING" size="255"/>
  342. <Column id="sefa" type="STRING" size="255"/>
  343. <Column id="cnt" type="BIGDECIMAL" size="255"/>
  344. <Column id="flag" type="STRING" size="255"/>
  345. </ColumnInfo>
  346. </Dataset>
  347. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  348. <ColumnInfo>
  349. <Column id="instcd" type="STRING" size="256"/>
  350. <Column id="seq" type="STRING" size="256"/>
  351. <Column id="fromdd" type="STRING" size="256"/>
  352. <Column id="todd" type="STRING" size="256"/>
  353. <Column id="saveyn" type="STRING" size="256"/>
  354. <Column id="dschtype" type="STRING" size="256"/>
  355. <Column id="agetype" type="STRING" size="256"/>
  356. <Column id="remvyn" type="STRING" size="256"/>
  357. <Column id="warnyn" type="STRING" size="256"/>
  358. <Column id="optype" type="STRING" size="256"/>
  359. <Column id="pid" type="STRING" size="256"/>
  360. <Column id="orddeptcd" type="STRING" size="256"/>
  361. </ColumnInfo>
  362. <Rows>
  363. <Row>
  364. <Col id="saveyn">Y</Col>
  365. <Col id="agetype">Y</Col>
  366. </Row>
  367. </Rows>
  368. </Dataset>
  369. <Dataset id="ds_send_dtl" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  370. <ColumnInfo>
  371. <Column id="pid" type="STRING" size="255"/>
  372. <Column id="patnm" type="STRING" size="255"/>
  373. <Column id="orddeptnm" type="STRING" size="255"/>
  374. <Column id="orddrnm" type="STRING" size="255"/>
  375. <Column id="indd" type="STRING" size="255"/>
  376. <Column id="dschdd" type="STRING" size="255"/>
  377. <Column id="opsnglcode" type="STRING" size="255"/>
  378. <Column id="opgrupcode" type="STRING" size="255"/>
  379. <Column id="opexecdd" type="STRING" size="255"/>
  380. <Column id="opfromdt" type="STRING" size="255"/>
  381. <Column id="optodt" type="STRING" size="255"/>
  382. <Column id="otheropinfo" type="STRING" size="255"/>
  383. <Column id="gbn" type="STRING" size="255"/>
  384. <Column id="prcpcd" type="STRING" size="255"/>
  385. <Column id="prcpnm" type="STRING" size="255"/>
  386. <Column id="execdd_min" type="STRING" size="255"/>
  387. <Column id="execdd_max" type="STRING" size="255"/>
  388. <Column id="sefa" type="STRING" size="255"/>
  389. <Column id="cnt" type="BIGDECIMAL" size="255"/>
  390. <Column id="flag" type="STRING" size="255"/>
  391. <Column id="rem" type="STRING" size="255"/>
  392. <Column id="cretno" type="BIGDECIMAL" size="255"/>
  393. <Column id="remvyn" type="STRING" size="255"/>
  394. <Column id="warnyn" type="STRING" size="255"/>
  395. <Column id="roomnm" type="STRING" size="255"/>
  396. </ColumnInfo>
  397. <Rows>
  398. <Row/>
  399. </Rows>
  400. </Dataset>
  401. <Dataset id="ds_PK235list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  402. <Dataset id="ds_init_cmb_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  403. </Objects>
  404. <Bind>
  405. <BindItem id="item0" compid="grp_biz.group1.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
  406. <BindItem id="item1" compid="grp_biz.group1.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
  407. <BindItem id="item2" compid="grp_biz.group1.CheckBox00" propid="value" datasetid="ds_send" columnid="saveyn"/>
  408. <BindItem id="item3" compid="grp_biz.group1.Combo00" propid="value" datasetid="ds_send" columnid="dschtype"/>
  409. <BindItem id="item4" compid="grp_biz.group1.CheckBox01" propid="value" datasetid="ds_send" columnid="agetype"/>
  410. <BindItem id="item5" compid="grp_biz.group1.Combo01" propid="value" datasetid="ds_send" columnid="remvyn"/>
  411. <BindItem id="item6" compid="grp_biz.group1.Combo02" propid="value" datasetid="ds_send" columnid="warnyn"/>
  412. <BindItem id="item7" compid="grp_biz.group1.Combo03" propid="value" datasetid="ds_send" columnid="optype"/>
  413. <BindItem id="item8" compid="grp_biz.group1.Edit00" propid="value" datasetid="ds_send" columnid="pid"/>
  414. <BindItem id="item9" compid="grp_biz.group1.Combo04" propid="value" datasetid="ds_send" columnid="orddeptcd"/>
  415. </Bind>
  416. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  417. * System Name :
  418. * Job Name :
  419. * Creator :
  420. * Make Date : 2016-05-24
  421. * Description :
  422. *---------------------------------------------------------------------------------------
  423. * Modify Date Modifier Modify Description
  424. *---------------------------------------------------------------------------------------
  425. * 2016-05-24 Live Converter TF->XP
  426. *
  427. *---------------------------------------------------------------------------------------
  428. ****************************************************************************************/
  429. include "com_commonxp::comm_main.xjs";
  430. include "pam_pamcomnxp::PAM001.xjs";
  431. var lgv_hscroll_pos = 0;
  432. var lgv_vscroll_pos = 0;
  433. function SMPPI01100_oninit(obj:Form, e:InitEventInfo)
  434. {
  435. frmf_initForm(obj)
  436. }
  437. function SMPPI01100_onload(obj:Form, e:LoadEventInfo)
  438. {
  439. grdf_initGrid(grp_biz.grd_dpcdlist);
  440. grdf_setRowTypeIcon(grp_biz.grd_dpcdlist, 0);
  441. grdf_setToolTipBind(grp_biz.grd_dpcdlist);
  442. var arrParam = new Array();
  443. arrParam = [{dsNm: "ds_PK235list", cdGrpId: "PK235", showValue: true}];
  444. // 2013.02.19 - 부가코드 원무공통코드조회
  445. pamfGetCodeList(arrParam, true, "cf_pamfGetCodeList"); //비동기
  446. var oParam = {};
  447. oParam.id = "TRPIJ00203";
  448. oParam.service = "bfjudgapp.InHospJudgTrgtMan";
  449. oParam.method = "reqGetDeptList";
  450. oParam.inds = "req=ds_send";
  451. oParam.outds = "ds_init_cmb_orddeptcd=deptlist";
  452. oParam.async = true;
  453. tranf_submit(oParam);
  454. ds_init_cmb_orddeptcd.keystring = "S:depthngnm";
  455. fInitialize();
  456. }
  457. function cf_pamfGetCodeList(){
  458. var rown = ds_PK235list.insertRow(0);
  459. ds_PK235list.setColumn(rown, "cdnm", "전체");
  460. }
  461. function fInitialize(){
  462. ds_send.setColumn(0,"fromdd", utlf_getCurrentDate());
  463. ds_send.setColumn(0,"todd", utlf_getCurrentDate());
  464. ds_send.setColumn(0,"optype", "");
  465. //fGetDocuList();
  466. }
  467. function cf_TRPPI01001(sSvcId, nErrorCode, sErrorMsg) {
  468. if(nErrorCode < 0) return;
  469. }
  470. function fGetDocuList(){
  471. lgv_hscroll_pos = grp_biz.grd_dpcdlist.hscrollbar.pos;
  472. lgv_vscroll_pos = grp_biz.grd_dpcdlist.vscrollbar.pos;
  473. var oParam = {};
  474. oParam.id = "TRPPI01300";
  475. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  476. oParam.method = "reqGetOpPrvnAntibioList";
  477. oParam.inds = "req=ds_send";
  478. oParam.outds = "ds_grd_dpcdlist=rsltlist";
  479. oParam.async = false;
  480. oParam.callback = "cf_TRPPI01300";
  481. tranf_submit(oParam);
  482. }
  483. function cf_TRPPI01300(sSvcId, nErrorCode, sErrorMsg) {
  484. if(nErrorCode < 0) {return};
  485. ds_grd_dpcdlist.updatecontrol = false;
  486. for (var i=0, rowcnt= ds_grd_dpcdlist.rowcount; i < rowcnt; i++) {
  487. if (ds_grd_dpcdlist.getColumn(i,"flag") == "I") {
  488. ds_grd_dpcdlist.setRowType(i, 2)
  489. } else {
  490. ds_grd_dpcdlist.setRowType(i, 1)
  491. }
  492. }
  493. ds_grd_dpcdlist.updatecontrol = true;
  494. grp_biz.grd_dpcdlist.hscrollbar.pos = lgv_hscroll_pos;
  495. grp_biz.grd_dpcdlist.vscrollbar.pos = lgv_vscroll_pos;
  496. }
  497. function grp_biz_btn_excelsave_onclick(obj:Button, e:ClickEventInfo)
  498. {
  499. if (ds_grd_dpcdlist.rowcount > 0) {
  500. grdf_exportExcel(grp_biz.grd_dpcdlist00, grp_biz.cap_judgtrgtman.text , "see");
  501. }else{
  502. sysf_messageBox("엑셀저장할 내역이", "I004");
  503. }
  504. }
  505. function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
  506. {
  507. fGetDocuList();
  508. }
  509. function grp_biz_group1_ipt_diagcd_onkeydown(obj:Edit, e:KeyEventInfo)
  510. {
  511. if(e.keycode == 13)
  512. {
  513. grp_biz_group1_btn_select_onclick();
  514. }
  515. }
  516. function grp_biz_group1_input1_onkeydown(obj:Edit, e:KeyEventInfo)
  517. {
  518. if(e.keycode == 13)
  519. {
  520. grp_biz_group1_btn_select_onclick();
  521. }
  522. }
  523. function grp_biz_group1_ipt_fromdd_onkeyup(obj:Calendar, e:KeyEventInfo)
  524. {
  525. if(e.keycode == 13)
  526. {
  527. obj.updateToDataset();
  528. grp_biz.group1.ipt_todd.setFocus();
  529. //grp_biz_group1_btn_select_onclick();
  530. }
  531. }
  532. function grp_biz_group1_ipt_todd_onkeyup(obj:Calendar, e:KeyEventInfo)
  533. {
  534. if(e.keycode == 13)
  535. {
  536. obj.updateToDataset();
  537. grp_biz_group1_btn_select_onclick();
  538. }
  539. }
  540. function grp_biz_btn_save_onclick(obj:Button, e:ClickEventInfo)
  541. {
  542. var oParam = {};
  543. oParam.id = "TXPPI01300";
  544. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  545. oParam.method = "reqExeOpPrvnAntibioList";
  546. oParam.inds = "req=ds_grd_dpcdlist:U";
  547. //oParam.outds = "ds_grd_dpasdasdcdlist=rslt";
  548. oParam.async = false;
  549. oParam.callback = "cf_TXPPI01300";
  550. tranf_submit(oParam);
  551. }
  552. function cf_TXPPI01300(sSvcId, nErrorCode, sErrorMsg) {
  553. if(nErrorCode < 0) {return};
  554. ds_grd_dpcdlist.applyChange();
  555. fGetDocuList();
  556. }
  557. function grp_biz_group1_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
  558. {
  559. grp_biz.group1.ipt_todd.value = e.postvalue;
  560. }
  561. function grp_biz_grd_dpcdlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  562. {
  563. ds_send_dtl.copyRow(0, ds_grd_dpcdlist,obj.currentrow);
  564. var objArg = new Object();
  565. objArg.arg_ds_hidden_receivedata = ds_send_dtl;
  566. var trgtManWindow = frmf_getChildWindow("SPPID29200");
  567. if (utlf_isNull(trgtManWindow))
  568. {
  569. frmf_open("SPPID29200", "SPPID29200", objArg, "", "", "", "", "", "", "", "", "", "M");
  570. } else {
  571. trgtManWindow.fGetDocuList();
  572. }
  573. }
  574. function grp_biz_group1_Edit00_onkeydown(obj:Edit, e:KeyEventInfo)
  575. {
  576. if(e.keycode == 13)
  577. {
  578. grp_biz.group1.btn_select.setFocus();
  579. grp_biz_group1_btn_select_onclick();
  580. }
  581. }
  582. function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
  583. {
  584. var oParam = {};
  585. oParam.id = "TRPIJ04201";
  586. oParam.service = "aftjudgapp.InAftJudgTrgtMan";
  587. oParam.method = "reqExeOpPrvnAntibioTrgtBatch";
  588. oParam.inds = "req=ds_send";
  589. oParam.outds = "ds_main_chklist=chklist";
  590. oParam.async = false;
  591. oParam.force = true;
  592. //oParam.callback = "cf_TRPIJ04201";
  593. tranf_submit(oParam);
  594. }
  595. function grp_biz_btn_cretrslt_onclick(obj:Button, e:ClickEventInfo)
  596. {
  597. var todd = utlf_getCurrentDate();
  598. todd = todd.toDate().getAddDate(+1, "D").getDateFormat();
  599. var objArg = new Object();
  600. objArg.todd = todd;
  601. objArg.execrid = sysf_getUserId();
  602. objArg.prgmid = "OpPrvnAntibioTrgtBatch";
  603. frmf_open("SPZSB00301", "SPZSB00301", objArg, "","","","","","","","","","M");
  604. }
  605. ]]></Script>
  606. </Form>
  607. </FDL>