SPLNR90600_핵의학이전결과조회.xfdl 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SPLNR90600" position="absolute 0 0 899 504" titletext="환자별결과조회" oninit="SPLNR90600_oninit" onload="SPLNR90600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Shape id="line11" class="line_6" position="absolute 0 475 894 481"/>
  8. <Button id="btn_can" taborder="1" text="닫기" class="btn4" position="absolute 839 480 895 502" onclick="btn_can_onclick"/>
  9. <Static id="caption5" text="결과 리스트" class="tit_2" position="absolute 0 49 134 70"/>
  10. <Shape id="line8" class="line_10" position="absolute 0 65 895 71"/>
  11. <Shape id="line2" linetype="vertical" class="line_3" position="absolute 0 471 650 477"/>
  12. <Grid id="oldrslt" taborder="2" binddataset="ds_main_oldrslt" useinputpanel="false" position="absolute 0 70 895 475" autofittype="col" cellsizingtype="col">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="70"/>
  17. <Column size="70"/>
  18. <Column size="90"/>
  19. <Column size="125"/>
  20. <Column size="125"/>
  21. <Column size="140"/>
  22. <Column size="90"/>
  23. <Column size="100"/>
  24. <Column size="70"/>
  25. </Columns>
  26. <Rows>
  27. <Row size="24" band="head"/>
  28. <Row size="24"/>
  29. </Rows>
  30. <Band id="head">
  31. <Cell text="진료과"/>
  32. <Cell col="1" text="주치의"/>
  33. <Cell col="2" text="처방일자"/>
  34. <Cell col="3" text="접수일자"/>
  35. <Cell col="4" text="최종보고일자"/>
  36. <Cell col="5" text="검사명"/>
  37. <Cell col="6" text="검체명"/>
  38. <Cell col="7" text="결과"/>
  39. <Cell col="8" text="재검"/>
  40. </Band>
  41. <Band id="body">
  42. <Cell text="bind:orddeptnm"/>
  43. <Cell col="1" text="bind:orddrnm"/>
  44. <Cell col="2" displaytype="normal" text="bind:prcpdd" mask="expr:utlf_isNull(prcpdd) || prcpdd == '-' ? '' : '####-##-##'"/>
  45. <Cell col="3" displaytype="normal" text="bind:spcacptdt" mask="expr:utlf_isNull(spcacptdt) || spcacptdt == '-' ? '' : '####-##-## ##:##:##'"/>
  46. <Cell col="4" displaytype="normal" text="bind:lastreptdt" mask="expr:utlf_isNull(lastreptdt) || lastreptdt == '-' ? '' : '####-##-## ##:##:##'"/>
  47. <Cell col="5" text="bind:tclsnm"/>
  48. <Cell col="6" text="bind:spcnm"/>
  49. <Cell col="7" text="bind:reptrslt"/>
  50. <Cell col="8" text="bind:retest"/>
  51. </Band>
  52. </Format>
  53. </Formats>
  54. </Grid>
  55. <Button id="btn_excel" taborder="3" text="엑셀저장" class="btn7" position="absolute 815 45 895 64" onclick="btn_excel_onclick"/>
  56. <Edit id="output4" taborder="4" readonly="true" position="absolute 72 22 162 41"/>
  57. <Static id="caption14" text="등록번호" class="cell_1" position="absolute 0 21 70 44"/>
  58. <Shape id="line7" class="line_2" position="absolute 0 41 650 47"/>
  59. <Edit id="output1" taborder="5" readonly="true" position="absolute 237 22 327 41"/>
  60. <Static id="caption1" text="환자명" class="cell_1" position="absolute 165 21 235 44"/>
  61. <Static id="caption10" text="환자정보" class="tit_2" position="absolute 0 0 74 22"/>
  62. <Shape id="line1" class="line_10" position="absolute 0 16 650 22"/>
  63. <Static id="caption2" text="연령" class="cell_1" position="absolute 330 21 400 44"/>
  64. <Edit id="output2" taborder="6" readonly="true" position="absolute 402 22 487 41"/>
  65. <Static id="caption3" text="성별" class="cell_1" position="absolute 490 21 560 44"/>
  66. <Edit id="output3" taborder="7" readonly="true" position="absolute 562 22 647 41"/>
  67. </Layout>
  68. </Layouts>
  69. <Objects>
  70. <Dataset id="ds_send" 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"/>
  73. <Column id="tclslist" type="STRING" size="256"/>
  74. <Column id="divgrupcd" type="STRING" size="256"/>
  75. </ColumnInfo>
  76. <Rows>
  77. <Row>
  78. <Col id="pid"/>
  79. <Col id="tclslist"/>
  80. <Col id="divgrupcd"/>
  81. </Row>
  82. </Rows>
  83. </Dataset>
  84. <Dataset id="ds_hidden_ref" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  85. <Dataset id="ds_main_oldrslt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  86. <ColumnInfo>
  87. <Column id="orddeptnm" type="STRING" size="256" sumtext="검사명"/>
  88. <Column id="orddrnm" type="STRING" size="256" sumtext="이전결과"/>
  89. <Column id="prcpdd" type="STRING" size="256" sumtext="이전결과"/>
  90. <Column id="spcacptdt" type="STRING" size="256" sumtext="이전결과"/>
  91. <Column id="lastreptdt" type="STRING" size="256" sumtext="이전결과"/>
  92. <Column id="tclsnm" type="STRING" size="256" sumtext="이전결과"/>
  93. <Column id="spcnm" type="STRING" size="256" sumtext="검체명"/>
  94. <Column id="reptrslt" type="STRING" size="256" sumtext="이전결과"/>
  95. <Column id="retest" type="STRING" size="256" sumtext="이전결과"/>
  96. </ColumnInfo>
  97. </Dataset>
  98. <Dataset id="ds_main_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  99. <ColumnInfo>
  100. <Column id="pid" type="STRING" size="256" sumtext="검사명"/>
  101. <Column id="patnm" type="STRING" size="256" sumtext="이전결과"/>
  102. <Column id="age" type="STRING" size="256" sumtext="이전결과"/>
  103. <Column id="sex" type="STRING" size="256" sumtext="이전결과"/>
  104. </ColumnInfo>
  105. </Dataset>
  106. </Objects>
  107. <Bind>
  108. <BindItem id="item0" compid="output4" propid="value" datasetid="ds_main_patinfo" columnid="pid"/>
  109. <BindItem id="item1" compid="output1" propid="value" datasetid="ds_main_patinfo" columnid="patnm"/>
  110. <BindItem id="item2" compid="output2" propid="value" datasetid="ds_main_patinfo" columnid="age"/>
  111. <BindItem id="item3" compid="output3" propid="value" datasetid="ds_main_patinfo" columnid="sex"/>
  112. </Bind>
  113. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  114. * System Name :
  115. * Job Name :
  116. * Creator :
  117. * Make Date : 2015-05-01
  118. * Description :
  119. *---------------------------------------------------------------------------------------
  120. * Modify Date Modifier Modify Description
  121. *---------------------------------------------------------------------------------------
  122. * 2015-05-01 Live Converter TF->XP
  123. *
  124. *---------------------------------------------------------------------------------------
  125. ****************************************************************************************/
  126. include "com_commonxp::comm_main.xjs";
  127. function SPLNR90600_oninit(obj:Form, e:InitEventInfo)
  128. {
  129. frmf_initForm(obj);
  130. }
  131. function SPLNR90600_onload(obj:Form, e:LoadEventInfo)
  132. {
  133. grdf_initGrid(oldrslt);
  134. ds_hidden_ref.copyData(arg_ds_hidden_ref);
  135. ds_send.setColumn(0, "pid", ds_hidden_ref.getColumn(0, "pid"));
  136. ds_send.setColumn(0, "tclslist", ds_hidden_ref.getColumn(0, "tclslist"));
  137. ds_send.setColumn(0, "divgrupcd", "");
  138. btn_can.setFocus();
  139. var oParam = {};
  140. oParam.id = "TRLNR90301";
  141. oParam.service = "rsltmngtapp.RsltMngt";
  142. oParam.method = "reqGetNBfRsltList";
  143. oParam.inds = "refparam=ds_send";
  144. oParam.outds = "ds_main_oldrslt=getBfNRslt ds_main_patinfo=getPatInfo";
  145. oParam.async = false;
  146. //oParam.callback = "cf_TRLNR90301";
  147. tranf_submit(oParam);
  148. }
  149. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  150. {
  151. grdf_exportExcel(oldrslt, "", "", false, "", "", false);
  152. }
  153. function btn_can_onclick(obj:Button, e:ClickEventInfo)
  154. {
  155. this.close();
  156. }
  157. ]]></Script>
  158. </Form>
  159. </FDL>