SMMMO06300_응급의료관리료발생현황.xfdl 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMMMO06300" position="absolute 0 0 1180 787" titletext="응급의료관리료 발생현황" oninit="SMMMO06300_oninit" onload="SMMMO06300_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="roundrect1" anchor="left top right" taborder="8" class="div_SA" position="absolute 0 25 1180 65">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption2" text="진료일자 :" class="search_name" position="absolute 9 10 82 27" anchor="left top"/>
  11. <Calendar id="ipt_orddd" taborder="1" class="input_search" position="absolute 97 9 184 28" anchor="left top"/>
  12. <Static id="caption3" text="등록번호:" class="search_name" position="absolute 239 10 308 27" anchor="left top"/>
  13. <Edit id="ipt_pid" taborder="2" class="input_search" position="absolute 323 10 438 29" anchor="left top" onkeyup="roundrect1_ipt_pid_onkeyup" tooltiptext="등록번호를 입력하세요"/>
  14. <Static id="caption4" text="성 명 :" class="search_name" position="absolute 463 10 522 27" anchor="left top"/>
  15. <Edit id="ipt_hngnm" taborder="4" class="input_search" enable="false" position="absolute 528 8 634 27" anchor="left top" tooltiptext="환자명은 입력할 수 없습니다." tooltiptype="default"/>
  16. <Button id="button1" taborder="5" class="icon_search" position="absolute 637 11 653 27" anchor="left top" onclick="roundrect1_button1_onclick"/>
  17. <Shape id="line3" linetype="vertical" position="absolute 1104 5 1110 35" anchor="top right"/>
  18. <Button id="btn_req" taborder="6" text="조회" class="btn1" position="absolute 1115 8 1171 30" onclick="roundrect1_btn_req_onclick" anchor="top right"/>
  19. <Button id="btn_reqpatnm" taborder="7" visible="false" position="absolute 442 11 458 33" onclick="roundrect1_btn_reqpatnm_onclick"/>
  20. </Layout>
  21. </Layouts>
  22. </Div>
  23. <Static text="응급의료관리료 발생현황" position="absolute 0 0 185 25" id="caption1" class="tit_1" anchor="left top"/>
  24. <Static text="응급의료관리료 발생현황 리스트" position="absolute 0 80 214 96" id="caption25" class="tit_2" anchor="left top"/>
  25. <Shape position="absolute -1 96 1178 102" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
  26. <Grid position="absolute 0 101 1178 784" id="grd_ercalcscorlist" taborder="7" binddataset="ds_main_ercalcscorgpc_ercalcscorlist" autofittype="col" anchor="all">
  27. <Formats>
  28. <Format id="default">
  29. <Columns>
  30. <Column size="25"/>
  31. <Column size="60"/>
  32. <Column size="70"/>
  33. <Column size="70"/>
  34. <Column size="70"/>
  35. <Column size="80"/>
  36. <Column size="280"/>
  37. <Column size="0"/>
  38. <Column size="338"/>
  39. <Column size="120"/>
  40. <Column size="70"/>
  41. </Columns>
  42. <Rows>
  43. <Row size="24" band="head"/>
  44. <Row size="24"/>
  45. </Rows>
  46. <Band id="head">
  47. <Cell/>
  48. <Cell col="1" text="등록번호"/>
  49. <Cell col="2" text="성 명"/>
  50. <Cell col="3" text="나이/성별"/>
  51. <Cell col="4" text="진료일자"/>
  52. <Cell col="5" text="처방코드"/>
  53. <Cell col="6" text="처방명"/>
  54. <Cell col="7" text="응급증상사유코드"/>
  55. <Cell col="8" text="응급증상사유"/>
  56. <Cell col="9" text="등록일시"/>
  57. <Cell col="10" text="등록자명"/>
  58. </Band>
  59. <Band id="body">
  60. <Cell celltype="head" text="expr:currow + 1"/>
  61. <Cell col="1" style="align:left middle;" text="bind:pid"/>
  62. <Cell col="2" style="align:left middle;" text="bind:hngnm"/>
  63. <Cell col="3" style="align:left middle;" text="bind:sa"/>
  64. <Cell col="4" displaytype="date" edittype="date" style="align:left middle;" text="bind:orddd" mask="yyyy-MM-dd"/>
  65. <Cell col="5" style="align:left middle;" text="bind:prcpcd"/>
  66. <Cell col="6" style="align:left middle;" text="bind:prcpnm"/>
  67. <Cell col="7" style="align:left middle;" text="bind:ersympresncd"/>
  68. <Cell col="8" style="align:left middle;" text="bind:ersympresnnm"/>
  69. <Cell col="9" displaytype="date" edittype="date" style="align:left middle;" text="bind:rgstdt" mask="yyyy-MM-dd hh:mm:ss"/>
  70. <Cell col="10" style="align:left middle;" text="bind:rgstnm"/>
  71. </Band>
  72. </Format>
  73. </Formats>
  74. </Grid>
  75. <Button position="absolute 1114 77 1175 96" id="btn_excel" class="btn7" text="Excel" anchor="top right" onclick="btn_excel_onclick"/>
  76. </Layout>
  77. </Layouts>
  78. <Objects>
  79. <Dataset id="ds_main_ercalcscorgpc_ercalcscorlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
  80. <ColumnInfo>
  81. <Column id="pid" type="STRING"/>
  82. <Column id="hngnm" type="STRING"/>
  83. <Column id="sa" type="STRING"/>
  84. <Column id="orddd" type="STRING"/>
  85. <Column id="prcpcd" type="STRING"/>
  86. <Column id="prcpnm" type="STRING"/>
  87. <Column id="ersympresncd" type="STRING"/>
  88. <Column id="ersympresnnm" type="STRING"/>
  89. <Column id="rgstdt" type="STRING"/>
  90. <Column id="rgstnm" type="STRING"/>
  91. </ColumnInfo>
  92. </Dataset>
  93. <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  94. <ColumnInfo>
  95. <Column id="pid" type="STRING" size="256"/>
  96. <Column id="hngnm" type="STRING" size="256"/>
  97. <Column id="orddd" type="STRING" size="256"/>
  98. <Column id="queryflag" type="STRING" size="256"/>
  99. <Column id="srchflag" type="STRING" size="256"/>
  100. </ColumnInfo>
  101. <Rows>
  102. <Row/>
  103. </Rows>
  104. </Dataset>
  105. <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  106. <ColumnInfo>
  107. <Column id="pid" type="STRING" size="256"/>
  108. <Column id="hngnm" type="STRING" size="256"/>
  109. <Column id="orddd" type="STRING" size="256"/>
  110. <Column id="queryflag" type="STRING" size="256"/>
  111. <Column id="srchflag" type="STRING" size="256"/>
  112. </ColumnInfo>
  113. </Dataset>
  114. <Dataset id="ds_init_patnm_patnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  115. </Objects>
  116. <Bind>
  117. <BindItem id="item0" compid="roundrect1.ipt_orddd" propid="value" datasetid="ds_main_cond" columnid="orddd"/>
  118. <BindItem id="item1" compid="roundrect1.ipt_pid" propid="value" datasetid="ds_main_cond" columnid="pid"/>
  119. <BindItem id="item2" compid="roundrect1.ipt_hngnm" propid="value" datasetid="ds_main_cond" columnid="hngnm"/>
  120. </Bind>
  121. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  122. * System Name :
  123. * Job Name :
  124. * Creator :
  125. * Make Date : 2017-09-07
  126. * Description :
  127. *---------------------------------------------------------------------------------------
  128. * Modify Date Modifier Modify Description
  129. *---------------------------------------------------------------------------------------
  130. * 2017-09-07 Live Converter TF->XP
  131. *
  132. *---------------------------------------------------------------------------------------
  133. ****************************************************************************************/
  134. include "com_commonxp::comm_main.xjs";
  135. include "emr_prcpmngtxp::MMO001.xjs";
  136. function SMMMO06300_oninit(obj:Form, e:InitEventInfo)
  137. {
  138. frmf_initForm(obj);
  139. }
  140. function SMMMO06300_onload(obj:Form, e:LoadEventInfo)
  141. {
  142. //그리드를 초기화
  143. grdf_initGrid(grd_ercalcscorlist);
  144. ds_main_cond.setColumn(0, "orddd", utlf_getCurrentDate());
  145. }
  146. //조회
  147. function roundrect1_btn_req_onclick(obj:Button, e:ClickEventInfo)
  148. {
  149. ds_send_reqdata.copyData(ds_main_cond);
  150. var oParam = {};
  151. oParam.id = "TRMMO06303";
  152. oParam.service = "prcpmngtapp.ErMngt";
  153. oParam.method = "reqGetErCalcScorGPCList";
  154. oParam.inds = "req=ds_send_reqdata";
  155. oParam.outds = "ds_main_ercalcscorgpc_ercalcscorlist=ercalcscorlist";
  156. oParam.async = false;
  157. //oParam.callback = "cf_TRMMO06303";
  158. tranf_submit(oParam);
  159. }
  160. function roundrect1_ipt_pid_onkeyup(obj:Edit, e:KeyEventInfo)
  161. {
  162. if(e.keycode == 13)
  163. {
  164. ds_main_ercalcscorgpc_ercalcscorlist.clearData();
  165. var ev = new ClickEventInfo;
  166. //입력한 등록번호를 가지고 등록번호에 해당하는 환자명을 조회하러 간다
  167. frmf_inputEnterKey("roundrect1.btn_reqpatnm", "onclick", ev );
  168. //등록번호에 해당하는 환자를 조회
  169. frmf_inputEnterKey("roundrect1.btn_req", "onclick", ev );
  170. }
  171. }
  172. function roundrect1_button1_onclick(obj:Button, e:ClickEventInfo)
  173. {
  174. roundrect1.ipt_hngnm.value = "";
  175. roundrect1.ipt_pid.value = "";
  176. //원무팀의 환자명을 받아오는 팝업창을 띠운다.
  177. frmf_modal("SPPMC02500", "SPPMC02500", null, null, null, null, null, null, null, null, null, null, "M");
  178. //input박스에 데이타를 받아온다.
  179. if(!utlf_isNull(this.objects["ds_patinfolist"]))
  180. {
  181. var sPid = ds_patinfolist.getColumn(0, "pid");
  182. var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
  183. ds_main_cond.setColumn(0, "pid", sPid);
  184. ds_main_cond.setColumn(0, "hngnm", sHngnm);
  185. }
  186. }
  187. function roundrect1_btn_reqpatnm_onclick(obj:Button, e:ClickEventInfo)
  188. {
  189. trace("ddd");
  190. reqPatInfo("pid", "ptbs", roundrect1.ipt_pid.value);
  191. //받아온 환자명을 환자명 input박스에 넣어준다
  192. ds_main_cond.setColumn(0, "hngnm", ds_init_patnm_patnm.getColumn(0, "hngnm"));
  193. }
  194. //엑셀저장
  195. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  196. {
  197. grdf_exportExcel(grd_ercalcscorlist, "응급실의료관리료 발생현황", "SheetName", true, null, false);
  198. }
  199. ]]></Script>
  200. </Form>
  201. </FDL>