123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- <?xml version="1.0" encoding="utf-8"?>
- <Script type="xscript4.0"><![CDATA[function finitialize()
- {
- lf_mmbfGetDeptCodeComboList(ds_init_orddept_dept,"D");
- var vNowDD = utlf_getCurrentDate();
-
- ds_main_condition.setColumn(0, "dethfromdd", vNowDD.substr(0,6)+ "01");
- ds_main_condition.setColumn(0, "dethtodd" , vNowDD);
- ds_main_deathptnlist.clearData();
-
- dsf_makeValue(ds_send_reqdata, "deptcd", "string", ds_main_condition.getColumn(0, "atdoctid"));
-
- var oParam = {};
- oParam.id = "TRMRD00598";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetDethPatListBaseCD";
- oParam.inds = "req=ds_send_reqdata";
- oParam.outds = "ds_=dethkind ds_init_basecd_dethflag=dethflag ds_init_basecd_dethresn=dethresn ds_init_basecd_dethplce=dethplce ds_init_orddept_dept=dept";
- oParam.async = false;
- //oParam.callback = "cf_TRMRD00598";
- tranf_submit(oParam);
-
- var sProp="col=5,row=1,cellspacing=4,vcellspacing=0,itemWidth=-1,itemHeight=20,overflow='visible'";
- grp_sea.chk_dethkindcd.setInitComp(sProp, ds_chk_dethkindcd,"value","label","fn_cmpEvent");
-
- frmf_addComboItem("grp_sea.cmb_dethflagcd", "전체", "00", "above");
- grp_sea.cmb_dethflagcd.value = "00";
- frmf_addComboItem("grp_sea.cmb_dethresncd", "전체", "00", "above");
- grp_sea.cmb_dethresncd.value = "00";
- frmf_addComboItem("grp_sea.cmb_dethplcecd", "전체", "00", "above");
- grp_sea.cmb_dethplcecd.value = "00";
- frmf_addComboItem("grp_sea.cmb_orddept" , "전체", "00", "above");
- grp_sea.cmb_orddept.value="00";
- frmf_addComboItem("grp_sea.cbo_doc" , "전체", "00", "above");
- grp_sea.cbo_doc.value = "00";
- }
- function fFirstwhy()
- {
- ds_temp_selectdiaglist.clearData();
- frmf_setParameter("SPMMO03200_DIAGONESELECT", "Y");
- var search = ds_main_condition.getColumn(0, "basedethcascd");
- frmf_setParameter("SPMMO03200_SEARCHDATA", search);
- frmf_modal("SPMMO03200", "SPMMO03200", null, null, 1, 0, 0, null, null, null, null, null, "M");
-
- var dispdiagcd = ds_temp_selectdiaglist.getColumn(0, "dispdiagcd");
- var diagcd = ds_temp_selectdiaglist.getColumn(0, "diagcd");
-
- if (String(diagcd).length > 0 || !utlf_isNull(diagcd))
- {
- ds_main_condition.setColumn(0, "basedethcascd", dispdiagcd);
- ds_main_condition.setColumn(0, "basedethdiagcd", diagcd);
- }
- }
- function fSecondwhy()
- {
- ds_temp_selectdiaglist.clearData();
- frmf_setParameter("SPMMO03200_DIAGONESELECT", "Y");
- var search = ds_main_condition.getColumn(0, "mdldethcascd");
- frmf_setParameter("SPMMO03200_SEARCHDATA", search);
- frmf_modal("SPMMO03200", "SPMMO03200", null, null, 1, 0, 0, null, null, null, null, null, "M");
- var dispdiagcd = ds_temp_selectdiaglist.getColumn(0, "dispdiagcd");
- var diagcd = ds_temp_selectdiaglist.getColumn(0, "diagcd");
- if (String(diagcd).length > 0 || !utlf_isNull(diagcd))
- {
- ds_main_condition.setColumn(0, "mdldethcascd", dispdiagcd);
- ds_main_condition.setColumn(0, "mdldethdiagcd", diagcd);
- }
- }
- function fThirdwhy()
- {
- ds_temp_selectdiaglist.clearData();
- frmf_setParameter("SPMMO03200_DIAGONESELECT", "Y");
- var search = ds_main_condition.getColumn(0, "direcdethcascd");
- frmf_setParameter("SPMMO03200_SEARCHDATA", search);
- frmf_modal("SPMMO03200", "SPMMO03200", null, null, 1, 0, 0, null, null, null, null, null, "M");
-
- var dispdiagcd = ds_temp_selectdiaglist.getColumn(0, "dispdiagcd");
- var diagcd = ds_temp_selectdiaglist.getColumn(0, "diagcd");
-
- if (String(diagcd).length > 0 || !utlf_isNull(diagcd))
- {
- ds_main_condition.setColumn(0, "direcdethcascd" , dispdiagcd);
- ds_main_condition.setColumn(0, "direcdethdiagcd" , diagcd);
- }
- }
- function fSlectdethkindcd()
- {
- var check = ds_hidden.getColumn(0, "tmp");
- if(check=="00")
- {
- ds_main_condition.setColumn(0, "dethkindcd", " 01 02 03 04 09");
- grp_sea.chk_dethkindcd.setCheckAll(true);
- }
- else
- {
- ds_main_condition.setColumn(0, "dethkindcd", "");
- grp_sea.chk_dethkindcd.setCheckAll(false);
- }
- }
- function fdethinfoseach()
- {
- var oParam = {};
- oParam.id = "TRMRD01300";
- oParam.service = "dschanalyapp.DschAnaly";
- oParam.method = "reqGetDeathptnList";
- oParam.inds = "condition=ds_main_condition";
- oParam.outds = "ds_main_deathptnlist=deathptnlist";
- oParam.async = false;
- //oParam.callback = "cf_TRMRD01300";
- tranf_submit(oParam);
- }
- ]]></Script>
|