SMLPP01520_외래추가처방조회.xfdl 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMLPP01520" position="absolute 0 0 1196 769" titletext="관심증례 환자조회" oninit="SMLPP01520_oninit" onload="SMLPP01520_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="caption6" text="외래추가처방조회" class="tit_1" position="absolute 0 0 146 25"/>
  8. <Shape id="line10" linetype="horizontal" class="line_6" position="absolute 0 46 1194 52"/>
  9. <Button id="button13" taborder="1" text="EXCEL저장" class="btn7" position="absolute 5 27 97 49"/>
  10. <Static id="caption4" text="외래 추가처방 환자목록" class="tit_2" position="absolute 1 94 162 110"/>
  11. <Shape id="line1" class="line_10" position="absolute 0 110 1194 116"/>
  12. <Div id="group2" taborder="2" class="div_SA2" position="absolute 0 49 1195 84">
  13. <Layouts>
  14. <Layout>
  15. <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1105 7 1111 29"/>
  16. <Static id="caption2" text="접수일자 :" class="search_name" position="absolute 15 9 101 26"/>
  17. <Static id="caption5" text="~" class="search_no_b" position="absolute 207 8 219 25"/>
  18. <Button id="btn_sea" taborder="4" text="조회" class="btn1" position="absolute 1123 7 1179 29" onclick="group2_btn_sea_onclick"/>
  19. <Calendar id="ipt_cnclfromdd" taborder="5" class="input_s_essential" position="absolute 104 8 204 27" mask="yyyy-mm-dd"/>
  20. <Calendar id="ipt_cncltodd" taborder="6" class="input_s_essential" position="absolute 223 8 323 27" mask="yyyy-mm-dd"/>
  21. <Static id="caption1" text="등록번호 :" class="search_name" position="absolute 901 9 987 26"/>
  22. <Edit id="ipt_pid" taborder="7" position="absolute 993 8 1093 27" onkeyup="group2_ipt_pid_onkeyup"/>
  23. </Layout>
  24. </Layouts>
  25. </Div>
  26. <Grid id="grd_refinfolist" class="datagrid2" taborder="3" binddataset="ds_grd_refinfolist" useinputpanel="false" position="absolute 0 114 1194 767" autofittype="col">
  27. <Formats>
  28. <Format id="default">
  29. <Columns>
  30. <Column size="0"/>
  31. <Column size="27"/>
  32. <Column size="80"/>
  33. <Column size="80"/>
  34. <Column size="80"/>
  35. <Column size="80"/>
  36. <Column size="80"/>
  37. <Column size="80"/>
  38. <Column size="80"/>
  39. <Column size="80"/>
  40. <Column size="100"/>
  41. <Column size="100"/>
  42. <Column size="70"/>
  43. <Column size="80"/>
  44. <Column size="80"/>
  45. </Columns>
  46. <Rows>
  47. <Row size="24" band="head"/>
  48. <Row size="24"/>
  49. </Rows>
  50. <Band id="head">
  51. <Cell text="기관코드"/>
  52. <Cell col="1"/>
  53. <Cell col="2" text="차트번호"/>
  54. <Cell col="3" text="이름"/>
  55. <Cell col="4" text="주민번호"/>
  56. <Cell col="5" text="처방일"/>
  57. <Cell col="6" text="병리번호"/>
  58. <Cell col="7" text="접수일"/>
  59. <Cell col="8" text="진료과"/>
  60. <Cell col="9" text="처방의"/>
  61. <Cell col="10" text="처방의연락처"/>
  62. <Cell col="11" text="환자연락처"/>
  63. <Cell col="12" text="처방건수"/>
  64. <Cell col="13" text="수납유무"/>
  65. <Cell col="14" text="수납금액"/>
  66. </Band>
  67. <Band id="body">
  68. <Cell text="bind:instcd"/>
  69. <Cell col="1" text="expr:currow + 1"/>
  70. <Cell col="2" text="bind:pid"/>
  71. <Cell col="3" class="text_center" text="bind:hngnm"/>
  72. <Cell col="4" class="text_center" text="bind:pnrn"/>
  73. <Cell col="5" class="text_center" text="bind:prcpdd"/>
  74. <Cell col="6" class="text_center" text="bind:ptno"/>
  75. <Cell col="7" class="text_center" text="bind:orgacptdd"/>
  76. <Cell col="8" style="align:left middle;" class="text_left" text="bind:orddeptnm"/>
  77. <Cell col="9" class="text_left" text="bind:orddrnm"/>
  78. <Cell col="10" class="text_left" text="bind:drph"/>
  79. <Cell col="11" class="text_left" text="bind:patientph"/>
  80. <Cell col="12" class="text_center" text="bind:su"/>
  81. <Cell col="13" class="text_center" text="bind:moneyyn"/>
  82. <Cell col="14" class="text_center" text="bind:price"/>
  83. </Band>
  84. </Format>
  85. </Formats>
  86. </Grid>
  87. </Layout>
  88. </Layouts>
  89. <Objects>
  90. <Dataset id="ds_grd_refinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  91. <ColumnInfo>
  92. <Column id="instcd" type="STRING"/>
  93. <Column id="pid" type="STRING"/>
  94. <Column id="hngnm" type="STRING"/>
  95. <Column id="pnrn" type="STRING"/>
  96. <Column id="prcpdd" type="STRING"/>
  97. <Column id="ptno" type="STRING"/>
  98. <Column id="orgacptdd" type="STRING"/>
  99. <Column id="orddeptnm" type="STRING"/>
  100. <Column id="orddrnm" type="STRING"/>
  101. <Column id="drph" type="STRING"/>
  102. <Column id="patientph" type="STRING"/>
  103. <Column id="su" type="STRING"/>
  104. <Column id="moneyyn" type="STRING"/>
  105. <Column id="price" type="STRING"/>
  106. </ColumnInfo>
  107. </Dataset>
  108. <Dataset id="ds_sysdtinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  109. <ColumnInfo>
  110. <Column id="sysdd" type="STRING" size="256" sumtext="시스템일자"/>
  111. <Column id="systm" type="STRING" size="256" sumtext="시스템시간"/>
  112. </ColumnInfo>
  113. </Dataset>
  114. <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  115. <ColumnInfo>
  116. <Column id="acptfromdd" type="STRING" size="256"/>
  117. <Column id="acpttodd" type="STRING" size="256"/>
  118. <Column id="pid" type="STRING" size="256"/>
  119. </ColumnInfo>
  120. <Rows>
  121. <Row/>
  122. </Rows>
  123. </Dataset>
  124. </Objects>
  125. <Bind>
  126. <BindItem id="item0" compid="group2.ipt_cnclfromdd" propid="value" datasetid="ds_hidden" columnid="acptfromdd"/>
  127. <BindItem id="item1" compid="group2.ipt_cncltodd" propid="value" datasetid="ds_hidden" columnid="acpttodd"/>
  128. <BindItem id="item2" compid="group2.ipt_pid" propid="value" datasetid="ds_hidden" columnid="pid"/>
  129. </Bind>
  130. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  131. * System Name :
  132. * Job Name :
  133. * Creator :
  134. * Make Date : 2015-11-13
  135. * Description :
  136. *---------------------------------------------------------------------------------------
  137. * Modify Date Modifier Modify Description
  138. *---------------------------------------------------------------------------------------
  139. * 2015-11-13 Live Converter TF->XP
  140. *
  141. *---------------------------------------------------------------------------------------
  142. ****************************************************************************************/
  143. include "com_commonxp::comm_main.xjs";
  144. include "lis_commonxp::LPZ001.xjs";
  145. function SMLPP01520_oninit(obj:Form, e:InitEventInfo)
  146. {
  147. frmf_initForm(obj);
  148. grdf_initGrid(grd_refinfolist);
  149. }
  150. function SMLPP01520_onload(obj:Form, e:LoadEventInfo)
  151. {
  152. fExeInitialize();
  153. }
  154. function fExeInitialize()
  155. {
  156. // 시스템일자 조회
  157. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}]);
  158. var oParam = {};
  159. oParam.id = "TRLPZ00102";
  160. oParam.service = "plgycomnusemngtapp.BaseInfoCode";
  161. oParam.method = "reqGetSystemDateTimeInformation";
  162. oParam.inds = "refData=ds_send";
  163. oParam.outds = "ds_sysdtinfo=sysdtinfo";
  164. oParam.async = false;
  165. //oParam.callback = "cf_TRLPZ00102";
  166. tranf_submit(oParam);
  167. // 초기값 설정
  168. ds_hidden.setColumn(0, "acptfromdd", ds_sysdtinfo.getColumn(0, "sysdd")); //정도일자(From)
  169. ds_hidden.setColumn(0, "acpttodd", ds_sysdtinfo.getColumn(0, "sysdd")); //정도일자(To)
  170. }
  171. function group2_btn_sea_onclick(obj:Button, e:ClickEventInfo)
  172. {
  173. fGetRefInfoList();
  174. }
  175. function fGetRefInfoList()
  176. {
  177. dsf_createDsRow("ds_send", [{col : "instcd", val : sysf_getUserInfo("dutplceinstcd")}
  178. ,{col : "reffromdd", val : ds_hidden.getColumn(0, "acptfromdd")}
  179. ,{col : "reftodd", val : ds_hidden.getColumn(0, "acpttodd")}
  180. ,{col : "pid", val : ds_hidden.getColumn(0, "pid")}
  181. ,{col : "workflagcd", val : "'1001', '1002', '1003', '1009'"}]);
  182. //-------------------
  183. //submit("TRLPP01504");
  184. var oParam = {};
  185. oParam.id = "TRLPP01504";
  186. oParam.service = "plgyrefmngtapp.AcptSpecRef";
  187. oParam.method = "reqGetoutList";
  188. oParam.inds = "refData=ds_send";
  189. oParam.outds = "ds_grd_refinfolist=reflist";
  190. oParam.async = false;
  191. //oParam.callback = "cf_TRLPP01504";
  192. tranf_submit(oParam);
  193. }
  194. function group2_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  195. {
  196. if(e.keycode == 13)
  197. {
  198. ds_hidden.setColumn(0, "pid", group2.ipt_pid.text);
  199. fGetRefInfoList();
  200. }
  201. }
  202. ]]></Script>
  203. </Form>
  204. </FDL>