123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMNO02800" position="absolute 0 0 1256 805" titletext="외래 선처치 미수금 발생내역" oninit="model1_oninit" onload="SMMNO02800_onload">
- <Layouts>
- <Layout>
- <Static id="caption6" class="tit_1" position="absolute 0 3 207 28" anchor="default" positiontype="position" text="외래 선처치 미수금 발생내역"/>
- <Div id="grp_sea" taborder="1" style="align:center top;" class="div_SA" position="absolute 0 28 1256 95" anchor="left top right" positiontype="position">
- <Layouts>
- <Layout>
- <Static id="cap_ward" text="진료과" class="search_name" position="absolute 301 10 375 30" anchor="default" positiontype="position"/>
- <Static id="caption8" text="조회일자" class="search_name" position="absolute 8 10 82 30" anchor="default" positiontype="position"/>
- <Calendar id="ipt_srchfromdd" taborder="7" class="input_s_essential" position="absolute 81 10 171 30" dateformat="yyyy-MM-dd" value="null" anchor="default" positiontype="position" autoselect="true"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1020 11 1020 46" anchor="default" positiontype="position"/>
- <Combo id="cmb_orddept" taborder="8" class="combo_search" position="absolute 374 10 494 30" innerdataset="@ds_init_orddeptcd" codecolumn="deptcd" datacolumn="depthngnm" onitemchanged="grp_sea_cmb_orddept_onitemchanged" anchor="default" positiontype="position"/>
- <Combo id="cmb_orddrid" taborder="9" class="combo_search" position="absolute 617 10 737 30" innerdataset="@ds_init_orddr" codecolumn="userid" datacolumn="usernm" anchor="default" positiontype="position"/>
- <Static id="caption3" text="진료의" class="search_name" position="absolute 518 10 618 30" anchor="default" positiontype="position"/>
- <Calendar id="ipt_srchtodd" taborder="10" class="input_s_essential" position="absolute 187 10 277 30" dateformat="yyyy-MM-dd" value="null" anchor="default" positiontype="position" autoselect="true" autoskip="true"/>
- <Static id="caption1" text="~" position="absolute 171 10 187 30" style="align:center middle;" anchor="default" positiontype="position"/>
- <Static id="caption2" text="조회조건" class="search_name" position="absolute 761 10 835 30" anchor="default" positiontype="position"/>
- <CheckBox id="chk_precureprcpflag" taborder="11" text="선처치 미등록 포함" truevalue="Y" class="checkbox_search" position="absolute 834 10 958 30" falsevalue="N" anchor="default" positiontype="position"/>
- <Static id="caption4" text="처방코드" class="search_name" position="absolute 8 35 82 55" anchor="default" positiontype="position"/>
- <Edit id="ipt_pid" taborder="12" class="input_search" position="absolute 81 35 171 55" imemode="hangul" onkeydown="grp_sea_ipt_pid_onkeydown" anchor="default" positiontype="position"/>
- <Combo id="cmb_prcpclscd" taborder="13" class="combo_search" position="absolute 374 35 494 55" innerdataset="ds_initZ_M0005" codecolumn="cdid" datacolumn="cdnm" index="-1" anchor="default" positiontype="position"/>
- <Static id="caption5" text="처방분류별 조회" class="search_name" position="absolute 262 35 375 55" anchor="default" positiontype="position"/>
- <Combo id="cmb_prcpinptflag" taborder="14" class="combo_search" position="absolute 617 35 737 55" innerdataset="ds_initZ_M0034" codecolumn="cdid" datacolumn="cdnm" anchor="default" positiontype="position"/>
- <Static id="caption7" text="처방입력구분" class="search_name" position="absolute 518 35 618 55" anchor="default" positiontype="position"/>
- <Button id="btn_srchprecureprcpuncopatlist" taborder="15" text="조회" onlbuttonup="btn_srchprecureprcpuncopatlist_onlbuttonup" class="btn1" position="absolute 1196 18 1252 38" anchor="top right" onclick="btn_srchprecureprcpuncopatlist_onclick" positiontype="position"/>
- <Edit id="input1" taborder="16" class="input_search" position="absolute 834 35 914 55" imemode="none" onkeydown="grp_sea_input1_onkeydown" anchor="default" positiontype="position"/>
- <Button id="btn_pid" taborder="17" onlbuttonup="btn_pid_onlbuttonup" class="icon_search" position="absolute 917 35 937 55" text="" onclick="btn_pid_onclick" anchor="default" positiontype="position"/>
- <Static id="caption9" text="등록번호" class="search_name" position="absolute 761 35 835 55" anchor="default" positiontype="position"/>
- <Edit id="opt_hngnm" taborder="18" readonly="true" position="absolute 940 35 1025 55" anchor="default" positiontype="position"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid id="grd_prcpendlist" class="datagrid2" taborder="2" useinputpanel="false" position="absolute 0 122 1256 805" autofittype="col" anchor="all" binddataset="ds_grid_grd_prcpendlist" positiontype="position">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="70"/>
- <Column size="92"/>
- <Column size="241"/>
- <Column size="72"/>
- <Column size="81"/>
- <Column size="59"/>
- <Column size="80"/>
- <Column size="55"/>
- <Column size="79"/>
- <Column size="54"/>
- <Column size="87"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="35" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="No."/>
- <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="진료예약일시"/>
- </Band>
- <Band id="body">
- <Cell celltype="none" expr="expr:currow+1"/>
- <Cell col="1" displaytype="text" text="bind:pid" suppress="1" suppressalign="middle"/>
- <Cell col="2" style="align:left middle;" text="bind:hngnm" suppress="2" suppressalign="middle"/>
- <Cell col="3" style="align:center middle;" text="bind:prcpdd" mask="expr:prcpcd==null?'':'####-##-##'"/>
- <Cell col="4" displaytype="text" style="align:left middle;" text="bind:prcpcd"/>
- <Cell col="5" style="align:left middle;" text="bind:prcpnm"/>
- <Cell col="6" style="align:left middle;" text="bind:prcpclsnm"/>
- <Cell col="7" style="align:left middle;" text="bind:orddeptnm"/>
- <Cell col="8" style="align:left middle;" text="bind:orddrnm"/>
- <Cell col="9" style="align:left middle;" text="bind:rgstdeptnm"/>
- <Cell col="10" style="align:left middle;" text="bind:rgstrnm"/>
- <Cell col="11" style="align:left middle;" text="bind:prcpinptflag"/>
- <Cell col="12" style="align:left middle;" text="bind:precureprcpflag"/>
- <Cell col="13" displaytype="number" style="align:right middle;" text="bind:ownbamt"/>
- <Cell col="14" style="align:center middle;" text="bind:orddt" mask="expr:orddt==null?'':'####-##-## ##:##'"/>
- <Cell col="15"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button id="button1" taborder="3" text="엑셀" onlbuttonup="button1_onlbuttonup" class="btn2" position="absolute 1212 99 1256 119" anchor="top right" positiontype="position" onclick="button1_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grid_grd_prcpendlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="prcpdd" type="STRING"/>
- <Column id="prcpcd" type="STRING"/>
- <Column id="prcpnm" type="STRING"/>
- <Column id="prcpclsnm" type="STRING"/>
- <Column id="orddeptnm" type="STRING"/>
- <Column id="orddrnm" type="STRING"/>
- <Column id="rgstdeptnm" type="STRING"/>
- <Column id="rgstrnm" type="STRING"/>
- <Column id="prcpinptflag" type="STRING"/>
- <Column id="precureprcpflag" type="STRING"/>
- <Column id="ownbamt" type="STRING"/>
- <Column id="orddt" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddeptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="depthngnm" type="STRING" size="256"/>
- <Column id="ordclsdeptflag" type="STRING" size="256"/>
- <Column id="orddeptkind" type="STRING" size="256"/>
- <Column id="supdeptcd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_init_orddr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="userid" type="STRING" size="256"/>
- <Column id="usernm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="userdepthngnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_initZ_M0005" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_initZ_M0034" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdid" type="STRING" size="256"/>
- <Column id="cdnm" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="popupendflag" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name : Himed
- * Job Name :
- * File Name : SMMNO02800_외래 선처치 미수금 발생내역.xfdl
- * Creator :
- * Make Date : 2014-07-03
- *
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2014-07-03 HIT Converting Program(TF->XP)
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // xjs Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "emr_carecomxp::CareCom.xjs";
- include "com_departmentcodexp::ZSD001.xjs";
- include "com_basiccodexp::ZBC001.xjs";
- include "lis_commonxp::LZZ001.xjs";
- var seoulinstcd = ""; //20090811-kys
- // 화면초기화
- function lf_init() {
- var currentdate = utlf_getCurrentDate();
- var instcd = sysf_getUserInfo("dutplceinstcd");
- var dutplcecd = sysf_getUserInfo("dutplcecd");
-
- zsdfGetCareOutOrderDepartmentList(instcd, "ds_init_orddeptcd", currentdate); // 간호외래진료부서콤보 (특정하위부서를 포함- 분만실, 육아상담실, 인공신장실)
- frmf_addComboItem("grp_sea.cmb_orddept", "전체", "0000000000", "above");
- var arrParam = [{dsNm: "ds_initZ_M0005", cdGrpId: "M0005"}
- ,{dsNm: "ds_initZ_M0034", cdGrpId: "M0034"}
- ]
- appf_getCodeList(arrParam);
-
- grp_sea.ipt_srchfromdd.value = currentdate.toDate("YYYYMMDD").getAddDate(-1,"M").getDateFormat("YYYYMMDD");
- grp_sea.ipt_srchtodd.value = currentdate;
- grp_sea.cmb_orddept.value = dutplcecd;
- lf_getOrdDrList(); // 진료의리스트 조회
- frmf_addComboItem("grp_sea.cmb_prcpclscd", "전체", "", "above");
- frmf_addComboItem("grp_sea.cmb_prcpinptflag", "전체", "", "above");
- grp_sea.cmb_prcpclscd.index = 0;
- grp_sea.cmb_prcpinptflag.index = 0;
- if(utlf_isNull(grp_sea.cmb_orddept.value)){
- grp_sea.cmb_orddept.value = "0000000000"; // 전체진료과
- }
- var pCode = "'077'"; // 조회할 CdGrupID 코드정보
- var pDate = utlf_getCurrentDate(); //조회기준일자
- fGetNursHardCdInfo(pCode, pDate);
- for(var i=0; i< ds_codelist.rowcount; i++){
- switch (ds_codelist.getColumn(i,"cdgrupid")){
- case "077": // 의정부성모병원기관코드_20090606
- switch(ds_codelist.getColumn(i,"supcdid")){
- case "01": // (01:서울성모,02:의정부성모,03:부천성가, 04:성빈센트)-20090811
- seoulinstcd = ds_codelist.getColumn(i,"cdid");
- break;
- }
- }
- }
- }
- // 진료의리스트 조회
- function lf_getOrdDrList(){
-
- var orddeptcd = grp_sea.cmb_orddept.value;
- var prcpspecflag = "Y";
-
- var frw = ds_init_orddeptcd.findRow("deptcd=='"+orddeptcd+"'");
- var sordclsdeptflag = ds_init_orddeptcd.getColumn(frw, "ordclsdeptflag"); // 센터/대표/분과/서브 구분
- var ssupdeptcd = ds_init_orddeptcd.getColumn(frw, "supdeptcd"); // 상위부서코드
- var sorddeptkind = ds_init_orddeptcd.getColumn(frw, "orddeptkind"); // 센터/대표 구분
- var sorddeptflag = "";
- // 센터이면
- if (sorddeptkind == "C") {
- sorddeptflag = "C";
- // 센터가 아니면서 분과이면
- }else if (sorddeptkind != "C" && sordclsdeptflag == "A") {
- sorddeptflag = "A";
- // 그외에 기타과
- }else {
- sorddeptflag = "etc";
- }
- var ordclsdeptflag = sorddeptflag;
- var supdeptcd = ssupdeptcd;
- var orddd = utlf_getCurrentDate();
- var dutplcecd = sysf_getUserInfo("dutplcecd");
- dsf_createDsRow("ds_temp_reqdata",
- [{col:"orddeptcd", val:orddeptcd}
- , {col:"orddd", val:orddd}
- , {col:"prcpspecflag", val:prcpspecflag}
- , {col:"ordclsdeptflag", val:ordclsdeptflag}
- , {col:"supdeptcd", val:ssupdeptcd}
- , {col:"MDdeptcd", val:""}
- ]);
- var oParam = new Object();
- oParam.id = "TRMNO00104";
- oParam.service = "outcareapp.OutCareMngt";
- oParam.method = "reqGetDrId";
- oParam.inds = "reqdrid=ds_temp_reqdata";
- oParam.outds = "ds_init_orddr=orddr";
-
- tranf_submit(oParam);
- frmf_addComboItem("grp_sea.cmb_orddrid", "전체", "00000000", "above");
-
- grp_sea.cmb_orddrid.value = "00000000";
- }
- // 외래 선처치 미수금 발생내역 조회
- function lf_getPreCurePrcpUncoPatList(){
-
- var srchfromdd = grp_sea.ipt_srchfromdd.value
- var srchtodd = grp_sea.ipt_srchtodd.value;
- var orddeptcd = grp_sea.cmb_orddept.value;
- var orddrid = grp_sea.cmb_orddrid.value;
- var precureprcpflag = grp_sea.chk_precureprcpflag.value;
- var prcpcd = grp_sea.ipt_pid.value;
- var prcpclscd = grp_sea.cmb_prcpclscd.value;
- var prcpinptflag = grp_sea.cmb_prcpinptflag.value;
- var pid = grp_sea.input1.value;
-
- //20090811-kys(서울성모인경우 수납전에도 진료예약일시가 조회되어야 한다)
- var seoulyn = "N";
- if(sysf_getUserInfo("dutplceinstcd") == seoulinstcd){
- seoulyn = "Y";
- }
- dsf_createDsRow("ds_temp_reqdata",
- [{col:"srchfromdd", val:srchfromdd}
- , {col:"srchtodd", val:srchtodd}
- , {col:"orddeptcd", val:orddeptcd}
- , {col:"orddrid", val:orddrid}
- , {col:"precureprcpflag", val:precureprcpflag}
- , {col:"prcpcd", val:prcpcd}
- , {col:"prcpclscd", val:prcpclscd}
- , {col:"prcpinptflag", val:prcpinptflag}
- , {col:"pid", val:pid}
- , {col:"seoulyn", val:seoulyn}
- ]);
- var oParam = new Object();
- oParam.id = "TRMNO02801";
- oParam.service = "outcareapp.OutCareMngt";
- oParam.method = "reqGetPreCurePrcpUncoPatList";
- oParam.inds = "req=ds_temp_reqdata";
- oParam.outds = "ds_grid_grd_prcpendlist=precureprcpuncopatinfo";
- oParam.callback = "cbf_TRMNO02800";
- oParam.async = true
- tranf_submit(oParam);
- }
- function cbf_TRMNO02800(strSvcID, nErrorCode, strErrorMsg) {
- //에러 처리
- if(nErrorCode != 0) {
- sysf_messageBox("ID: "+ strSvcID + " Error: " + strErrorMag, "E009", "");
- }else{
- // trace(strSvcID);
- switch(strSvcID){
- case "TRZSD00206":
-
- frmf_addComboItem("grp_sea.cmb_orddept", "전체", "0000000000", "above"); // 진료부서 콤보 전체추가_ tfHelper.js
-
- //fGetNursHardCdInfo 추가, xM0XXX변수 생성
- // fGetNursHardCdInfo("'077','172','177','M01'", getCurrentDate()); //CareCom.js
- /*
- var sPath1 = "/root/code/codeinfo/codelist";
- lf_selectDeptsPath1 = sPath1 + "[cdgrupid='M01' and cdnm = 'M0005']/supcdid";
- var sPath2 = "/root/code/codeinfo/codelist";
- sPath2 = sPath2 + "[cdgrupid='M01' and cdnm = 'M0034']/supcdid";
- var sM0005 = model.getValue(sPath1);
- var sM0034 = model.getValue(sPath2);
- zbcfGetCodeList( new Array(sM0005, sM0034), new Array("/root/init/M0005list", "/root/init/M0034list")); // 공통코드 스크립트 호출
- */
- // lf_getAllBizCodeList(arrParam, bMinimum, bAsync, sCallback)
- lf_getAllBizCodeList([{bizFlag: "N", cdGrpId: "077", dsNm: "ds_init_N_077", sortField: "cdid", sortMethod: "asc"}], false, false, "cbf_TRMNO02800");
-
-
-
-
- break;
-
- case "TRMNO02801":
-
- for(var i=0; i<ds_grid_grd_prcpendlist.rowcount; i++){
-
- var a_pid = ds_grid_grd_prcpendlist.getColumn(i, "pid");
- var a_prcpdd = ds_grid_grd_prcpendlist.getColumn(i, "prcpdd");
- var a_ownbamt = ds_grid_grd_prcpendlist.getColumn(i, "ownbamt");
- var a_orddt = ds_grid_grd_prcpendlist.getColumn(i, "orddt");
-
- for(var k=0; k<ds_grid_grd_prcpendlist.rowcount; k++){
- var b_pid = ds_grid_grd_prcpendlist.getColumn(k, "pid");
- var b_prcpdd = ds_grid_grd_prcpendlist.getColumn(k, "prcpdd");
- var b_ownbamt = ds_grid_grd_prcpendlist.getColumn(k, "ownbamt");
- var b_orddt = ds_grid_grd_prcpendlist.getColumn(k, "orddt");
-
- if( i < k ){
- if(a_pid == b_pid && a_prcpdd == b_prcpdd && a_ownbamt == b_ownbamt){
- // grd_prcpendlist.mergeByFree(i, grd_prcpendlist.colRef("ownbamt"), k, grd_prcpendlist.colRef("ownbamt"));
- }
- if(a_pid == b_pid && a_prcpdd == b_prcpdd && a_orddt == b_orddt){
- // grd_prcpendlist.mergeByFree(i, grd_prcpendlist.colRef("orddt"), k, grd_prcpendlist.colRef("orddt"));
- }
-
- }
-
- }
- }
- break;
- default:
- break;
- }
- }
- }
- function SMMNO02800_onload(obj:Form, e:LoadEventInfo)
- {
- frmf_initForm(obj); // 화면공통
- lf_init(); // 화면초기화
- }
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- var shNm = grp_sea.ipt_srchfromdd.value+"~"+grp_sea.ipt_srchtodd.value+"_";
- grdf_exportExcel(grd_prcpendlist,"외래 선처치 미수금 발생내역", shNm);
- }
- function btn_srchprecureprcpuncopatlist_onclick(obj:Button, e:ClickEventInfo)
- {
- lf_getPreCurePrcpUncoPatList();
- }
- function btn_pid_onclick(obj:Button, e:ClickEventInfo)
- {
- /*
- var popupendflag = model.getValue("/root/main/popupendflag");
- if (popupendflag == "ok"){
- model.makeValue("/root/main/cond/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- model.makeValue("/root/main/cond/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- ipt_pid.refresh();
- opt_hngnm.refresh();
- }
- */
- // 외래간호환자조회로 변경_20090218(ByJA)
-
- //환자번호 copy
- grp_sea.input1.value = "";
- grp_sea.opt_hngnm.value = "";
-
- var obj = new Object();
- // obj.condparam = sParam;
- var rtn = frmf_modal("SPMNO02400","SPMNO02400", obj);
- //modal("../../../emr/outcareweb/xrw/SPMNO02400", "1","150", "150", "SPMNO02400", "/root/source", "/root/main/cond");
- var popupendflag = ds_cond.getColumn(0, "popupendflag");
- if (popupendflag == "ok") {
- // ds_cond.setColumn(0, "pid", rtn[0]);
- // ds_cond.setColumn(0, "hngnm", rtn[1]);
- grp_sea.input1.value = ds_cond.getColumn(0, "pid");
- grp_sea.opt_hngnm.value = ds_cond.getColumn(0, "hngnm");
- }
- lf_getPreCurePrcpUncoPatList(); // 외래 선처치 미수금 발생내역 조회
- }
- /****************************************************************************************
- * Components :
- * Components ID : input1
- * Event : onkeydown
- * Argument : 01.obj : Object Event has occurred
- * : 02.e : Event Object
- * Description :
- ****************************************************************************************/
- function grp_sea_input1_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode==13) {
- frmf_setInputNodeCurPid(obj, "");
- lf_getPreCurePrcpUncoPatList();
- }
- }
- function grp_sea_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- lf_getPreCurePrcpUncoPatList(); // 외래 선처치 미수금 발생내역 조회
- }
- function grp_sea_cmb_orddept_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- lf_getOrdDrList(); // 진료의리스트 조회
- }
- ]]></Script>
- </Form>
- </FDL>
|