1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- /************************************************************************************************************************
- * @description : SPAYA03900_개별환자추가정보.xrw 에서 사용하는 스크립트
- * @creat : 2008.01.04
- * @author : dhkim 최초작성
- ************************************************************************************************************************/
-
- var xReqPath = '/root/send/reqdata';
- var xPatPath = '/root/main/patinfo';
-
- var pid = opener.javascript.getParameter('pid'); //10254267
- var indd = opener.javascript.getParameter('indd'); //20071226
- var cretno = opener.javascript.getParameter('cretno'); //1
-
- /*
- * 초기화.
- */
- function fInit(){
-
- model.removeNode(xReqPath);
- model.removeNode(xPatPath);
- model.makeNode(xReqPath);
- model.makeNode(xPatPath);
-
- }
-
-
- /*
- * 환자추가정보를 조회한다.
- */
- function fSearch(){
- /*
- pid = '18708179';
- indd = '20080105';
- cretno = 5747; //운영 .. 오세도
- */
- if(pid == '' || indd == '' || cretno == ''){
- messageBox('등록번호가 없어 조회', 'E001');
- model.close();
- }
-
- model.removeNode(xReqPath);
- model.makeNode(xReqPath);
- model.makeValue(xReqPath + '/pid', pid);
- model.makeValue(xReqPath + '/indd', indd);
- model.makeValue(xReqPath + '/cretno', cretno);
-
- if(!submit('TRAYA03901')){
- messageBox('조회를', 'E009');
- return false;
- }
-
-
- }
|