Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: AGEROVR

AGEROVR.m

Go to the documentation of this file.
AGEROVR ; IHS/SD/TPF - ERROR CHECKING OVERRIDES  
 ;;7.1;PATIENT REGISTRATION;;AUG 25,2005
 ;
 ;THESE FUNCTIONS ARE CALLED FROM OVERRIDE^AGEDERR TO DETERMINE WHETHER A
 ;PARTICULAR ERROR CHECK SHOULD BE PERFORMED OR NOT.
 ;THE ACTUAL CALL IS DETERMINED BY THE ENTRY IN THE 'ERROR CHECK OVERRIDE' FIELD
 ;IN THE 'AG PATIENT REGISTARTION ERROR CODES' FILE
 ;EXAMPLE
 ;
 ;ALL FUNCTIONS SHOULD RETURN TRUE IF ERROR CHECK IS NOT TO BE PERFORMED
 ;0 IF THE ERROR CHECK IS TO BE PERFORMED
 ;
20(ERROR,RECORD) ;EP - PLAN NAME TYPE CHECK OVERRIDE
 Q:$P(RECORD,U,2)="" 0
 Q:'$$ISMCD^AGEDERR2($P(RECORD,U,2)) 1
 Q:$P($G(^AUTNINS($P(RECORD,U,2),2)),U,16)="Y" 0  ;YES MEANS REQUIRED
 Q 1
 ;
27(ERROR,RECORD) ;EP - PLAN NAME TYPE CHECK OVERRIDE
 Q:$P(RECORD,U,2)="" 0
 Q:'$$ISMCD^AGEDERR2($P(RECORD,U,2)) 1
 Q:$P($G(^AUTNINS($P(RECORD,U,2),2)),U,16)="Y" 0  ;YES MEANS REQUIRED
 Q 1
 ;
30(ERROR,RECORD) ;EP - COVERAGE TYPE CHECK OVERRIDE
 Q:$P(RECORD,U,2)="" 0
 Q:'$$ISMCD^AGEDERR2($P(RECORD,U,2)) 1
 Q:$P($G(^AUTNINS($P(RECORD,U,2),2)),U,14)="Y" 0  ;YES MEANS REQUIRED
 Q 1
 ;
 ;RATE CODE CHECK OVERRIDE
31(ERROR,RECORD) ;EP - RATE CODE CHECK OVERRIDE
 Q:$P(RECORD,U,2)="" 0
 Q:'$$ISMCD^AGEDERR2($P(RECORD,U,2)) 1
 Q:$P($G(^AUTNINS($P(RECORD,U,2),2)),U,15)="Y" 0  ;YES MEANS REQUIRED
 Q 1