SPMNP06900_DSC환자처방의조회.xfdl 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPMNP06900" position="absolute 0 0 690 383" titletext="DSC 환자 처방의 조회" onload="SPMNP06900_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="처방의 조회" position="absolute 0 0 120 25" id="caption6" class="tit_1"/>
  8. <Div position="absolute 0 25 680 60" id="grp" class="div_SA">
  9. <Layouts>
  10. <Layout>
  11. <Button position="absolute 599 7 655 29" id="btn_srchindxcd" class="btn1" taborder="5" text="조회" anchor="default" onclick="grp_btn_srchindxcd_onclick"/>
  12. <Shape position="absolute 583 7 589 29" linetype="vertical" id="line27" class="line_4" anchor="default"/>
  13. </Layout>
  14. </Layouts>
  15. </Div>
  16. <Shape position="absolute 0 63 680 69" linetype="horizontal" id="line13" class="line_1" style="strokepen:3 solid #33bbbbff;"/>
  17. <Grid id="grd_patlist" taborder="1" binddataset="ds_main_prcplist" useinputpanel="false" position="absolute 0 67 680 367">
  18. <Formats>
  19. <Format id="default">
  20. <Columns>
  21. <Column size="70"/>
  22. <Column size="70"/>
  23. <Column size="60"/>
  24. <Column size="75"/>
  25. <Column size="130"/>
  26. <Column size="70"/>
  27. <Column size="80"/>
  28. <Column size="100"/>
  29. </Columns>
  30. <Rows>
  31. <Row size="24" band="head"/>
  32. <Row size="24"/>
  33. </Rows>
  34. <Band id="head">
  35. <Cell text="환자번호"/>
  36. <Cell col="1" text="이름"/>
  37. <Cell col="2" text="성별/나이"/>
  38. <Cell col="3" text="입원일"/>
  39. <Cell col="4" text="진료과"/>
  40. <Cell col="5" text="처방등록의"/>
  41. <Cell col="6" text="w-Zone"/>
  42. <Cell col="7" text="휴대전화"/>
  43. </Band>
  44. <Band id="body">
  45. <Cell text="bind:pid"/>
  46. <Cell col="1" text="bind:hngnm"/>
  47. <Cell col="2" style="align:center middle;" text="bind:sa"/>
  48. <Cell col="3" displaytype="date" style="align:center middle;" text="bind:orddd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  49. <Cell col="4" text="bind:orddeptnm"/>
  50. <Cell col="5" text="bind:orddrnm"/>
  51. <Cell col="6" text="bind:pdano"/>
  52. <Cell col="7" text="bind:mpphonno"/>
  53. </Band>
  54. </Format>
  55. </Formats>
  56. </Grid>
  57. </Layout>
  58. </Layouts>
  59. <Objects>
  60. <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  61. <ColumnInfo>
  62. <Column id="pid" type="STRING" size="256" sumtext="pid"/>
  63. <Column id="indd" type="STRING" size="256" sumtext="indd"/>
  64. <Column id="cretno" type="STRING" size="256" sumtext="cretno"/>
  65. </ColumnInfo>
  66. <Rows>
  67. <Row/>
  68. </Rows>
  69. </Dataset>
  70. <Dataset id="ds_main_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  71. <ColumnInfo>
  72. <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
  73. <Column id="hngnm" type="STRING" size="256" sumtext="이름"/>
  74. <Column id="sa" type="STRING" size="256" sumtext="성별/나이"/>
  75. <Column id="orddd" type="STRING" size="256" sumtext="진료일"/>
  76. <Column id="orddeptcd" type="STRING" size="256" sumtext="진료일"/>
  77. <Column id="orddeptnm" type="STRING" size="256" sumtext="진료일"/>
  78. <Column id="orddrid" type="STRING" size="256" sumtext="진료일"/>
  79. <Column id="orddrnm" type="STRING" size="256" sumtext="진료일"/>
  80. <Column id="pdano" type="STRING" size="256" sumtext="진료일"/>
  81. <Column id="mpphonno" type="STRING" size="256" sumtext="진료일"/>
  82. </ColumnInfo>
  83. </Dataset>
  84. </Objects>
  85. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  86. * System Name :
  87. * Job Name :
  88. * Creator :
  89. * Make Date : 2015-11-13
  90. * Description :
  91. *---------------------------------------------------------------------------------------
  92. * Modify Date Modifier Modify Description
  93. *---------------------------------------------------------------------------------------
  94. * 2015-11-13 Live Converter TF->XP
  95. *
  96. *---------------------------------------------------------------------------------------
  97. ****************************************************************************************/
  98. //=======================================================================================
  99. // Lib Include
  100. //---------------------------------------------------------------------------------------
  101. include 'com_commonxp::comm_main.xjs';
  102. var arErrorCode = new HashArray();
  103. //=======================================================================================
  104. // Local methods
  105. //---------------------------------------------------------------------------------------
  106. /**
  107. * fInit
  108. * @return {[type]} [description]
  109. */
  110. function fInit() {
  111. var pid = opener.frmf_getParameter("SPMNP06900_pid");
  112. var indd = opener.frmf_getParameter("SPMNP06900_indd");
  113. var cretno = opener.frmf_getParameter("SPMNP06900_cretno");
  114. ds_cond.setColumn(0, "pid", pid);
  115. ds_cond.setColumn(0, "indd", indd);
  116. ds_cond.setColumn(0, "cretno", cretno);
  117. fSearch()
  118. }
  119. /**
  120. * [fSearch description]
  121. * @return {[type]} [description]
  122. */
  123. function fSearch() {
  124. if (utlf_transNullToEmpty(ds_cond.getColumn(0, "pid")) != "") {
  125. ds_main_prcplist.clearData();
  126. var oParam = {};
  127. oParam.id = "TRMNP06911";
  128. oParam.service = "opanstapp.OpAnstDscMngt";
  129. oParam.method = "reqGetDscPrcpList";
  130. oParam.inds = "req=ds_cond";
  131. oParam.outds = "ds_main_prcplist=prcplist";
  132. oParam.async = false;
  133. tranf_submit(oParam);
  134. }
  135. else {
  136. sysf_messageBox("조회할 환자 정보가 없습니다.", "E999");
  137. return
  138. }
  139. }
  140. /**
  141. * submit 후 호출 될 공통 콜백
  142. * @param {[type]} sSvcId [description]
  143. * @param {[type]} nErrorCode [description]
  144. * @param {[type]} sErrorMsg [description]
  145. * @return {Function} [description]
  146. */
  147. function callback(sSvcId, nErrorCode, sErrorMsg){
  148. arErrorCode.push(sSvcId, nErrorCode);
  149. }
  150. //=======================================================================================
  151. // Events
  152. //---------------------------------------------------------------------------------------
  153. /**
  154. * onload 이벤트 발생 시 호출
  155. * @param {[type]} obj:Form [description]
  156. * @param {[type]} e:LoadEventInfo [description]
  157. */
  158. function SPMNP06900_onload(obj: Form, e: LoadEventInfo) {
  159. frmf_initForm(obj);
  160. fInit();
  161. }
  162. /**
  163. * 조회 버튼 클릭 이벤트
  164. * @param {[type]} obj: Button [description]
  165. * @param {[type]} e: ClickEventInfo [description]
  166. * @return {[type]} [description]
  167. */
  168. function grp_btn_srchindxcd_onclick(obj: Button, e: ClickEventInfo) {
  169. fSearch();
  170. }
  171. ]]></Script>
  172. </Form>
  173. </FDL>