123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMMO06001" position="absolute 0 0 1198 784" titletext="응급실 접수취소 환자리스트" oninit="SMMMO06001_oninit" onload="SMMMO06001_onload">
- <Layouts>
- <Layout>
- <Static text="응급실 접수취소 환자리스트" position="absolute 0 0 399 20" id="caption6" class="tit_1"/>
- <Div position="absolute 0 21 1194 56" align="align:center top;" id="group2">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1194 35" id="roundrect1" type="roundrectangle"/>
- <Button position="absolute 1002 7 1058 27" id="btn_search" class="btn1" text="조회" onclick="group2_btn_search_onclick"/>
- <Shape position="absolute 989 7 995 27" linetype="vertical" id="line13"/>
- <Static text="조회일자 :" position="absolute 18 7 109 27" id="caption2" class="search_name"/>
- <Calendar position="absolute 107 7 207 27" id="ipt_fromdd" class="input_s_essential" onchanged="group2_ipt_fromdd_onchanged"/>
- <Static text="~" position="absolute 209 7 224 27" id="caption5"/>
- <Calendar position="absolute 223 7 323 27" id="ipt_todd" class="input_s_essential" onchanged="group2_ipt_todd_onchanged"/>
- <Button position="absolute 1124 7 1180 27" id="btn_excel" class="btn6" text="엑셀" onclick="group2_btn_excel_onclick"/>
- <Static text="등록번호 :" position="absolute 340 7 431 27" id="caption1" class="search_name"/>
- <Static text="성명 :" position="absolute 520 7 586 27" id="caption3" class="search_name"/>
- <Edit position="absolute 421 7 499 27" id="ipt_pid" onkeydown="group2_ipt_pid_onkeydown"/>
- <Edit position="absolute 585 7 661 27" id="ipt_hngnm" onkeydown="group2_ipt_hngnm_onkeydown"/>
- <Button position="absolute 667 7 683 27" id="button61" class="icon_search" text="" onclick="group2_button61_onclick"/>
- <Button position="absolute 1064 7 1120 27" id="button1" class="btn6" text="삭제" onclick="group2_button1_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Grid position="absolute 0 76 1195 746" id="grd_patlist" class="datagrid4" binddataset="ds_main_acptcncllist" oncelldblclick="grd_patlist_oncelldblclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30"/>
- <Column size="70"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="37"/>
- <Column size="52"/>
- <Column size="104"/>
- <Column size="119"/>
- <Column size="127"/>
- <Column size="70"/>
- <Column size="70"/>
- <Column size="52"/>
- <Column size="54"/>
- <Column size="46"/>
- <Column size="90"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell displaytype="normal"/>
- <Cell col="1" displaytype="normal" text="등록번호"/>
- <Cell col="2" displaytype="normal" text="환자명"/>
- <Cell col="3" displaytype="normal" text="cretno"/>
- <Cell col="4" displaytype="normal" text="나이"/>
- <Cell col="5" displaytype="normal" text="성별"/>
- <Cell col="6" displaytype="normal" text="내원일시"/>
- <Cell col="7" displaytype="normal" text="주증상"/>
- <Cell col="8" displaytype="normal" text="접수취소사유"/>
- <Cell col="9" displaytype="normal" text="수축기혈압"/>
- <Cell col="10" displaytype="normal" text="이완기혈압"/>
- <Cell col="11" displaytype="normal" text="맥박수"/>
- <Cell col="12" displaytype="normal" text="호흡수"/>
- <Cell col="13" displaytype="normal" text="체온"/>
- <Cell col="14" displaytype="normal" text="산소포화도(%)"/>
- <Cell col="15" displaytype="normal" text="담당교수"/>
- <Cell col="16" displaytype="normal" text="인턴"/>
- <Cell col="17" displaytype="normal" text="코디네이터"/>
- <Cell col="18" displaytype="normal" text="status"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:(chk == "Y" || chk == 1) ? 1 : 0"/>
- <Cell col="1" displaytype="normal" text="bind:pid"/>
- <Cell col="2" displaytype="normal" text="bind:hngnm"/>
- <Cell col="3" displaytype="normal" text="bind:cretno"/>
- <Cell col="4" displaytype="normal" text="bind:age"/>
- <Cell col="5" displaytype="normal" text="bind:sex"/>
- <Cell col="6" displaytype="date" text="bind:indd" mask="yyyy-MM-dd hh:mm"/>
- <Cell col="7" displaytype="normal" text="bind:mainsymp"/>
- <Cell col="8" displaytype="combo" edittype="combo" text="bind:cancelrsn" combodataset="ds_codelist" combocodecol="cdid" combodatacol="cdnm"/>
- <Cell col="9" displaytype="normal" text="bind:highbp"/>
- <Cell col="10" displaytype="normal" text="bind:lowbp"/>
- <Cell col="11" displaytype="normal" text="bind:mntpulsecnt"/>
- <Cell col="12" displaytype="normal" text="bind:mntbrethcnt"/>
- <Cell col="13" displaytype="normal" text="bind:chosbdtp"/>
- <Cell col="14" displaytype="normal" text="bind:oxyconcen"/>
- <Cell col="15" displaytype="normal" text="bind:medispcl"/>
- <Cell col="16" displaytype="normal" text="bind:intern"/>
- <Cell col="17" displaytype="normal" text="bind:codi"/>
- <Cell col="18" displaytype="normal" text="bind:status"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 750 1195 780" id="roundrect2" class="roundrect_example" type="roundrectangle"/>
- <Static text="등록번호 미발생환자의 경우 이름, 등록번호 검색이 되지 않습니다." position="absolute 10 753 1190 775" align="align:center middle;" id="caption26" class="hand"/>
- <Button position="absolute 1010 754 1186 776" id="button2" class="btn3" text="응급실접수취소 신규입력" onclick="button2_onclick"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_grd_patlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="chk" type="STRING"/>
- <Column id="pid" type="STRING"/>
- <Column id="hngnm" type="STRING"/>
- <Column id="cretno" type="STRING"/>
- <Column id="age" type="STRING"/>
- <Column id="sex" type="STRING"/>
- <Column id="indd" type="STRING"/>
- <Column id="mainsymp" type="STRING"/>
- <Column id="cancelrsn" type="STRING"/>
- <Column id="highbp" type="STRING"/>
- <Column id="lowbp" type="STRING"/>
- <Column id="mntpulsecnt" type="STRING"/>
- <Column id="mntbrethcnt" type="STRING"/>
- <Column id="chosbdtp" type="STRING"/>
- <Column id="oxyconcen" type="STRING"/>
- <Column id="medispcl" type="STRING"/>
- <Column id="intern" type="STRING"/>
- <Column id="codi" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_acptcncllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_acptcncllist_oncolumnchanged">
- <ColumnInfo>
- <Column id="chk" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="cretno" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="indd" type="STRING" size="256"/>
- <Column id="mainsymp" type="STRING" size="256"/>
- <Column id="cancelrsn" type="STRING" size="256"/>
- <Column id="highbp" type="STRING" size="256"/>
- <Column id="lowbp" type="STRING" size="256"/>
- <Column id="mntpulsecnt" type="STRING" size="256"/>
- <Column id="mntbrethcnt" type="STRING" size="256"/>
- <Column id="chosbdtp" type="STRING" size="256"/>
- <Column id="oxyconcen" type="STRING" size="256"/>
- <Column id="medispcl" type="STRING" size="256"/>
- <Column id="intern" type="STRING" size="256"/>
- <Column id="codi" type="STRING" size="256"/>
- <Column id="status" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond"/>
- <Col id="pid"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" 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"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_acptcncllist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="Dataset07" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="Dataset08" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="Dataset09" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="cdnm" type="STRING"/>
- <Column id="cdid" type="STRING"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="group2.ipt_fromdd" propid="value" datasetid="ds_send" columnid="fromdd"/>
- <BindItem id="item1" compid="group2.ipt_todd" propid="value" datasetid="ds_send" columnid="todd"/>
- <BindItem id="item2" compid="group2.ipt_pid" propid="value" datasetid="ds_send" columnid="pid"/>
- <BindItem id="item3" compid="group2.ipt_hngnm" propid="value" datasetid="ds_send" columnid="hngnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2015-06-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2015-06-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_prcpmngtxp::MMO001.xjs";
- include "emr_carecomxp::CareCom.xjs";
- function SMMMO06001_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMMO06001_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_patlist); //grd_patlist.fixedcellcheckbox(0, grd_patlist.colRef("chk")) = true;
-
- dsf_copyDs(ds_temp, ds_send, "replace"); //model.copyNode("/root/temp","/root/send");
-
- fGetNursHardCdInfo("'227'", utlf_getCurrentDate());
-
- dsf_copyDs(ds_send, ds_temp, "replace"); //model.copyNode("/root/send","/root/temp");
-
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate()); // model.setValue("/root/send/fromdd", getCurrentDate());
- ds_send.setColumn(0, "todd", utlf_getCurrentDate()); // model.setValue("/root/send/todd", getCurrentDate());
-
- // model.removeNodeset("/root/main/acptcncllist/acptcncllist");
- //
- // model.refresh();
- }
- function ChkDate(){
- var fromdd = ds_send.getColumn(0, "fromdd");
- var todd = ds_send.getColumn(0, "todd");
-
- if( fromdd > todd ){
- sysf_messageBox("시작일자가 종료일자보다 클 수","I004"); //없습니다.
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate());
- ds_send.setColumn(0, "todd", utlf_getCurrentDate()); // model.setValue("/root/send/todd", getCurrentDate());
- return false;
- }else if( todd > utlf_getCurrentDate() ){
- sysf_messageBox("종료일자가 현재일자("+utlf_getCurrentDate()+")보다 클 수","I004");//없습니다.
- ds_send.setColumn(0, "fromdd", utlf_getCurrentDate()); // model.setValue("/root/send/fromdd", getCurrentDate());
- ds_send.setColumn(0, "todd", utlf_getCurrentDate()); // model.setValue("/root/send/todd", getCurrentDate());
- return false;
- }
- return true;
- }
- function group2_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- var rtn = ChkDate();
-
- if( rtn == true ){
- // ??
- // model.setValue("/root/send/fromdd", model.getValue("/root/send/fromdd"));
- // model.setValue("/root/send/todd", model.getValue("/root/send/todd"));
- // model.setValue("/root/send/pid", model.getValue("/root/send/pid"));
- // model.setValue("/root/send/hngnm", model.getValue("/root/send/hngnm"));
-
- var oParam = {};
- oParam.id = "TRMMO06000";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqGetERAcptcncllist";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_acptcncllist=acptcncllist";
- oParam.async = false;
- oParam.callback = "cf_TRMMO06000";
- tranf_submit(oParam);
-
- } else {
- return;
- }
- }
- function cf_TRMMO06000(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- sysf_messageBox("조회를","E009");
-
- return;
- } else {
-
- var col = grd_patlist.getBindCellIndex("body", "cancelrsn");
- grd_patlist.setCellProperty("body", col, "edittype", "none");
-
- //grd_a2_prcplist.colDisabled(grd_a2_prcplist.colref("prnprcpflag")) = true;
- }
- }
- function group2_ipt_fromdd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ChkDate();
- }
- function group2_ipt_todd_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ChkDate();
- }
- function group2_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- ds_source.setColumn(0, "srchcond", "1"); // model.setValue("/root/source/srchcond", "1");
- ds_source.setColumn(0, "pid", group2.ipt_pid.value); // model.setValue("/root/source/pid", ipt_pid.currentText);
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_source;
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
- // modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
- /* SPPMC02500_환자조회 - group1_btn_confirm_onclick() 에서 popupendflag 설정부분이 주석처리 되어있음... 확인 후 수정이 필요하면 수정*/
- // var popupendflag = model.getValue("/root/main/popupendflag");
- // if (popupendflag == "ok"){
- ds_send.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid")); // model.makeValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- ds_send.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm")); // model.makeValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- // }
- // ipt_hngnm.refresh();
- // ipt_pid.refresh();
- }
- }
- function group2_ipt_hngnm_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13) {
- ds_source.setColumn(0, "srchcond", "2");
- ds_source.setColumn(0, "hngnm", group2.ipt_hngnm.value);
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_source;
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
-
- //modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
-
- /* SPPMC02500_환자조회 - group1_btn_confirm_onclick() 에서 popupendflag 설정부분이 주석처리 되어있음... 확인 후 수정이 필요하면 수정*/
- // var popupendflag = model.getValue("/root/main/popupendflag");
- // if (popupendflag == "ok"){
- ds_send.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid")); // model.makeValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- ds_send.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm")); // model.makeValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- // }
- // ipt_hngnm.refresh();
- // ipt_pid.refresh();
- }
- }
- function group2_button61_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_send.getColumn(0, "pid") != "" ){
- ds_source.setColumn(0, "srchcond", "1");
- ds_source.setColumn(0, "pid", group2.ipt_pid.value);
- }else if( ds_send.getColumn(0, "hngnm") != "" ){
- ds_source.setColumn(0, "srchcond", "2");
- ds_source.setColumn(0, "hngnm", group2.ipt_hngnm.value);
- }else{
- ds_source.setColumn(0, "srchcond", "2");
- }
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_source;
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, null, 1, 150, 150, null, null, null, null, null, "M");
-
- //modal("../../../pam/commonweb/xrw/SPPMC02500", "1","150", "150", "SPPMC02500", "/root/source", "/root/send");
-
- /* SPPMC02500_환자조회 - group1_btn_confirm_onclick() 에서 popupendflag 설정부분이 주석처리 되어있음... 확인 후 수정이 필요하면 수정*/
- // var popupendflag = model.getValue("/root/main/popupendflag");
- // if (popupendflag == "ok"){
- ds_send.setColumn(0, "pid", ds_patinfolist.getColumn(0, "pid")); // model.makeValue("/root/send/pid", model.getValue("/root/main/patinfo/patinfolist/pid"));
- ds_send.setColumn(0, "hngnm", ds_patinfolist.getColumn(0, "hngnm")); // model.makeValue("/root/send/hngnm", model.getValue("/root/main/patinfo/patinfolist/hngnm"));
- // ipt_hngnm.refresh();
- // ipt_pid.refresh();
- // }
- }
- function group2_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- if( ds_main_acptcncllist.findRow("chk", "Y") != -1 ){ // grd_patlist.findRow("Y",1, grd_patlist.colRef("chk")) != -1
- dsf_copyDs(ds_send_acptcncllist, grdf_getGridUpdateData(grd_patlist), "replace"); //model.setValue("/root/send/acptcncllist", grd_patlist.getUpdateData("update", "status"));
-
- var oParam = {};
- oParam.id = "TXMMO06001";
- oParam.service = "prcpmngtapp.ErMngt";
- oParam.method = "reqDelERAcptcncl";
- oParam.inds = "req=ds_send_acptcncllist";
- oParam.outds = "ds_main_acptcncllist=acptcnclinfo";
- oParam.async = false;
- oParam.callback = "cf_TXMMO06001";
- tranf_submit(oParam);
- }else{
- sysf_messageBox("삭제 할 데이터가", "I004");//없습니다.
- return;
- }
- }
- function cf_TXMMO06001(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) {
- sysf_messageBox("삭제를","E009"); //실패하였습니다.
- return;
- }
- }
- function grd_patlist_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- if( e.col > -1 && e.row > -1 ){ // grd_patlist.isCell(event.target) && grd_patlist.mouseRow > 0
- var Param = ds_main_acptcncllist.getColumn(ds_main_acptcncllist.rowposition, "pid") + "▦"
- + ds_main_acptcncllist.getColumn(ds_main_acptcncllist.rowposition, "hngnm") + "▦"
- + ds_main_acptcncllist.getColumn(ds_main_acptcncllist.rowposition, "indd") + "▦"
- + ds_main_acptcncllist.getColumn(ds_main_acptcncllist.rowposition, "cretno") + "▦"
- + ds_main_acptcncllist.getColumn(ds_main_acptcncllist.rowposition, "sex") + "▦"
- + ds_main_acptcncllist.getColumn(ds_main_acptcncllist.rowposition, "age") + "▩"
- frmf_setParameter("SMMMO06000_Param", Param);
-
- frmf_modal("SMMMO06000", "SMMMO06000", "", "", 1, 0, 0, "", "", "", "", "", "M");
-
-
- // var Param = model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/pid")+"▦"
- // + model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/hngnm")+"▦"
- // + model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/indd")+"▦"
- // + model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/cretno")+"▦"
- // + model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/sex")+"▦"
- // + model.getValue("/root/main/acptcncllist/acptcncllist[" + grd_patlist.row + "]/age")+"▩";
- // setParameter("SMMMO06000_Param", Param);
- // modal("SMMMO06000");
- }
- }
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_setParameter("SMMMO06000_Param", "");
- frmf_modal("SMMMO06000", "SMMMO06000", "", "", 1, 0, 0, "", "", "", "", "", "M"); //응급실접수취소
- }
- function group2_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- var fromdd = ds_send.getColumn(0, "fromdd"); ///model.getValue("/root/send/fromdd");
- var todd = ds_send.getColumn(0, "todd") //model.getValue("/root/send/todd");
- var dt = "";
-
- if(fromdd == todd) {
- dt = fromdd;
- } else {
- dt = fromdd + "~" + todd;
- }
-
- grdf_exportExcel(grd_patlist, "응급실접수취소", "SheetName", true, null, false);
-
- //
- // var fileName = window.fileDialog("save", ",", false, "응급실접수취소", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
- // grd_patlist.saveExcel(fileName, "SheetName", true, true, "", "", false);
- }
- function ds_main_acptcncllist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- if ( e.columnid == "chk" ) { // grd_prcplist.col == grd_prcplist.colref("choiordflag")
- var currow = e.row;
- obj.setColumn(currow, e.columnid, (e.newvalue == "Y" || e.newvalue == 1) ? "Y" : "N");
- }
- }
- ]]></Script>
- </Form>
- </FDL>
|