SMPMC00310_수진내역환자조회.xfdl 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMPMC00310" position="absolute 0 0 524 350" titletext="수진내역환자조회" onload="SMPMC00310_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group3" scrollbars="autoboth" position="absolute 0 0 518 316" style="">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption1" class="tit_2" position="absolute 5 4 100 20" style="" text="환자조회"/>
  11. <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 22 517 26" style="" anchor="default"/>
  12. <Grid id="grd_patspec" binddataset="ds_main_ptpmlist_grdpatspectlist" position="absolute 0 25 517 314" style="" oncelldblclick="group3_grd_patspec_oncelldblclick">
  13. <Formats>
  14. <Format id="default">
  15. <Columns>
  16. <Column size="25" band="left"/>
  17. <Column size="80"/>
  18. <Column size="70"/>
  19. <Column size="40"/>
  20. <Column size="65"/>
  21. <Column size="60"/>
  22. <Column size="120"/>
  23. <Column size="60"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="0"/>
  28. <Column size="0"/>
  29. <Column size="0"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="0"/>
  33. </Columns>
  34. <Rows>
  35. <Row size="23" band="head"/>
  36. <Row size="23"/>
  37. </Rows>
  38. <Band id="head">
  39. <Cell/>
  40. <Cell col="1" text="공문접수일"/>
  41. <Cell col="2" text="접수번호"/>
  42. <Cell col="3" text="순번"/>
  43. <Cell col="4" text="환자번호"/>
  44. <Cell col="5" text="환자명"/>
  45. <Cell col="6" text="진료기간"/>
  46. <Cell col="7" text="처리상태"/>
  47. <Cell col="8" text="보험환불예상액"/>
  48. <Cell col="9" text="선택진료환불예상액"/>
  49. <Cell col="10" text="기관환불액"/>
  50. <Cell col="11" text="급여정산환불액"/>
  51. <Cell col="12" text="기관종료일"/>
  52. <Cell col="13" text="자료제출일"/>
  53. <Cell col="14" text="병원종결일자"/>
  54. <Cell col="15" text="진료시작일자"/>
  55. <Cell col="16" text="진료종료일자"/>
  56. </Band>
  57. <Band id="body">
  58. <Cell celltype="head" expr="currow + 1"/>
  59. <Cell col="1" displaytype="date" style="align:center middle;" text="bind:ofidocacptdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
  60. <Cell col="2" style="align:left middle;" text="bind:ofidocdocuno"/>
  61. <Cell col="3" style="align:center middle;" text="bind:ofidocretno"/>
  62. <Cell col="4" style="align:center middle;" text="bind:pid"/>
  63. <Cell col="5" style="align:center middle;" text="bind:hngnm"/>
  64. <Cell col="6" style="align:center middle;" text="bind:orddd"/>
  65. <Cell col="7" style="align:center middle;" text="bind:tretflag"/>
  66. <Cell col="8" displaytype="number" style="align:right middle;" text="bind:insuteamrtnfcstamt" mask="9,999"/>
  67. <Cell col="9" displaytype="number" style="align:right middle;" text="bind:apntordrtnfcstamt" mask="9,999"/>
  68. <Cell col="10" displaytype="number" style="align:right middle;" text="bind:instrtnamt" mask="9,999"/>
  69. <Cell col="11" displaytype="number" style="align:right middle;" text="bind:paycalcfcstamt" mask="9,999"/>
  70. <Cell col="12" displaytype="date" text="bind:lastenddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  71. <Cell col="13" displaytype="date" text="bind:datadelivedd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  72. <Cell col="14" displaytype="date" text="bind:hospenddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  73. <Cell col="15" displaytype="date" text="bind:ordfromdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  74. <Cell col="16" displaytype="date" text="bind:ordtodd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  75. </Band>
  76. </Format>
  77. </Formats>
  78. </Grid>
  79. </Layout>
  80. </Layouts>
  81. </Div>
  82. <Div id="group1" scrollbars="autoboth" position="absolute 0 316 518 343" style="">
  83. <Layouts>
  84. <Layout>
  85. <Button id="btn_confirm" class="btn4" taborder="8" position="absolute 402 5 458 27" style="" text="확인" onclick="group1_btn_confirm_onclick"/>
  86. <Button id="btn_cancel" class="btn4" taborder="9" position="absolute 461 5 517 27" style="" text="취소" onclick="group1_btn_cancel_onclick"/>
  87. <Shape id="line32" class="line_6" linetype="horizontal" position="absolute 0 0 518 3" style="" anchor="default"/>
  88. </Layout>
  89. </Layouts>
  90. </Div>
  91. </Layout>
  92. </Layouts>
  93. <Objects>
  94. <Dataset id="ds_hidden_uid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  95. <ColumnInfo>
  96. <Column id="myself" type="STRING" size="256"/>
  97. <Column id="opener" type="STRING" size="256"/>
  98. </ColumnInfo>
  99. </Dataset>
  100. <Dataset id="ds_init_P0350list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  101. <ColumnInfo/>
  102. </Dataset>
  103. <Dataset id="ds_init_P0350list_P0350" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  104. <ColumnInfo>
  105. <Column id="cdnm" type="STRING" size="256"/>
  106. <Column id="cdid" type="STRING" size="256"/>
  107. </ColumnInfo>
  108. <Rows>
  109. <Row>
  110. <Col id="cdnm"/>
  111. <Col id="cdid"/>
  112. </Row>
  113. </Rows>
  114. </Dataset>
  115. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  116. <ColumnInfo/>
  117. </Dataset>
  118. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  119. <ColumnInfo/>
  120. </Dataset>
  121. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  122. <ColumnInfo/>
  123. </Dataset>
  124. <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  125. <ColumnInfo>
  126. <Column id="srchcond1" type="STRING" size="256"/>
  127. <Column id="srchcond2" type="STRING" size="256"/>
  128. </ColumnInfo>
  129. <Rows>
  130. <Row>
  131. <Col id="srchcond1">1</Col>
  132. <Col id="srchcond2"/>
  133. </Row>
  134. </Rows>
  135. </Dataset>
  136. <Dataset id="ds_main_ptpmlist_grdpatspectlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  137. <ColumnInfo>
  138. <Column id="grdpatspectlist" type="STRING" size="256"/>
  139. </ColumnInfo>
  140. <Rows>
  141. <Row>
  142. <Col id="grdpatspectlist"/>
  143. </Row>
  144. </Rows>
  145. </Dataset>
  146. <Dataset id="ds_hidden_rcv_ptpmlist_grdpatspectlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  147. <ColumnInfo/>
  148. </Dataset>
  149. </Objects>
  150. <Bind/>
  151. <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
  152. include "com_basiccodexp::ZBC001.xjs"
  153. var arErrorCode = new HashArray();
  154. function SMPMC00310_onload(obj: Form, e: LoadEventInfo) {
  155. frmf_initForm(obj);
  156. grdf_initGrid(group3.grd_patspec);
  157. ds_main_ptpmlist_grdpatspectlist.clearData();
  158. if (frmf_checkOpener()) {
  159. try {
  160. if (!utlf_isNull(arg_ds_send_data1)) {
  161. ds_send_data1.copyData(arg_ds_send_data1);
  162. }
  163. }
  164. catch (ex) {
  165. }
  166. }
  167. //if(submit("TRPMC03003")){ //TRPMC03005에서 RPMC03003으로 변경
  168. var oParam = {};
  169. oParam.id = "TRPMC03003";
  170. oParam.service = "patinfomngtapp.PatSpecPat";
  171. oParam.method = "reqGetPatSpecPatList";
  172. oParam.inds = "req=ds_send_data1";
  173. oParam.outds = "ds_hidden_rcv_ptpmlist_grdpatspectlist=grdpatspectlist";
  174. oParam.async = false;
  175. oParam.callback = "cf_TRPMC03003";
  176. tranf_submit(oParam);
  177. if (arErrorCode.pop("TRPMC03003") > -1) {
  178. if (ds_hidden_rcv_ptpmlist_grdpatspectlist.rowcount > 0) {
  179. ds_main_ptpmlist_grdpatspectlist.copyData(ds_hidden_rcv_ptpmlist_grdpatspectlist);
  180. }
  181. else {
  182. ds_main_ptpmlist_grdpatspectlist.clearData();
  183. }
  184. }
  185. }
  186. function cf_TRPMC03003(sSvcId, nErrorCode, sErrorMsg) {
  187. arErrorCode.push(sSvcId, nErrorCode);
  188. }
  189. function group3_grd_patspec_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
  190. if (frmf_checkOpener()) {
  191. var row = e.row;
  192. if (row > -1) {
  193. if (ds_main_ptpmlist_grdpatspectlist.rowcount > 0) {
  194. opener.ds_send_data3.setColumn(0, "ofidocacptdd", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "ofidocacptdd"));
  195. opener.ds_send_data3.setColumn(0, "pid", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "pid"));
  196. opener.ds_send_data3.setColumn(0, "ofidocretno", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "ofidocretno"));
  197. opener.dsf_makeValue(ds_main, "popupendflag", "string", "");
  198. opener.ds_main.setColumn(0, "popupendflag", "ok");
  199. this.close();
  200. }
  201. }
  202. }
  203. else {
  204. sysf_messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  205. }
  206. }
  207. function group1_btn_confirm_onclick(obj: Button, e: ClickEventInfo) {
  208. if (frmf_checkOpener()) {
  209. var row = ds_main_ptpmlist_grdpatspectlist.rowposition;
  210. opener.ds_main.setColumn(0, "popupendflag", "cancel");
  211. if (row > -1) {
  212. if (ds_main_ptpmlist_grdpatspectlist.rowcount > 0) {
  213. opener.ds_send_data5.setColumn(0, "ofidocacptdd", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "ofidocacptdd")); //group3.grd_patspec.valueMatrix(row,1));
  214. opener.ds_send_data5.setColumn(0, "pid", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "pid")); //group3.grd_patspec.valueMatrix(row,4));
  215. opener.ds_send_data3.setColumn(0, "ofidocretno", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "ofidocretno")); //group3.grd_patspec.valueMatrix(row,3));
  216. opener.dsf_makeValue(ds_main, "popupendflag", "string", "");
  217. opener.ds_main.setColumn(0, "popupendflag", "ok");
  218. }
  219. }
  220. else {
  221. sysf_messageBox("행이 정확히 선택되지", "E007");
  222. }
  223. }
  224. else {
  225. sysf_messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
  226. }
  227. this.close();
  228. }
  229. function group1_btn_cancel_onclick(obj: Button, e: ClickEventInfo) {
  230. opener.ds_main.setColumn(0, "popupendflag", "cancel");
  231. this.close();
  232. }
  233. ]]></Script>
  234. </Form>
  235. </FDL>