123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <?xml version="1.0" encoding="utf-8" standalone="no"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMC00310" position="absolute 0 0 524 350" titletext="수진내역환자조회" onload="SMPMC00310_onload">
- <Layouts>
- <Layout>
- <Div id="group3" scrollbars="autoboth" position="absolute 0 0 518 316" style="">
- <Layouts>
- <Layout>
- <Static id="caption1" class="tit_2" position="absolute 5 4 100 20" style="" text="환자조회"/>
- <Shape id="line1" class="line_10" linetype="horizontal" position="absolute 0 22 517 26" style="" anchor="default"/>
- <Grid id="grd_patspec" binddataset="ds_main_ptpmlist_grdpatspectlist" position="absolute 0 25 517 314" style="" oncelldblclick="group3_grd_patspec_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="40"/>
- <Column size="65"/>
- <Column size="60"/>
- <Column size="120"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="23" band="head"/>
- <Row size="23"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="공문접수일"/>
- <Cell col="2" text="접수번호"/>
- <Cell col="3" text="순번"/>
- <Cell col="4" text="환자번호"/>
- <Cell col="5" text="환자명"/>
- <Cell col="6" text="진료기간"/>
- <Cell col="7" text="처리상태"/>
- <Cell col="8" text="보험환불예상액"/>
- <Cell col="9" text="선택진료환불예상액"/>
- <Cell col="10" text="기관환불액"/>
- <Cell col="11" text="급여정산환불액"/>
- <Cell col="12" text="기관종료일"/>
- <Cell col="13" text="자료제출일"/>
- <Cell col="14" text="병원종결일자"/>
- <Cell col="15" text="진료시작일자"/>
- <Cell col="16" text="진료종료일자"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" displaytype="date" style="align:center middle;" text="bind:ofidocacptdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="2" style="align:left middle;" text="bind:ofidocdocuno"/>
- <Cell col="3" style="align:center middle;" text="bind:ofidocretno"/>
- <Cell col="4" style="align:center middle;" text="bind:pid"/>
- <Cell col="5" style="align:center middle;" text="bind:hngnm"/>
- <Cell col="6" style="align:center middle;" text="bind:orddd"/>
- <Cell col="7" style="align:center middle;" text="bind:tretflag"/>
- <Cell col="8" displaytype="number" style="align:right middle;" text="bind:insuteamrtnfcstamt" mask="9,999"/>
- <Cell col="9" displaytype="number" style="align:right middle;" text="bind:apntordrtnfcstamt" mask="9,999"/>
- <Cell col="10" displaytype="number" style="align:right middle;" text="bind:instrtnamt" mask="9,999"/>
- <Cell col="11" displaytype="number" style="align:right middle;" text="bind:paycalcfcstamt" mask="9,999"/>
- <Cell col="12" displaytype="date" text="bind:lastenddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="13" displaytype="date" text="bind:datadelivedd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="14" displaytype="date" text="bind:hospenddd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="15" displaytype="date" text="bind:ordfromdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- <Cell col="16" displaytype="date" text="bind:ordtodd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Div>
- <Div id="group1" scrollbars="autoboth" position="absolute 0 316 518 343" style="">
- <Layouts>
- <Layout>
- <Button id="btn_confirm" class="btn4" taborder="8" position="absolute 402 5 458 27" style="" text="확인" onclick="group1_btn_confirm_onclick"/>
- <Button id="btn_cancel" class="btn4" taborder="9" position="absolute 461 5 517 27" style="" text="취소" onclick="group1_btn_cancel_onclick"/>
- <Shape id="line32" class="line_6" linetype="horizontal" position="absolute 0 0 518 3" style="" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_hidden_uid" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="myself" type="STRING" size="256"/>
- <Column id="opener" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_P0350list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_init_P0350list_P0350" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="cdnm"/>
- <Col id="cdid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="srchcond1" type="STRING" size="256"/>
- <Column id="srchcond2" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond1">1</Col>
- <Col id="srchcond2"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_ptpmlist_grdpatspectlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="grdpatspectlist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="grdpatspectlist"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_rcv_ptpmlist_grdpatspectlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo/>
- </Dataset>
- </Objects>
- <Bind/>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"
- include "com_basiccodexp::ZBC001.xjs"
- var arErrorCode = new HashArray();
- function SMPMC00310_onload(obj: Form, e: LoadEventInfo) {
- frmf_initForm(obj);
- grdf_initGrid(group3.grd_patspec);
- ds_main_ptpmlist_grdpatspectlist.clearData();
- if (frmf_checkOpener()) {
- try {
- if (!utlf_isNull(arg_ds_send_data1)) {
- ds_send_data1.copyData(arg_ds_send_data1);
- }
- }
- catch (ex) {
- }
- }
- //if(submit("TRPMC03003")){ //TRPMC03005에서 RPMC03003으로 변경
- var oParam = {};
- oParam.id = "TRPMC03003";
- oParam.service = "patinfomngtapp.PatSpecPat";
- oParam.method = "reqGetPatSpecPatList";
- oParam.inds = "req=ds_send_data1";
- oParam.outds = "ds_hidden_rcv_ptpmlist_grdpatspectlist=grdpatspectlist";
- oParam.async = false;
- oParam.callback = "cf_TRPMC03003";
- tranf_submit(oParam);
- if (arErrorCode.pop("TRPMC03003") > -1) {
- if (ds_hidden_rcv_ptpmlist_grdpatspectlist.rowcount > 0) {
- ds_main_ptpmlist_grdpatspectlist.copyData(ds_hidden_rcv_ptpmlist_grdpatspectlist);
- }
- else {
- ds_main_ptpmlist_grdpatspectlist.clearData();
- }
- }
- }
- function cf_TRPMC03003(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function group3_grd_patspec_oncelldblclick(obj: Grid, e: GridClickEventInfo) {
- if (frmf_checkOpener()) {
- var row = e.row;
- if (row > -1) {
- if (ds_main_ptpmlist_grdpatspectlist.rowcount > 0) {
- opener.ds_send_data3.setColumn(0, "ofidocacptdd", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "ofidocacptdd"));
- opener.ds_send_data3.setColumn(0, "pid", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "pid"));
- opener.ds_send_data3.setColumn(0, "ofidocretno", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "ofidocretno"));
- opener.dsf_makeValue(ds_main, "popupendflag", "string", "");
- opener.ds_main.setColumn(0, "popupendflag", "ok");
- this.close();
- }
- }
- }
- else {
- sysf_messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- }
- function group1_btn_confirm_onclick(obj: Button, e: ClickEventInfo) {
- if (frmf_checkOpener()) {
- var row = ds_main_ptpmlist_grdpatspectlist.rowposition;
- opener.ds_main.setColumn(0, "popupendflag", "cancel");
- if (row > -1) {
- if (ds_main_ptpmlist_grdpatspectlist.rowcount > 0) {
- opener.ds_send_data5.setColumn(0, "ofidocacptdd", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "ofidocacptdd")); //group3.grd_patspec.valueMatrix(row,1));
- opener.ds_send_data5.setColumn(0, "pid", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "pid")); //group3.grd_patspec.valueMatrix(row,4));
- opener.ds_send_data3.setColumn(0, "ofidocretno", ds_main_ptpmlist_grdpatspectlist.getColumn(row, "ofidocretno")); //group3.grd_patspec.valueMatrix(row,3));
- opener.dsf_makeValue(ds_main, "popupendflag", "string", "");
- opener.ds_main.setColumn(0, "popupendflag", "ok");
- }
- }
- else {
- sysf_messageBox("행이 정확히 선택되지", "E007");
- }
- }
- else {
- sysf_messageBox("상위화면이 변경되어 데이터를 가져올 수", "I004");
- }
- this.close();
- }
- function group1_btn_cancel_onclick(obj: Button, e: ClickEventInfo) {
- opener.ds_main.setColumn(0, "popupendflag", "cancel");
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|