12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- /*
- - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
- PreventableTraumaDeathPanel ( SPMMO08015_PreventableTraumaDeathPanel.xrw - JScript )
- - ▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩▩
- */
- function fInitialize_SPMMO08015() {
- model.makeValue("/root/send/pid", opener.javascript.getParameter("idno"));
- model.makeValue("/root/send/indd", opener.javascript.getParameter("indd"));
- model.makeValue("/root/send/intm", opener.javascript.getParameter("intm"));
- model.makeValue("/root/send/cretno", opener.javascript.getParameter("cretno"));
- //model.makeValue("/root/send/wrtedd", getCurrentDate());
- //model.makeValue("/root/send/wrtetm", getCurrentTime());
-
- fSearch();
- //submit("TRMMO08018");
-
- if (model.getValue("/root/main/tdprlist/tdprlist/memo") == "" || model.getValue("/root/main/tdprlist/tdprlist/memo") == "-") {
- btn_memo.text = "메모□";
- } else {
- btn_memo.text = "메모■";
- }
-
- model.makeNode("/root/main/tdprlist/attach/file");
-
- model.refresh();
- }
- function fSearch() {
- submit("TRMMO08018");
- }
- function fSaveData(flag) {
- var wrtedd = model.getValue("/root/main/tdprlist/tdprlist/wrtedd");
- var wrtetm = model.getValue("/root/main/tdprlist/tdprlist/wrtetm");
- if(wrtedd == "" || wrtedd == null){
- model.setValue("/root/main/tdprlist/tdprlist/wrtedd", getCurrentDate());
- }
- if(wrtetm == "" || wrtetm == null){
- model.setValue("/root/main/tdprlist/tdprlist/wrtetm", getCurrentTime());
- }
-
- if (flag == "temp") {
- model.setValue("/root/main/tdprlist/tdprlist/status", "T");
- } else {
- model.setValue("/root/main/tdprlist/tdprlist/status", "S");
- }
- //copyNodeType("/root/main/tdprlist/tdprlist/condition", "/root/main/send", "replace");
-
- //var tdprlist = model.instances(0).selectNodes( "/root/main/tdprinfo/tdprlist" );
- //model.makeValue("/root/main/send/savedata/tdprlist", getNodeListCSV(tdprlist));
-
- model.makeNode("/root/save/cond/condition");
- copyNodeType("/root/save/cond/condition", "/root/main/tdprlist", "replace");
-
- submit("TXMMO08018");
-
- model.removenode("/root/main/send/attach/file");
- model.makeNode("/root/main/send/attach/file");
-
- fSearch(); // 파일 경로 조회를 위한
- }
- //EMR.EMIHPTDP
- //emr.emihptdp
|