123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMARC02800_HIE의뢰환자리스트" classname="SMARC02800_HIE의뢰환자리스트" inheritanceid="" position="absolute 0 0 1238 805" titletext="HIE 환자 리스트" onload="SMARC02800_HIE의뢰환자리스트_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="HIE 환자 리스트" class="tit_1" position="absolute 0 0 144 25"/>
- <Div id="div_search" taborder="1" text="Div00" position="absolute 0 28 1238 80" class="div_SA2" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption38" text="조회기간" class="search_name" position="absolute 16 14 86 34" anchor="default"/>
- <Calendar id="input23" taborder="1" autoselect="true" dateformat="yyyy-MM-dd" class="input_essential" position="absolute 91 14 187 34" anchor="default"/>
- <Static id="caption41" text="~" position="absolute 193 14 205 34" anchor="default"/>
- <Calendar id="input26" taborder="2" autoselect="true" dateformat="yyyy-MM-dd" class="input_essential" position="absolute 211 14 307 34" anchor="default"/>
- <Static id="caption00" text="병원명" class="search_name" position="absolute 344 14 414 34"/>
- <Edit id="input24" taborder="3" autoselect="true" position="absolute 398 14 556 34"/>
- <Button id="btn_search" taborder="4" text="조회" class="btn1" position="absolute 1080 14 1136 34" anchor="left top" tooltiptext="F2" onclick="div_search_btn_search_onclick"/>
- <Static id="caption01" text="환자명" class="search_name" position="absolute 588 14 658 34"/>
- <Edit id="input00" taborder="5" autoselect="true" position="absolute 640 14 766 34"/>
- <Static id="caption02" text="진행상태" class="search_name" position="absolute 797 14 867 34"/>
- <Combo id="Combo00" taborder="6" position="absolute 868 14 968 34" index="-1" innerdataset="@ds_init_taskstatuscd" codecolumn="value" datacolumn="label"/>
- <Button id="btn_hieview" taborder="7" text="상세보기" class="btn4" position="absolute 1139 14 1225 34" anchor="left top" tooltiptext="F2" onclick="div_search_btn_hieview_onclick"/>
- <CheckBox id="CheckBox00" taborder="8" text="숨김표시" position="absolute 996 14 1064 34"/>
- </Layout>
- </Layouts>
- </Div>
- <Tab id="Tab00" taborder="3" tabindex="0" scrollbars="autoboth" position="absolute 0 88 1238 803" style="buttonpadding:4 16 4 16;" onchanged="Tab00_onchanged">
- <Tabpages>
- <Tabpage id="tabpage1" text="받은내역">
- <Layouts>
- <Layout>
- <Grid id="grd_list" taborder="0" binddataset="ds_list" useinputpanel="false" extendsizetype="both" cellsizingtype="both" autofittype="col" oncellclick="grd_list_oncellclick" oncelldblclick="grd_list_oncelldblclick" position="absolute 0 0 1238 687" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="42"/>
- <Column size="49"/>
- <Column size="58"/>
- <Column size="87"/>
- <Column size="52"/>
- <Column size="109"/>
- <Column size="145"/>
- <Column size="50"/>
- <Column size="107"/>
- <Column size="135"/>
- <Column size="50"/>
- <Column size="34"/>
- <Column size="33"/>
- <Column size="99"/>
- <Column size="112"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="숨 김" taborder="undefined"/>
- <Cell col="1" rowspan="2" displaytype="normal" text="상태" taborder="undefined"/>
- <Cell col="2" rowspan="2" displaytype="normal" text="성명" taborder="undefined"/>
- <Cell col="3" rowspan="2" displaytype="normal" text="생년월일" taborder="undefined"/>
- <Cell col="4" rowspan="2" displaytype="normal" text="환자전화번호" taborder="undefined"/>
- <Cell col="5" rowspan="2" text="확인자" taborder="undefined"/>
- <Cell col="6" colspan="3" displaytype="normal" text="의뢰자" taborder="undefined"/>
- <Cell col="9" colspan="3" displaytype="normal" text="수신자" taborder="undefined"/>
- <Cell col="12" rowspan="2" displaytype="normal" text="세부 상태" taborder="undefined"/>
- <Cell col="13" rowspan="2" displaytype="normal" text="취소 여부" taborder="undefined"/>
- <Cell col="14" rowspan="2" displaytype="normal" text="예약희망일시" taborder="undefined"/>
- <Cell col="15" rowspan="2" displaytype="normal" text="생성시간" taborder="undefined"/>
- <Cell row="1" col="6" text="의뢰병원"/>
- <Cell row="1" col="7" text="진료과"/>
- <Cell row="1" col="8" text="진료의사"/>
- <Cell row="1" col="9" text="수신병원"/>
- <Cell row="1" col="10" text="진료과"/>
- <Cell row="1" col="11" text="진료의사"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" autosizecol="limitmin"/>
- <Cell col="1" displaytype="combo" style="align:center;" text="bind:currenttaskvalue" combodataset="ds_init_task" combocodecol="value" combodatacol="label"/>
- <Cell col="2" displaytype="normal" style="align:center;" text="bind:ptname"/>
- <Cell col="3" displaytype="normal" style="align:center;" text="bind:referralstatus_patientbirthday"/>
- <Cell col="4" displaytype="normal" style="align:center;" text="bind:pttelecom"/>
- <Cell col="5" displaytype="expr:utlf_isNull(cnfmnm) ? "button" : "normal"" style="cursor:EXPR(utlf_isNull(cnfmnm) ? "hand" : "arrow");" text="expr:utlf_isNull(cnfmnm) ? "확인" : cnfmnm"/>
- <Cell col="6" style="align:center;" text="bind:reqinstitutenm"/>
- <Cell col="7" displaytype="combo" style="align:left;" text="bind:reqinstitutedept" combodataset="ds_dept" combocodecol="comn_cd" combodatacol="comn_cd_nm"/>
- <Cell col="8" displaytype="normal" style="align:center;" text="bind:reqdrnm"/>
- <Cell col="9" displaytype="normal" style="align:center;" text="bind:intendedrecipientonm"/>
- <Cell col="10" displaytype="combo" style="align:left;" text="bind:intendedrecipientdeptid" combodataset="ds_dept" combocodecol="comn_cd" combodatacol="comn_cd_nm"/>
- <Cell col="11" displaytype="normal" style="align:center;" text="bind:intendedrecipientnm"/>
- <Cell col="12" displaytype="combo" style="align:center;" text="bind:currentstatusvalue" combodataset="ds_init_status" combocodecol="value" combodatacol="label"/>
- <Cell col="13" displaytype="normal" style="align:center;" text="bind:deprecatedyn"/>
- <Cell col="14" displaytype="normal" style="align:center;" text="bind:intendedrsvdate" mask="expr:utlf_isNull(intendedrsvdate) ? "" : "####-##-## ##:##""/>
- <Cell col="15" displaytype="normal" style="align:center;" text="bind:regdate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- <Tabpage id="tabpage2" text="보낸내역">
- <Layouts>
- <Layout>
- <Grid id="grd_list" taborder="0" binddataset="ds_list_sent" useinputpanel="false" extendsizetype="both" cellsizingtype="both" autofittype="col" position="absolute 0 0 1238 687" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="42"/>
- <Column size="49"/>
- <Column size="58"/>
- <Column size="87"/>
- <Column size="109"/>
- <Column size="145"/>
- <Column size="50"/>
- <Column size="107"/>
- <Column size="135"/>
- <Column size="50"/>
- <Column size="34"/>
- <Column size="33"/>
- <Column size="99"/>
- <Column size="112"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" displaytype="normal" text="상태" taborder="undefined"/>
- <Cell col="1" rowspan="2" displaytype="normal" text="성명" taborder="undefined"/>
- <Cell col="2" rowspan="2" displaytype="normal" text="생년월일" taborder="undefined"/>
- <Cell col="3" rowspan="2" displaytype="normal" text="환자전화번호" taborder="undefined"/>
- <Cell col="4" colspan="3" displaytype="normal" text="의뢰자" taborder="undefined"/>
- <Cell col="7" colspan="3" displaytype="normal" text="수신자" taborder="undefined"/>
- <Cell col="10" rowspan="2" displaytype="normal" text="세부 상태" taborder="undefined"/>
- <Cell col="11" rowspan="2" displaytype="normal" text="취소 여부" taborder="undefined"/>
- <Cell col="12" rowspan="2" displaytype="normal" text="예약희망일시" taborder="undefined"/>
- <Cell col="13" rowspan="2" displaytype="normal" text="생성시간" taborder="undefined"/>
- <Cell row="1" col="4" text="의뢰병원"/>
- <Cell row="1" col="5" text="진료과"/>
- <Cell row="1" col="6" text="진료의사"/>
- <Cell row="1" col="7" text="수신병원"/>
- <Cell row="1" col="8" text="진료과"/>
- <Cell row="1" col="9" text="진료의사"/>
- </Band>
- <Band id="body">
- <Cell displaytype="combo" style="align:center;" text="bind:currenttaskvalue" combodataset="ds_init_task" combocodecol="value" combodatacol="label"/>
- <Cell col="1" displaytype="normal" style="align:center;" text="bind:ptname"/>
- <Cell col="2" displaytype="normal" style="align:center;" text="bind:referralstatus_patientbirthday"/>
- <Cell col="3" displaytype="normal" style="align:center;" text="bind:pttelecom"/>
- <Cell col="4" style="align:center;" text="bind:reqinstitutenm"/>
- <Cell col="5" displaytype="combo" style="align:left;" text="bind:reqinstitutedept" combodataset="ds_dept" combocodecol="comn_cd" combodatacol="comn_cd_nm"/>
- <Cell col="6" displaytype="normal" style="align:center;" text="bind:reqdrnm"/>
- <Cell col="7" displaytype="normal" style="align:center;" text="bind:intendedrecipientonm"/>
- <Cell col="8" displaytype="combo" style="align:left;" text="bind:intendedrecipientdeptid" combodataset="ds_dept" combocodecol="comn_cd" combodatacol="comn_cd_nm"/>
- <Cell col="9" displaytype="normal" style="align:center;" text="bind:intendedrecipientnm"/>
- <Cell col="10" displaytype="combo" style="align:center;" text="bind:currentstatusvalue" combodataset="ds_init_status" combocodecol="value" combodatacol="label"/>
- <Cell col="11" displaytype="normal" style="align:center;" text="bind:deprecatedyn"/>
- <Cell col="12" displaytype="normal" style="align:center;" text="bind:intendedrsvdate" mask="expr:utlf_isNull(intendedrsvdate) ? "" : "####-##-## ##:##""/>
- <Cell col="13" displaytype="normal" style="align:center;" text="bind:regdate"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- </Tabpage>
- </Tabpages>
- </Tab>
- <Button id="btn_hide" taborder="5" text="저장" position="absolute 1162 86 1224 106" class="btn4" onclick="btn_hide_onclick"/>
- <Div id="Div00" taborder="7" text="Div00" position="absolute 1239 172 1662 328" visible="false" anchor="top right">
- <Layouts>
- <Layout>
- <Div id="Div01" taborder="0" style="background:cornsilk;border:1 solid #808080ff ;bordertype:round 5 5 ;shadow:outer 5,5 5 gray;" position="absolute 0 0 414 148" anchor="default">
- <Layouts>
- <Layout>
- <Static id="caption44" text="예약내용" class="cell_1" position="absolute 7 65 97 88" anchor="default"/>
- <Static id="시caption00" text="예약희망일시" class="cell_1" position="absolute 7 41 97 64" anchor="default"/>
- <TextArea id="TextArea00" taborder="5" position="absolute 100 65 404 138" anchor="default"/>
- <Static id="caption12" text="예약관련 정보" class="tit_2" position="absolute 7 23 119 40" anchor="default"/>
- <Button id="btn_expand" taborder="6" tabstop="false" onclick="div_toolbox_btn_expand_onclick" position="absolute 0 0 412 20" tooltiptext="클릭하시면 열립니다." style="image:URL('theme://images\icon_arrowDoubleNext_P.png');imagealign:left middle;imagepadding:0 0 0 3;background:tan;border:0 solid #33bbbbff #effcfbff;bordertype:round 5 5 lefttop righttop;" anchor="default"/>
- <Calendar id="Calendar00" taborder="8" position="absolute 100 43 200 63" dateformat="yyyy-MM-dd ddd" value="null" autoselect="true"/>
- <MaskEdit id="MaskEdit00" taborder="9" position="absolute 201 43 240 63" mask="##:##" type="string" trimtype="both" displaynulltext=" " style="align:center middle;"/>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- </Div>
- </Layout>
- </Layouts>
- <Bind>
- <BindItem id="item28" compid="div_search.input23" propid="value" datasetid="ds_search" columnid="begindate"/>
- <BindItem id="item29" compid="div_search.input26" propid="value" datasetid="ds_search" columnid="enddate"/>
- <BindItem id="item32" compid="div_search.input24" propid="value" datasetid="ds_search" columnid="hospnm"/>
- <BindItem id="item0" compid="div_search.input00" propid="value" datasetid="ds_search" columnid="patientname"/>
- <BindItem id="item1" compid="div_search.Combo00" propid="value" datasetid="ds_search" columnid="taskstatuscd"/>
- <BindItem id="item2" compid="div_search.CheckBox00" propid="value" datasetid="ds_search" columnid="hideflag"/>
- <BindItem id="item3" compid="Div00.Div01.TextArea00" propid="value" datasetid="ds_rsrvinfo" columnid="yeyakdesc"/>
- <BindItem id="item4" compid="Div00.Div01.Calendar00" propid="value" datasetid="ds_rsrvinfo" columnid="hopedd"/>
- <BindItem id="item5" compid="Div00.Div01.MaskEdit00" propid="value" datasetid="ds_rsrvinfo" columnid="hopetm"/>
- </Bind>
- <Objects>
- <Dataset id="ds_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="referraldocumentuniqueid" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="doctype" type="STRING" size="256"/>
- <Column id="repositoryuniqueid" type="STRING" size="256"/>
- <Column id="uniqueid" type="STRING" size="256"/>
- <Column id="intendedrecipientid" type="STRING" size="256"/>
- <Column id="intendedrecipientoid" type="STRING" size="256"/>
- <Column id="intendedrecipientdeptid" type="STRING" size="256"/>
- <Column id="transfermode" type="STRING" size="256"/>
- <Column id="reqinstitutedept" type="STRING" size="256"/>
- <Column id="reqinstitute" type="STRING" size="256"/>
- <Column id="referralstatus_referralstatusid" type="STRING" size="256"/>
- <Column id="referralstatus_referralstatusinstanceid" type="STRING" size="256"/>
- <Column id="referralstatus_referraldocumentuniqueid" type="STRING" size="256"/>
- <Column id="referralstatus_repositoryid" type="STRING" size="256"/>
- <Column id="referralstatus_mpiid" type="STRING" size="256"/>
- <Column id="referralstatus_patientname" type="STRING" size="256"/>
- <Column id="referralstatus_status" type="STRING" size="256"/>
- <Column id="currenttaskvalue" type="STRING" size="256"/>
- <Column id="ptname" type="STRING" size="256"/>
- <Column id="referralstatus_patientbirthday" type="STRING" size="256"/>
- <Column id="pttelecom" type="STRING" size="256"/>
- <Column id="hospid" type="STRING" size="256"/>
- <Column id="reqinstitutenm" type="STRING" size="256"/>
- <Column id="reqdrnm" type="STRING" size="256"/>
- <Column id="intendedrecipientonm" type="STRING" size="256"/>
- <Column id="intendedrecipientdeptnm" type="STRING" size="256"/>
- <Column id="intendedrecipientnm" type="STRING" size="256"/>
- <Column id="currentstatusvalue" type="STRING" size="256"/>
- <Column id="deprecatedyn" type="STRING" size="256"/>
- <Column id="intendedrsvdate" type="STRING" size="256"/>
- <Column id="regdate" type="STRING" size="256"/>
- <Column id="cnfmnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_search" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="begindate" type="STRING" size="256"/>
- <Column id="enddate" type="STRING" size="256"/>
- <Column id="hospnm" type="STRING" size="256"/>
- <Column id="patientname" type="STRING" size="256"/>
- <Column id="taskstatuscd" type="STRING" size="256"/>
- <Column id="transfermode" type="STRING" size="256"/>
- <Column id="hideflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_taskstatuscd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="value" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">전체</Col>
- </Row>
- <Row>
- <Col id="label">의뢰/회송</Col>
- <Col id="value">REQUEST/TRANSFER</Col>
- </Row>
- <Row>
- <Col id="value">SCHEDULE</Col>
- <Col id="label">예약</Col>
- </Row>
- <Row>
- <Col id="label">진료</Col>
- <Col id="value">PERFORM</Col>
- </Row>
- <Row>
- <Col id="value">REQUEST</Col>
- <Col id="label">의뢰</Col>
- </Row>
- <Row>
- <Col id="label">회송</Col>
- <Col id="value">TRANSFER</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_task" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="value" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="value">REQUEST</Col>
- <Col id="label">의뢰</Col>
- </Row>
- <Row>
- <Col id="value">SCHEDULE</Col>
- <Col id="label">예약</Col>
- </Row>
- <Row>
- <Col id="value">PERFORM</Col>
- <Col id="label">진료</Col>
- </Row>
- <Row>
- <Col id="value">TRANSFER</Col>
- <Col id="label">회송</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_status" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="value" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">완료</Col>
- <Col id="value">COMPLETED</Col>
- </Row>
- <Row>
- <Col id="value">CONFIRMED</Col>
- <Col id="label">읽음</Col>
- </Row>
- <Row>
- <Col id="value">FAILED</Col>
- <Col id="label">실패</Col>
- </Row>
- <Row>
- <Col id="label">진행중</Col>
- <Col id="value">IN_PROGRESS</Col>
- </Row>
- <Row>
- <Col id="value">IN_PROGRESS_WITH_REPLY</Col>
- <Col id="label">회신함</Col>
- </Row>
- <Row>
- <Col id="label">회신완료</Col>
- <Col id="value">IN_PROGRESS_WITH_REPLY_COMPLETED</Col>
- </Row>
- <Row>
- <Col id="label">회신읽음</Col>
- <Col id="value">IN_PROGRESS_WITH_REPLY_CONFIRMED</Col>
- </Row>
- <Row>
- <Col id="label">방문</Col>
- <Col id="value">VISITED</Col>
- </Row>
- <Row>
- <Col id="value">CLOSED</Col>
- <Col id="label">종료</Col>
- </Row>
- <Row>
- <Col id="value">DEPRECATED</Col>
- <Col id="label">문서취소</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_dept" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="comn_cd" type="STRING" size="256"/>
- <Column id="comn_cd_nm" type="STRING" size="256"/>
- <Column id="opt_1" type="STRING" size="256"/>
- <Column id="opt_2" type="STRING" size="256"/>
- <Column id="opt_3" type="STRING" size="256"/>
- <Column id="opt_4" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_search_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hospid" type="STRING" size="256"/>
- <Column id="gid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hospinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="rgstyn" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_rrgstno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ssn" type="STRING" size="256"/>
- <Column id="gender" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_delete" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="documentuniqueids" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <PropertyAnimation id="pA_rsrvinfo" endingmode="to" repeat="1" repeattype="normal" duration="1000" starttime="0" targetcomp="Div00" interpolation="Interpolation.curve4InOut" targetprop="style.opacity" onstart="pA_rsrvinfo_onstart" onend="pA_rsrvinfo_onend"/>
- <Dataset id="ds_send_confirm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="documentuniqueid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_rsrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="documentuniqueid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_list_sent" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="referraldocumentuniqueid" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="doctype" type="STRING" size="256"/>
- <Column id="repositoryuniqueid" type="STRING" size="256"/>
- <Column id="uniqueid" type="STRING" size="256"/>
- <Column id="intendedrecipientid" type="STRING" size="256"/>
- <Column id="intendedrecipientoid" type="STRING" size="256"/>
- <Column id="intendedrecipientdeptid" type="STRING" size="256"/>
- <Column id="transfermode" type="STRING" size="256"/>
- <Column id="reqinstitutedept" type="STRING" size="256"/>
- <Column id="reqinstitute" type="STRING" size="256"/>
- <Column id="referralstatus_referralstatusid" type="STRING" size="256"/>
- <Column id="referralstatus_referralstatusinstanceid" type="STRING" size="256"/>
- <Column id="referralstatus_referraldocumentuniqueid" type="STRING" size="256"/>
- <Column id="referralstatus_repositoryid" type="STRING" size="256"/>
- <Column id="referralstatus_mpiid" type="STRING" size="256"/>
- <Column id="referralstatus_patientname" type="STRING" size="256"/>
- <Column id="referralstatus_status" type="STRING" size="256"/>
- <Column id="currenttaskvalue" type="STRING" size="256"/>
- <Column id="ptname" type="STRING" size="256"/>
- <Column id="referralstatus_patientbirthday" type="STRING" size="256"/>
- <Column id="pttelecom" type="STRING" size="256"/>
- <Column id="hospid" type="STRING" size="256"/>
- <Column id="reqinstitutenm" type="STRING" size="256"/>
- <Column id="reqdrnm" type="STRING" size="256"/>
- <Column id="intendedrecipientonm" type="STRING" size="256"/>
- <Column id="intendedrecipientdeptnm" type="STRING" size="256"/>
- <Column id="intendedrecipientnm" type="STRING" size="256"/>
- <Column id="currentstatusvalue" type="STRING" size="256"/>
- <Column id="deprecatedyn" type="STRING" size="256"/>
- <Column id="intendedrsvdate" type="STRING" size="256"/>
- <Column id="regdate" type="STRING" size="256"/>
- <Column id="cnfmnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_rsrvinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="hopedd" type="STRING" size="256"/>
- <Column id="hopetm" type="STRING" size="256"/>
- <Column id="yeyakdesc" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs"; // 전체공통 스크립트
- var curRow;
- function SMARC02800_HIE의뢰환자리스트_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
-
- // 조회기간을 한달로 설정
- var CurrentDate = utlf_getCurrentDate();
- ds_search.setColumn(0, "enddate", CurrentDate);
-
- //var fromdd = CurrentDate.toDate().getAddDate(-1,"M").getDateFormat();
- var fromdd = CurrentDate.toDate().getAddDate(-14,"D").getDateFormat();
- ds_search.setColumn(0, "begindate", fromdd)
-
- ds_search.setColumn(0, "taskstatuscd", "REQUEST/TRANSFER");
- ds_search.setColumn(0, "transfermode", "RECEIVE");
-
-
- //model.setValue("/root/send/search/taskstatuscd", "REQUEST/TRANSFER");
- //model.setValue("/root/send/search/transfermode","RECEIVE");
-
- //btn_received.selected = true;
-
- var oParam = {};
- oParam.id = "TRARC00109";
- oParam.service = "healcarecoopapp.ReqMngt";
- oParam.method = "reqInit_SPARC02800";
- oParam.inds = "req=ds_search";
- oParam.outds = "ds_dept=deptlist";
- oParam.async = false;
- //oParam.callback = "cf_TRARC00105";
- tranf_submit(oParam);
- //submit("TRARC00109");
-
- fGetHIEList();
- }
- function div_search_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_isNull(ds_search.getColumn(0, "begindate"))
- && utlf_isNull(ds_search.getColumn(0, "enddate"))) {
- sysf_messageBox("의뢰일자는 필수입니다.", "E999");
-
- return;
- }
-
- var transfermode = ds_search.getColumn(0, "transfermode");
- if(transfermode == "RECEIVE"){
- fGetHIEList();
- }else{
- fGetHIEList_Sent();
- }
-
-
-
-
- }
- function fGetHIEList(){
- var oParam = {};
- oParam.id = "TRARC00105";
- oParam.service = "healcarecoopapp.ReqMngt";
- oParam.method = "reqGetHIEPatList";
- oParam.inds = "req=ds_search";
- oParam.outds = "ds_list=hielist";
- oParam.async = false;
- //oParam.callback = "cf_TRARC00105";
- tranf_submit(oParam);
-
-
- ds_list.updatecontrol = false;
- ds_list.addColumn('documentuniqueid', 'string');
- ds_list.addColumn('repositoryid', 'string');
-
- for(var i = 0; i < ds_list.rowcount; i++){
- ds_list.setColumn(i, 'documentuniqueid', ds_list.getColumn(i, 'referraldocumentuniqueid'));
- ds_list.setColumn(i, 'repositoryid', ds_list.getColumn(i, 'repositoryuniqueid'));
- }
-
- ds_list.updatecontrol = true;
-
- pA_rsrvinfo_close();
-
- //grdf_setGridEllipsisText(grd_list, ["reqinstitutenm", "intendedrecipientonm", "intendedrecipientdeptnm"]);
-
- }
- function fGetHIEList_Sent(){
- var oParam = {};
- oParam.id = "TRARC00105";
- oParam.service = "healcarecoopapp.ReqMngt";
- oParam.method = "reqGetHIEPatList";
- oParam.inds = "req=ds_search";
- oParam.outds = "ds_list_sent=hielist";
- oParam.async = false;
- //oParam.callback = "cf_TRARC00105";
- tranf_submit(oParam);
-
-
- ds_list_sent.updatecontrol = false;
- ds_list_sent.addColumn('documentuniqueid', 'string');
- ds_list_sent.addColumn('repositoryid', 'string');
-
- for(var i = 0; i < ds_list.rowcount; i++){
- ds_list_sent.setColumn(i, 'documentuniqueid', ds_list_sent.getColumn(i, 'referraldocumentuniqueid'));
- ds_list_sent.setColumn(i, 'repositoryid', ds_list_sent.getColumn(i, 'repositoryuniqueid'));
- }
-
- ds_list_sent.updatecontrol = true;
-
- // 화면나와있으면 닫기
- pA_rsrvinfo_close();
- //grdf_setGridEllipsisText(grd_list, ["reqinstitutenm", "intendedrecipientonm", "intendedrecipientdeptnm"]);
-
- }
- function Tab00_onchanged(obj:Tab, e:TabIndexChangeEventInfo)
- {
- if(e.postindex == 0){
- ds_search.setColumn(0, "transfermode", "RECEIVE");
- fGetHIEList();
-
- }else{
- ds_search.setColumn(0, "transfermode", "SEND");
- fGetHIEList_Sent();
- }
-
-
- }
- function div_search_btn_hieview_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = Tab00.tabpage1.grd_list.currentrow;
-
- if(row < 0){
- sysf_messageBox("조회할 대상이 선택되지 않았습니다","I");
- return;
- }
-
- fHIEReferView(row);
- }
- function fHIEReferView(row) {
- var documentuniqueid = ds_list.getColumn(row,"referraldocumentuniqueid");
- var repositoryid = ds_list.getColumn(row,"repositoryuniqueid");
- var patientid = ds_list.getColumn(row,"pid");
- var deprecatedyn = ds_list.getColumn(row,"deprecatedyn");
-
- frmf_setParameter("SPARC02820_PARAM1",patientid);
- frmf_setParameter("SPARC02820_PARAM2",documentuniqueid);
- frmf_setParameter("SPARC02820_PARAM3",repositoryid);
- frmf_setParameter("SPARC02820_PARAM4",deprecatedyn);
- frmf_modal("SPARC02820", "SPARC02820", null, null, null, null, null, null, null, null, null, null, "M");
- }
- function grd_list_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- /*
- var row = Tab00.tabpage1.grd_list.row;
- if(row < 2 ) return;
-
-
- opener.model.makeNode("/root/main/hiepat");
-
- opener.model.copyNode("/root/main/hiepat",Tab00.tabpage1.grd_list.getNode( row ));
- model.makeValue("/root/send/req/hospid",opener.model.getValue("/root/main/hiepat/hospid"));
- submit("TRARC00108");
-
- var rgstyn = model.getValue("/root/hidden/hospinfo/rgstyn");
- if (rgstyn == "N") {
- messageBox("해당 요양기관번호로 등록된 병원이 없습니다 등록 후 진행하시기 바랍니다","I");
- return;
- }
-
- // 주민번호 가져와서 세팅
- model.makeValue("/root/send/req/gid",model.getValue("/root/main/hielist["+(row-1)+"]/patientid"));
- submit("TRARC00107");
- var ssn = model.getValue("/root/main/rrgstno/ssn");
- var gender = model.getValue("/root/main/rrgstno/gender");
- opener.model.makeValue("/root/main/hiepat/hie_rrgstno1",ssn.substr(0,6));
- opener.model.makeValue("/root/main/hiepat/hie_rrgstno2",ssn.substr(6,7));
- opener.model.makeValue("/root/main/hiepat/gender",gender);
-
- opener.model.refresh();
-
- window.close();
- */
-
- dsf_copyColInfo(opener.ds_main_hiepat, ds_list);
- var addrow = opener.ds_main_hiepat.addRow();
- opener.ds_main_hiepat.copyRow(addrow, ds_list, e.row);
- opener.ds_main_hiepat.addColumn("patientid", "string");
- opener.ds_main_hiepat.addColumn("hie_rrgstno1", "string");
- opener.ds_main_hiepat.addColumn("hie_rrgstno2", "string");
- opener.ds_main_hiepat.addColumn("gender", "string");
- //ds_list.addColumn("patientid", "string");
-
- opener.ds_main_hiepat.setColumn(addrow, "patientid", ds_list.getColumn(e.row, "pid"));
-
- // 요양기관번호 등록 여부 체크
- ds_search_req.setColumn(0, "hospid", ds_list.getColumn(e.row, "hospid"));
- var oParam = {};
- oParam.id = "TRARC00108";
- oParam.service = "healcarecoopapp.ReqMngt";
- oParam.method = "reqGetRgstChspYN";
- oParam.inds = "req=ds_search_req";
- oParam.outds = "ds_hospinfo=hospinfo";
- oParam.async = false;
-
- tranf_submit(oParam);
-
- var rgstyn = ds_hospinfo.getColumn(0, "rgstyn");
- if (rgstyn == "N") {
- sysf_messageBox("해당 요양기관번호로 등록된 병원이 없습니다 등록 후 진행하시기 바랍니다","I");
- return;
- }
-
- // 주민번호 가져와서 세팅
- ds_search_req.setColumn(0, "gid", ds_list.getColumn(e.row, "pid"));
- var oParam2 = {};
- oParam2.id = "TRARC00107";
- oParam2.service = "healcarecoopapp.ReqMngt";
- oParam2.method = "reqGetHIErrgstno";
- oParam2.inds = "req=ds_search_req";
- oParam2.outds = "ds_rrgstno=rrgstno";
- oParam2.async = false;
-
- tranf_submit(oParam2);
-
- var ssn = ds_rrgstno.getColumn(0, "ssn");
- var gender = ds_rrgstno.getColumn(0, "gender");
-
- opener.ds_main_hiepat.setColumn(addrow, "hie_rrgstno1", ssn.substr(0, 6));
- opener.ds_main_hiepat.setColumn(addrow, "hie_rrgstno2", ssn.substr(6, 7));
- opener.ds_main_hiepat.setColumn(addrow, "gender", gender);
-
- this.close();
- }
- function btn_hide_onclick(obj:Button, e:ClickEventInfo)
- {
-
- var oDsUpdate = grdf_getGridUpdateData(Tab00.tabpage1.grd_list,"update");
- grdf_setStatusColumn(oDsUpdate, "status");
- ds_send_delete.copyData(oDsUpdate, true);
-
- var oParam = {};
- oParam.id = "TXARC02802";
- oParam.service = "healcarecoopapp.ReqMngt";
- oParam.method = "reqExeHIEHide";
- oParam.inds = "req=ds_send_delete";
- //oParam.outds = "ds_list=hielist";
- oParam.async = false;
- //oParam.callback = "cf_TRARC00105";
- tranf_submit(oParam);
-
- fGetHIEList();
- }
- function grd_list_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.col == 0) return;
- if(e.col == 5){ // 확인 버튼 누를 시 확인자 처리
-
- var cnfmnm = ds_list.getColumn(e.row, "cnfmnm");
- if(!utlf_isNull(cnfmnm)) return;
-
- var flag = sysf_messageBox("확인자로" , "Q014");
- if(flag != '6') return;
-
- ds_send_confirm.setColumn(0,"documentuniqueid", ds_list.getColumn(e.row, "referraldocumentuniqueid"));
-
- var oParam = {};
- oParam.id = "TXARC02803";
- oParam.service = "healcarecoopapp.ReqMngt";
- oParam.method = "reqExeHIEConfirmUser";
- oParam.inds = "req=ds_send_confirm";
- //oParam.outds = "ds_list=hielist";
- oParam.async = false;
- //oParam.callback = "cf_TRARC00105";
- tranf_submit(oParam);
-
- fGetHIEList();
-
- }else{
-
- ds_send_rsrvinfo.setColumn(0,"documentuniqueid", ds_list.getColumn(e.row, "referraldocumentuniqueid"));
-
- var oParam = {};
- oParam.id = "TXARC02802";
- oParam.service = "healcarecoopapp.ReqMngt";
- oParam.method = "reqGetHIERsrvInfo";
- oParam.inds = "req=ds_send_rsrvinfo";
- oParam.outds = "ds_rsrvinfo=rsrvinfo";
- oParam.async = false;
- //oParam.callback = "cf_TRARC00105";
- tranf_submit(oParam);
-
- // 애니메이션 실행
- runAnimation_rsrvinfo();
-
- }
- }
- // 애니메이션 실행
- function runAnimation_rsrvinfo()
- {
- // 높이조절
- var arrCellRect = Tab00.tabpage1.grd_list.getCellRect(ds_list.rowposition, Tab00.tabpage1.grd_list.getCellPos());
- if (arrCellRect.bottom <= Tab00.position.height - Div00.position.height - 10 ) {
-
- vypt = Tab00.position.top + arrCellRect.bottom + 30;
- } else {
-
- vypt = Tab00.position.top + arrCellRect.bottom - 150;
- }
-
- Div00.position.y = vypt;
- Div00.position.x = Tab00.position.width - Div00.position.width - 30;
-
- // 화면에 있을때와 없을 때 조정
- /*
- var leftPos = parseInt(Tab00.tabpage1.grd_list.position.width) - parseInt(Div00.position.width) - 10;
-
- if(Div00.position.x <= leftPos && curRow == ds_list.rowposition) { // 화면에 나와 있을 때
- pA_rsrvinfo.fromvalue = leftPos;
- pA_rsrvinfo.tovalue = Tab00.tabpage1.grd_list.position.width;
- } else { // 화면 끝에 있을 때
- pA_rsrvinfo.fromvalue = Tab00.tabpage1.grd_list.position.width;
- pA_rsrvinfo.tovalue = leftPos;
-
- }
- */
- var opacity = 100;
- pA_rsrvinfo.stop();
- if(Div00.style.opacity > 0 && curRow == ds_list.rowposition) { // 화면에 나와 있을 때
- pA_rsrvinfo.fromvalue = opacity;
- pA_rsrvinfo.tovalue = 0;
-
- } else { // 화면 끝에 있을 때
- pA_rsrvinfo.fromvalue = 0;
- pA_rsrvinfo.tovalue = opacity;
-
- }
-
- curRow = ds_list.rowposition;
-
-
- pA_rsrvinfo.run();
- }
- // 접기 버튼 처리
- function div_toolbox_btn_expand_onclick(obj:Button, e:ClickEventInfo)
- {
- pA_rsrvinfo_close();
- }
- // 화면안에 있는지 여부 체크
- function isScreenOn()
- {
-
- if(Div00.style.opacity > 0) {
- return true;
- }else{
- return false;
- }
-
- }
- // 접기
- function pA_rsrvinfo_close()
- {
- if(!isScreenOn()){
- return;
- }
-
- //var leftPos = parseInt(Tab00.tabpage1.grd_list.position.width) - parseInt(Div00.position.width) - 10;
- pA_rsrvinfo.fromvalue = 100; //leftPos;
- pA_rsrvinfo.tovalue = 0;//Tab00.tabpage1.grd_list.position.width;
- pA_rsrvinfo.stop();
- pA_rsrvinfo.run();
- }
- function pA_rsrvinfo_onstart(obj:PropertyAnimation, e:AnimationEventInfo)
- {
- Div00.visible = true;
- }
- function pA_rsrvinfo_onend(obj:PropertyAnimation, e:AnimationEventInfo)
- {
- if(Div00.style.opacity > 0)
- Div00.visible = true;
- else
- Div00.visible = false;
- }
- ]]></Script>
- </Form>
- </FDL>
|