123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SPMMO21700" position="absolute 0 0 800 759" titletext="산정특례 확인" oninit="SPMMO21700_oninit" onload="SPMMO21700_onload">
- <Layouts>
- <Layout>
- <Div id="grp_srch" taborder="1" position="absolute 0 26 800 61" class="div_SA"/>
- <Shape position="absolute 0 376 800 430" id="roundrect2" type="roundrectangle"/>
- <Grid position="absolute 0 543 800 758" id="grd_prcplist" binddataset="ds_grd_prcplist" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="349"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="처방발행여부"/>
- <Cell col="1" text="시작상병"/>
- <Cell col="2" text="종료상병"/>
- <Cell col="3" text="EDI코드"/>
- <Cell col="4" text="처방코드"/>
- <Cell col="5" text="처방명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:prcpyn"/>
- <Cell col="1" text="bind:diagcdfrom"/>
- <Cell col="2" text="bind:diagcdto"/>
- <Cell col="3" style="align:left;" text="bind:insuedicd"/>
- <Cell col="4" style="align:left;" text="bind:prcpcd"/>
- <Cell col="5" style="align:left;" text="bind:prcpnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="외래 진료 산정특례 확인" position="absolute 0 0 200 26" align="align:center middle;" id="caption9" class="tit_1" onclick="caption9_onclick"/>
- <Static text="등록번호 :" position="absolute 375 36 470 53" align="align:center middle;" id="caption10" class="search_name"/>
- <Static text="이름 :" position="absolute 570 36 635 53" align="align:center middle;" id="caption11" class="search_name"/>
- <Grid position="absolute 0 432 800 521" id="grd_essclist" binddataset="ds_grd_essclist" oncellclick="grd_essclist_oncellclick" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="94"/>
- <Column size="0"/>
- <Column size="65"/>
- <Column size="0"/>
- <Column size="83"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="401"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="특례코드"/>
- <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="ioflag"/>
- <Cell col="11" text="todd"/>
- <Cell col="12" text="diagcdfrom"/>
- <Cell col="13" text="diagcdto"/>
- </Band>
- <Band id="body">
- <Cell text="bind:spclcd"/>
- <Cell col="1" text="bind:srchflag"/>
- <Cell col="2" text="bind:srchflagnm"/>
- <Cell col="3" text="bind:insukind"/>
- <Cell col="4" text="bind:insukindnm"/>
- <Cell col="5" text="bind:suppkindflag"/>
- <Cell col="6" text="bind:suppkindnm"/>
- <Cell col="7" text="bind:spclflag"/>
- <Cell col="8" text="bind:spclflagnm"/>
- <Cell col="9" text="bind:spclnm"/>
- <Cell col="10" text="bind:ioflag"/>
- <Cell col="11" text="bind:todd"/>
- <Cell col="12" text="bind:diagcdfrom"/>
- <Cell col="13" text="bind:diagcdto"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Edit position="absolute 470 35 535 54" id="input1" onkeydown="input1_onkeydown"/>
- <Edit position="absolute 635 35 710 54" id="input2" enable="false" oneditclick="input2_oneditclick"/>
- <Static text="진료일의 주진단, 보험유형으로 특례 적용 여부를 체크하여 특례코드를 조회 합니다. 코드가 없으면 적용 되지 않는 진단입니다. 환자의 보험유형이 "건강보험", "의료급여" 인 경우만 적용가능하며, 차상위 환자는 차상위 적용 혜택이 더 크기 때문에 특례 적용되지 않습니다. 환자의 수급절차가 "해당없음", "급여가능" 인 경우만 보조유형이 적용 됩니다." position="absolute 5 376 788 429" align="align:center middle;" id="caption6" style="linespace:3;"/>
- <Grid position="absolute 0 239 800 354" id="grd_ordlist" binddataset="ds_grd_ordlist" oncellclick="grd_ordlist_oncellclick" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="50"/>
- <Column size="69"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="0"/>
- <Column size="50"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="90"/>
- <Column size="0"/>
- <Column size="55"/>
- <Column size="30"/>
- <Column size="90"/>
- <Column size="110"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="특례코드"/>
- <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="진단명"/>
- </Band>
- <Band id="body">
- <Cell text="bind:spclcd"/>
- <Cell col="1" text="bind:orddd" mask="####-##-##"/>
- <Cell col="2" text="bind:orddeptcd"/>
- <Cell col="3" style="align:left;" text="bind:orddeptnm"/>
- <Cell col="4" text="bind:orddrid"/>
- <Cell col="5" text="bind:orddrnm"/>
- <Cell col="6" style="align:left;" text="bind:rsrvflag"/>
- <Cell col="7" text="bind:insukind"/>
- <Cell col="8" text="bind:insukindnm"/>
- <Cell col="9" text="bind:suppkind"/>
- <Cell col="10" style="align:left;" text="bind:suppkindnm"/>
- <Cell col="11" text="bind:ordreqformflag"/>
- <Cell col="12" text="bind:ordreqformflagnm"/>
- <Cell col="13" text="bind:diagkindcdflag"/>
- <Cell col="14" text="bind:diagcd"/>
- <Cell col="15" style="align:left;" text="bind:diagnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 85 800 220" id="grd_speclist" binddataset="ds_grd_speclist" onselectchanged="grd_speclist_onselectchanged" ondropdown="grd_speclist_ondropdown" onenteredit="grd_speclist_onenteredit" autoupdatetype="itemselect" autofittype="col" oncelldblclick="grd_speclist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="40"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="90"/>
- <Column size="74"/>
- <Column size="75"/>
- <Column size="95"/>
- <Column size="45"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </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="rgstkindcd"/>
- <Cell col="14" text="genrdd"/>
- <Cell col="15" text="genrno"/>
- <Cell col="16" text="histno"/>
- </Band>
- <Band id="body">
- <Cell celltype="none"/>
- <Cell col="1" text="bind:flag"/>
- <Cell col="2" text="bind:maindiagcd"/>
- <Cell col="3" displaytype="combo" edittype="combo" style="align:center;" text="bind:genrflagcd" combodataset="ds_init_genrflagcd" combocodecol="value" combodatacol="label"/>
- <Cell col="4" text="bind:insukind"/>
- <Cell col="5" text="bind:insukindnm"/>
- <Cell col="6" displaytype="date" edittype="date" style="padding:0 0 0 0;" text="bind:cncrdiagcnfmdd"/>
- <Cell col="7" text="bind:serdiagfromdd" mask="####-##-##"/>
- <Cell col="8" text="bind:serdiagtodd" mask="####-##-##"/>
- <Cell col="9" text="bind:serdiagno"/>
- <Cell col="10" displaytype="combo" edittype="combo" style="align:center;" text="bind:continueflag" combodataset="ds_init_continueflag" combocodecol="value" combodatacol="label"/>
- <Cell col="11" text="bind:burnicd10desc"/>
- <Cell col="12" style="align:center;" text="bind:anohosprgstflag"/>
- <Cell col="13" text="bind:rgstkindcd"/>
- <Cell col="14" text="bind:genrdd"/>
- <Cell col="15" text="bind:genrno"/>
- <Cell col="16" text="bind:histno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 540 36 556 52" id="btn_patsrch" class="icon_search" text="" onclick="btn_patsrch_onclick"/>
- <Button position="absolute 735 34 791 56" id="btn_req" class="btn1" text="조회" onclick="btn_req_onclick"/>
- <Shape position="absolute 717 29 723 59" linetype="vertical" id="line3"/>
- <Static text="산정특례 등록리스트" position="absolute 0 68 156 85" align="align:center middle;" id="caption14" class="tit_2" onclick="caption14_onclick"/>
- <Button position="absolute 758 64 800 83" id="btn_modify" class="btn2" text="저장" onclick="btn_modify_onclick"/>
- <Button position="absolute 714 64 756 83" id="btn_delete" class="btn2" text="삭제" onclick="btn_delete_onclick"/>
- <Static text="진료일별 산정특례 적용" position="absolute 0 222 296 238" align="align:center middle;" id="caption15" class="tit_2"/>
- <Static text="진료일(진단)별 적용가능 특례코드" position="absolute 0 359 307 375" align="align:center middle;" id="caption16" class="tit_2"/>
- <Static text="처방 체크 산정특례시 처방 발행여부" position="absolute 0 526 263 543" align="align:center middle;" id="caption1" class="tit_2"/>
- <Static text="조회기간 :" position="absolute 15 36 110 53" align="align:center middle;" id="caption2" class="search_name"/>
- <Calendar position="absolute 106 35 191 54" id="input4" class="input"/>
- <Static text="~" position="absolute 193 35 208 55" id="caption3"/>
- <Calendar position="absolute 208 35 293 54" id="input3" class="input"/>
- <Combo position="absolute 295 35 350 54" id="cmb_prid" codecolumn="codecolumn" datacolumn="datacolumn" onitemchanged="cmb_prid_onitemchanged">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">3M</Col>
- <Col id="datacolumn">3개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6M</Col>
- <Col id="datacolumn">6개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">9M</Col>
- <Col id="datacolumn">9개월</Col>
- </Row>
- <Row>
- <Col id="codecolumn">1Y</Col>
- <Col id="datacolumn">1년</Col>
- </Row>
- <Row>
- <Col id="codecolumn">2Y</Col>
- <Col id="datacolumn">2년</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Button id="btn_soda" taborder="2" text="중증 신청서" class="btn2" position="absolute 411 64 490 83" onclick="btn_soda_onclick"/>
- <Button id="btn_rooa02" taborder="3" text="화상/결핵 신청서" class="btn2" position="absolute 299 64 408 83" onclick="btn_rooa02_onclick"/>
- <Button id="btn_rooa12" taborder="4" text="희귀/난치/치매 신청서" class="btn2" position="absolute 155 64 296 83" onclick="btn_rooa12_onclick"/>
- <Button id="btn_rooatest" taborder="5" text="화상/결핵 테스트" class="btn2" position="absolute 203 3 312 22" onclick="btn_rooatest_onclick" visible="false"/>
- <Button id="btn_sodatest" taborder="6" text="중증 테스트" class="btn2" position="absolute 315 3 398 22" onclick="btn_sodatest_onclick" visible="false"/>
- <Button id="btn_close_refusal" taborder="7" text="등록거부 종료" class="btn2" position="absolute 619 64 712 83" onclick="btn_close_refusal_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_prcplist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcpyn" type="STRING"/>
- <Column id="diagcdfrom" type="STRING"/>
- <Column id="diagcdto" type="STRING"/>
- <Column id="insuedicd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_essclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchflag" type="STRING" size="256" sumtext="구분"/>
- <Column id="srchflagnm" type="STRING" size="256" sumtext="구분"/>
- <Column id="spclcd" type="STRING" size="256" sumtext="특례코드"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insukindnm" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkindflag" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="suppkindnm" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="spclflag" type="STRING" size="256" sumtext="산정특례구분"/>
- <Column id="spclflagnm" type="STRING" size="256" sumtext="산정특례그분"/>
- <Column id="spclnm" type="STRING" size="256" sumtext="특정기호명칭"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="ioflag"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="diagcdfrom" type="STRING" size="256" sumtext="시작진단"/>
- <Column id="diagcdto" type="STRING" size="256" sumtext="종료진단"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_ordlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256" sumtext="진료과코드"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일"/>
- <Column id="orddrid" type="STRING" size="256" sumtext="진료의"/>
- <Column id="orddrnm" type="STRING" size="256" sumtext="진료의"/>
- <Column id="rsrvflag" type="STRING" size="256" sumtext="예약구분"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insukindnm" type="STRING" size="256" sumtext="보험유형명"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="suppkindnm" type="STRING" size="256" sumtext="보조유형명"/>
- <Column id="ordreqformflag" type="STRING" size="256" sumtext="수급절차"/>
- <Column id="ordreqformflagnm" type="STRING" size="256" sumtext="수급절차명"/>
- <Column id="spclcd" type="STRING" size="256" sumtext="특례기호"/>
- <Column id="diagcd" type="STRING" size="256" sumtext="진단코드"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="cretno" type="STRING" size="256" sumtext="원무생성번호"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="diagnm" type="STRING" size="256" sumtext="진단명"/>
- <Column id="diagkindcdflag" type="STRING" size="256" sumtext="진단종류(주, 부)"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_grd_speclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false" oncolumnchanged="ds_grd_speclist_oncolumnchanged">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256" sumtext="구분"/>
- <Column id="rgstkindcd" type="STRING" size="256" sumtext="등록구분"/>
- <Column id="genrdd" type="STRING" size="256" sumtext="발행일자"/>
- <Column id="genrno" type="STRING" size="256" sumtext="발행번호"/>
- <Column id="histno" type="STRING" size="256" sumtext="이력번호"/>
- <Column id="maindiagcd" type="STRING" size="256" sumtext="주진단코드"/>
- <Column id="genrflagcd" type="STRING" size="256" sumtext="발생구분"/>
- <Column id="genrflagnm" type="STRING" size="256" sumtext="발생구분"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insukindnm" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="cncrdiagcnfmdd" type="DATE" size="256" sumtext="진단확정일"/>
- <Column id="serdiagfromdd" type="STRING" size="256" sumtext="특례시작일"/>
- <Column id="serdiagtodd" type="STRING" size="256" sumtext="특례종료일"/>
- <Column id="serdiagno" type="STRING" size="256" sumtext="특례번호"/>
- <Column id="continueflag" type="STRING" size="256" sumtext="중증계속진행여부"/>
- <Column id="burnicd10desc" type="STRING" size="256" sumtext="중증화상코드"/>
- <Column id="anohosprgstflag" type="STRING" size="256" sumtext="타병원등록여부"/>
- <Column id="signyn" type="STRING" size="256" sumtext="싸인여부"/>
- <Column id="prntyn" type="STRING" size="256" sumtext="출력여부"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="prid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_patnm" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="patnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_reqdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="orddd" type="STRING" size="256" sumtext="진료일"/>
- <Column id="cretno" type="STRING" size="256" sumtext="원무생성번호"/>
- <Column id="srchflag" type="STRING" size="256" sumtext="검색구분"/>
- <Column id="spclcd" type="STRING" size="256" sumtext="특정기호"/>
- <Column id="spclflag" type="STRING" size="256" sumtext="특정기호"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="ioflag" type="STRING" size="256" sumtext="내원형태"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일자"/>
- <Column id="suppkindflag" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="diagcdfrom" type="STRING" size="256" sumtext="시작상병코드"/>
- <Column id="diagcdto" type="STRING" size="256" sumtext="종료상병코드"/>
- <Column id="diagcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_genrflagcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_continueflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">-</Col>
- <Col id="value">-</Col>
- </Row>
- <Row>
- <Col id="label">N</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_closerefusal" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="genrdd" type="STRING" size="256"/>
- <Column id="genrno" type="STRING" size="256"/>
- <Column id="histno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hard_741" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="input4" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="input3" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- <BindItem id="item2" compid="input1" propid="value" datasetid="ds_main_cond" columnid="pid"/>
- <BindItem id="item3" compid="input2" propid="value" datasetid="ds_main_cond" columnid="hngnm"/>
- <BindItem id="item4" compid="cmb_prid" propid="value" datasetid="ds_main_cond" columnid="prid"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-02-10
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-02-10 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMOCommon.xjs"
- include "emr_prcpmngtxp::MMO001.xjs";
- var iClickNum = 0;
- function SPMMO21700_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SPMMO21700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_essclist);
- grdf_initGrid(grd_ordlist);
- grdf_initGrid(grd_prcplist);
-
- grdf_setToolTipBind(grd_essclist);
- grdf_setToolTipBind(grd_ordlist);
- grdf_setToolTipBind(grd_prcplist);
-
- grdf_setRowTypeIcon(grd_speclist,0);
-
- ds_main_cond.setColumn(0,"prid", "6M");
- ds_main_cond.setColumn(0,"fromdd",((utlf_getCurrentDate().toDate()).getAddDate(-6,"M")).getDateFormat());//시작일자는 6개월 전
- ds_main_cond.setColumn(0,"todd", utlf_getCurrentDate());//종료일자는 현재일자
-
- var sPid = appf_getPatientInfo("pid");
-
- //20200130 고영민 원무화면에서 open 시 연계
- if(frmf_checkOpener() && opener.frmf_getScreenID() == "SMPAO00100"){
- sPid = opener.frmf_getParameter("SPMMO21700_pid");
- }
- if(!utlf_isNull(sPid) ) {
- ds_main_cond.setColumn(0,"pid", sPid);
- ds_main_cond.setColumn(0,"hngnm", appf_getPatientInfo("pname"));
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("btn_req", "onclick", ev );
- }
-
- if(utlf_getCurrentDate() < "20190101") {
- btn_rooa02.visible = false;
- btn_rooa12.visible = false;
- } else {
- //20191022 이돈희 : 신청서 화면 비활성화
- lf_getHardCDList("N", "741", null, ds_hard_741);
- if(ds_hard_741.getColumn(0, "hardcd") == "N"){
- btn_rooa12.visible = false;
- btn_soda.visible = false;
- btn_rooa02.visible = false;
- }
- }
- }
- function btn_req_onclick(obj:Button, e:ClickEventInfo)
- {
- var pid = utlf_trim(input1.value);
- if(utlf_isNull(pid)){
- sysf_messageBox("조회 하실 환자번호를", "C001");
- return;
- }
- if(lf_reqPatInfo(ds_init_patnm, "pid", "ptbs", pid)==true){
- var hngnm = ds_init_patnm.getColumn(0,"hngnm");
- ds_main_cond.setColumn(0,"hngnm",hngnm);
-
- fReqGetOrdList();
- }
- }
- function fReqGetOrdList() {
- ds_grd_essclist.clearData();
- ds_grd_prcplist.clearData();
-
- var oParam = {};
- oParam.id = "TRMMO21701";
- oParam.service = "prcpmngtapp.PatDiagMngt";
- oParam.method = "reqGetSpecPatInfo";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_grd_speclist=speclist ds_grd_ordlist=ordlist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function grd_essclist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_grd_prcplist.clearData();
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
-
- var crow = ds_grd_essclist.rowposition;
- var prow = ds_grd_ordlist.rowposition;
- // 처방 체크 하는 산정특례일 경우는 처방을 체크한다.
- if (ds_grd_essclist.getColumn(crow, "srchflag") == "B" ||
- ds_grd_essclist.getColumn(crow, "srchflag") == "D" ||
- ds_grd_essclist.getColumn(crow, "srchflag") == "E" ||
- ds_grd_essclist.getColumn(crow, "srchflag") == "F" ) {
-
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
-
- ds_send_reqdata.copyRow(0,ds_grd_essclist,crow);
- ds_send_reqdata.setColumn(0,"pid",ds_grd_ordlist.getColumn(prow,"pid"));
- ds_send_reqdata.setColumn(0,"orddd",ds_grd_ordlist.getColumn(prow,"orddd"));
- ds_send_reqdata.setColumn(0,"cretno",ds_grd_ordlist.getColumn(prow,"cretno"));
-
- var oParam = {};
- oParam.id = "TRMMO21703";
- oParam.service = "prcpmngtapp.PatDiagMngt";
- oParam.method = "reqGetEsscPrcpList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_grd_prcplist=prcplist";
- oParam.async = false;
- tranf_submit(oParam);
-
- }
- }
- function input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- input1.updateToDataset();
- var ev = new ClickEventInfo;
- frmf_inputEnterKey("btn_req", "onclick", ev );
- }
- }
- function ds_grd_speclist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var nRow = e.row;
- var sSerDiagNo = ds_grd_speclist.getColumn(nRow, "serdiagno");
- var sSignYn = ds_grd_speclist.getColumn(nRow, "signyn");
- var sPrntYn = ds_grd_speclist.getColumn(nRow, "prntyn");
- if ( e.columnid == "continueflag") { // 재등록 여부 수정시
- if(utlf_isNull(sSerDiagNo) || sSerDiagNo == "-") {
- ds_grd_speclist.setColumn(nRow,"continueflag", e.oldvalue);
- ds_grd_speclist.preload
- sysf_messageBox("특례번호가 발급되지 않아 연장여부를 수정 할수 없습니다.", "I999" );
- }
- } else { // 그외 진단일, 입/외 변경시
- if( (!utlf_isNull(sSerDiagNo) && sSerDiagNo != "-") || sSignYn == "Y" || sPrntYn == "Y") {
- if ( e.columnid == "genrflagcd") {
- ds_grd_speclist.setColumn(nRow,"genrflagcd", e.oldvalue);
- } else if ( e.columnid == "cncrdiagcnfmdd") {
- ds_grd_speclist.setColumn(nRow,"cncrdiagcnfmdd", e.oldvalue);
- }
- if(!utlf_isNull(sSerDiagNo) && sSerDiagNo != "-") {
- sysf_messageBox("특례번호가 발급되어 수정 할수 없습니다.", "I999" );
- grd_speclist.setEditText(e.oldvalue);
- grd_speclist.setEditSelectedText(e.oldvalue);
- } else {
- sysf_messageBox("신청서가 싸인 또는 출력 되어 수정 할수 없습니다.\n원무팀에 확인 하세요.", "I999" );
- }
- } else if ( e.columnid == "cncrdiagcnfmdd") {
- //var sChkDate = (new Date()).getAddDate(-1, "M").getDateFormat("YYYYMMDD");
- //if(e.newvalue < sChkDate) {
-
- // ds_grd_speclist.setColumn(nRow,"cncrdiagcnfmdd", e.oldvalue);
- // sysf_messageBox("진단확정일은 최대 한달 이전일까지 가능합니다.", "I999" );
- //}
- }
- }
- }
- function btn_patsrch_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPMC02500", "SPPMC02500", null, null, null, null, null, null, null, null, null, null, "M");
-
- if(!utlf_isNull(this.objects["ds_patinfolist"])) {
- var sPid = ds_patinfolist.getColumn(0, "pid");
- var sHngnm = ds_patinfolist.getColumn(0, "hngnm");
- ds_main_cond.setColumn(0, "pid", sPid);
- ds_main_cond.setColumn(0, "hngnm", sHngnm);
- }
-
- }
- function btn_modify_onclick(obj:Button, e:ClickEventInfo)
- {
- var oDsUpdate = grdf_getGridUpdateData(grd_speclist);
- grdf_setStatusColumn(oDsUpdate,"gubun");
- ds_send_savedata.copyData(oDsUpdate, true);
-
- var oParam = {};
- oParam.id = "TXMMO21701";
- oParam.service = "prcpmngtapp.PatDiagMngt";
- oParam.method = "reqExeSpecRgstInfo";
- oParam.inds = "req=ds_send_savedata";
- oParam.outds = "null";
- oParam.async = false;
- oParam.callback = "cf_TXMMO21701";
- tranf_submit(oParam);
- }
- function cf_TXMMO21701(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- sysf_messageBox("신청서 수정에 실패 하였습니다.", "E999" );
- return;
- }
-
- fReqGetOrdList();
- }
- function btn_delete_onclick(obj:Button, e:ClickEventInfo)
- {
- var nRow = ds_grd_speclist.rowposition;
- if(nRow < 0) {
- sysf_messageBox("삭제 하실 등록 리스트를 선택 하세요.", "I999");
- return;
- }
- var sSerDiagNo = ds_grd_speclist.getColumn(nRow,"serdiagno");
- //20190719 이돈희 : 등록거부 신청서를 삭제하는 경우 한번 더 확인함
- if(!utlf_isNull(sSerDiagNo) && sSerDiagNo == "등록거부") {
- if(sysf_messageBox("등록거부 신청서를 삭제하시겠습니까?", "Q" ) != "6" ){
- return;
- }
- } else if(!utlf_isNull(sSerDiagNo) && sSerDiagNo != "-") {
- sysf_messageBox("특례번호가 발급되어 삭제 할수 없습니다.", "I999" );
- return;
- }
-
- grdf_setStatus(grd_speclist, "D", grdf_getSelectedRows(grd_speclist));
- }
- function cmb_prid_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- var today = utlf_getCurrentDate();
- var idate = new Date();
- var prid = ds_main_cond.getColumn(0, "prid");
- if (prid =="3M") {
- var sixMDate = idate.getAddDate(-3, "M");
- ds_main_cond.setColumn(0, "todd", today);
- ds_main_cond.setColumn(0, "fromdd", sixMDate.getDateFormat());
- } else if (prid =="6M") {
- var nineMDate = idate.getAddDate(-6, "M");
- ds_main_cond.setColumn(0, "todd", today);
- ds_main_cond.setColumn(0, "fromdd", nineMDate.getDateFormat());
- } else if (prid =="9M") {
- var oneYDate = idate.getAddDate(-9, "M");
- ds_main_cond.setColumn(0, "todd", today);
- ds_main_cond.setColumn(0, "fromdd", oneYDate.getDateFormat());
- } else if (prid =="1Y") {
- var twoYDate = idate.getAddDate(-1, "Y");
- ds_main_cond.setColumn(0, "todd", today);
- ds_main_cond.setColumn(0, "fromdd", twoYDate.getDateFormat());
- } else if (prid =="2Y") {
- var twoYDate = idate.getAddDate(-2, "Y");
- ds_main_cond.setColumn(0, "todd", today);
- ds_main_cond.setColumn(0, "fromdd", twoYDate.getDateFormat());
- }
- }
- function grd_ordlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- ds_grd_essclist.clearData();
- ds_grd_prcplist.clearData();
- ds_send_reqdata.clearData();
- ds_send_reqdata.addRow();
-
- var prow = ds_grd_ordlist.rowposition;
- ds_send_reqdata.copyRow(0,ds_grd_ordlist,prow);
- var oParam = {};
- oParam.id = "TRMMO21701";
- oParam.service = "prcpmngtapp.PatDiagMngt";
- oParam.method = "reqGetEsscInfoList";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_grd_essclist=essclist";
- oParam.async = false;
- tranf_submit(oParam);
- }
- //중증신청서 버튼
- function btn_soda_onclick(obj:Button, e:ClickEventInfo)
- {
- var sTopPid = appf_getPatientInfo("pid"); // 상단화면 PID
- var sPid = ds_main_cond.getColumn(0, "pid")
-
- if(sTopPid != sPid) {
- sysf_messageBox("상단정보와 화면의 환자번호가 서로 다릅니다.", "I999" );
- return;
- } else {
- if(utlf_getCurrentDate() < "20190301" ) { // 20190301 이전
- frmf_modal("SPMMO11500", "SPMMO11500", null, null, null, null, null, null, null, null, null, null, "M");
- } else {
- frmf_modal("SPMMO11510", "SPMMO11510", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- }
- function grd_speclist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var nRow = e.row;
- var sRgstKindCd = ds_grd_speclist.getColumn(nRow, "rgstkindcd");
- var sSerDiagNo = ds_grd_speclist.getColumn(nRow, "serdiagno");
- var sSignYn = ds_grd_speclist.getColumn(nRow, "signyn");
- var sPrntYn = ds_grd_speclist.getColumn(nRow, "prntyn");
- var sGenrDd = ds_grd_speclist.getColumn(nRow, "genrdd");
- var sGenrNo = ds_grd_speclist.getColumn(nRow, "genrno");
- var sHistNo = ds_grd_speclist.getColumn(nRow, "histno");
-
- if( (!utlf_isNull(sSerDiagNo) && sSerDiagNo != "-") || sSignYn == "Y" || sPrntYn == "Y") {
- if(!utlf_isNull(sSerDiagNo) && sSerDiagNo != "-") {
- sysf_messageBox("특례번호가 발급되어 수정 할수 없습니다.", "I999" );
- } else {
- sysf_messageBox("신청서가 싸인 또는 출력 되어 수정 할수 없습니다.\n원무팀에 확인 하세요.", "I999" );
- }
-
- if(sysf_getUserId() != "EMR"){
- return;
- }
- }
-
- if(sRgstKindCd == "00") { // 중증
- frmf_setParameter("SPMMO11500_genrdd", sGenrDd);
- frmf_setParameter("SPMMO11500_genrno", sGenrNo);
- frmf_setParameter("SPMMO11500_histno", sHistNo);
- if(sGenrDd < "20190301" ) { // 20190301 이전
- frmf_modal("SPMMO11500", "SPMMO11500", null, null, null, null, null, null, null, null, null, null, "M");
- }
- else{ // 20190228 이돈희 : 2019년 3월 1일 부터 신규 중증암 적용
- frmf_modal("SPMMO11510", "SPMMO11510", null, null, null, null, null, null, null, null, null, null, "M");
- }
-
- frmf_clearParameter("SPMMO11500_genrdd");
- frmf_clearParameter("SPMMO11500_genrno");
- frmf_clearParameter("SPMMO11500_histno");
-
- } else { // 희귀난치
- frmf_setParameter("SPMMO20000_genrdd", sGenrDd);
- frmf_setParameter("SPMMO20000_genrno", sGenrNo);
- frmf_setParameter("SPMMO20000_histno", sHistNo);
- frmf_setParameter("SPMMO20000_rgstkindcd", sRgstKindCd);
-
- if(sGenrDd < "20190101" ) { // 20190101 이전
- frmf_modal("SPMMO20002", "SPMMO20002", null, null, null, null, null, null, null, null, null, null, "M");
- } else {
- if(sRgstKindCd == "02" || sRgstKindCd == "09") { // 02 중증화상, 09 결핵
- if(sGenrDd < "20190301" ) { // 20190301 이전
- frmf_modal("SPMMO20002", "SPMMO20002", null, null, null, null, null, null, null, null, null, null, "M");
- } else { // 20190228 이돈희 : 2019년 3월 1일 부터 신규 결핵, 중증화상 적용
- frmf_modal("SPMMO20004", "SPMMO20004", null, null, null, null, null, null, null, null, null, null, "M");
- }
- } else { // 07 극희귀, 08 상세불명, 10 중증치매V800, 11 중증치매V810, 12 희귀질환, 13 중증난치, 14 기타염색체
- frmf_modal("SPMMO20003", "SPMMO20003", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
-
- frmf_clearParameter("SPMMO20000_genrdd");
- frmf_clearParameter("SPMMO20000_genrno");
- frmf_clearParameter("SPMMO20000_histno");
- frmf_clearParameter("SPMMO20000_rgstkindcd");
- }
- }
- //화상/결핵 신청서 버튼
- function btn_rooa02_onclick(obj:Button, e:ClickEventInfo)
- {
- var sTopPid = appf_getPatientInfo("pid"); // 상단화면 PID
- var sPid = ds_main_cond.getColumn(0, "pid")
-
- if(sTopPid != sPid) {
- sysf_messageBox("상단정보와 화면의 환자번호가 서로 다릅니다.", "I999" );
- return;
- } else {
- if(utlf_getCurrentDate() < "20190301" ) { // 20190301 이전
- frmf_modal("SPMMO20002", "SPMMO20002", null, null, null, null, null, null, null, null, null, null, "M");
- } else {
- frmf_modal("SPMMO20004", "SPMMO20004", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- }
- //희귀/난치/치매 신청서 버튼
- function btn_rooa12_onclick(obj:Button, e:ClickEventInfo)
- {
- var sTopPid = appf_getPatientInfo("pid"); // 상단화면 PID
- var sPid = ds_main_cond.getColumn(0, "pid")
-
- if(sTopPid != sPid) {
- sysf_messageBox("상단정보와 화면의 환자번호가 서로 다릅니다.", "I999" );
- return;
- } else {
- frmf_modal("SPMMO20003", "SPMMO20003", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- function btn_rooatest_onclick(obj:Button, e:ClickEventInfo)
- {
- var sTopPid = appf_getPatientInfo("pid"); // 상단화면 PID
- var sPid = ds_main_cond.getColumn(0, "pid")
-
- if(sTopPid != sPid) {
- sysf_messageBox("상단정보와 화면의 환자번호가 서로 다릅니다.", "I999" );
- return;
- } else {
- frmf_modal("SPMMO20004", "SPMMO20004", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- function btn_sodatest_onclick(obj:Button, e:ClickEventInfo)
- {
- var sTopPid = appf_getPatientInfo("pid"); // 상단화면 PID
- var sPid = ds_main_cond.getColumn(0, "pid")
-
- if(sTopPid != sPid) {
- sysf_messageBox("상단정보와 화면의 환자번호가 서로 다릅니다.", "I999" );
- return;
- } else {
- frmf_modal("SPMMO11510", "SPMMO11510", null, null, null, null, null, null, null, null, null, null, "M");
- }
- }
- //20190906 이돈희 : 등록거부 종료 기능 추가
- function btn_close_refusal_onclick(obj:Button, e:ClickEventInfo)
- {
- var nRow = ds_grd_speclist.rowposition;
- if(nRow < 0) {
- sysf_messageBox("등록거부를 종료할 등록 리스트를 선택 하세요.", "I999");
- return;
- }
-
- var sSerDiagNo = ds_grd_speclist.getColumn(nRow,"serdiagno");
- if(utlf_isNull(sSerDiagNo) || sSerDiagNo != "등록거부"){
- sysf_messageBox("특례번호가 등록거부인 등록 리스트를 선택 하세요.", "I999");
- return;
- }
-
- if(!utlf_isNull(sSerDiagNo) && sSerDiagNo == "등록거부") {
- if(sysf_messageBox("등록거부 신청서를 종료하시겠습니까?", "Q" ) == "6" ){
- ds_send_closerefusal.setColumn(0, "genrdd", ds_grd_speclist.getColumn(nRow, "genrdd"));
- ds_send_closerefusal.setColumn(0, "genrno", ds_grd_speclist.getColumn(nRow, "genrno"));
- ds_send_closerefusal.setColumn(0, "histno", ds_grd_speclist.getColumn(nRow, "histno"));
-
- var oParam = {};
- oParam.id = "TXMMO21702";
- oParam.service = "prcpmngtapp.PatDiagMngt";
- oParam.method = "reqExeCloseEsscCancerRefusal";
- oParam.inds = "req=ds_send_closerefusal";
- oParam.outds = "null";
- oParam.async = false;
- var bSaved = tranf_submit(oParam);
-
- if(bSaved){
- sysf_messageBox("종료일을 변경하였습니다.", "E999");
- }
- }
- }
- }
- function caption9_onclick(obj:Static, e:ClickEventInfo)
- {
- //20191023 이돈희 : 외래 진료 산정특례 확인을 10번 클릭시 버튼 visible 처리
- iClickNum = iClickNum + 1;
- if(iClickNum >= 10) {
- btn_rooa12.visible = true;
- btn_soda.visible = true;
- btn_rooa02.visible = true;
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|