Changeset 636 for FOIAVistA/tag/r/SCHEDULING-SD-SC/SDPFSS.m
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (14 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/SCHEDULING-SD-SC/SDPFSS.m
r628 r636 1 SDPFSS ;ALB/SCK - Patient Financial Services System ;22-APR-2005 2 ;;5.3;Scheduling;**430**;Aug 13, 1993 1 SDPFSS ;ALB/SCK - Patient Financial Services System ;11/24/0622-APR-2005 2 ;;5.3;Scheduling;**430,502**;Aug 13, 1993 ;Build 14 3 ; Modified from FOIA VISTA, 4 ; Copyright (C) 2007 WorldVistA 5 ; 6 ; This program is free software; you can redistribute it and/or modify 7 ; it under the terms of the GNU General Public License as published by 8 ; the Free Software Foundation; either version 2 of the License, or 9 ; (at your option) any later version. 10 ; 11 ; This program is distributed in the hope that it will be useful, 12 ; but WITHOUT ANY WARRANTY; without even the implied warranty of 13 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 ; GNU General Public License for more details. 15 ; 16 ; You should have received a copy of the GNU General Public License 17 ; along with this program; if not, write to the Free Software 18 ; Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 19 ; 3 20 ; 4 21 Q … … 11 28 ; Check conditions before proceeding 12 29 Q:'$G(DFN) 30 ; VWSD LOCAL MOD HERE SDVWNVAI VARIABLE, SEE DEFINITION AT VWSD LOCAL MOD BELOW 31 I $D(SDVWNVAI) G OVER 13 32 Q:'$$CHECK 33 OVER ; 34 ;END LOCAL MOD 14 35 Q:$$TESTPAT^VADPT(DFN) 15 ; 36 ;VWSD LOCAl MOD 16 37 ; Call the ICN API to generate an ICN if one does not exist for the patient. 38 ;VWSD SDVWNVAI VARIABLE -LOCAL MOD FOR disabling the need for ICN or use of other ICN system for non-VA system 17 39 S SDOK=$$ICNLC^MPIF001(DFN) 18 I SDOK<0 D 40 I $D(SDVWNVAI) G OVER1 41 I (SDOK<0) D 19 42 . D ERRMSG^SDPFSS2(SDOK) 20 43 ; 44 OVER1 ; 45 ;END LOCAL MOD 21 46 ; Get event type 22 47 S SDEVENT=$S($D(SDAMEVT):$$GET1^DIQ(409.66,SDAMEVT,.01),1:"OTHER")
Note:
See TracChangeset
for help on using the changeset viewer.