SMASI00620_미생물환자균별항생제조회.xfdl 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMASI00620" position="absolute 0 0 1189 745" titletext="미생물배양양성자조회" oninit="SMASI00620_oninit" onload="SMASI00620_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="균별 항생제관리" class="tit_1" position="absolute 0 0 135 25" anchor="left top"/>
  8. <Div id="grp_sea" taborder="1" position="absolute 0 25 1185 84" anchor="left top right" class="div_SA">
  9. <Layouts>
  10. <Layout>
  11. <Button id="btn_search" taborder="5" text="조회" class="btn1" position="absolute 443 20 499 42" onclick="grp_sea_btn_search_onclick" anchor="left top"/>
  12. <Static id="caption4" text="기간 :" class="search_name" position="absolute 22 21 78 38" anchor="left top"/>
  13. <Static id="caption5" text="~" class="search_no_b" position="absolute 313 21 330 38" anchor="left top"/>
  14. <Combo id="cmb_termflag" taborder="6" codecolumn="value" datacolumn="label" class="combo_default" position="absolute 96 21 194 40" innerdataset="@ds_cmb_termflag" anchor="left top">
  15. <Dataset id="innerdataset">
  16. <ColumnInfo>
  17. <Column id="codecolumn"/>
  18. <Column id="datacolumn"/>
  19. </ColumnInfo>
  20. <Rows>
  21. <Row>
  22. <Col id="codecolumn">O</Col>
  23. <Col id="datacolumn">처방일</Col>
  24. </Row>
  25. <Row>
  26. <Col id="codecolumn">A</Col>
  27. <Col id="datacolumn">접수일</Col>
  28. </Row>
  29. <Row>
  30. <Col id="codecolumn">R</Col>
  31. <Col id="datacolumn">결과보고일</Col>
  32. </Row>
  33. </Rows>
  34. </Dataset>
  35. </Combo>
  36. <Calendar id="ipt_termfromdd" taborder="7" class="input_default" position="absolute 205 21 311 40" anchor="left top"/>
  37. <Calendar id="ipt_termtodd" taborder="8" class="input_default" position="absolute 324 21 422 40" anchor="left top" onkeyup="grp_sea_ipt_termtodd_onkeyup"/>
  38. </Layout>
  39. </Layouts>
  40. </Div>
  41. <Button id="btn_excel" taborder="10" text="엑셀" class="btn7" position="absolute 1123 99 1179 121" onclick="btn_excel_onclick" anchor="top right"/>
  42. <Static id="caption25" text="균별 항생제 리스트" class="tit_2" position="absolute 2 104 137 121" anchor="left top"/>
  43. <Grid id="grd_baseinfo" taborder="23" binddataset="ds_baseinfo" useinputpanel="false" position="absolute 1 127 346 742" oncellclick="grd_baseinfo_oncellclick" anchor="left top bottom">
  44. <Formats>
  45. <Format id="default">
  46. <Columns>
  47. <Column size="28"/>
  48. <Column size="100"/>
  49. <Column size="50"/>
  50. <Column size="80"/>
  51. <Column size="60"/>
  52. <Column size="70"/>
  53. <Column size="56"/>
  54. <Column size="75"/>
  55. <Column size="80"/>
  56. <Column size="90"/>
  57. <Column size="100"/>
  58. </Columns>
  59. <Rows>
  60. <Row size="24" band="head"/>
  61. <Row size="24"/>
  62. </Rows>
  63. <Band id="head">
  64. <Cell displaytype="number"/>
  65. <Cell col="1" text="검체번호"/>
  66. <Cell col="2" text="환자명"/>
  67. <Cell col="3" text="차트번호"/>
  68. <Cell col="4" text="나이"/>
  69. <Cell col="5" text="검체명"/>
  70. <Cell col="6" text="진료과"/>
  71. <Cell col="7" text="주치의"/>
  72. <Cell col="8" text="병동"/>
  73. <Cell col="9" text="접수시각"/>
  74. <Cell col="10" text="결과입력일"/>
  75. </Band>
  76. <Band id="body">
  77. <Cell celltype="head" text="expr:currow + 1"/>
  78. <Cell col="1" displaytype="text" edittype="text" style="align:center middle;" text="bind:bcno"/>
  79. <Cell col="2" text="bind:testcd"/>
  80. <Cell col="3" text="bind:pid"/>
  81. <Cell col="4" text="bind:age"/>
  82. <Cell col="5" text="bind:spcnm"/>
  83. <Cell col="6" text="bind:orddept"/>
  84. <Cell col="7" text="bind:atdrnm"/>
  85. <Cell col="8" text="bind:wardcd"/>
  86. <Cell col="9" text="bind:acptdt"/>
  87. <Cell col="10" text="bind:lastreptdt"/>
  88. </Band>
  89. </Format>
  90. </Formats>
  91. </Grid>
  92. <Grid id="grd_horizontally" taborder="28" binddataset="ds_grd_horizontally" useinputpanel="false" position="absolute 356 127 1188 743" anchor="all" autofittype="col">
  93. <Formats>
  94. <Format id="default">
  95. <Columns>
  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. <Column size="0"/>
  104. <Column size="0"/>
  105. <Column size="0"/>
  106. <Column size="0"/>
  107. <Column size="0"/>
  108. <Column size="28"/>
  109. <Column size="250"/>
  110. <Column size="180"/>
  111. <Column size="50"/>
  112. <Column size="50"/>
  113. <Column size="100"/>
  114. <Column size="100"/>
  115. <Column size="100"/>
  116. </Columns>
  117. <Rows>
  118. <Row size="24" band="head"/>
  119. <Row size="24"/>
  120. </Rows>
  121. <Band id="head">
  122. <Cell text="구분"/>
  123. <Cell col="1" text="등록번호"/>
  124. <Cell col="2" text="성명"/>
  125. <Cell col="3" text="나이"/>
  126. <Cell col="4" text="성별"/>
  127. <Cell col="5" text="진료과"/>
  128. <Cell col="6" text="담당의"/>
  129. <Cell col="7" text="입원일"/>
  130. <Cell col="8" text="병동"/>
  131. <Cell col="9" text="작업번호"/>
  132. <Cell col="10" text="bcno"/>
  133. <Cell col="11" text="검체"/>
  134. <Cell col="12"/>
  135. <Cell col="13" text="균"/>
  136. <Cell col="14" text="항균제"/>
  137. <Cell col="15" text="결과"/>
  138. <Cell col="16" text="결과2"/>
  139. <Cell col="17" text="증식"/>
  140. <Cell col="18" text="접수일"/>
  141. <Cell col="19" text="결과보고일"/>
  142. </Band>
  143. <Band id="body">
  144. <Cell text="bind:ioflag"/>
  145. <Cell col="1" text="bind:pid"/>
  146. <Cell col="2" text="bind:hngnm"/>
  147. <Cell col="3" text="bind:age"/>
  148. <Cell col="4" text="bind:sex"/>
  149. <Cell col="5" text="bind:orddept"/>
  150. <Cell col="6" text="bind:atdrnm"/>
  151. <Cell col="7" text="bind:indd" mask="yyyy-mm-dd"/>
  152. <Cell col="8" text="bind:wardcd"/>
  153. <Cell col="9" text="bind:workno"/>
  154. <Cell col="10" displaytype="text" edittype="text" text="bind:bcno"/>
  155. <Cell col="11" text="bind:spcnm"/>
  156. <Cell col="12" celltype="head" text="expr:currow + 1"/>
  157. <Cell col="13" style="align:left middle;" text="bind:bacnm"/>
  158. <Cell col="14" style="align:left middle;" text="bind:antibionm"/>
  159. <Cell col="15" text="bind:antibioref"/>
  160. <Cell col="16" text="bind:antibiorslt"/>
  161. <Cell col="17" text="bind:growkind"/>
  162. <Cell col="18" text="bind:spcacptdt"/>
  163. <Cell col="19" displaytype="date" text="bind:lastreptdt" mask="yyyy-MM-dd"/>
  164. </Band>
  165. </Format>
  166. </Formats>
  167. </Grid>
  168. <Button id="button00" taborder="29" text="초기화" onclick="button00_onclick" class="btn4" position="absolute 1102 43 1170 65" anchor="top right"/>
  169. <Shape id="line37" class="line_1" position="absolute 1 123 346 129" style="strokepen:3 solid #33bbbbff;"/>
  170. <Shape id="line00" class="line_1" position="absolute 356 123 1187 129" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
  171. </Layout>
  172. </Layouts>
  173. <Objects>
  174. <Dataset id="ds_grd_horizontally" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  175. <ColumnInfo>
  176. <Column id="ioflag" type="STRING"/>
  177. <Column id="pid" type="STRING"/>
  178. <Column id="hngnm" type="STRING"/>
  179. <Column id="age" type="STRING"/>
  180. <Column id="sex" type="STRING"/>
  181. <Column id="orddept" type="STRING"/>
  182. <Column id="atdrnm" type="STRING"/>
  183. <Column id="indd" type="STRING"/>
  184. <Column id="wardcd" type="STRING"/>
  185. <Column id="workno" type="STRING"/>
  186. <Column id="bcno" type="STRING"/>
  187. <Column id="spcnm" type="STRING"/>
  188. <Column id="bacnm" type="STRING"/>
  189. <Column id="antibionm" type="STRING"/>
  190. <Column id="antibioref" type="STRING"/>
  191. <Column id="antibiorslt" type="STRING"/>
  192. <Column id="growkind" type="STRING"/>
  193. <Column id="spcacptdt" type="STRING"/>
  194. <Column id="lastreptdt" type="STRING"/>
  195. </ColumnInfo>
  196. </Dataset>
  197. <Dataset id="ds_baseinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  198. <ColumnInfo>
  199. <Column id="bcno" type="STRING"/>
  200. <Column id="testcd" type="STRING"/>
  201. <Column id="pid" type="STRING"/>
  202. <Column id="age" type="STRING"/>
  203. <Column id="spcnm" type="STRING"/>
  204. <Column id="orddept" type="STRING"/>
  205. <Column id="atdrnm" type="STRING"/>
  206. <Column id="wardcd" type="STRING"/>
  207. <Column id="acptdt" type="STRING"/>
  208. <Column id="lastreptdt" type="STRING"/>
  209. </ColumnInfo>
  210. </Dataset>
  211. <Dataset id="ds_bacinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  212. <ColumnInfo>
  213. <Column id="bcno" type="STRING"/>
  214. <Column id="seqno" type="STRING"/>
  215. <Column id="growkind" type="STRING"/>
  216. <Column id="baccd" type="STRING"/>
  217. <Column id="bacnm" type="STRING"/>
  218. <Column id="lastreptdt" type="STRING"/>
  219. </ColumnInfo>
  220. </Dataset>
  221. <Dataset id="ds_antiinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  222. <ColumnInfo>
  223. <Column id="bcno" type="STRING"/>
  224. <Column id="seqno" type="STRING"/>
  225. <Column id="sqno" type="STRING"/>
  226. <Column id="antibiocd" type="STRING"/>
  227. <Column id="antibionm" type="STRING"/>
  228. <Column id="method" type="STRING"/>
  229. <Column id="antibiorslt" type="STRING"/>
  230. <Column id="antibioref" type="STRING"/>
  231. <Column id="lastreptdt" type="STRING"/>
  232. </ColumnInfo>
  233. </Dataset>
  234. <Dataset id="ds_diaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  235. <ColumnInfo>
  236. <Column id="bcno" type="STRING"/>
  237. <Column id="seqno" type="STRING"/>
  238. <Column id="sqno" type="STRING"/>
  239. <Column id="icd10_cd" type="STRING"/>
  240. <Column id="icd10_nm" type="STRING"/>
  241. <Column id="snomed_ct" type="STRING"/>
  242. <Column id="snomed_ctnm" type="STRING"/>
  243. <Column id="rgdt" type="STRING"/>
  244. <Column id="lastreptdt" type="STRING"/>
  245. </ColumnInfo>
  246. </Dataset>
  247. <Dataset id="ds_grd_vertically" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  248. <ColumnInfo>
  249. <Column id="antibionm" type="STRING"/>
  250. <Column id="antibioref" type="STRING"/>
  251. <Column id="spccd" type="STRING"/>
  252. <Column id="baccd" type="STRING"/>
  253. <Column id="nsgbrcd" type="STRING"/>
  254. <Column id="nsgbrnm" type="STRING"/>
  255. <Column id="tclscd" type="STRING"/>
  256. <Column id="testcd" type="STRING"/>
  257. <Column id="bcno" type="STRING"/>
  258. <Column id="spcacptdt" type="STRING"/>
  259. <Column id="cretno" type="STRING"/>
  260. <Column id="seqno" type="STRING"/>
  261. <Column id="prcpdd" type="STRING"/>
  262. <Column id="lastreptdt" type="STRING"/>
  263. <Column id="prcpwardcd" type="STRING"/>
  264. <Column id="prcproomcd" type="STRING"/>
  265. <Column id="pid" type="STRING"/>
  266. <Column id="hngnm" type="STRING"/>
  267. <Column id="spcnm" type="STRING"/>
  268. <Column id="bacnm" type="STRING"/>
  269. <Column id="antibioref" type="STRING"/>
  270. <Column id="sex" type="STRING"/>
  271. <Column id="age" type="STRING"/>
  272. <Column id="orddeptcd" type="STRING"/>
  273. <Column id="atdrnm" type="STRING"/>
  274. <Column id="indd" type="STRING"/>
  275. <Column id="dschdd" type="STRING"/>
  276. <Column id="acptdt" type="STRING"/>
  277. <Column id="wardcd" type="STRING"/>
  278. <Column id="roomcd" type="STRING"/>
  279. <Column id="inhospdayno" type="STRING"/>
  280. <Column id="jangbinm" type="STRING"/>
  281. </ColumnInfo>
  282. </Dataset>
  283. <Dataset id="ds_cmb_termflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  284. <ColumnInfo>
  285. <Column id="label" type="STRING" size="256"/>
  286. <Column id="value" type="STRING" size="256"/>
  287. </ColumnInfo>
  288. <Rows>
  289. <Row>
  290. <Col id="label">처방일</Col>
  291. <Col id="value">0</Col>
  292. </Row>
  293. <Row>
  294. <Col id="label">접수일</Col>
  295. <Col id="value">A</Col>
  296. </Row>
  297. <Row>
  298. <Col id="label">결과보고일</Col>
  299. <Col id="value">R</Col>
  300. </Row>
  301. </Rows>
  302. </Dataset>
  303. <Dataset id="ds_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  304. <ColumnInfo>
  305. <Column id="termflag" type="STRING" size="256"/>
  306. <Column id="termfromdd" type="STRING" size="256"/>
  307. <Column id="termtodd" type="STRING" size="256"/>
  308. <Column id="srchpid" type="STRING" size="256"/>
  309. <Column id="srchorddeptcd" type="STRING" size="256"/>
  310. <Column id="srchwardcd" type="STRING" size="256"/>
  311. <Column id="srchspccd" type="STRING" size="256"/>
  312. <Column id="srchspcnm" type="STRING" size="256"/>
  313. <Column id="srchbaccd" type="STRING" size="256"/>
  314. <Column id="srchbacnm" type="STRING" size="256"/>
  315. <Column id="groupflag" type="STRING" size="256"/>
  316. <Column id="viewflag" type="STRING" size="256"/>
  317. <Column id="srchiofalg" type="STRING" size="256"/>
  318. </ColumnInfo>
  319. <Rows>
  320. <Row>
  321. <Col id="termflag">R</Col>
  322. <Col id="srchiofalg">-</Col>
  323. <Col id="viewflag">V</Col>
  324. <Col id="groupflag">A</Col>
  325. </Row>
  326. </Rows>
  327. </Dataset>
  328. <Dataset id="ds_header" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  329. <ColumnInfo>
  330. <Column id="colref" type="STRING" size="256"/>
  331. <Column id="caption" type="STRING" size="256"/>
  332. </ColumnInfo>
  333. <Rows>
  334. <Row/>
  335. </Rows>
  336. </Dataset>
  337. </Objects>
  338. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  339. * System Name :
  340. * Job Name :
  341. * Creator :
  342. * Make Date : 2015-11-13
  343. * Description :
  344. *---------------------------------------------------------------------------------------
  345. * Modify Date Modifier Modify Description
  346. *---------------------------------------------------------------------------------------
  347. * 2015-11-13 Live Converter TF->XP
  348. *
  349. *---------------------------------------------------------------------------------------
  350. ****************************************************************************************/
  351. include "com_commonxp::comm_main.xjs";
  352. include "lis_commonxp::LLZ001.xjs";
  353. function SMASI00620_oninit(obj:Form, e:InitEventInfo)
  354. {
  355. //폼 초기화 함수
  356. frmf_initForm(obj);
  357. }
  358. function SMASI00620_onload(obj:Form, e:LoadEventInfo)
  359. {
  360. grdf_initGrid(grd_baseinfo);
  361. grdf_initGrid(grd_horizontally);
  362. grp_sea.cmb_termflag.value = 'R';
  363. grp_sea.ipt_termfromdd.value = utlf_getCurrentDate();
  364. grp_sea.ipt_termtodd.value = utlf_getCurrentDate();
  365. }
  366. //조회
  367. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  368. {
  369. ds_condition.setColumn(0, "termflag", grp_sea.cmb_termflag.value);
  370. ds_condition.setColumn(0, "termfromdd", grp_sea.ipt_termfromdd.value);
  371. ds_condition.setColumn(0, "termtodd", grp_sea.ipt_termtodd.value);
  372. var oParam = {};
  373. oParam.id = "TRASI00603";
  374. oParam.service = "infcmngtapp.HospInfcMngt";
  375. oParam.method = "reqGetBaseInfoListA";
  376. oParam.inds = "req=ds_condition";
  377. oParam.outds = "ds_baseinfo=baseinfo";
  378. oParam.async = false;
  379. //oParam.callback = "cf_TRASI00603";
  380. tranf_submit(oParam);
  381. }
  382. //상세내역 조회
  383. function grd_baseinfo_oncellclick(obj:Grid, e:GridClickEventInfo)
  384. {
  385. //model.makeNode("/root/send/reqdata");
  386. //model.copyNode("/root/send/reqdata", "/root/main/condition");
  387. //model.setValue("/root/send/reqdata/srchpid", model.getValue("/root/main/microtestprotonlist/base/baseinfo["+ baseinfo.row +"]/bcno"));
  388. ds_condition.setColumn(0, "termflag", grp_sea.cmb_termflag.value);
  389. ds_condition.setColumn(0, "termfromdd", grp_sea.ipt_termfromdd.value);
  390. ds_condition.setColumn(0, "termtodd", grp_sea.ipt_termtodd.value);
  391. var bcno = ds_baseinfo.getColumn(ds_baseinfo.rowposition, "bcno");
  392. ds_condition.setColumn(0, "srchpid", bcno);
  393. //submit("TRASI00704");
  394. var oParam = {};
  395. oParam.id = "TRASI00704";
  396. oParam.service = "infcmngtapp.HospInfcMngt";
  397. oParam.method = "reqGetMicroPidList";
  398. oParam.inds = "req=ds_condition";
  399. oParam.outds = "ds_header=header ds_grd_horizontally=info";
  400. oParam.async = false;
  401. //oParam.callback = "cf_TRASI00704";
  402. tranf_submit(oParam);
  403. }
  404. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  405. {
  406. grdf_exportExcel(grd_horizontally, lf_lisGetTitle(this), "see");
  407. }
  408. function button00_onclick(obj:Button, e:ClickEventInfo)
  409. {
  410. this.reload();
  411. }
  412. function grp_sea_ipt_termtodd_onkeyup(obj:Calendar, e:KeyEventInfo)
  413. {
  414. if(e.keycode == 13)
  415. {
  416. grp_sea_btn_search_onclick();
  417. }
  418. }
  419. ]]></Script>
  420. </Form>
  421. </FDL>