123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMAEB02600" position="absolute 0 0 1194 747" titletext="검사분류별조회" oninit="model1_oninit" onload="SMAEB02600_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" text="검사 분류별 조회" class="tit_1" position="absolute 0 0 173 25" positiontype="position"/>
- <Static id="caption2" text="검사분류" class="tit_2" position="absolute 0 34 161 54" style="align:left;" positiontype="position"/>
- <Button id="button2" taborder="1" text="처방" onclick="button2_onclick" class="btn2" position="absolute 145 29 189 49" positiontype="position"/>
- <Button id="button1" taborder="2" text="재료" onclick="button1_onclick" class="btn2" position="absolute 192 29 236 49" positiontype="position"/>
- <Static id="caption1" text="그룹코드" class="tit_2" position="absolute 246 31 407 51" style="align:left;" positiontype="position"/>
- <Grid id="trv_prcpclscdlist" taborder="3" useinputpanel="false" position="absolute 0 52 236 738" anchor="left top bottom" positiontype="position" binddataset="ds_trv_prcpclscdlist" treeinitstatus="collapse,null" treeusecheckbox="false" oncellclick="trv_prcpclscdlist_oncellclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="236"/>
- </Columns>
- <Rows>
- <Row size="1" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- </Band>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" text="bind:prcpclsnm" treelevel="bind:lvl"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_prcpsrchlist" taborder="4" useinputpanel="false" position="absolute 246 49 1187 450" onclick="grd_prcpsrchlist_onclick" anchor="left top right" binddataset="ds_grid_grd_prcpsrchlist" positiontype="position" oncellclick="grd_prcpsrchlist_oncellclick" cellsizingtype="both" autofittype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="27"/>
- <Column size="146"/>
- <Column size="753"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="22" band="head"/>
- <Row size="20"/>
- </Rows>
- <Band id="head">
- <Cell text="선택"/>
- <Cell col="1"/>
- <Cell col="2" text="검사코드"/>
- <Cell col="3" text="검사명"/>
- <Cell col="4" text="종료일자"/>
- <Cell col="5" text="사용여부"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="1" celltype="head" text="expr:currow + 1"/>
- <Cell col="2" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="3" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="4" style="align:center middle;" text="bind:todd" mask="####-##-##"/>
- <Cell col="5" displaytype="combo" edittype="combo" text="bind:prcpuseflag" combodataset="ds_cond_P0141list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="6"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button3" taborder="5" text="저장" onclick="button3_onclick" class="btn2" visible="false" position="absolute 1143 26 1187 46" positiontype="position"/>
- <Grid id="grd_mech" taborder="6" useinputpanel="false" position="absolute 246 480 1187 737" anchor="all" binddataset="ds_main_picmmech" positiontype="position" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="23"/>
- <Column size="105"/>
- <Column size="90"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="243"/>
- <Column size="47"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="2" text="±"/>
- <Cell col="1" rowspan="2" text="그룹코드"/>
- <Cell col="2" rowspan="2" text="수가코드"/>
- <Cell col="3" rowspan="2" text="보험EDI코드"/>
- <Cell col="4" rowspan="2" text="분류번호"/>
- <Cell col="5" rowspan="2" text="처방명"/>
- <Cell col="6" rowspan="2" text="수량"/>
- <Cell col="7" rowspan="2" text="무산정" taborder="undefined"/>
- <Cell col="8" colspan="3" text="보험"/>
- <Cell col="11" text="일반"/>
- <Cell col="12" 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="단가합"/>
- <Cell row="1" col="12" text="한글명"/>
- </Band>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" treestartlevel="1" treelevel="bind:picmmech_hidden"/>
- <Cell col="1" style="align:left middle;" text="bind:picmmech_calcgrupcd"/>
- <Cell col="2" style="align:left middle;" text="bind:picmmech_calcscorcd"/>
- <Cell col="3" style="align:left middle;" text="bind:picmmech_insuedicd"/>
- <Cell col="4" style="align:left middle;" text="bind:picmmech_insuclsno"/>
- <Cell col="5" style="align:left middle;" text="bind:picmmech_hngnm" wordwrap="english"/>
- <Cell col="6" displaytype="number" text="bind:picmmech_qty"/>
- <Cell col="7" style="background:EXPR(picmmech_freeflag == 'Y' ? '#FFCCFF' : '');background2:EXPR(picmmech_freeflag == 'Y' ? '#FFCCFF' : '');" text="bind:picmmech_freeflag"/>
- <Cell col="8" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:picmmech_pynpy1" combodataset="ds_cond_P0104list" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="9" displaytype="number" text="bind:picmmech_unitcost"/>
- <Cell col="10" displaytype="number" text="bind:picmmech_specamt"/>
- <Cell col="11" displaytype="number" text="bind:picmmech_gnrlunitcost"/>
- <Cell col="12" text="bind:picmmech_hngnm"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption3" text="하위 수가코드" class="tit_2" position="absolute 246 462 404 482" style="align:left;" positiontype="position"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_prcpsrchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="todd" type="STRING"/>
- <Column id="prcpuseflag" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <!-- -->
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cond1"/>
- <Column id="cond2"/>
- <Column id="cond3"/>
- <Column id="cond4"/>
- <Column id="cond5"/>
- <Column id="cond6"/>
- <Column id="cond7"/>
- <Column id="cond8"/>
- <Column id="cond9"/>
- <Column id="cond10"/>
- <Column id="cond99"/>
- <Column id="instcd"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column type="String" id="con1_dd"/>
- <Column type="String" id="con2_gsflag"/>
- <Column type="String" id="con3_search1"/>
- <Column type="String" id="con4_search2"/>
- <Column type="String" id="con5_insu"/>
- <Column type="String" id="con9_lastupdtdt"/>
- <Column type="String" id="con10_preord_chk"/>
- <Column type="String" id="con_ordinptflag"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_picmmech" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column type="String" id="picmmech_hidden"/>
- <Column id="picmmech_calcgrupcd"/>
- <Column type="String" id="picmmech_agepay"/>
- <Column id="picmmech_calcscorcd"/>
- <Column id="picmmech_insuedicd"/>
- <Column id="picmmech_oldordcd"/>
- <Column id="picmmech_engnm"/>
- <Column id="picmmech_hngnm"/>
- <Column type="String" id="picmmech_pynpy1"/>
- <Column type="String" id="picmmech_rbpnt"/>
- <Column type="String" id="picmmech_unitcost"/>
- <Column type="String" id="picmmech_specamt"/>
- <Column type="String" id="picmmech_specrate"/>
- <Column type="String" id="picmmech_gnrlunitcost"/>
- <Column type="String" id="picmmech_forgnunitcost"/>
- <Column type="String" id="picmmech_mouunitcost"/>
- <Column id="picmmech_ordnm"/>
- <Column type="String" id="picmmech_qty"/>
- <Column type="String" id="picmmech_estmmncd"/>
- <Column type="String" id="picmmech_fromdd"/>
- <Column type="String" id="picmmech_todd"/>
- <Column type="String" id="picmmech_lastupdtdt"/>
- <Column type="String" id="picmmech_lastupdtrid"/>
- <Column type="String" id="picmmech_temp_insupynpy1"/>
- <Column type="String" id="picmmech_temp_insuunitcost"/>
- <Column type="String" id="picmmech_temp_specrate"/>
- <Column type="String" id="picmmech_temp_instcd"/>
- <Column type="String" id="picmmech_temp_grupsnglflag"/>
- <Column type="String" id="picmmech_ordinptflag"/>
- <Column type="String" id="picmmech_insuclsno"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_trv_prcpclscdlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="lvl"/>
- <Column id="prcpclscd"/>
- <Column id="supprcpclscd"/>
- <Column id="refseq"/>
- <Column id="prcpclscd1"/>
- <Column id="prcpclscd2"/>
- <Column id="prcpclscd3"/>
- <Column id="prcpclsnm"/>
- <Column id="path"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond_P0104list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond_P0141list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING" size="256"/>
- <Column id="cdid" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : KU2.0
- * Job Name :
- * File Name : SMAEB02600_핵종기준량관리.xfdl
- * Creator :
- * Make Date : 2016.06.15
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- //=======================================================================================
- // submission
- //---------------------------------------------------------------------------------------
- function fn_TRAEB02601() {
- var objParam = new Object();
- objParam.id = "TRAEB02601";
- objParam.service = "examcurebaseapp.NuclBase";
- objParam.method = "reqGetPrcpSrchInfo";
- objParam.inds = "req=ds_send";
- objParam.outds ="ds_grid_grd_prcpsrchlist=prcplist";
- objParam.callback = "cbf_TRAEB02601";
- tranf_submit(objParam);
- }
- function fn_TRAEB02602() {
- var objParam = new Object();
- objParam.id = "TRAEB02602";
- objParam.service = "calcscormngtapp.MchrgMngt";
- objParam.method = "reqGetCalcScorJoHoi";
- objParam.inds = "req=ds_send_data";
- objParam.outds ="ds_main_picmmech=picmmech";
- objParam.callback = "cbf_TRAEB02602";
- tranf_submit(objParam);
- }
- function fn_TXAEB02601() {
- tranf_submit({ //저장 submit
- id: "TXAEB02601"
- , service: "examcurebaseapp.NuclBase"
- , method: "reqSetMchrgCode"
- , inds: "reqparam=ds_grid_grd_prcpsrchlist:U"
- , outds: "ds_grid_grd_prcpsrchlist=prcplist"
- , async: true
- , callback: "cbf_TXAEB02601"
- , progress: false
- , alert: true
- , typeStr: "m"
- });
- }
- function fn_TRMMO02201() {
- ds_send.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- ds_send.setColumn(0, "cond2", utlf_getCurrentDate());
- var objParam = new Object();
- objParam.id = "TRMMO02201";
- objParam.service = "prcpmngtapp.PrcpMngt";
- objParam.method = "reqGetPrcpClsCdList";
- objParam.inds = "req=ds_send";
- objParam.outds ="ds_trv_prcpclscdlist=prcpclscdlist";
- objParam.callback = "cbf_TRMMO02201";
- tranf_submit(objParam);
- }
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
- function cbf_TRAEB02601(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- // grd_prcpsrchlist.valueMatrix ( 0, 2 ) = prcpclsnm.getTrim();
- return true;
- }else{
- }
- }
- function cbf_TRAEB02602(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- }else{
- }
- }
- function cbf_TXAEB02601(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- }else{
- }
- }
- function cbf_TRMMO02201(strSvcID, nErrorCode, strErrorMsg){
- //에러 처리
- if(nErrorCode == 0){
- }else{
- }
- }
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- // 초기화
- function fInitialize() {
-
- var arrParam = new Array();
- arrParam = [{dsNm: "ds_cond_P0104list", cdGrpId: "P0104"}
- ,{dsNm: "ds_cond_P0141list", cdGrpId: "P0141"}];
- appf_getCodeList(arrParam, true, true, "lf_initDataSet");
-
- ds_grid_grd_prcpsrchlist.clearData();
- ds_main_picmmech.clearData();
- ds_send.setColumn(0, "cond1", "E");
- fn_TRMMO02201();
- }
- function lf_initDataSet(){
- }
-
- // 검사 상세 분류 조회
- function fPrcpClsSrchInfo(flag) {
- var iMouseRow;
- var row = ds_trv_prcpclscdlist.rowposition;
- if (flag == "S") {
- iMouseRow = ds_trv_prcpclscdlist.rowposition;
- } else {
- iMouseRow = row;
- }
- var iRow = eval(iMouseRow) ;
- var prcpclscd = ds_trv_prcpclscdlist.getColumn(iRow, "prcpclscd");
- var prcpclscd1 = ds_trv_prcpclscdlist.getColumn(iRow, "prcpclscd1");
- var prcpclscd2 = ds_trv_prcpclscdlist.getColumn(iRow, "prcpclscd2");
- var prcpclscd3 = ds_trv_prcpclscdlist.getColumn(iRow, "prcpclscd3");
- var prcpclsnm = ds_trv_prcpclscdlist.getColumn(iRow, "prcpclsnm");
- var lvl = ds_trv_prcpclscdlist.getColumn(iRow, "lvl");
-
- iRow = eval(iMouseRow) + 1;
- var lvl2 = ds_trv_prcpclscdlist.getColumn(iRow, "lvl");
- if ( lvl != lvl2 && !utlf_isNull(lvl2)) {
- if ( lvl < lvl2 ) {
- return false;
- }
- }
-
- var gSRCHFLAG = "1";
- var gPRCPFLAG = "1";
- var ordprcpflag = "";
- var ioflag = "I";
- ds_send.setColumn(0, "cond1", gSRCHFLAG); // 검색구분(식이, 지시..)
- ds_send.setColumn(0, "cond2", ioflag); // 외래, 입원, 응급 구분
- ds_send.setColumn(0, "cond3", utlf_getCurrentDate()); // 처방일
- ds_send.setColumn(0, "cond4", "11"); // 환자보험유형
- ds_send.setColumn(0, "cond5", prcpclscd1); // 분류1
- ds_send.setColumn(0, "cond6", prcpclscd2 ); // 분류2
- ds_send.setColumn(0, "cond7", prcpclscd3); // 분류3
- ds_send.setColumn(0, "cond8", prcpclscd); // 분류: 약에서 사용한다.
- ds_send.setColumn(0, "cond9", gPRCPFLAG); // 지시처방
- ds_send.setColumn(0, "cond10", ordprcpflag); // 지시처방구분(일반:genr, BMT:bmt)
- ds_send.setColumn(0, "cond99", "getPrcpClsSrchInfo"); // 검색구분
- ds_main_picmmech.clearData();
-
- fn_TRAEB02601();
- }
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components :
- * Components ID : SMAEB02600
- * Event : onload
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function SMAEB02600_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- fInitialize();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button2
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grid_grd_prcpsrchlist.clearData();
- ds_send.setColumn(0, "cond1", "E");
- fn_TRMMO02201();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : button1
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_grid_grd_prcpsrchlist.clearData();
- ds_send.setColumn(0, "cond1", "L");
-
- fn_TRMMO02201();
-
- }
- /****************************************************************************************
- * Components :
- * Components ID : grd_prcpsrchlist
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function grd_prcpsrchlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- var row = ds_grid_grd_prcpsrchlist.rowposition;
- var prcpcd = ds_grid_grd_prcpsrchlist.getColumn(row, "prcpcd");
-
- ds_send_data.setColumn(0, "con1_dd", utlf_getCurrentDate());
- ds_send_data.setColumn(0, "con3_search1", "calcscorcd");
- ds_send_data.setColumn(0, "con4_search2", prcpcd);
- ds_send_data.setColumn(0, "con5_insu", "insu");
- ds_send_data.setColumn(0, "con9_lastupdtdt", utlf_getCurrentDate());
-
- fn_TRAEB02602();
- }
- /****************************************************************************************
- * Components :
- * Components ID : button3
- * Event : onclick
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function trv_prcpclscdlist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fPrcpClsSrchInfo("S");
- }
- ]]></Script>
- </Form>
- </FDL>
|