12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- /********************************************************************************************************************************************************
- * 2008.01.02 dhkim 최초작성
- * SPAYA03800_개별환자정보수정.xrw 에서 사용하는 스크립트
- *
- ********************************************************************************************************************************************************/
-
- var xPatPath = '/root/main/indipatinfo';
- var xReqPath = '/root/send/reqdata';
- var xSavePath = '/root/send/savedata';
-
-
- /**
- * 2008.01.02 dhkim
- * 화면을 초기화한다.
- */
- function fInit(){
- model.removeNodeset(xSavePath);
- model.removeNodeset(xPatPath);
- model.removeNodeset(xReqPath);
- zbcfGetCodeList(new Array("P0157"), new Array("/root/init/P0157list"));//공통코드 로드(P0157 :종교)
- }
-
-
-
- /**
- * 2008.01.02 dhkim
- * 환자메인정보에서 선택한 환자정보를 조회한다.
- */
- function fSearch(){
-
- var pid = opener.javascript.getParameter("pid");
-
- model.removeNodeset(xPatPath);
- model.removeNodeset(xReqPath);
- model.makeValue(xReqPath + '/pid', pid);
-
- if(!submit('TRAYA03801')){
-
- messageBox('존재하지 않는 환자번호', 'E008');
- model.close();
-
- }
- model.refresh();
-
- }
-
-
- /**
- * 2008.01.02 dhkim
- * 종교, 세례명, 성당정보를 수정한다.
- */
- function fUpdate(){
-
- model.removeNodeset(xSavePath);
- model.makeNode(xSavePath);
- model.copyNode(xSavePath, xPatPath);
-
- if(submit('TXAYA03801')){
- messageBox('저장이', 'I002');
- model.close();
- }
-
- }
-
-
-
-
|