SPPIJ00900_재원미시행처방조회.xfdl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPPIJ00900" position="absolute 0 0 1102 697" titletext="재원 미시행 처방 조회" oninit="SPPIJ00900_oninit" onload="SPPIJ00900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="재원 미시행 처방 조회" position="absolute 6 9 221 30" id="caption1" class="tit_2"/>
  8. <Shape position="absolute 5 25 1095 31" linetype="horizontal" id="line1" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
  9. <Static text="환자번호" position="absolute 6 30 71 49" id="caption3" class="cell_1"/>
  10. <Edit position="absolute 70 30 170 49" id="ipt_pid" class="input_default" onkeydown="ipt_pid_onkeydown"/>
  11. <Button position="absolute 1040 30 1093 49" id="btn_close" class="btn2" text="닫 기" onclick="btn_close_onclick"/>
  12. <Button position="absolute 175 30 228 49" id="btn_search" class="btn2" text="조 회" onclick="btn_search_onclick"/>
  13. <Grid position="absolute 5 50 1095 170" id="grd_inpt" scrollbars="autoboth" binddataset="ds_grd_inpt" autofittype="none" oncelldblclick="grd_inpt_oncelldblclick" cellsizingtype="col">
  14. <Formats>
  15. <Format id="default">
  16. <Columns>
  17. <Column size="100"/>
  18. <Column size="100"/>
  19. <Column size="70"/>
  20. <Column size="70"/>
  21. <Column size="40"/>
  22. <Column size="40"/>
  23. <Column size="40"/>
  24. <Column size="85"/>
  25. <Column size="50"/>
  26. <Column size="50"/>
  27. <Column size="100"/>
  28. <Column size="100"/>
  29. <Column size="100"/>
  30. <Column size="50"/>
  31. <Column size="60"/>
  32. <Column size="50"/>
  33. <Column size="50"/>
  34. </Columns>
  35. <Rows>
  36. <Row size="24" band="head"/>
  37. <Row size="24"/>
  38. </Rows>
  39. <Band id="head">
  40. <Cell text="환자번호"/>
  41. <Cell col="1" text="환자명"/>
  42. <Cell col="2" text="병동"/>
  43. <Cell col="3" text="병실"/>
  44. <Cell col="4" text="예고"/>
  45. <Cell col="5" text="확정"/>
  46. <Cell col="6" text="상태"/>
  47. <Cell col="7" text="진료과"/>
  48. <Cell col="8" text="유형"/>
  49. <Cell col="9" text="보조"/>
  50. <Cell col="10" text="입원일자"/>
  51. <Cell col="11" text="시작일자"/>
  52. <Cell col="12" text="종료일자"/>
  53. <Cell col="13" text="생성"/>
  54. <Cell col="14" text="기관번호"/>
  55. <Cell col="15" text="생성번호"/>
  56. <Cell col="16" text="주부유형"/>
  57. </Band>
  58. <Band id="body">
  59. <Cell text="bind:pid"/>
  60. <Cell col="1" text="bind:hngnm"/>
  61. <Cell col="2" text="bind:wardnm"/>
  62. <Cell col="3" text="bind:roomnm"/>
  63. <Cell col="4" text="bind:dschdclrtyn"/>
  64. <Cell col="5" text="bind:dschnotiyn"/>
  65. <Cell col="6" text="bind:indschstat"/>
  66. <Cell col="7" text="bind:orddeptnm"/>
  67. <Cell col="8" text="bind:insukind"/>
  68. <Cell col="9" text="bind:suppkind"/>
  69. <Cell col="10" displaytype="date" edittype="date" text="bind:indd" mask="yyyy-MM-dd"/>
  70. <Cell col="11" displaytype="date" edittype="date" text="bind:fromdd" mask="yyyy-MM-dd"/>
  71. <Cell col="12" displaytype="date" edittype="date" text="bind:todd" mask="yyyy-MM-dd"/>
  72. <Cell col="13" text="bind:cretyn"/>
  73. <Cell col="14" text="bind:instcd"/>
  74. <Cell col="15" text="bind:cretno"/>
  75. <Cell col="16" text="bind:mskind"/>
  76. </Band>
  77. </Format>
  78. </Formats>
  79. </Grid>
  80. <Grid position="absolute 5 175 1095 690" id="grd_iprc" scrollbars="autoboth" binddataset="ds_grd_iprc" autofittype="none" cellsizingtype="col">
  81. <Formats>
  82. <Format id="default">
  83. <Columns>
  84. <Column size="22"/>
  85. <Column size="49"/>
  86. <Column size="77"/>
  87. <Column size="45"/>
  88. <Column size="45"/>
  89. <Column size="85"/>
  90. <Column size="234"/>
  91. <Column size="40"/>
  92. <Column size="25"/>
  93. <Column size="40"/>
  94. <Column size="25"/>
  95. <Column size="50"/>
  96. <Column size="100"/>
  97. <Column size="80"/>
  98. <Column size="120"/>
  99. <Column size="100"/>
  100. <Column size="54"/>
  101. <Column size="66"/>
  102. <Column size="97"/>
  103. <Column size="54"/>
  104. <Column size="69"/>
  105. <Column size="66"/>
  106. <Column size="63"/>
  107. </Columns>
  108. <Rows>
  109. <Row size="24" band="head"/>
  110. <Row size="24"/>
  111. </Rows>
  112. <Band id="head">
  113. <Cell/>
  114. <Cell col="1" text="병실"/>
  115. <Cell col="2" text="상태"/>
  116. <Cell col="3" text="구분"/>
  117. <Cell col="4" text="분류"/>
  118. <Cell col="5" text="처방코드"/>
  119. <Cell col="6" text="처방명"/>
  120. <Cell col="7" text="용량"/>
  121. <Cell col="8"/>
  122. <Cell col="9" text="수량"/>
  123. <Cell col="10"/>
  124. <Cell col="11" text="급/비"/>
  125. <Cell col="12" text="예약일시"/>
  126. <Cell col="13" text="처방적용일"/>
  127. <Cell col="14" text="처방일시"/>
  128. <Cell col="15" text="Acting부서"/>
  129. <Cell col="16" text="prcpno"/>
  130. <Cell col="17" text="prcphistno"/>
  131. <Cell col="18" text="execprcpuniqno"/>
  132. <Cell col="19" text="rsrvflag"/>
  133. <Cell col="20" text="inclprcptno"/>
  134. <Cell col="21" text="prcpsetcd"/>
  135. <Cell col="22" text="prcpclscd"/>
  136. </Band>
  137. <Band id="body">
  138. <Cell celltype="head" text="expr:currow + 1"/>
  139. <Cell col="1" text="bind:roomcd"/>
  140. <Cell col="2" text="bind:execprcpstatcd"/>
  141. <Cell col="3" text="bind:prcpkindcdnm"/>
  142. <Cell col="4" text="bind:prcpclscd"/>
  143. <Cell col="5" text="bind:prcpcd"/>
  144. <Cell col="6" style="align:left middle;" text="bind:prcpnm" tooltiptext="bind:prcpnm"/>
  145. <Cell col="7" text="bind:prcpvol"/>
  146. <Cell col="8" text="bind:prcpvolunitflag"/>
  147. <Cell col="9" text="bind:prcpqty"/>
  148. <Cell col="10" text="bind:prcpqtyunitflag"/>
  149. <Cell col="11" text="bind:payflagcd"/>
  150. <Cell col="12" displaytype="date" edittype="date" text="bind:rsrvdt" mask="yyyy-MM-dd HH:mm"/>
  151. <Cell col="13" displaytype="date" edittype="date" text="bind:prcpdd" mask="yyyy-MM-dd"/>
  152. <Cell col="14" displaytype="date" edittype="date" text="bind:prcpdt" mask="yyyy-MM-dd HH:mm"/>
  153. <Cell col="15" text="bind:execdeptcd"/>
  154. <Cell col="16" text="bind:prcpno"/>
  155. <Cell col="17" text="bind:prcphistno"/>
  156. <Cell col="18" text="bind:execprcpuniqno"/>
  157. <Cell col="19" text="bind:rsrvflag"/>
  158. <Cell col="20" text="bind:inclprcpno"/>
  159. <Cell col="21" text="bind:prcpsetcd"/>
  160. <Cell col="22" text="bind:prcpclscd"/>
  161. </Band>
  162. </Format>
  163. </Formats>
  164. </Grid>
  165. </Layout>
  166. </Layouts>
  167. <Objects>
  168. <Dataset id="ds_grd_inpt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  169. <ColumnInfo>
  170. <Column id="pid" type="STRING"/>
  171. <Column id="hngnm" type="STRING"/>
  172. <Column id="wardnm" type="STRING"/>
  173. <Column id="roomnm" type="STRING"/>
  174. <Column id="dschdclrtyn" type="STRING"/>
  175. <Column id="dschnotiyn" type="STRING"/>
  176. <Column id="indschstat" type="STRING"/>
  177. <Column id="orddeptnm" type="STRING"/>
  178. <Column id="insukind" type="STRING"/>
  179. <Column id="suppkind" type="STRING"/>
  180. <Column id="indd" type="STRING"/>
  181. <Column id="fromdd" type="STRING"/>
  182. <Column id="todd" type="STRING"/>
  183. <Column id="cretyn" type="STRING"/>
  184. <Column id="instcd" type="STRING"/>
  185. <Column id="cretno" type="STRING"/>
  186. <Column id="mskind" type="STRING"/>
  187. </ColumnInfo>
  188. </Dataset>
  189. <Dataset id="ds_grd_iprc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  190. <ColumnInfo>
  191. <Column id="roomcd" type="STRING"/>
  192. <Column id="execprcpstatcd" type="STRING"/>
  193. <Column id="prcpkindcdnm" type="STRING"/>
  194. <Column id="prcpclscd" type="STRING"/>
  195. <Column id="prcpcd" type="STRING"/>
  196. <Column id="prcpnm" type="STRING"/>
  197. <Column id="prcpvol" type="STRING"/>
  198. <Column id="prcpvolunitflag" type="STRING"/>
  199. <Column id="prcpqty" type="STRING"/>
  200. <Column id="prcpqtyunitflag" type="STRING"/>
  201. <Column id="payflagcd" type="STRING"/>
  202. <Column id="rsrvdt" type="STRING"/>
  203. <Column id="prcpdd" type="STRING"/>
  204. <Column id="prcpdt" type="STRING"/>
  205. <Column id="execdeptcd" type="STRING"/>
  206. <Column id="prcpno" type="STRING"/>
  207. <Column id="prcphistno" type="STRING"/>
  208. <Column id="execprcpuniqno" type="STRING"/>
  209. <Column id="rsrvflag" type="STRING"/>
  210. <Column id="inclprcpno" type="STRING"/>
  211. <Column id="prcpsetcd" type="STRING"/>
  212. <Column id="prcpclscd" type="STRING"/>
  213. </ColumnInfo>
  214. </Dataset>
  215. </Objects>
  216. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  217. * System Name :
  218. * Job Name :
  219. * Creator :
  220. * Make Date : 2016-05-24
  221. * Description :
  222. *---------------------------------------------------------------------------------------
  223. * Modify Date Modifier Modify Description
  224. *---------------------------------------------------------------------------------------
  225. * 2016-05-24 Live Converter TF->XP
  226. *
  227. *---------------------------------------------------------------------------------------
  228. ****************************************************************************************/
  229. include "com_commonxp::comm_main.xjs";
  230. include "pam_pamcomnxp::PAM001.xjs";
  231. function SPPIJ00900_oninit(obj:Form, e:InitEventInfo)
  232. {
  233. frmf_initForm(obj);
  234. }
  235. function SPPIJ00900_onload(obj:Form, e:LoadEventInfo)
  236. {
  237. if( frmf_checkOpener() ) {
  238. ipt_pid.value = arg_tmp_pid;
  239. }
  240. if (!utlf_isNull(ipt_pid.value)) {
  241. btn_search_onclick()
  242. }
  243. }
  244. function btn_search_onclick(obj:Button, e:ClickEventInfo)
  245. {
  246. dsf_createDsRow("ds_send", [{col:"pid", type:"STRING", size:256, val: ipt_pid.value}]);
  247. var oParam = {};
  248. oParam.id = "TRPIJ00901";
  249. oParam.service = "bfjudgapp.InHospJudg";
  250. oParam.method = "reqGetNoActInpt";
  251. oParam.inds = "req=ds_send";
  252. oParam.outds = "ds_grd_inpt=gridinpt";
  253. oParam.async = false;
  254. //oParam.callback = "cf_TRPIJ00901";
  255. tranf_submit(oParam);
  256. //var count = ds_grd_inpt.rowcount;
  257. //alert(count);
  258. if(ds_grd_inpt.rowcount > 0){
  259. var oParam = {};
  260. oParam.id = "TRPIJ00902";
  261. oParam.service = "bfjudgapp.InHospJudg";
  262. oParam.method = "reqGetNoActIprc";
  263. oParam.inds = "req=ds_grd_inpt";
  264. oParam.outds = "ds_grd_iprc=gridiprc";
  265. oParam.async = false;
  266. //oParam.callback = "cf_TRPIJ00902";
  267. tranf_submit(oParam);
  268. }
  269. }
  270. function grd_inpt_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  271. {
  272. dsf_createDsRow( "ds_send1" , [{col : "pid", val : ds_grd_inpt.getColumn(e.row, "pid")}
  273. , {col : "indd", val : ds_grd_inpt.getColumn(e.row, "indd")}
  274. , {col : "cretno", val : ds_grd_inpt.getColumn(e.row, "cretno")}
  275. , {col : "mskind", val : ds_grd_inpt.getColumn(e.row, "mskind")}
  276. , {col : "fromdd", val : ds_grd_inpt.getColumn(e.row, "fromdd")}
  277. , {col : "todd", val : ds_grd_inpt.getColumn(e.row, "todd")}]);
  278. var oParam = {};
  279. oParam.id = "TRPIJ00902";
  280. oParam.service = "bfjudgapp.InHospJudg";
  281. oParam.method = "reqGetNoActIprc";
  282. oParam.inds = "req=ds_send1";
  283. oParam.outds = "ds_grd_iprc=gridiprc";
  284. oParam.async = false;
  285. //oParam.callback = "cf_TRPIJ00902";
  286. tranf_submit(oParam);
  287. }
  288. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  289. {
  290. this.close();
  291. }
  292. function ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
  293. {
  294. if(e.keycode == 13)
  295. {
  296. btn_search_onclick();
  297. }
  298. }
  299. ]]></Script>
  300. </Form>
  301. </FDL>