123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPMB03800" classname="SMPMB03800_질환군분류정보조회" inheritanceid="" position="absolute 0 0 1195 768" titletext="질환군분류정보조회" onload="SMPMB03800_onload">
- <Layouts>
- <Layout>
- <Static id="cap_title" text="질환군 분류 정보 조회" onclick="group3_cap_title_onclick" class="tit_1" position="absolute 0 0 180 25"/>
- <Div id="grp_srch" taborder="1" position="absolute 0 25 1194 65" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static id="caption5" text="진료과 :" class="search_name" position="absolute 15 12 90 29" anchor="default"/>
- <Static id="caption00" text="주상병 :" class="search_name" position="absolute 375 12 450 29" anchor="default"/>
- <Combo id="cmb_orddeptcd" taborder="1" innerdataset="ds_init_orddeptcdlist" codecolumn="cd" datacolumn="nm" onitemchanged="group3_group4_cmb_orddeptcd_onitemchanged" class="combo_essential" position="absolute 91 10 326 29" anchor="default"/>
- <Edit id="ipt_srch_diagcd_m" taborder="2" position="absolute 454 10 538 30" anchor="default" onkeyup="grp_srch_ipt_srch_diagcd_m_onkeyup" inputmode="upper" imemode="alpha"/>
- <Edit id="ipt_srch_diagnm_mt" taborder="3" position="absolute 561 10 901 30" anchor="default"/>
- <Shape id="line2" linetype="vertical" class="line_4" position="absolute 1103 9 1109 31" anchor="top right"/>
- <Button id="btn_search" taborder="4" text="조회" class="btn1" position="absolute 1122 9 1178 31" anchor="top right" onclick="grp_srch_btn_search_onclick"/>
- <Button id="btn_dutplcecd" taborder="5" onclick="group2_btn_dutplcecd_onclick" class="icon_search" position="absolute 541 12 557 28" anchor="default"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption4" text="현재 주상병으로 적용 가능한 질환군 분류" class="tit_2" position="absolute 0 73 315 95"/>
- <Shape id="line3" class="line_10" position="absolute 0 89 1194 95" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="grd_pmbmdrgb1" taborder="2" useinputpanel="false" position="absolute 0 94 1194 224" autosizingtype="row" extendsizetype="row" binddataset="ds_main_pmbmdrgb1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="60"/>
- <Column size="60"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="80"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell colspan="3" text="주상병" taborder="undefined"/>
- <Cell col="3" colspan="2" text="제1부상병" taborder="undefined"/>
- <Cell col="5" text="처치코드1" taborder="undefined"/>
- <Cell col="6" text="처치명1" taborder="undefined"/>
- <Cell col="7" text="처치코드2"/>
- <Cell col="8" text="처치명2"/>
- <Cell col="9" text="질환군분류"/>
- <Cell col="10" text="DRG분류번호"/>
- <Cell col="11" text="DRG명"/>
- <Cell col="12" text="비고"/>
- </Band>
- <Band id="body">
- <Cell text="bind:diagcd_mf"/>
- <Cell col="1" text="bind:diagcd_mt"/>
- <Cell col="2" displaytype="text" text="bind:diagnm_m" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="3" text="bind:diagcd_s"/>
- <Cell col="4" displaytype="text" text="bind:diagnm_s" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="5" text="bind:edicd1"/>
- <Cell col="6" displaytype="text" text="bind:edinm1" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="7" text="bind:edicd2"/>
- <Cell col="8" displaytype="text" text="bind:edinm2" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="9" text="bind:drgtype"/>
- <Cell col="10" text="bind:drgno"/>
- <Cell col="11" displaytype="text" text="bind:drgnm" wordwrap="word" autosizerow="limitmin"/>
- <Cell col="12" displaytype="text" text="bind:bigo" wordwrap="word" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape id="line00" class="line_10" position="absolute 0 254 1194 260" anchor="left top right" style="strokepen:3 solid #33bbbbff;"/>
- <Grid id="grd_pmbmdrgb2" taborder="7" useinputpanel="false" extendsizetype="row" autosizingtype="row" position="absolute 0 259 1194 738" binddataset="ds_main_pmbmdrgb2" treeusecheckbox="false" scrollpixel="all" treeuseimage="true" oncelldblclick="grd_pmbmdrgb2_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="120"/>
- <Column size="100"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="80"/>
- <Column size="130"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="150"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell colspan="3" text="주상병" taborder="undefined"/>
- <Cell col="3" colspan="2" text="제1부상병" taborder="undefined"/>
- <Cell col="5" text="처치코드1" taborder="undefined"/>
- <Cell col="6" text="처치명1" taborder="undefined"/>
- <Cell col="7" text="처치코드2"/>
- <Cell col="8" text="처치명2"/>
- <Cell col="9" text="질환군분류"/>
- <Cell col="10" text="DRG분류번호"/>
- <Cell col="11" text="DRG명"/>
- <Cell col="12" text="비고"/>
- </Band>
- <Band id="body">
- <Cell displaytype="tree" edittype="tree" style="align:left;padding:0 3 0 3;" text="bind:diagcd_mf" suppress="0" treelevel="bind:treelvl"/>
- <Cell col="1" displaytype="text" text="bind:diagcd_mt" suppress="0"/>
- <Cell col="2" displaytype="text" text="bind:diagnm_m" wordwrap="word" suppress="0" autosizerow="limitmin"/>
- <Cell col="3" displaytype="text" text="bind:diagcd_s" suppress="0"/>
- <Cell col="4" displaytype="text" text="bind:diagnm_s" wordwrap="word" suppress="0" autosizerow="limitmin"/>
- <Cell col="5" displaytype="text" text="bind:edicd1" suppress="0"/>
- <Cell col="6" displaytype="text" text="bind:edinm1" wordwrap="word" suppress="0" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" text="bind:edicd2" suppress="0"/>
- <Cell col="8" displaytype="text" text="bind:edinm2" wordwrap="word" suppress="0" autosizerow="limitmin"/>
- <Cell col="9" text="bind:drgtype" suppress="0"/>
- <Cell col="10" text="bind:drgno" suppress="0"/>
- <Cell col="11" displaytype="text" text="bind:drgnm" wordwrap="word" suppress="0" autosizerow="limitmin"/>
- <Cell col="12" displaytype="text" text="bind:bigo" wordwrap="word" suppress="0" autosizerow="limitmin"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static id="caption1" text="주상병" class="cell_1" position="absolute 0 232 119 254" anchor="left bottom"/>
- <Static id="caption2" text="제1부상병" class="cell_1" position="absolute 350 232 429 254" anchor="left bottom"/>
- <Static id="caption3" text="처치코드1" class="cell_1" position="absolute 560 232 639 254" anchor="left bottom"/>
- <Edit id="ipt_diagnm_m" taborder="8" position="absolute 120 232 349 254" onkeyup="common_onkeyup"/>
- <Edit id="ipt_diagnm_s" taborder="9" onkeyup="common_onkeyup" position="absolute 430 232 559 254"/>
- <Edit id="ipt_edinm1" taborder="10" onkeyup="common_onkeyup" position="absolute 640 232 789 254"/>
- <Static id="cap_lastupdtdt" position="absolute 882 234 1190 256" style="color:red;align:right middle;font:Dotum,10,bold;"/>
- <Button id="btn_close" taborder="11" text="닫기" onclick="btn_close_onclick" class="btn4" position="absolute 1141 743 1194 763"/>
- </Layout>
- </Layouts>
- <Bind>
- <BindItem id="item0" compid="grp_srch.cmb_orddeptcd" propid="value" datasetid="ds_send_srch" columnid="orddeptcd"/>
- <BindItem id="item3" compid="grp_srch.ipt_srch_diagcd_m" propid="value" datasetid="ds_send_srch" columnid="diagcd_m"/>
- <BindItem id="item4" compid="grp_srch.ipt_srch_diagnm_mt" propid="value" datasetid="ds_send_srch" columnid="diagnm_m"/>
- <BindItem id="item5" compid="ipt_diagnm_m" propid="value" datasetid="ds_send_srch" columnid="diagnm_m"/>
- <BindItem id="item6" compid="ipt_diagnm_s" propid="value" datasetid="ds_send_srch" columnid="diagnm_s"/>
- <BindItem id="item7" compid="ipt_edinm1" propid="value" datasetid="ds_send_srch" columnid="edinm"/>
- </Bind>
- <Objects>
- <Dataset id="ds_send_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="orddeptcd" type="STRING" size="256"/>
- <Column id="diagcd_m" type="STRING" size="256"/>
- <Column id="diagnm_m" type="STRING" size="256"/>
- <Column id="diagnm_s" type="STRING" size="256"/>
- <Column id="edinm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="diagnm_m"/>
- <Col id="diagcd_m"/>
- <Col id="orddeptcd"/>
- <Col id="diagnm_s"/>
- <Col id="diagnm_m"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_pmbmdrgb1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd_mf" type="STRING" size="256"/>
- <Column id="diagcd_mt" type="STRING" size="256"/>
- <Column id="diagnm_m" type="STRING" size="256"/>
- <Column id="diagcd_s" type="STRING" size="256"/>
- <Column id="diagnm_s" type="STRING" size="256"/>
- <Column id="edicd1" type="STRING" size="256"/>
- <Column id="edinm1" type="STRING" size="256"/>
- <Column id="edicd2" type="STRING" size="256"/>
- <Column id="edinm2" type="STRING" size="256"/>
- <Column id="drgtype" type="STRING" size="256"/>
- <Column id="drgno" type="STRING" size="256"/>
- <Column id="drgnm" type="STRING" size="256"/>
- <Column id="bigo" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_pmbmdrgb2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd_mf" type="STRING" size="256"/>
- <Column id="diagcd_mt" type="STRING" size="256"/>
- <Column id="diagnm_m" type="STRING" size="256"/>
- <Column id="diagcd_s" type="STRING" size="256"/>
- <Column id="diagnm_s" type="STRING" size="256"/>
- <Column id="edicd1" type="STRING" size="256"/>
- <Column id="edinm1" type="STRING" size="256"/>
- <Column id="edicd2" type="STRING" size="256"/>
- <Column id="edinm2" type="STRING" size="256"/>
- <Column id="drgtype" type="STRING" size="256"/>
- <Column id="drgno" type="STRING" size="256"/>
- <Column id="drgnm" type="STRING" size="256"/>
- <Column id="bigo" type="STRING" size="256"/>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="termcd" type="STRING" size="256"/>
- <Column id="termengnm" type="STRING" size="256"/>
- <Column id="treelvl" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_orddeptcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cd" type="STRING" size="256"/>
- <Column id="nm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_tmp_srch" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- // 화면초기화
- function SMPMB03800_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj);
- if(frmf_isPopup()) {
- try{
- ds_tmp_srch.copyData(arg_ds_tmp_srch);
- }catch(e){}
-
- if(!utlf_isNull(ds_tmp_srch.getColumn(0, "orddeptcd"))) {
- ds_send_srch.setColumn(0, "orddeptcd", ds_tmp_srch.getColumn(0, "orddeptcd"));
- ds_send_srch.setColumn(0, "diagcd_m", ds_tmp_srch.getColumn(0, "diagcd_m"));
- var closeyn = ds_tmp_srch.getColumn(0, "closeyn");
-
- grp_srch.btn_search.click();
-
- if(closeyn == "Y" && ds_main_pmbmdrgb1.rowcount == 0) this.close(); //자동조회후 상병조건 결과 없을경우 자동닫기(입원의뢰서)
- }
- }
-
- pamGetDeptCDDrIDList();
-
- ds_init_orddeptcdlist.insertRow(0);
- }
- // 조회버튼 클릭
- function grp_srch_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetPmbmdrgbList();
- }
- // 질환군 분류정보 조회
- function fGetPmbmdrgbList() {
- if(utlf_isNull(ds_send_srch.getColumn(0, "orddeptcd"))) {
- sysf_messageBox("진료과를 선택하세요.", "");
- return;
- }
- ds_main_pmbmdrgb1.clearData();
- ds_main_pmbmdrgb2.clearData();
-
- var oParam = {};
- oParam.id = "TRPMB03801";
- oParam.service = "pambaseinfomngtapp.SickCd";
- oParam.method = "reqGetPmbmdrgbList";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_main_pmbmdrgb1=item1 ds_main_pmbmdrgb2=item2";
- oParam.async = false;
- tranf_submit(oParam);
-
- if(ds_main_pmbmdrgb2.rowcount != 0) {
- var lastdt = ds_main_pmbmdrgb2.getColumn(0,"lastupdtdt");
- cap_lastupdtdt.text = "*최신정보수정일 : " + lastdt.substr(0,4)+"."+lastdt.substr(4,2)+"."+lastdt.substr(6,2)+".";
- }
- }
- // 진료과별 질환군 조회
- function fSrchList() {
- var oParam = {};
- oParam.id = "TRPMB03802";
- oParam.service = "pambaseinfomngtapp.SickCd";
- oParam.method = "reqGetPmbmdrgbListDetail";
- oParam.inds = "req=ds_send_srch";
- oParam.outds = "ds_main_pmbmdrgb2=item2";
- oParam.async = false;
- tranf_submit(oParam);
-
- if(ds_main_pmbmdrgb2.rowcount != 0) {
- var lastdt = ds_main_pmbmdrgb2.getColumn(0,"lastupdtdt");
- cap_lastupdtdt.text = "*최신정보수정일 : " + lastdt.substr(0,4)+"."+lastdt.substr(4,2)+"."+lastdt.substr(6,2)+".";
- }
- }
- // 상세조회 상병명등으로 조회
- function common_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- fSrchList()
- }
- }
- // 상병코드 입력 조회
- function grp_srch_ipt_srch_diagcd_m_onkeyup(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- obj.updateToDataset();
- fGetPmbmdrgbList();
- }
- }
- function grd_pmbmdrgb2_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if(utlf_isNull(ds_main_pmbmdrgb2.getColumn(e.row, "termcd"))) {
- if(grd_pmbmdrgb2.getTreeStatus(obj.currentrow)==0) {
- grd_pmbmdrgb2.setTreeStatus(obj.currentrow, true);
- } else {
- grd_pmbmdrgb2.setTreeStatus(obj.currentrow, false);
- }
- } else {
- if(opener.frmf_getScreenID() == "SPMMO00100") {
- var icd10cd = ds_main_pmbmdrgb2.getColumn(e.row, "diagcd_mf");
- var diagcd = ds_main_pmbmdrgb2.getColumn(e.row, "termcd");
- var diagengnm = ds_main_pmbmdrgb2.getColumn(e.row, "termengnm");
- var diaghngnm = ds_main_pmbmdrgb2.getColumn(e.row, "termhngnm");
-
- if(opener.ds_diagcdlist.findRow("diagcd", diagcd) > -1) {
- sysf_messageBox("이미 선택된 상병입니다.", "");
- return;
- }
- var currow = opener.ds_diagcdlist.rowcount -1;
- opener.ds_diagcdlist.setColumn(currow,"status" ,"i");
- opener.ds_diagcdlist.setColumn(currow,"diagdd" ,utlf_getCurrentDate());
- opener.ds_diagcdlist.setColumn(currow,"diagtypecd","R");
- opener.ds_diagcdlist.setColumn(currow,"icd10cd" ,icd10cd);
- opener.ds_diagcdlist.setColumn(currow,"diagcd" ,diagcd);
- opener.ds_diagcdlist.setColumn(currow,"diagengnm" ,diagengnm);
- opener.ds_diagcdlist.setColumn(currow,"diaghngnm" ,diaghngnm);
- opener.ds_diagcdlist.setColumn(currow,"orddd" ,opener.ds_inreqfrminfo.getColumn(0,"inhopedd")); //진단일자는 입원예정일
- opener.ds_diagcdlist.setColumn(currow,"pid" ,opener.ds_inreqfrminfo.getColumn(0,"pid"));
- opener.ds_diagcdlist.setColumn(currow,"cretno" ,0);
- opener.ds_diagcdlist.setColumn(currow,"orddeptcd" ,opener.ds_inreqfrminfo.getColumn(0,"orddeptcd"));
- opener.ds_diagcdlist.setColumn(currow,"orddrid" ,opener.ds_inreqfrminfo.getColumn(0,"orddrid"));
- opener.ds_diagcdlist.addRow();
-
- this.close();
- }
- }
- }
- function btn_close_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- ]]></Script>
- </Form>
- </FDL>
|