SPADB62500_TPN이력조회.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPADB62500" position="absolute 0 0 1256 805" titletext="TPN 이력조회" onload="SPADB62500_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group4" position="absolute 0 785 1256 805" anchor="default" positiontype="position" scrollbars="autoboth">
  8. <Layouts>
  9. <Layout/>
  10. </Layouts>
  11. </Div>
  12. <Div id="group3" position="absolute 0 25 1256 782" anchor="default" positiontype="position" scrollbars="autoboth">
  13. <Layouts>
  14. <Layout>
  15. <Div id="group2" position="absolute 0 0 1256 40" style="align:center top;" anchor="default" class="div_SA" positiontype="position">
  16. <Layouts>
  17. <Layout>
  18. <Button id="btn_sea" taborder="11" text="조회" class="btn1" position="absolute 1188 10 1244 30" anchor="default" onclick="btn_sea_onclick" positiontype="position"/>
  19. <Static id="caption2" text="등록번호:" position="absolute 17 11 93 32" class="search_name" anchor="default"/>
  20. <Edit id="ipt_srchdrugcd" taborder="12" position="absolute 96 9 217 32" class="input_search" onkeyup="group3_group2_ipt_srchdrugcd_onkeyup" anchor="default"/>
  21. </Layout>
  22. </Layouts>
  23. </Div>
  24. <Grid id="grd_reqlist" class="datagrid2" position="absolute 0 72 1256 757" anchor="default" binddataset="ds_tpnlist" scrollbars="fixedboth" onclick="grd_reqlist_onclick" positiontype="position" selecttype="multirow" cellsizingtype="both" extendsizetype="row">
  25. <Formats>
  26. <Format id="default">
  27. <Columns>
  28. <Column size="25" band="left"/>
  29. <Column size="37"/>
  30. <Column size="74"/>
  31. <Column size="84"/>
  32. <Column size="70"/>
  33. <Column size="36"/>
  34. <Column size="33"/>
  35. <Column size="63"/>
  36. <Column size="63"/>
  37. <Column size="126"/>
  38. <Column size="54"/>
  39. <Column size="60"/>
  40. <Column size="67"/>
  41. <Column size="89"/>
  42. <Column size="70"/>
  43. <Column size="55"/>
  44. <Column size="55"/>
  45. <Column size="55"/>
  46. <Column size="64"/>
  47. <Column size="55"/>
  48. <Column size="55"/>
  49. <Column size="61"/>
  50. <Column size="55"/>
  51. <Column size="64"/>
  52. <Column size="66"/>
  53. <Column size="71"/>
  54. <Column size="122"/>
  55. <Column size="100"/>
  56. </Columns>
  57. <Rows>
  58. <Row size="29" band="head"/>
  59. <Row size="20"/>
  60. </Rows>
  61. <Band id="head">
  62. <Cell/>
  63. <Cell col="1" text="상태"/>
  64. <Cell col="2" text="처방일자"/>
  65. <Cell col="3" text="처방코드"/>
  66. <Cell col="4" text="경로"/>
  67. <Cell col="5" text="수량"/>
  68. <Cell col="6" text="횟수"/>
  69. <Cell col="7" text="투여속도"/>
  70. <Cell col="8" text="Trace&#13;&#10;Element"/>
  71. <Cell col="9" text="Maturation"/>
  72. <Cell col="10" text="Weight"/>
  73. <Cell col="11" text="Order&#13;&#10;Volume"/>
  74. <Cell col="12" text="DIST10"/>
  75. <Cell col="13" text="GIR"/>
  76. <Cell col="14" text="Dextrose"/>
  77. <Cell col="15" text="Amino&#13;&#10;Acid"/>
  78. <Cell col="16" text="Na+"/>
  79. <Cell col="17" text="K+"/>
  80. <Cell col="18" text="Ca++"/>
  81. <Cell col="19" text="K+,P"/>
  82. <Cell col="20" text="Mg++"/>
  83. <Cell col="21" text="Multi&#13;&#10;Vitamin"/>
  84. <Cell col="22" text="Lipid"/>
  85. <Cell col="23" text="Heparin"/>
  86. <Cell col="24" text="NPC/N"/>
  87. <Cell col="25" text="총열량"/>
  88. <Cell col="26" text="특수조제실전달사항"/>
  89. <Cell col="27" text="간호사전달사항"/>
  90. </Band>
  91. <Band id="body">
  92. <Cell celltype="head" text="expr:currow+1"/>
  93. <Cell col="1" text="bind:status"/>
  94. <Cell col="2" text="bind:prcpdd" mask="@@@@-@@-@@"/>
  95. <Cell col="3" text="bind:prcpcd"/>
  96. <Cell col="4" displaytype="combo" text="bind:drugpath" combodataset="ds_init_drugpath" combocodecol="value" combodatacol="label"/>
  97. <Cell col="5" text="bind:prcpqty"/>
  98. <Cell col="6" text="bind:prcptims"/>
  99. <Cell col="7" text="bind:drugspd"/>
  100. <Cell col="8" text="bind:traceelevol"/>
  101. <Cell col="9" text="bind:maturation"/>
  102. <Cell col="10" text="bind:wt"/>
  103. <Cell col="11" text="bind:ordvol"/>
  104. <Cell col="12" text="bind:orddistvol"/>
  105. <Cell col="13" text="bind:gir"/>
  106. <Cell col="14" text="bind:dexvol"/>
  107. <Cell col="15" text="bind:aminovol"/>
  108. <Cell col="16" text="bind:navol"/>
  109. <Cell col="17" text="bind:kvol"/>
  110. <Cell col="18" text="bind:cavol"/>
  111. <Cell col="19" text="bind:pvol"/>
  112. <Cell col="20" text="bind:mgvol"/>
  113. <Cell col="21" text="bind:mvvol"/>
  114. <Cell col="22" text="bind:lipidvol"/>
  115. <Cell col="23" text="bind:hprvol"/>
  116. <Cell col="24" text="bind:npcn"/>
  117. <Cell col="25" text="bind:totcalr"/>
  118. <Cell col="26" text="bind:spclprcprem"/>
  119. <Cell col="27" text="bind:nursrem"/>
  120. <Cell col="28"/>
  121. <Cell col="29"/>
  122. <Cell col="30"/>
  123. <Cell col="31"/>
  124. </Band>
  125. </Format>
  126. </Formats>
  127. </Grid>
  128. </Layout>
  129. </Layouts>
  130. </Div>
  131. <Static id="caption00" text="TPN 이력조회" class="tit_1" position="absolute 0 0 120 25"/>
  132. </Layout>
  133. </Layouts>
  134. <Objects>
  135. <Dataset id="ds_tpnlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  136. <ColumnInfo>
  137. <Column id="status" type="STRING" size="256"/>
  138. <Column id="prcpdd" type="STRING" size="256"/>
  139. <Column id="prcpcd" type="STRING" size="256"/>
  140. <Column id="drugpath" type="STRING" size="256"/>
  141. <Column id="prcpqty" type="STRING" size="256"/>
  142. <Column id="prcptims" type="STRING" size="256"/>
  143. <Column id="drugspd" type="STRING" size="256"/>
  144. <Column id="traceelevol" type="STRING" size="256"/>
  145. <Column id="maturation" type="STRING" size="256"/>
  146. <Column id="wt" type="STRING" size="256"/>
  147. <Column id="ordvol" type="STRING" size="256"/>
  148. <Column id="orddistvol" type="STRING" size="256"/>
  149. <Column id="gir" type="STRING" size="256"/>
  150. <Column id="dexvol" type="STRING" size="256"/>
  151. <Column id="aminovol" type="STRING" size="256"/>
  152. <Column id="navol" type="STRING" size="256"/>
  153. <Column id="kvol" type="STRING" size="256"/>
  154. <Column id="cavol" type="STRING" size="256"/>
  155. <Column id="pvol" type="STRING" size="256"/>
  156. <Column id="mgvol" type="STRING" size="256"/>
  157. <Column id="mvvol" type="STRING" size="256"/>
  158. <Column id="lipidvol" type="STRING" size="256"/>
  159. <Column id="hprvol" type="STRING" size="256"/>
  160. <Column id="npcn" type="STRING" size="256"/>
  161. <Column id="totcalr" type="STRING" size="256"/>
  162. <Column id="spclprcprem" type="STRING" size="256"/>
  163. <Column id="nursrem" type="STRING" size="256"/>
  164. </ColumnInfo>
  165. <Rows>
  166. <Row>
  167. <Col id="status"/>
  168. <Col id="prcpdd"/>
  169. <Col id="prcpcd"/>
  170. <Col id="drugpath"/>
  171. <Col id="prcpqty"/>
  172. <Col id="prcptims"/>
  173. <Col id="drugspd"/>
  174. <Col id="traceelevol"/>
  175. <Col id="maturation"/>
  176. <Col id="wt"/>
  177. <Col id="ordvol"/>
  178. <Col id="orddistvol"/>
  179. <Col id="gir"/>
  180. <Col id="dexvol"/>
  181. <Col id="aminovol"/>
  182. <Col id="navol"/>
  183. <Col id="kvol"/>
  184. <Col id="cavol"/>
  185. <Col id="pvol"/>
  186. <Col id="mgvol"/>
  187. <Col id="mvvol"/>
  188. <Col id="lipidvol"/>
  189. <Col id="hprvol"/>
  190. <Col id="npcn"/>
  191. <Col id="totcalr"/>
  192. <Col id="spclprcprem"/>
  193. <Col id="nursrem"/>
  194. </Row>
  195. </Rows>
  196. </Dataset>
  197. <Dataset id="ds_send_srchdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  198. <ColumnInfo>
  199. <Column id="pid" type="STRING" size="256"/>
  200. </ColumnInfo>
  201. <Rows>
  202. <Row/>
  203. </Rows>
  204. </Dataset>
  205. <Dataset id="ds_init_drugpath" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  206. <ColumnInfo>
  207. <Column id="label" type="STRING" size="256"/>
  208. <Column id="value" type="STRING" size="256"/>
  209. </ColumnInfo>
  210. <Rows>
  211. <Row>
  212. <Col id="label">Central</Col>
  213. <Col id="value">1</Col>
  214. </Row>
  215. <Row>
  216. <Col id="label">Peripheral</Col>
  217. <Col id="value">2</Col>
  218. </Row>
  219. </Rows>
  220. </Dataset>
  221. </Objects>
  222. <Bind>
  223. <BindItem id="item0" compid="group3.group2.ipt_srchdrugcd" propid="value" datasetid="ds_send_srchdata" columnid="pid"/>
  224. </Bind>
  225. <Script type="xscript4.0"><![CDATA[
  226. include "com_commonxp::comm_main.xjs";
  227. include "ast_commonxp::PHARMACY.xjs"; // 약제 공통
  228. //include "ast_pharmacyxp::SSADB70201.xjs"; // 소아 TPN
  229. include "com_commodulexp::SMZFS00501.xjs"; // 공통코드 조회
  230. function call_TRADB62501()
  231. {
  232. var oParam = {};
  233. oParam.id = "TRADB62501";
  234. oParam.service = "pharmacybaseapp.TpnMngt";
  235. oParam.method = "reqGetTPNOrderHis";
  236. oParam.inds = "req=ds_send_srchdata";
  237. oParam.outds = "ds_tpnlist=item";
  238. oParam.async = false;
  239. oParam.callback = "cf_TRADB62501";
  240. tranf_submit(oParam);
  241. }
  242. function cf_TRADB62501(sSvcId, nErrorCode, sErrorMsg) {
  243. if(nErrorCode < 0) return;
  244. }
  245. function SPADB62500_onload(obj:Form, e:LoadEventInfo)
  246. {
  247. frmf_initForm(obj);
  248. try{
  249. ds_send_srchdata.copyData(arg_ds_temp_patdata);
  250. } catch(e){}
  251. if ( !utlf_isNull(ds_send_srchdata.getColumn(0,"pid"))) {
  252. call_TRADB62501();
  253. }
  254. }
  255. function btn_sea_onclick(obj:Button, e:ClickEventInfo)
  256. {
  257. call_TRADB62501();
  258. }
  259. function group3_group2_ipt_srchdrugcd_onkeyup(obj:Edit, e:KeyEventInfo)
  260. {
  261. if(e.keycode == 13)
  262. {
  263. call_TRADB62501();
  264. }
  265. }
  266. ]]></Script>
  267. </Form>
  268. </FDL>